/* ============================================================
   PRODUCT CARD — 2025 redesign
   Targets .pc-2025 (added to the existing .product-slider-box).
   Preserves every JS hook: #package_image_*, #product_offer_*,
   #discount_*, #discounted_price_*, #package_price_*,
   #product_discount_*, #package_stock_*, #add-package-quantity-*,
   #package_id_*, #radio_package_button_*, .package_button,
   .package, .package-radio-button, .openCartActionBtn, .btnNotifyMe,
   .notify, .removeInCart, .addInCart, .cartIncrementBox,
   .increament_box, .green_box, .btnNotForSale.
   ============================================================ */
.pc-2025-wrap {
    display: block;
    color: inherit;
}
.pc-2025-wrap:hover { text-decoration: none !important; }

.product-slider-box.pc-2025 {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, rgba(212,168,73,0.06), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #fffdf5 100%);
    border: 1px solid var(--rd-border, #e3ddc9);
    border-radius: 20px !important;
    box-shadow: 0 6px 18px rgba(20,40,30,0.05);
    padding: 14px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 400px;          /* fixed for visual consistency — tighter to fit more cards above the fold */
    min-height: 400px;
    box-sizing: border-box;
}
.product-slider-box.pc-2025:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(20,40,30,0.10);
    border-color: var(--rd-green-3, #133023);
}
.product-slider-box.pc-2025::before,
.product-slider-box.pc-2025:hover::before { content: none !important; }

/* ====== Top badge cluster (discount / bestseller / organic) ====== */
.pc-2025 .pc-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
    align-items: flex-start;
}
.pc-2025 .pc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 4px 9px;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
}
.pc-2025 .pc-badge i { font-size: 9px; }
.pc-2025 .pc-badge--discount {
    background: linear-gradient(135deg, var(--rd-orange, #f08a3a) 0%, #e6712b 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(240,138,58,0.30);
}
.pc-2025 .pc-badge--bestseller {
    background: linear-gradient(135deg, #fff7e2 0%, #f3d68a 100%);
    color: #6c3815;
    border: 1px solid #e9d6a5;
}
.pc-2025 .pc-badge--organic {
    background: #e9f4dd;
    color: #2d6a30;
    border: 1px solid #b6d99c;
}

/* ====== Top-right corner (veg/non-veg) ====== */
.pc-2025 .pc-corner-right {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pc-2025 .pc-diet.commonSymbol,
.pc-2025 .vegLogo.pc-diet,
.pc-2025 .nonvegLogo.pc-diet {
    width: 18px !important;
    height: 18px !important;
    background-size: cover !important;
    flex-shrink: 0;
    margin: 0 !important;
    display: inline-block !important;
    position: static !important;
}

/* Recent-purchase pill, placed above image */
.pc-2025 .pc-recent-pill {
    position: absolute;
    top: 36px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(31,61,44,0.92);
    color: #fff;
    padding: 4px 9px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 6px 14px rgba(20,40,30,0.20);
    max-width: calc(100% - 60px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pc-2025 .pc-recent-pill i { font-size: 9px; color: var(--rd-gold, #d4a64b); }

/* ====== Image area ====== */
.pc-2025 .product-slider-img.pc-image {
    position: relative;
    width: 100%;
    height: 170px;
    background: transparent;          /* no cream tint — image fills the area */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
}
.pc-2025 .pc-image .pc-image-img,
.pc-2025 .pc-image img.lazyload {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}
.product-slider-box.pc-2025:hover .pc-image-img {
    transform: scale(1.06) rotate(-2deg);
}
.pc-2025 .pc-image .pc-offer-text {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rd-orange-2, #c25a1a);
    padding: 0;
    background: transparent;
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
}
.pc-2025 .pc-image .pc-offer-text:empty { display: none; }
.pc-2025 .pc-stock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,40,30,0.55);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.pc-2025 .pc-stock-low {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: linear-gradient(135deg, #c0392b 0%, #8d2a20 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(192,57,43,0.30);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Origin badge overlaid on the image (bottom-left) — frees space in the body */
.pc-2025 .pc-origin-overlay {
    position: absolute;
    bottom: 6px;
    left: 6px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 4px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--rd-border, #e3ddc9);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--rd-ink, #1a2521);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 4px 10px rgba(20,40,30,0.10);
    max-width: calc(100% - 12px);
}
.pc-2025 .pc-origin-overlay img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
    border: 1px solid var(--rd-border, #e3ddc9);
}
.pc-2025 .pc-origin-overlay i {
    color: var(--rd-green-3, #133023);
    font-size: 10px;
}
.pc-2025 .pc-origin-overlay > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

/* ====== Info body ====== */
.pc-2025 .pc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
    padding: 0;
}
.pc-2025 .pc-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.pc-2025 .pc-brand {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--rd-green-3, #133023);
    text-transform: uppercase;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pc-2025 .pc-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: var(--rd-ink, #1a2521);
    background: linear-gradient(135deg, #fff7e2 0%, #f3d68a 100%);
    border: 1px solid #e9d6a5;
    padding: 2px 8px;
    border-radius: 999px;
}
.pc-2025 .pc-rating i {
    color: var(--rd-gold, #d4a64b);
    font-size: 10px;
}
.pc-2025 .pc-rating-count {
    color: var(--rd-muted, #6b7568);
    font-weight: 600;
    margin-left: 2px;
}

.pc-2025 .pc-name,
.pc-2025 label.pc-name {
    font-family: 'Times New Roman', Georgia, serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    color: var(--rd-green, #1f3d2e) !important;
    margin: 0 !important;
    display: -webkit-box !important;
    display: -moz-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    overflow: hidden !important;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    min-height: 36px;
    max-height: 36px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.pc-2025 .pc-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
}
.pc-2025 .pc-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    line-height: 1.2;
    border: 1px solid transparent;
}
.pc-2025 .pc-tag i { font-size: 9px; }
.pc-2025 .pc-tag--fresh {
    background: #eef6e4;
    color: var(--rd-green, #1f3d2e);
    border-color: #cfe2bd;
}
.pc-2025 .pc-tag--delivery {
    background: var(--rd-cream-3, #faf6ec);
    color: var(--rd-ink, #1a2521);
    border-color: var(--rd-border, #e3ddc9);
}
.pc-2025 .pc-tag--feature {
    background: linear-gradient(135deg, var(--rd-green, #1f3d2e) 0%, var(--rd-green-2, #2c5141) 100%);
    color: #fff;
    border: 0;
}
.pc-2025 .pc-tag--feature i { color: var(--rd-gold, #d4a64b); }
.pc-2025 .pc-tag--origin {
    background: #e0e9ee;
    color: #2f4a4f;
    border-color: #cfdde0;
}

/* ====== Pack selector ====== */
.pc-2025 .pc-packs-wrap {
    margin: 4px 0 0;
}
.pc-2025 ul.pc-packs.donate-now {
    display: block;              /* no flex — block container with inline-flex items */
    white-space: nowrap;         /* keep pills on one row so overflow scrolls */
    padding: 0 0 4px;            /* room for the scrollbar */
    margin: 0;
    list-style: none;
    overflow-x: auto;            /* scroll horizontally when overflowing */
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;       /* Firefox slim scrollbar */
    scrollbar-color: var(--rd-green-3, #133023) transparent;
    -webkit-overflow-scrolling: touch;
    font-size: 0;                /* kill inline-block whitespace gap */
}
/* Webkit slim scrollbar */
.pc-2025 ul.pc-packs.donate-now::-webkit-scrollbar { height: 4px; }
.pc-2025 ul.pc-packs.donate-now::-webkit-scrollbar-track { background: transparent; }
.pc-2025 ul.pc-packs.donate-now::-webkit-scrollbar-thumb {
    background: var(--rd-border, #e3ddc9);
    border-radius: 4px;
}
.pc-2025 ul.pc-packs.donate-now:hover::-webkit-scrollbar-thumb {
    background: var(--rd-green-3, #133023);
}
.pc-2025 .pc-pack {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    display: inline-block;       /* sits in the inline scroll row */
    vertical-align: top;
    margin-right: 6px;           /* gap between pills (replaces flex `gap`) */
    scroll-snap-align: start;
    font-size: 11px;             /* reset the parent's font-size:0 trick */
}
.pc-2025 .pc-pack:last-child { margin-right: 0; }
.pc-2025 .pc-pack input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}
.pc-2025 .pc-pack label.pc-pack-label,
.pc-2025 .pc-pack label.btn.btnGrey.pc-pack-label {
    margin: 0 !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--rd-ink, #1a2521) !important;
    background: var(--rd-cream-3, #faf6ec) !important;
    border: 1.5px solid var(--rd-border, #e3ddc9) !important;
    border-radius: 14px !important;       /* softer rect so wrapped 2-line text reads well */
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, transform .15s ease;
    min-width: 44px;
    max-width: 100%;
    text-align: center;
    line-height: 1.2;
    white-space: normal !important;       /* allow text to wrap */
    overflow-wrap: anywhere;              /* break very long single tokens */
    word-break: break-word;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;                /* cap at 2 lines max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}
.pc-2025 .pc-pack label.pc-pack-label:hover {
    border-color: var(--rd-green-3, #133023) !important;
    background: #fff !important;
}
.pc-2025 .pc-pack input[type="radio"]:checked + label.pc-pack-label {
    background: linear-gradient(160deg, var(--rd-green, #1f3d2e) 0%, var(--rd-green-2, #2c5141) 100%) !important;
    color: #fff !important;
    border-color: var(--rd-green, #1f3d2e) !important;
    box-shadow: 0 4px 12px rgba(31,61,44,0.22);
}

/* ====== Price + CTA row ====== */
.pc-2025 .pc-price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px dashed var(--rd-border, #e3ddc9);
}
.pc-2025 .pc-price-block { min-width: 0; }
.pc-2025 .pc-price-mrp {
    font-size: 11px;
    font-weight: 600;
    color: var(--rd-muted, #6b7568);
    text-decoration: line-through;
    display: block;
    line-height: 1;
    margin-bottom: 2px;
}
.pc-2025 .pc-price-now {
    font-family: 'Times New Roman', Georgia, serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--rd-green, #1f3d2e) !important;
    line-height: 1 !important;
    letter-spacing: -0.3px;
    margin: 0 !important;
}
/* .pc-saving was removed — discount info now lives in the top-left
   .pc-badge--discount chip only. */

/* CTA buttons */
.pc-2025 .pc-cta { flex-shrink: 0; display: flex; align-items: center; }
.pc-2025 .pc-btn,
.pc-2025 button.btn.pc-btn,
.pc-2025 a.btn.pc-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    border: 0 !important;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
}
.pc-2025 .pc-btn i { font-size: 11px; }
.pc-2025 .pc-btn--add {
    background: linear-gradient(135deg, var(--rd-green, #1f3d2e) 0%, var(--rd-green-2, #2c5141) 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(31,61,44,0.22) !important;
}
.pc-2025 .pc-btn--add:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(31,61,44,0.30) !important;
    color: #fff !important;
}
.pc-2025 .pc-btn--add i {
    color: var(--rd-gold, #d4a64b);
}
.pc-2025 .pc-btn--preorder {
    background: linear-gradient(135deg, var(--rd-green-3, #133023) 0%, var(--rd-green, #1f3d2e) 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(31,61,44,0.22) !important;
}
.pc-2025 .pc-btn--notify {
    background: #fff7e2 !important;
    color: #6c3815 !important;
    border: 1px solid #e9d6a5 !important;
}
.pc-2025 .pc-btn--notify:hover {
    background: linear-gradient(135deg, var(--rd-gold, #d4a64b) 0%, #b78a2e 100%) !important;
    color: #fff !important;
}
.pc-2025 .pc-btn--off {
    background: #f4f0e3 !important;
    color: #999 !important;
    cursor: not-allowed;
    font-size: 11px !important;
}

/* Stepper */
.pc-2025 .pc-stepper-wrap.cartIncrementBox {
    display: inline-flex;
    align-items: center;
}
.pc-2025 .pc-stepper.increament_box,
.pc-2025 .increament_box.pc-stepper {
    display: inline-flex !important;
    align-items: center;
    gap: 0;
    background: linear-gradient(135deg, var(--rd-green, #1f3d2e) 0%, var(--rd-green-2, #2c5141) 100%);
    border: 0;
    border-radius: 999px;
    padding: 3px;
    height: 34px;
    min-width: 100px;
    box-shadow: 0 10px 22px rgba(31,61,44,0.22);
}
.pc-2025 .pc-stepper .removeInCart,
.pc-2025 .pc-stepper .addInCart {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}
.pc-2025 .pc-stepper .removeInCart:hover,
.pc-2025 .pc-stepper .addInCart:hover {
    background: var(--rd-orange, #f08a3a);
    transform: scale(1.08);
}
.pc-2025 .pc-stepper input.form-control {
    background: transparent !important;
    border: 0 !important;
    color: #fff !important;
    text-align: center !important;
    width: 36px;
    height: auto !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

/* Hide the legacy discount banner that sits below — we surface it as the top-left chip instead */
.pc-2025 .pc-body .discount[style*="display:none"],
.pc-2025 .pc-body > .discount {
    display: none !important;
}

/* ====== Responsive ====== */
@media (max-width: 575px) {
    .product-slider-box.pc-2025 { height: 380px; min-height: 380px; padding: 12px; }
    .pc-2025 .pc-image { height: 150px; }
    .product-slider-box.pc-2025 .pc-image { height: 150px !important; }
    .pc-2025 .pc-name { font-size: 14px !important; }
    .pc-2025 .pc-price-now { font-size: 18px !important; }
    .pc-2025 .pc-btn { height: 32px; padding: 0 12px !important; font-size: 12px !important; }
}

/* ============================================================
   OVERRIDES — beat the legacy components/product-card.css which
   sets `padding: 0 !important` and `aspect-ratio: 4/3` on the
   .product-slider-box.active.
   ============================================================ */
.product-slider .slideItem .product-slider-box.pc-2025,
.product-slider-box.active.pc-2025 {
    padding: 14px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(212,168,73,0.06), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #fffdf5 100%) !important;
    border: 1px solid var(--rd-border, #e3ddc9) !important;
}

/* Image area — kill the 4:3 aspect-ratio + bottom border that the legacy
   shared file adds; use a fixed clean inner box with the image FILLING it
   (no cream tint backdrop). */
.product-slider-box.pc-2025 .product-slider-img.pc-image {
    aspect-ratio: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border-bottom: 0 !important;
    height: 170px !important;
    border-radius: 14px !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
}
.product-slider-box.pc-2025 .pc-image img,
.product-slider-box.pc-2025 .pc-image .pc-image-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
}

/* Hide the legacy green offer-pill overlay (top-left of image) — pc-2025
   surfaces the offer text inside the image as a caption + uses a dedicated
   discount chip in the badges cluster on the top-left of the WHOLE card. */
.product-slider-box.pc-2025 .product-slider-img.pc-image > [id^="product_offer_"] {
    position: absolute !important;
    bottom: 6px !important;
    top: auto !important;
    left: 6px !important;
    right: 6px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    background: rgba(31,61,44,0.85) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    z-index: 2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: calc(100% - 12px) !important;
    text-align: center !important;
}
.product-slider-box.pc-2025 .product-slider-img.pc-image > [id^="product_offer_"]:empty {
    display: none !important;
}

/* Push the body to fill remaining height so the price+CTA row sits at the
   bottom (matches the dashed-line separator design). */
.product-slider-box.pc-2025 .pc-body {
    flex: 1 1 auto !important;
    min-height: 0;
}

/* Lock corner positions to the OUTER card, not the image. */
.product-slider-box.pc-2025 { position: relative !important; }
.product-slider-box.pc-2025 .pc-badges {
    top: 18px !important;
    left: 18px !important;
}
.product-slider-box.pc-2025 .pc-corner-right {
    top: 18px !important;
    right: 18px !important;
}
.product-slider-box.pc-2025 .pc-recent-pill {
    top: 42px !important;
    left: 18px !important;
}

/* Defeat the legacy `[id^="product_discount_"]` rule that may show as a
   floating circle — pc-2025 renders it as the pill in .pc-badges instead. */
.product-slider-box.pc-2025 .pc-body > .discount,
.product-slider-box.pc-2025 .pc-body [id^="product_discount_"].discount {
    display: none !important;
}
.product-slider-box.pc-2025 .pc-badges [id^="product_discount_"].pc-badge--discount {
    display: inline-flex !important;
}
.product-slider-box.pc-2025 .pc-badges [id^="product_discount_"].pc-badge--discount:empty {
    display: none !important;
}

/* Stop legacy .priceRight from clamping width to 72px */
.product-slider-box.pc-2025 .pc-cta.priceRight {
    width: auto !important;
    margin: 0 !important;
}

/* Legacy .cartIncrementBox uses display:flex full-width; restrict to inline */
.product-slider-box.pc-2025 .cartIncrementBox.pc-stepper-wrap {
    display: inline-flex !important;
    width: auto !important;
}
.product-slider-box.pc-2025 .cartIncrementBox.pc-stepper-wrap.hide { display: none !important; }

/* After click on Add, JS adds .hide to the ADD button and removes .hide
   from the stepper-wrap. Force the ADD pill / Notify / Pre-order /
   NotForSale buttons to actually hide when they get .hide. The pc-btn
   rule above sets display:inline-flex !important, which would otherwise
   beat the legacy .hide { display:none !important } on equal-specificity. */
.product-slider-box.pc-2025 .pc-btn.hide,
.product-slider-box.pc-2025 button.pc-btn.hide,
.product-slider-box.pc-2025 a.pc-btn.hide,
.product-slider-box.pc-2025 .pc-cta .pc-btn.hide,
.product-slider-box.pc-2025 .pc-cta .openCartActionBtn.hide,
.product-slider-box.pc-2025 .pc-cta .btnNotifyMe.hide,
.product-slider-box.pc-2025 .pc-cta .btnNotForSale.hide {
    display: none !important;
}

/* Legacy ul.donate-now had display:flex which forced wrap behavior; switch
   to a horizontal-scroll block container (no flex). */
.product-slider-box.pc-2025 ul.donate-now.pc-packs {
    padding: 0 0 4px !important;
    margin: 4px 0 0 !important;
    list-style: none;
    display: block !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    font-size: 0 !important;
    flex-wrap: initial !important;
    gap: 0 !important;
}
.product-slider-box.pc-2025 ul.donate-now.pc-packs > li.pc-pack,
.product-slider-box.pc-2025 ul.donate-now.pc-packs > li,
.product-slider-box.pc-2025 .donate-now li.package_button,
.product-slider-box.pc-2025 .donate-now li.package,
.product-slider-box.pc-2025 .donate-now li {
    list-style: none !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    display: inline-block !important;     /* overrides legacy `display: contents` */
    float: none !important;               /* overrides legacy `float: left` */
    vertical-align: top !important;
    font-size: 11px !important;
    white-space: normal;                  /* allow label inside to wrap to 2 lines */
}
.product-slider-box.pc-2025 ul.donate-now.pc-packs > li.pc-pack:last-child,
.product-slider-box.pc-2025 ul.donate-now.pc-packs > li:last-child {
    margin-right: 0 !important;
}

/* The label inside the li MUST behave inline so the li can size around it.
   The 2-line clamp uses `-webkit-box` which is block-level — wrap it in an
   inline-block by anchoring the label's container width. */
.product-slider-box.pc-2025 ul.donate-now.pc-packs label.pc-pack-label,
.product-slider-box.pc-2025 ul.donate-now.pc-packs li > label {
    display: -webkit-box !important;
    width: auto !important;
    min-width: 60px;
    max-width: 140px;                     /* cap so a single super-long pack name doesn't fill the row */
}

/* ============================================================
   v2 polish — repositioned pills, impressive hover state
   ============================================================ */

/* Drop the legacy absolute "pc-recent-pill" — replaced by inline below the name */
.product-slider-box.pc-2025 .pc-recent-pill { display: none !important; }

/* Inline "Last bought …" badge under the product name */
.pc-2025 .pc-recent-inline {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 6px;
    margin: 2px 0 0;
    padding: 4px 10px;
    background: linear-gradient(135deg, #eef6e4 0%, #d7e6cd 100%);
    border: 1px solid #b6d99c;
    color: #2d6a30;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pc-2025 .pc-recent-inline i {
    font-size: 10px;
    color: #2d6a30;
}
.pc-2025 .pc-recent-inline strong { font-weight: 800; }

/* Price block — discounted ₹ stacked ABOVE struck-through MRP */
.pc-2025 .pc-price-line {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1;
}
.pc-2025 .pc-price-line .pc-price-now {
    display: block !important;
    font-family: 'Times New Roman', Georgia, serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--rd-green, #1f3d2e) !important;
    line-height: 1 !important;
    letter-spacing: -0.4px;
    margin: 0 !important;
    order: 1;
}
.pc-2025 .pc-price-line .pc-price-mrp {
    display: block !important;
    font-size: 12px !important;
    color: var(--rd-muted, #6b7568) !important;
    text-decoration: line-through;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    order: 2;
}
/* .pc-saving + pc-saving-pulse keyframe removed — discount info now
   lives only in the top-left .pc-badge--discount chip. */

/* Make the price row wrap naturally when the saving chip is wide */
.product-slider-box.pc-2025 .pc-price-row {
    flex-wrap: wrap !important;
    align-items: center !important;
}
.product-slider-box.pc-2025 .pc-price-block {
    flex: 1 1 auto;
    min-width: 0;
}

/* ===== Impressive polish ===== */

/* Stronger card hover lift + gold shimmer sweep */
.product-slider-box.pc-2025 {
    box-shadow: 0 8px 22px rgba(20,40,30,0.06) !important;
}
.product-slider-box.pc-2025::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 50%;
    height: 220%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.40) 50%, transparent 70%);
    transform: rotate(20deg);
    transition: left .8s cubic-bezier(.22,.8,.36,1);
    pointer-events: none;
    z-index: 1;
}
.product-slider-box.pc-2025:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 28px 50px rgba(20,40,30,0.14),
        0 0 0 1px rgba(212,168,73,0.18) !important;
    border-color: rgba(31,61,44,0.28) !important;
}
.product-slider-box.pc-2025:hover::after {
    left: 130%;
}

/* Image area stays transparent in every state — no halo/box-shadow on hover */
.product-slider-box.pc-2025 .pc-image,
.product-slider-box.pc-2025:hover .pc-image {
    background: transparent !important;
    box-shadow: none !important;
}

/* Stronger image transform */
.product-slider-box.pc-2025:hover .pc-image-img {
    transform: scale(1.08) rotate(-2deg) !important;
}

/* Product name turns the orange italic accent on hover */
.product-slider-box.pc-2025 .pc-name {
    transition: color .2s ease;
}
.product-slider-box.pc-2025:hover .pc-name {
    color: var(--rd-orange-2, #c25a1a) !important;
}

/* Price hover underline removed by request. */

/* Discount badge in top-left becomes more prominent */
.product-slider-box.pc-2025 .pc-badges .pc-badge--discount {
    font-size: 10.5px !important;
    padding: 5px 11px !important;
    transform-origin: top left;
    animation: pc-badge-bob 4s ease-in-out infinite;
}
@keyframes pc-badge-bob {
    0%, 100% { transform: rotate(0); }
    50%      { transform: rotate(-3deg); }
}

/* Add button — no shimmer (removed by request). Plain green pill. */

/* Tighten tag row + brand to align cleanly */
.product-slider-box.pc-2025 .pc-tag-row {
    margin-top: 2px;
}

/* When a discount card is open it gets a faint cream glow */
.product-slider-box.pc-2025:has(.pc-badge--discount:not(:empty)) {
    background:
        radial-gradient(circle at 0% 0%, rgba(240,138,58,0.10), transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(212,168,73,0.06), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #fffdf5 100%) !important;
}

/* ===== Hover animation removed — cards stay static on hover ===== */
.product-slider-box.pc-2025,
.product-slider-box.pc-2025 .pc-image-img {
    transition: none !important;
}
.product-slider-box.pc-2025:hover,
.product-slider-box.pc-2025:hover .pc-image-img {
    transform: none !important;
}
.product-slider-box.pc-2025::after { transition: none !important; }
.product-slider-box.pc-2025:hover::after { left: -60% !important; }

/* ===== Full-bleed product image + remove shimmer ::after ===== */
/* Image spans the full card width (cancels the card's 14px padding;
   the card's overflow:hidden + radius clips it to rounded top corners). */
.product-slider-box.pc-2025 .product-slider-img.pc-image {
    margin: -14px -14px 10px !important;
    width: calc(100% + 28px) !important;
    border-radius: 0 !important;
}
/* Remove the decorative ::after (gold shimmer sweep) from the card. */
.product-slider-box.pc-2025::after,
.product-slider-box.pc-2025:hover::after { content: none !important; }
