    :root {
        --product-brown: #502110;
        --product-brown-dark: #35150a;
        --product-red: #c81e1e;
        --product-red-dark: #a11717;
        --product-border: #e8e2df;
        --product-text: #222;
        --product-muted: #777;
    }
/* ============================================================
   TITLE + LINK FIXES (Blue underline + Blue color hatane ke liye)
   ============================================================ */
.product-showcase .cp-image-link,
.product-showcase .cp-image-link:link,
.product-showcase .cp-image-link:visited,
.product-showcase .cp-image-link:hover,
.product-showcase .cp-image-link:active,
.product-showcase .cp-image-link:focus,
.product-showcase .cp-title-link,
.product-showcase .cp-title-link:link,
.product-showcase .cp-title-link:visited,
.product-showcase .cp-title-link:hover,
.product-showcase .cp-title-link:active,
.product-showcase .cp-title-link:focus,
.product-showcase .product-name a,
.product-showcase .product-name a:link,
.product-showcase .product-name a:visited,
.product-showcase .product-name a:hover,
.product-showcase .product-name a:active,
.product-showcase .product-name a:focus,
.product-showcase .product-image-wrap > a,
.product-showcase .product-image-wrap > a:link,
.product-showcase .product-image-wrap > a:visited,
.product-showcase .product-image-wrap > a:hover,
.product-showcase .product-image-wrap > a:active,
.product-showcase .product-image-wrap > a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* ==== TITLE COLOR (BLACK, NOT BLUE) ==== */
.product-showcase .product-name,
.product-showcase .product-name a,
.product-showcase .product-name a:link,
.product-showcase .product-name a:visited {
    color: #222 !important;
}

.product-showcase .product-name a:hover,
.product-showcase .product-name a:focus {
    color: #502110 !important;
}

/* ==== TITLE ELLIPSIS (agar zyada text ho) ==== */
.product-showcase .product-name {
    display: block;
    overflow: hidden;
}

.product-showcase .product-name a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* ==== DESCRIPTION ELLIPSIS ==== */
.product-showcase .product-inspired {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ==================== SAVE AMOUNT (RED) ==================== */
.cp-save-amount {
    font-size: 13px;
    color: #ee1800;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.2px;
}
/* ==================== BADGE ROW ==================== */
.cp-badge-row {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
    flex-wrap: wrap;
}

.cp-badge-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 75%;
}

.cp-badge-row .cp-countdown {
    margin-left: auto;
}

/* ==================== SALE LABEL ==================== */
.cp-sale-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #6b2c17 0%, #502110 60%, #3a160b 100%);
    color: #f5e6d3;
    padding: 5px 11px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(80, 33, 16, 0.5);
    border: 1px solid rgba(245, 230, 211, 0.15);
}

/* ==================== DISCOUNT BADGE ==================== */
.cp-discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fc0202fa 0%, #a70f0f 100%);
    color: #fff;
    padding: 5px 9px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(139, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cp-discount-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: skewX(-20deg);
    animation: cpShine 3.2s ease-in-out infinite;
}

@keyframes cpShine {
    0%   { left: -75%; }
    60%  { left: 125%; }
    100% { left: 125%; }
}

/* ==================== COUNTDOWN ==================== */
.cp-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #d02323 0%, #a70f0f 100%);
    color: #fff;
    padding: 5px 10px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    border: 1px solid rgba(245, 230, 211, 0.25);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.cp-countdown i {
    font-size: 11px;
    color: #f5e6d3;
}

.cp-countdown.is-ending-soon {
    background: rgba(231, 76, 60, 0.95);
    border-color: rgba(255, 255, 255, 0.35);
    animation: cpBlink 1.4s ease-in-out infinite;
}

.cp-countdown.is-ending-soon i {
    color: #fff;
}

.cp-countdown.is-expired {
    display: none;
}

