/* ============================================================
   Product Category Tabs – Elementor Widget  |  style.css
   v2.0.0
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
.pct-wrapper *,
.pct-wrapper *::before,
.pct-wrapper *::after { box-sizing: border-box; }

/* Remove ALL underlines from every <a> inside the widget */
.pct-wrapper a,
.pct-wrapper a:link,
.pct-wrapper a:visited,
.pct-wrapper a:hover,
.pct-wrapper a:active,
.pct-wrapper a:focus {
    text-decoration: none !important;
}

.pct-wrapper {
    font-family: 'Poppins', inherit, sans-serif;
    overflow: hidden;
    background: #fff;
    color: inherit;
}

/* ── Header Row ────────────────────────────────────────────── */
.pct-header-row {
    display: flex;
    align-items: stretch;
    border-bottom: 4px solid #ED1C24;
    background: #fff;
    flex-wrap: wrap;
    margin-bottom:25px;
    gap:60px;
}

/* ── Section Label (gradient bg by default) ────────────────── */
.pct-section-label {
    /* Default gradient – overridden by Elementor inline styles */
    background: linear-gradient(135deg, #F47B31 0%, #ED1C24 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 22px 12px 20px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 140px;
    /* Default border-radius (right corners rounded) – overridden by Elementor */
    border-radius: 0 6px 6px 0;
}

/* ── Tab Navigation ────────────────────────────────────────── */
.pct-tabs-nav {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    flex: 1;
    justify-content: space-between;
}

.pct-tab:hover, .pct-tab:active, .pct-tab:focus{
    background:transparent!important;
}

.pct-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color .2s, border-color .2s;
    outline: none;
    white-space: nowrap;
    text-decoration: none !important;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
}

.pct-tab:hover { color: #ED1C24; border-color:transparent!important}
.pct-tab.active { color: #ED1C24; font-weight: 500; }

/* Small icon shown before each tab label (uploaded per-tab via the Icon control) */
.pct-tab-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    color: inherit;
    line-height: 0;
}

.pct-tab-icon i   { font-size: 16px; }

/* ── Body Layout ───────────────────────────────────────────── */
.pct-body {
    display: flex;
    align-items: stretch;
    min-height: 360px;
    padding:0px 25px;
}

/* ── Left Banner ───────────────────────────────────────────── */
.pct-banner-wrap {
    width: 22%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-right:30px;
}

.pct-banner-link {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    text-decoration: none !important;
    color: inherit;
    display:flex;
}

.pct-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .4s ease;
    border-radius:16px;
}

.pct-banner-link:hover .pct-banner-img { transform: scale(1.03); }

.pct-banner-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    background: linear-gradient(135deg, #f5e6c8 0%, #e8c97a 50%, #c49b30 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pct-banner-placeholder span {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    line-height: 1.2;
}

/* ── Banner Badge ──────────────────────────────────────────── */
.pct-banner-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: #ED1C24;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 2px;
    white-space: nowrap;
    letter-spacing: .05em;
    pointer-events: none;
}

/* ── Products Section ──────────────────────────────────────── */
.pct-products-wrap {
    flex: 1;
    position: relative;
    padding: 0 15px;
    min-width: 0; /* prevent overflow */
}

/* Carousel arrows - only relevant in carousel mode (see @media max-width:
   1023px below). Hidden above that, where products use the original grid. */
.pct-carousel-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #ED1C24!important;
    color: #ffffff!important;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity:0.7;
}

.pct-carousel-arrow-prev {
    left: 4px;
}

.pct-carousel-arrow-next {
    right: 4px;
}

.pct-carousel-arrow:hover{
    opacity:1;
}

.pct-products-wrap.pct-no-overflow .pct-carousel-arrow {
    display: none;
}

/* Original desktop grid, above 1023px. Carousel mode (fixed-width cards,
   horizontal scroll, arrows) only applies at 1023px and below - see the
   @media block further down. */
.pct-products-grid {
    display: grid;
    gap: 15px;
    transition: opacity .25s;
}

.pct-products-grid.pct-cols-2 { grid-template-columns: repeat(2, 1fr); }
.pct-products-grid.pct-cols-3 { grid-template-columns: repeat(3, 1fr); }
.pct-products-grid.pct-cols-4 { grid-template-columns: repeat(4, 1fr); }