@keyframes cpBlink {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

/* ==================== OUT OF STOCK ==================== */
.cp-out-of-stock {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
}

/* ==================== MOBILE TWEAKS ==================== */
@media (max-width: 575px) {
    .cp-badge-row {
        top: 6px;
        left: 6px;
        right: 6px;
        gap: 4px;
    }
    .cp-badge-left {
        gap: 4px;
        max-width: 72%;
    }
    .cp-sale-label,
    .cp-discount-badge,
    .cp-countdown {
        font-size: 8.5px;
        padding: 4px 7px;
        letter-spacing: 0.3px;
    }
    .cp-countdown i {
        font-size: 9px;
    }
    .cp-save-amount {
        font-size: 11px;
    }
}
    .product-showcase {
        width: 100%;
        padding: 30px 15px;
        background: #fff;
    }
    .mt-2{
        margin-top: 15px;
    }
    .product-grid {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid var(--product-border);
        border-left: 1px solid var(--product-border);
    }

    .product-card {
        position: relative;
        min-width: 0;
        background: #fff;
        border-right: 1px solid var(--product-border);
        border-bottom: 1px solid var(--product-border);
        overflow: hidden;
        transition: box-shadow .3s ease, transform .3s ease;
    }

    .product-card:hover {
        z-index: 2;
        box-shadow: 0 12px 30px rgba(80, 33, 16, .12);
    }

    .product-image-wrap {
        position: relative;
        width: calc(100% - 20px);
        margin: 10px;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background: #f7f5f3;
    }

    /* ==== IMAGE SWAP ON HOVER ==== */
    .product-image {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
    }

    /* Hover image - initially hidden */
    .product-image-hover {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s ease, visibility .4s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
        z-index: 2;
    }

    .product-card:hover .product-image-hover {
        opacity: 1;
        visibility: visible;
    }

    .product-card:hover .product-image {
        opacity: 0;
    }

    .product-card:hover .product-image,
    .product-card:hover .product-image-hover {
        transform: scale(1.045);
    }

    /* ==== DISCOUNT BADGE (RED ONLY) ==== */
    .discount-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 3;
        padding: 6px 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--product-red);
        color: #fff;
        border-radius: 4px;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .6px;
        text-transform: uppercase;
        line-height: 1;
        box-shadow: 0 4px 14px rgba(200, 30, 30, .35);
        border: 1px solid rgba(255, 255, 255, .15);
    }

    .gender-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 3;
        height: 28px;
        padding: 0 13px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, .94);
        color: #292929;
        border: 1px solid rgba(80, 33, 16, .18);
        border-radius: 50px;
        font-size: 12px;
        font-weight: 500;
        backdrop-filter: blur(5px);
    }

    .product-info {
        padding: 0 18px 22px;
        text-align: center;
    }

    .product-name {
        margin: 0;
        color: var(--product-text);
        font-size: 17px;
        line-height: 1.35;
        font-weight: 500;
        letter-spacing: .2px;
        text-transform: uppercase;
    }

    .product-inspired {
        min-height: 36px;
        margin: 13px 0 8px;
        color: var(--product-muted);
        font-size: 12px;
        line-height: 1.55;
        font-weight: 400;
    }

    .product-inspired strong {
        color: #555;
        font-weight: 500;
    }

    .product-price {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        flex-wrap: wrap;
    }

    .old-price {
        color: #b7b7b7;
        font-size: 15px;
        text-decoration: line-through;
        text-decoration-thickness: 1px;
    }

    .current-price {
        color: var(--product-brown);
        font-size: 18px;
        font-weight: 700;
        letter-spacing: .1px;
    }

    .product-action {
        position: absolute;
        left: 50%;
        bottom: 72px;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
        transform: translate(-50%, 12px);
        opacity: 0;
        visibility: hidden;
        white-space: nowrap;
        transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    }

    .product-card:hover .product-action {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }

    .product-action .action-btn {
        width: 52px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #222;
        background: #fff;
        border-right: 1px solid #f0ece9;
        text-decoration: none;
        font-size: 20px;
        transition: color .2s ease, background .2s ease;
    }

    .product-action .action-btn:last-child {
        border-right: none;
    }

    .product-action .action-btn:hover {
        color: var(--product-brown);
        background: #faf7f5;
    }

    .product-action .action-btn i {
        font-size: 20px;
    }

    @media (max-width: 991px) {
        .product-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .product-info {
            padding: 0 15px 20px;
        }
    }

    @media (max-width: 575px) {
        .product-showcase {
            padding: 10px 0;
        }

        .product-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .product-image-wrap {
            width: calc(100% - 12px);
            margin: 6px;
        }

        .discount-badge {
            top: 8px;
            left: 8px;
            padding: 5px 8px;
            font-size: 9px;
            letter-spacing: .4px;
        }

        .gender-badge {
            top: 8px;
            right: 8px;
            height: 25px;
            font-size: 10px;
            padding: 0 9px;
        }

        .product-info {
            padding: 0 9px 16px;
        }

        .product-name {
            font-size: 13px;
        }

        .product-inspired {
            min-height: 32px;
            margin: 9px 0 6px;
            font-size: 10px;
        }

        .old-price {
            font-size: 11px;
        }

        .current-price {
            font-size: 14px;
        }

        .product-action {
            display: none;
        }
    }

    /* ============================================================
       MOBILE / TABLET CAROUSEL MODE  (≤991px)
       ============================================================ */
    @media (max-width: 991px) {
        .product-grid {
            display: flex !important;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: auto;
            border-left: none;
            padding-bottom: 6px;
            cursor: grab;
            scrollbar-width: none;
            -ms-overflow-style: none;
            gap: 0;
        }
        .product-grid::-webkit-scrollbar { display: none; }

        .product-grid.is-dragging {
            cursor: grabbing;
        }
        .product-grid.is-dragging .product-card * {
            pointer-events: none;
        }

        .product-grid .product-card {
            flex: 0 0 50%;
            max-width: 50%;
            border-top: 1px solid var(--product-border);
            border-left: 1px solid var(--product-border);
            user-select: none;
        }

        .product-action { display: none; }
    }

    @media (max-width: 575px) {
        .product-grid .product-card {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    /* ============================================================
       DESKTOP CAROUSEL MODE  (≥992px)
       ============================================================ */
    @media (min-width: 992px) {
        .product-grid.is-carousel {
            display: flex !important;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;
            scroll-behavior: auto;
            border-left: none;
            padding-bottom: 6px;
            cursor: grab;
            scrollbar-width: none;
            -ms-overflow-style: none;
            gap: 0;
        }
        .product-grid.is-carousel::-webkit-scrollbar { display: none; }

        .product-grid.is-carousel.is-dragging {
            cursor: grabbing;
        }
        .product-grid.is-carousel.is-dragging .product-card * {
            pointer-events: none;
        }

        .product-grid.is-carousel .product-card {
            flex: 0 0 25%;
            max-width: 25%;
            border-top: 1px solid var(--product-border);
            border-left: 1px solid var(--product-border);
            user-select: none;
        }

        .product-grid.is-carousel .product-action {
            display: none;
        }
    }