.pct-products-grid.is-loading { opacity: .35; pointer-events: none; }

/* Row Divider - only meaningful in the desktop grid above, where a second
   row can actually exist. The carousel breakpoint below turns it off, since
   everything is one scrolling row there. */
.pct-products-grid.pct-cols-2:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+2),
.pct-products-grid.pct-cols-3:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+3),
.pct-products-grid.pct-cols-4:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+4) {
    border-bottom: 1px solid var(--pct-row-divider-color, #DDDDDD);
}

/* ── Product Card ──────────────────────────────────────────── */

.pct-product-inner {
    display: block;
    border: 2px solid transparent;
    padding: 10px 10px 12px;
    text-decoration: none !important;
    color: inherit;
    transition: border-color .2s;
    height: 100%;
}

/* ── Product Image ─────────────────────────────────────────── */
.pct-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius:6px;
}

.pct-product-image img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform .3s;
    display: block;
}

.pct-product-card:hover .pct-product-image img { transform: scale(1.05); }

/* ── Product Meta ──────────────────────────────────────────── */
.pct-product-info { padding: 2px 2px 0; margin-top:15px;}

/* Brand */
.pct-brand {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .04em;
    color: #A2A2A2;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-bottom:5px;
}

/* Price – current (sale) price first, then "Was [regular price]" struck through */
.pct-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
    line-height: 1.2;
    text-decoration: none !important;
}

.pct-price-current {
    font-size: 16px;
    font-weight: 500;
    color: #ED1C24;
    text-transform: uppercase;
}
.pct-price-current .woocommerce-Price-amount { color: inherit; font-weight: inherit; }

.pct-price-was {
    font-size: 14px;
    font-weight: 400;
    color: #A2A2A2;
    text-transform: uppercase;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pct-price-was::before {
    content: "|";
    color: #A2A2A2;
    font-weight: 400;
}
.pct-price-was del {
    text-decoration: line-through;
    color: #A2A2A2;
    font-weight: 400;
}
.pct-price-was .woocommerce-Price-amount { color: inherit; font-weight: inherit; }

/* Title */
.pct-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
    text-decoration: none !important;
    margin-bottom:5px!important;
}

.pct-product-card:hover .pct-title { color: #ED1C24; }

/* Short Description */
.pct-short-desc {
    font-size: 11.5px;
    color: #888;
    margin: 0 0 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none !important;
}

/* ── Star Rating ───────────────────────────────────────────── */
.pct-rating {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-top: 4px;
}

.pct-star {
    font-size: 14px;
    line-height: 1;
    color: #ddd;
}

.pct-star.full,
.pct-star.half { color: #F47B31; }

.pct-review-count {
    font-size: 11px;
    color: #A2A2A2;
    margin-left: 3px;
    text-decoration: none !important;
}

/* ── Loading Overlay ───────────────────────────────────────── */
.pct-loading-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 10;
}

.pct-loading-overlay.visible { opacity: 1; pointer-events: all; }

.pct-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #eee;
    border-top-color: #ED1C24;
    border-radius: 50%;
    animation: pct-spin .7s linear infinite;
}

@keyframes pct-spin { to { transform: rotate(360deg); } }

/* ── No Products ───────────────────────────────────────────── */
.pct-no-products {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #aaa;
    font-size: 14px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pct-banner-wrap {
        display: none;
    }

    .pct-tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .pct-tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .pct-tab {
        flex-shrink: 0;
    }

    /* Carousel mode - 1023px and below only. Above that, products use the
       original grid (see the base .pct-products-grid rules above). */
    .pct-products-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 44px 14px;
    }

    .pct-products-grid::-webkit-scrollbar {
        display: none;
    }

    .pct-product-card {
        flex: 0 0 320px;
        width: 320px;
        scroll-snap-align: start;
    }

    .pct-carousel-arrow {
        display: flex;
    }

    /* Row Divider only makes sense in the desktop grid - everything here is
       one scrolling row, so turn it off regardless of product count. */
    .pct-products-grid.pct-cols-2:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+2),
    .pct-products-grid.pct-cols-3:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+3),
    .pct-products-grid.pct-cols-4:not(.pct-divider-off):not(.pct-single-row) .pct-product-card:nth-child(-n+4) {
        border-bottom: none;
    }
}

/* ============================================================
   v2.0.0 ADDITIONS: Sale Badge · Quick View · Order · AJAX Cart
   ============================================================ */

/* ── Sale / Discount Badge ─────────────────────────────────── */
.pct-product-image { position: relative; }

.pct-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: #ED1C24;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 5px;
    letter-spacing: .02em;
    box-shadow: 0 2px 6px rgba(237, 28, 36, .35);
}

/* ── Image hover overlay (eye icon) ────────────────────────── */
.pct-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.pct-image-overlay {
    inset: 0;
    display: flex;
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}

.pct-image-overlay .pct-quickview-btn,
.pct-image-overlay .pct-wishlist-btn {
    pointer-events: auto;
}

.pct-quickview-btn {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transform: translateY(0);
    transition: opacity .25s, transform .25s, background .2s;
    position: absolute;
    right: 10px;
    top: 10px;
    background:#ED1C24;
    padding:0px;
}

.pct-quickview-btn:hover {
    background: #c41219;
    color: #fff;
}

.pct-quickview-btn svg { width: 18px; height: 18px; }

/* ── Product info as clickable link (replaces old <a> wrapper) ── */
.pct-product-info-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

/* ══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL
   ══════════════════════════════════════════════════════════════ */
.pct-qv-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.pct-qv-modal.is-open {
    opacity: 1;
    pointer-events: all;
}

.pct-qv-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .52);
}

.pct-qv-dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 92%;
    max-width: 880px;
    max-height: 92vh;
    overflow-y: auto;
    z-index: 1;
    transform: translateY(24px);
    transition: transform .3s;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.pct-qv-modal.is-open .pct-qv-dialog { transform: translateY(0); }

.pct-qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background .2s, color .2s;
    padding: 0;
}
.pct-qv-close:hover { background: #ED1C24; color: #fff; }
.pct-qv-close svg   { width: 16px; height: 16px; }

.pct-qv-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
}
.pct-qv-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid #eee;
    border-top-color: #ED1C24;
    border-radius: 50%;
    animation: pct-spin .7s linear infinite;
}

/* Quick View body – two columns */
.pct-qv-body {
    display: grid;
    grid-template-columns: 42% 1fr;
}

.pct-qv-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    padding: 36px 28px;
    border-radius: 10px 0 0 10px;
    min-height: 360px;
}
.pct-qv-main-image img {
    max-width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    display: block;
}

.pct-qv-info-col {
    padding: 32px 32px 26px;
    display: flex;
    flex-direction: column;
}

.pct-qv-brand {
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.pct-qv-title {
    font-size: 22px; font-weight: 400; color: #000000;
    margin: 0 0 10px; line-height: 1.3;
}

.pct-qv-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}
.pct-qv-star       { font-size: 15px; color: #ddd; }
.pct-qv-star.full,
.pct-qv-star.half  { color: #FFA726; }
.pct-qv-review-count { font-size: 12px; color: #bbb; margin-left: 6px; }

.pct-qv-price-wrap { margin-bottom: 14px; }
.pct-qv-price,
.pct-qv-price *    { font-size: 22px !important; font-weight: 700 !important; color: #000000 !important; }
.pct-qv-price ins  { color: #ED1C24 !important; text-decoration: none !important; }
.pct-qv-price del  { font-size: 17px !important; color: #bbb !important; font-weight: 400 !important; text-decoration: line-through !important; }

.pct-qv-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 14px;
    padding-top: 14px;
    border-top: 1px solid #eee;
}
.pct-qv-desc p { margin: 0; }

.pct-qv-sku { font-size: 12px; color: #aaa; margin-bottom: 14px; }
.pct-qv-sku span { color: #666; }

/* Variation attributes */
.pct-qv-attributes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee;
}
.pct-qv-attr-row { display: flex; align-items: center; gap: 14px; }
.pct-qv-attr-label { min-width: 62px; font-size: 16px; font-weight: 700; color: #000000; }
.pct-qv-attr-select {
    flex: 1;
    padding: 8px 32px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    transition: border-color .2s;
}
.pct-qv-attr-select:focus { outline: none; border-color: #ED1C24; }

.pct-qv-variation-price {
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
}
.pct-qv-variation-notice {
    font-size: 13px;
    color: #b33;
    background: #ffeeee;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 12px;
}

.pct-qv-form { margin-top: auto; }

.pct-qv-error { padding: 40px; text-align: center; color: #c0392b; font-size: 14px; }

body.pct-modal-open { overflow: hidden; }

/* ── Modal ORDER + Cart buttons (theme-override guards) ───── */
.pct-qv-modal .pct-qv-buttons-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
}

.pct-qv-modal .pct-qv-order-btn {
    flex: 1 1 140px !important;
    min-width: 140px !important;
    height: 46px !important;
    background: #ED1C24 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-family: inherit !important;
}
.pct-qv-modal .pct-qv-order-btn:hover:not(:disabled) {
    background: #ED1C24 !important;
    opacity: 0.85 !important;
}
.pct-qv-modal .pct-qv-order-btn:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
    display: inline-flex !important;
}

.pct-qv-modal .pct-qv-order-spinner {
    display: none;
    width: 14px; height: 14px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pct-spin .65s linear infinite;
}

.pct-qv-modal .pct-qv-cart-btn {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
    border: 2px solid #ED1C24 !important;
    background: #fff !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ED1C24 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.pct-qv-modal .pct-qv-cart-btn:hover:not(:disabled) {
    background: #ED1C24 !important;
    color: #fff !important;
}
.pct-qv-modal .pct-qv-cart-btn:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
    display: inline-flex !important;
}

.pct-qv-modal .pct-qv-cart-spinner {
    display: none;
    width: 16px; height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: pct-spin .65s linear infinite;
}

.pct-qv-modal .pct-qv-cart-btn svg {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    pointer-events: none;
}

/* Modal title theme-defeat */
.pct-qv-modal .pct-qv-title {
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #111 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-family: inherit !important;
}

/* Modal view-full link theme-defeat */
.pct-qv-modal .pct-qv-view-full {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    width: fit-content !important;
    max-width: 100% !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ED1C24 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    padding: 4px 0 !important;
}
.pct-qv-modal .pct-qv-view-full svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
}

/* ══════════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════════ */
.pct-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #222;
    color: #fff;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 999999;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .2);
}
.pct-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.pct-toast.is-error   { background: #c0392b; }
.pct-toast-icon       { font-size: 15px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
    .pct-qv-body { grid-template-columns: 1fr; }
    .pct-qv-image-col { border-radius: 10px 10px 0 0; padding: 24px 20px; min-height: auto; }
    .pct-qv-main-image img { max-height: 200px; }
    .pct-qv-info-col { padding: 20px; }
    .pct-qv-title    { font-size: 18px; }
    .pct-qv-modal .pct-qv-title { font-size: 18px !important; }
}

@media (max-width: 520px) {
    .pct-qv-dialog { width: 98%; }
    .pct-qv-modal .pct-qv-order-btn { min-width: 0 !important; font-size: 12px !important; }
}

/* ══════════════════════════════════════════════════════════════
   WISHLIST BUTTON (ported from the iBF Flash Sale plugin)
   Same round red design as the Quick View icon, sitting directly
   below it. Always visible (not hover-revealed) so it works the
   same on touch devices as with a mouse. White heart to match the
   white eye icon.
   ══════════════════════════════════════════════════════════════ */
.pct-wishlist-btn {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    background: #ED1C24;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 10px;
    top: 50px; /* 10px (quick-view top) + 42px (its height) + 8px gap */
    opacity: 0;
    transform: translateY(0);
    transition: opacity .25s, transform .25s, background .2s;
    z-index: 2;
}
.pct-wishlist-btn:hover { background: #c41219; }

.pct-wishlist-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ── YITH WooCommerce Wishlist — fit inside the round red badge ── */
.pct-wishlist-btn .yith-wcwl-add-to-wishlist,
.pct-wishlist-btn .yith-wcwl-add-button,
.pct-wishlist-btn .yith-wcwl-wishlistexistsbrowse,
.pct-wishlist-btn .yith-wcwl-wishlistaddedbrowse {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pct-wishlist-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    line-height: 1;
}

/* Icon only — hide YITH's "Add to wishlist" / "Browse wishlist" label text
   and the tooltip, but KEEP the .feedback confirmation (floated below). */
.pct-wishlist-btn a span,
.pct-wishlist-btn .yith-wcwl-add-to-wishlist-tooltip {
    display: none !important;
}

/* YITH confirmation message ("Product added to wishlist" / removed) — shown
   as a small floating label beneath the round button rather than inside it. */
.pct-wishlist-btn .feedback {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    white-space: nowrap;
    background: #111;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 5;
    pointer-events: none;
}

@media(min-width:1025px){
.pct-wishlist-btn i,
.pct-wishlist-btn svg {
    width: 18px!important;
    height: 18px!important;
    margin: 0;
}
}

.pct-wishlist-btn i, .pct-wishlist-btn svg {
    color: #fff!important;
}

/* Keep the icon white in the added-to-wishlist state (reads on red) */
.pct-wishlist-btn .yith-wcwl-wishlistexistsbrowse i,
.pct-wishlist-btn .yith-wcwl-wishlistaddedbrowse i,
.pct-wishlist-btn a.exists i {
    color: #fff!important;
}

/* Kill YITH's loader spacing so the badge doesn't jump */
.pct-wishlist-btn .ajax-loading {
    position: absolute;
    margin: 0;
}

/* ── Self-rendered wishlist heart: outline ↔ filled toggle ── */
.pct-wishlist-btn a { color: #fff; }
.pct-wishlist-btn .pct-wl-o,
.pct-wishlist-btn .pct-wl-f {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    color: #fff;
}
.pct-wishlist-btn .pct-wl-f { display: none; }
.pct-wishlist-btn .pct-wl-link.is-active .pct-wl-o { display: none; }
.pct-wishlist-btn .pct-wl-link.is-active .pct-wl-f { display: inline-flex; }
.pct-wishlist-btn .pct-wl-static { display: inline-flex; color: #fff; }

/* ── Tab panels: all rendered on load, only the active one visible.
   Class-based so the active panel keeps its `display:grid` layout
   (jQuery .show()/.hide() would force display:block and break the grid). */
.pct-products-grid.pct-tab-panel:not(.is-active) {
    display: none;
}

@media(max-width:1024px){
    .pct-header-row{
        gap:30px!important;
    }
    .pct-tab{
        padding:8px 10px!important;
    }
    .pct-products-wrap {
    padding: 0px!important;
}
.pct-body{
    padding: 0px 20px!important;
}
.pct-product-inner{
    border:1px solid #ED1C24!important;
}
.pct-carousel-arrow-prev{
    left:-10px!important;
}
.pct-carousel-arrow-next{
    right:-10px!important;
}
.pct-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
    line-height: 1.2;
    text-decoration: none !important;
}

.pct-price-current {
    font-size: 14px;
}

.pct-price-was {
    font-size: 12px;
}

.pct-quickview-btn {
    width: 34px;
    height: 34px;
}

.pct-quickview-btn svg { width: 16px; height: 16px; }

.pct-quickview-btn {
    width: 34px;
    height: 34px;
}


.pct-quickview-btn svg { width: 16px; height: 16px; }

.pct-wishlist-btn {
    width: 34px;
    height: 34px;
}

.pct-wishlist-btn svg {
    width: 18px!important;
    height: 18px!important;
}
.pct-wishlist-btn, .pct-quickview-btn {
    opacity:1;
}
}

.pct-product-card:hover .pct-wishlist-btn, .pct-product-card:hover .pct-quickview-btn {
    opacity:1;
}

@media(max-width:767px){
    .pct-header-row{
    display:block!important;
    padding-bottom: 0px;
    }
    .pct-header-row {
        gap: 10px !important;
    }
    .pct-section-label{
        padding:12px 20px 12px 20px!important;
    }
    .pct-tabs-nav{
    padding: 30px 20px;
    gap: 20px;
    }
    .pct-tab{
        padding:0px 0px 5px 0px!important;
    }
}

