/* ============================================================
   TYPICAL-SECTION.CSS  -  Best Sellers / listing pages  (index.css jaisi theme, SAME TO SAME)
   ------------------------------------------------------------
   Sky-blue background + glass cards + white text.
   Sirf header.css + footer.css ke saath chalta hai.
     1. Colors / helpers
     2. Heading + breadcrumb + intro
     3. Product card + grid           (index.css ke cards)
     4. Mobile
     5. Page ke apne hisse (loader / no products / About + FAQ)
     6. Background (sky + dark moving blobs + grain)
     7. Buttons: transparent glass + mesh + MOVING BORDER hover
     8. Mobile / touch: wishlist heart + bag button
     9. Add to cart "Added" teal look
    10. Reduced motion

   LIGHTWEIGHT:
    - Card par backdrop-filter (blur) nahi -> scroll smooth.
    - Images lazy (js/typical-section.js), 2nd image smooth crossfade.
    - About / FAQ block screen se door ho to render skip (content-visibility).
============================================================ */

/* ============================================================
   1. COLORS / HELPERS
============================================================ */
:root{
    /* WISHLIST + ADD TO CART button ka GLASS look - yahin se badlo */
    --glass-btn-bg:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,.60) 0%, rgba(255,255,255,0) 58%),
        linear-gradient(150deg, rgba(255,255,255,.36) 0%, rgba(255,255,255,.10) 55%, rgba(255,255,255,.24) 100%);
    --glass-btn-border:rgba(255,255,255,.75);
    --glass-btn-shadow:
        inset 0 1.5px 1px rgba(255,255,255,.9),
        inset 0 -6px 12px rgba(255,255,255,.12),
        0 6px 16px rgba(0,40,90,.28);
    --glass-btn-blur:blur(10px) saturate(180%);
}

.container{ max-width:1440px; margin:0 auto; padding:0 15px; }

.visually-hidden{
    position:absolute !important; width:1px; height:1px; margin:-1px; padding:0;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* Footer se chipakne se bachane ke liye neeche ki jagah */
#main-content > .container{ padding-bottom:90px; }
@media(max-width:768px){ #main-content > .container{ padding-bottom:70px; } }

/* ============================================================
   2. HEADING + BREADCRUMB + INTRO
   ------------------------------------------------------------
   Heading header ke piche chhupe to .trending-header ka margin-top badhao.
============================================================ */
.trending-header{
    position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
    margin-top:150px; margin-bottom:25px; padding:0 20px;
}
.breadcrumb-nav{ font-size:.8rem; color:rgba(255,255,255,.85); margin-bottom:12px; text-shadow:0 1px 6px rgba(0,30,60,.45); text-align:center; }
.breadcrumb-nav a{ color:rgba(255,255,255,.85); text-decoration:none; }
.breadcrumb-nav a:hover{ color:#fff; text-decoration:underline; }
.main-trending-title{
    font-size:2rem; font-weight:700; text-transform:uppercase; text-align:center;
    margin:0; color:#fff; text-shadow:0 2px 14px rgba(0,50,120,.55);
    letter-spacing:3px; line-height:1.2;
}
.style-line{
    width:70px; height:4px; border-radius:2px; margin:14px auto 6px;
    background:linear-gradient(90deg,#19c2ff,#7b3ff2); box-shadow:0 0 12px rgba(25,194,255,.6);
}
.collection-intro{
    max-width:820px; margin:0 auto 24px; padding:0 15px; text-align:center;
    color:#e3f0fb; font-size:.92rem; line-height:1.7; text-shadow:0 1px 8px rgba(0,30,60,.45);
}
@media(max-width:768px){
    .trending-header{ margin-top:120px; }
    .main-trending-title{ font-size:1.5rem; letter-spacing:2px; }
    .breadcrumb-nav{ font-size:.75rem; }
}

/* ============================================================
   3. PRODUCT CARD (GLASS) + GRID   (index.css ke cards, same to same)
============================================================ */
.product-card{
    position:relative; height:100%; overflow:hidden; isolation:isolate;
    background:
        radial-gradient(120% 70% at 12% 0%, rgba(255,255,255,.30) 0%, rgba(255,255,255,0) 55%),
        linear-gradient(150deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.06) 45%, rgba(255,255,255,.14) 100%);
    border:1px solid rgba(255,255,255,.38);
    border-radius:22px; padding:8px;
    box-shadow:
        inset 0 1.5px 1px rgba(255,255,255,.75),
        inset 1px 0 2px rgba(255,255,255,.25),
        inset 0 -14px 28px rgba(255,255,255,.06);
    /* PERFORMANCE: card par backdrop-filter nahi, andar ke buttons par bhi blur band */
    --glass-btn-blur:none;
}
.main-link{ position:absolute; inset:0; z-index:5; }

.img-box{
    position:relative; background:transparent; border-radius:12px; overflow:hidden;
    border:1px solid transparent;
}
.lazy-fade-img{ opacity:0; }
.lazy-fade-img.loaded{ opacity:1; }

/* BADGE (index jaisa): OUT OF STOCK = lamba LAAL pill | DISCOUNT = HARA gol (46px) */
.product-card .mbadge{
    position:absolute; top:10px; left:10px; z-index:6; pointer-events:none;
    width:46px; height:46px; border-radius:50%;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    color:#fff; text-align:center; line-height:1;
    border:1px solid rgba(255,255,255,.85);
    box-shadow:inset 0 2px 3px rgba(255,255,255,.45), 0 6px 12px -4px rgba(0,25,50,.5);
    text-shadow:none;
}
.product-card .mbadge b{ display:block; font-size:11px; font-weight:800; letter-spacing:.01em; }
.product-card .mbadge small{ display:block; margin-top:2px; font-size:8.5px; font-weight:700; letter-spacing:.06em; }
.product-card .mbadge-oos{
    background:#e53935; width:auto; height:auto; border-radius:999px;
    flex-direction:row; padding:6px 14px;
    font-size:11px; font-weight:700; letter-spacing:.04em; line-height:1.25; white-space:nowrap;
}
.product-card .mbadge-off{ background:#1faa59; }

.wishlist-btn{
    position:absolute; top:12px; right:12px; width:35px; height:35px; z-index:6;
    isolation:isolate;
    background:var(--glass-btn-bg); border:1px solid var(--glass-btn-border); border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:#fff; text-shadow:0 1px 4px rgba(0,30,60,.5);
    box-shadow:var(--glass-btn-shadow);
    -webkit-backdrop-filter:var(--glass-btn-blur); backdrop-filter:var(--glass-btn-blur);
    opacity:0; transition:opacity .3s, color .3s, transform .35s cubic-bezier(.25,1.25,.4,1);
}
@media (hover:hover){ .product-card:hover .wishlist-btn{ opacity:1; } }
.wishlist-btn:hover{ color:#ff5d73; transform:scale(1.1); }
.wishlist-btn i.text-danger{ color:#d32f2f; }

/* PRODUCT IMAGE: 1st (.main-img) <-> 2nd (.hover-img), smooth crossfade (opacity .55s + zoom .7s).
   2nd image tabhi dikhti hai jab .loaded ho, warna 1st image hi dikhti rahe. */
.product-img-container{
    width:100%; height:340px; position:relative; overflow:hidden;
    contain:layout paint;
}
/* bottle ke neeche halki nakli shadow (drop-shadow filter se halka) */
.product-img-container::after{
    content:""; position:absolute; left:20%; right:20%; bottom:14px; height:18px;
    border-radius:50%; z-index:0; pointer-events:none;
    background:radial-gradient(ellipse at center, rgba(0,25,55,.22) 0%, rgba(0,25,55,0) 70%);
}
.product-img-container img{
    position:absolute; top:0; left:0; width:100%; height:100%;
    padding:20px; box-sizing:border-box; object-fit:contain;
    transition:opacity .55s ease, transform .7s ease;
}
.product-img-container img.main-img{ z-index:1; }
.product-img-container img.hover-img,
.product-img-container img.hover-img.loaded{ z-index:2; opacity:0; }

/* LAPTOP: mouse hover (mobile par sticky :hover se jhatka lagta tha, isliye sirf hover:hover) */
@media (hover:hover){
    .product-card:hover .img-box img.main-img{ transform:scale(1.05); }
    .product-card:hover .img-box:has(img.hover-img.loaded) img.main-img{ opacity:0; }
    .product-card:hover .img-box img.hover-img.loaded{ opacity:1; transform:scale(1.05); }
}
/* MOBILE: ungli jis card par ho (JS: .touch-active) */
.product-card.touch-active .img-box img.main-img{ transform:scale(1.05); }
.product-card.touch-active .img-box:has(img.hover-img.loaded) img.main-img{ opacity:0; }
.product-card.touch-active .img-box img.hover-img.loaded{ opacity:1; transform:scale(1.05); }

.add-cart-btn{
    position:absolute; bottom:15px; left:50%; transform:translateX(-50%) translateY(15px);
    isolation:isolate; width:90%; opacity:0; visibility:hidden; z-index:7;
    transition:opacity .3s ease, visibility .3s ease, transform .3s ease;
    background:var(--glass-btn-bg); border:1px solid var(--glass-btn-border); color:#fff;
    text-shadow:0 1px 4px rgba(0,30,60,.5);
    box-shadow:var(--glass-btn-shadow);
    padding:10px; text-align:center; font-size:11px; font-weight:700; border-radius:25px; cursor:pointer;
}
.product-card:hover .add-cart-btn{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.add-cart-btn.oos-btn{ background:#444 !important; color:#fff !important; border-color:#444 !important; cursor:not-allowed !important; box-shadow:none; }

/* naam / price ka glass patti */
.info{
    padding:12px 8px; margin-top:5px; border-radius:16px;
    background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.22);
    box-shadow:inset 0 1px 1px rgba(255,255,255,.35);
}
.info .brand{ font-size:10px; color:rgba(255,255,255,.80); font-weight:700; text-transform:uppercase; margin:0 0 2px; letter-spacing:.5px; }
.info .title{ font-size:14px; font-weight:600; color:#fff; height:38px; overflow:hidden; margin:0 0 5px; line-height:1.3; }
.price-row{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.curr-price{ color:#fff; font-weight:700; font-size:15px; }
/* KATI HUI (original) PRICE: peeche halka safed pill */
.old-price{
    color:#c8102e; font-size:13px; font-weight:400; line-height:1.2;
    text-decoration:line-through; text-decoration-thickness:1px; text-decoration-color:rgba(200,16,46,.75);
    background:rgba(255,255,255,.88); padding:2px 8px; border-radius:10px;
    box-shadow:0 2px 8px rgba(0,40,90,.25); text-shadow:none;
}
.info .brand, .info .title, .curr-price{ text-shadow:0 1px 6px rgba(0,30,60,.45); }

/* Grid */
.product-grid{ display:flex; flex-wrap:wrap; gap:20px; padding:10px 0; }
.grid-item{ width:calc(25% - 15px); flex-shrink:0; }

/* ============================================================
   4. MOBILE (<=768px)
============================================================ */
@media(max-width:768px){
    .product-grid{ gap:10px; }
    .grid-item{ width:calc(50% - 5px); }

    .product-card{ padding:4px; border-radius:16px; }
    .product-img-container{ height:170px; }
    .product-img-container::after{ bottom:8px; height:12px; }
    .product-img-container img{ padding:6px; }
    .info .title{ font-size:12px; height:32px; }
    .old-price{ font-size:11px; padding:1px 6px; }

    .product-card .mbadge{ width:40px; height:40px; top:8px; left:8px; }
    .product-card .mbadge b{ font-size:10px; }
    .product-card .mbadge small{ font-size:7px; }
    .product-card .mbadge-oos{ width:auto; height:auto; padding:4px 9px; font-size:9px; }
}
@media(max-width:400px){
    .container{ padding:0 10px; }
    .product-grid{ gap:8px; }
    .grid-item{ width:calc(50% - 4px); }
    .product-img-container{ height:140px; }
    .product-img-container img{ padding:4px; }
    .info{ padding:8px 6px; border-radius:12px; }
    .info .brand{ font-size:9px; letter-spacing:.3px; }
    .info .title{ font-size:11.5px; height:30px; }
    .curr-price{ font-size:13px; }
    .old-price{ font-size:10px; padding:1px 5px; }
    .main-trending-title{ font-size:1.25rem; letter-spacing:1.5px; }
    .product-card .mbadge{ width:34px; height:34px; top:6px; left:6px; }
    .product-card .mbadge b{ font-size:9px; }
    .product-card .mbadge small{ font-size:6.5px; }
    .product-card .mbadge-oos{ width:auto; height:auto; padding:3px 7px; font-size:8px; }
}

/* ============================================================
   5. PAGE KE APNE HISSE
============================================================ */
.no-products-msg{ width:100%; text-align:center; padding:40px 0; color:#e3f0fb; font-size:15px; text-shadow:0 1px 8px rgba(0,30,60,.45); }

/* Infinite scroll: sentinel (dikhte hi agle products aate hain) + loader */
.scroll-sentinel{ height:1px; width:100%; }
.scroll-loader{ display:none; text-align:center; padding:20px; width:100%; }
.scroll-loader img{ display:block; margin:0 auto; width:40px; height:auto; }
.scroll-loader p{ text-align:center; color:#e3f0fb; font-size:13px; margin:5px 0 0; text-shadow:0 1px 6px rgba(0,30,60,.45); }

/* About + FAQ: dark glass panel (index ke about block jaisa) */
.seo-block{
    max-width:1100px; margin:50px auto 0; padding:30px 30px 24px; color:#d6e6f5;
    background:rgba(6,30,70,.55);
    border:1px solid rgba(120,200,255,.22);
    border-radius:18px;
    box-shadow:inset 0 1px 1px rgba(255,255,255,.18), 0 16px 40px -18px rgba(0,0,0,.7);
    content-visibility:auto; contain-intrinsic-size:auto 600px;
}
.seo-block h2{ font-size:1.4rem; font-weight:700; text-transform:uppercase; letter-spacing:2px; color:#fff; margin:0 0 12px; }
.seo-block h2.faq-title{ font-size:1.1rem; letter-spacing:1px; margin:26px 0 12px; }
.seo-block .quick-answer{ line-height:1.8; font-size:.95rem; color:#b9cde0; margin:0; }
.seo-block .quick-answer + .quick-answer{ margin-top:12px; }
.seo-block .quick-answer a{
    color:#6fd3ff; text-decoration:none; font-weight:600;
    border-bottom:1px solid rgba(111,211,255,.35); transition:color .25s ease, border-color .25s ease;
}
.seo-block .quick-answer a:hover{ color:#fff; border-color:#19c2ff; }

.faq-item{
    border:1px solid rgba(255,255,255,.2); border-radius:14px; margin-bottom:10px;
    background:rgba(255,255,255,.06); overflow:hidden;
}
.faq-item summary{ cursor:pointer; padding:14px 16px; font-weight:700; font-size:.93rem; color:#fff; list-style:none; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; float:right; font-size:1.2rem; line-height:1; transition:transform .3s ease; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ margin:0; padding:0 16px 14px; color:#b9cde0; line-height:1.7; font-size:.92rem; }

@media(max-width:768px){
    .seo-block{ padding:22px 16px 18px; margin:36px 12px 0; }
    .seo-block h2{ font-size:1.1rem; letter-spacing:1px; }
    .seo-block h2.faq-title{ font-size:1rem; }
    .seo-block .quick-answer{ font-size:.88rem; line-height:1.7; }
}

/* ============================================================
   6. BACKGROUND: sky-blue + gehre dark blue moving blobs + grain
      (index.css section 7 ke BILKUL same)
   ------------------------------------------------------------
   --bg1 = sky upar (neeche wala --bg1b isi se banta hai) | --bg2 = gehre blobs | --bg3 = clouds
   Card par hover / touch karte hi js/typical-section.js rang us product ke color me badalta hai.
   Laptop --u = 1vmax | mobile --u = .75vmax.  Scroll ke dauran animation pause (html.is-scrolling).
============================================================ */
@property --bg1  { syntax:'<color>'; inherits:true; initial-value:#a8d3ee; }
@property --bg1b { syntax:'<color>'; inherits:true; initial-value:#3f80b4; }
@property --bg2  { syntax:'<color>'; inherits:true; initial-value:#03163b; }
@property --bg3  { syntax:'<color>'; inherits:true; initial-value:#ffffff; }

@property --b1x { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b1y { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b1r { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b2x { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b2y { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b2r { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b3x { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b3y { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b3r { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b4x { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b4y { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b4r { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b5x { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b5y { syntax:'<length>'; inherits:false; initial-value:0px; }
@property --b5r { syntax:'<length>'; inherits:false; initial-value:0px; }

html{
    --bg1:#a8d3ee;
    --bg2:#03163b;
    --bg3:#ffffff;
    --bg1b:color-mix(in srgb, var(--bg1) 35%, #1a5a92);
    --u:1vmax;
    transition:--bg1 .3s ease, --bg1b .3s ease, --bg2 .3s ease, --bg3 .3s ease;
}
@media(max-width:768px){
    html{ --u:.75vmax; }
}

html::before{
    content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
    background:linear-gradient(to bottom, var(--bg1), var(--bg1b));
}

html::after{
    content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden;

    --b1x:calc(15 * var(--u));                    --b1y:calc(15 * var(--u));                      --b1r:calc(42 * var(--u));
    --b2x:calc(100vw - 12.5 * var(--u));          --b2y:calc(100vh - 12.5 * var(--u));            --b2r:calc(39 * var(--u));
    --b3x:calc(12.5 * var(--u));                  --b3y:calc(55vh + 22.5 * var(--u));             --b3r:calc(32 * var(--u));
    --b4x:calc(40vw + 25 * var(--u));             --b4y:calc(10vh + 20 * var(--u));               --b4r:calc(22 * var(--u));
    --b5x:calc(55vw + 22.5 * var(--u));           --b5y:calc(45vh + 17.5 * var(--u));             --b5r:calc(20 * var(--u));

    background:
        radial-gradient(circle var(--b3r) at var(--b3x) var(--b3y), color-mix(in srgb, var(--bg2) 85%, transparent) 0%, transparent 100%),
        radial-gradient(circle var(--b2r) at var(--b2x) var(--b2y), color-mix(in srgb, var(--bg2) 92%, transparent) 0%, transparent 100%),
        radial-gradient(circle var(--b1r) at var(--b1x) var(--b1y), color-mix(in srgb, var(--bg2) 92%, transparent) 0%, transparent 100%);

    animation:
        alifB1 10s ease-in-out infinite alternate,
        alifB2 12s ease-in-out infinite alternate,
        alifB3 11s ease-in-out infinite alternate,
        alifB4 13s ease-in-out infinite alternate,
        alifB5 15s ease-in-out infinite alternate;
}
@keyframes alifB1{
    0%   { --b1x:calc(15 * var(--u));                  --b1y:calc(15 * var(--u));                  --b1r:calc(42 * var(--u)); }
    50%  { --b1x:calc(15 * var(--u) + 60vw);           --b1y:calc(15 * var(--u) + 30vh);           --b1r:calc(50 * var(--u)); }
    100% { --b1x:calc(15 * var(--u) + 20vw);           --b1y:calc(15 * var(--u) + 70vh);           --b1r:calc(38 * var(--u)); }
}
@keyframes alifB2{
    0%   { --b2x:calc(100vw - 12.5 * var(--u));        --b2y:calc(100vh - 12.5 * var(--u));        --b2r:calc(39 * var(--u)); }
    50%  { --b2x:calc(45vw - 12.5 * var(--u));         --b2y:calc(60vh - 12.5 * var(--u));         --b2r:calc(45 * var(--u)); }
    100% { --b2x:calc(80vw - 12.5 * var(--u));         --b2y:calc(25vh - 12.5 * var(--u));         --b2r:calc(39 * var(--u)); }
}
@keyframes alifB3{
    0%   { --b3x:calc(12.5 * var(--u));                --b3y:calc(55vh + 22.5 * var(--u));         --b3r:calc(32 * var(--u)); }
    50%  { --b3x:calc(12.5 * var(--u) + 70vw);         --b3y:calc(25vh + 22.5 * var(--u));         --b3r:calc(38 * var(--u)); }
    100% { --b3x:calc(12.5 * var(--u) + 90vw);         --b3y:calc(75vh + 22.5 * var(--u));         --b3r:calc(29 * var(--u)); }
}
@keyframes alifB4{
    0%   { --b4x:calc(40vw + 25 * var(--u));           --b4y:calc(10vh + 20 * var(--u));           --b4r:calc(22 * var(--u)); }
    50%  { --b4x:calc(-5vw + 25 * var(--u));           --b4y:calc(35vh + 20 * var(--u));           --b4r:calc(26.4 * var(--u)); }
    100% { --b4x:calc(-30vw + 25 * var(--u));          --b4y:calc(60vh + 20 * var(--u));           --b4r:calc(20.9 * var(--u)); }
}
@keyframes alifB5{
    0%   { --b5x:calc(55vw + 22.5 * var(--u));         --b5y:calc(45vh + 17.5 * var(--u));         --b5r:calc(20 * var(--u)); }
    50%  { --b5x:calc(5vw + 22.5 * var(--u));          --b5y:calc(15vh + 17.5 * var(--u));         --b5r:calc(23 * var(--u)); }
    100% { --b5x:calc(35vw + 22.5 * var(--u));         --b5y:calc(-5vh + 17.5 * var(--u));         --b5r:calc(20 * var(--u)); }
}

body::before{
    content:""; position:fixed; inset:-80px; z-index:-1; pointer-events:none;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.5' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncG type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncB type='linear' slope='1.8' intercept='-.4'/%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size:160px 160px;
    opacity:.38; mix-blend-mode:overlay;
    animation:alifGrain .8s steps(1) infinite;
}
@keyframes alifGrain{
    0%  { transform:translate(0,0); }
    25% { transform:translate(-30px,20px); }
    50% { transform:translate(25px,-30px); }
    75% { transform:translate(-15px,-35px); }
    100%{ transform:translate(0,0); }
}
body::after{ display:none; }

/* SIRF scroll ke dauran background blobs + grain pause (JS: html.is-scrolling) */
html.is-scrolling::after,
html.is-scrolling body::before{ animation-play-state:paused; }

/* ============================================================
   7. BUTTONS  -  TRANSPARENT GLASS + 3-4 RANG MESH + MOVING BORDER HOVER
   ------------------------------------------------------------
   index.css section 14 jaisa. Normal: halka glass + soft rang mix.
   HOVER: sirf patli border me 3 rang (blue / pink / peach) ghoomte hain.
   Covered: card .add-cart-btn, card .wishlist-btn
============================================================ */
@property --atc-ang{ syntax:'<angle>'; inherits:false; initial-value:0deg; }

:root{
    --atc-blue:#3d9bff;
    --atc-violet:#9b7bff;
    --atc-pink:#ff6f9a;
    --atc-peach:#ffc48a;
    --atc-mesh-op:.7;
    --atc-ring-w:1.5px;
    --atc-ring-speed:3s;

    --atc-glass:linear-gradient(150deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.07) 55%, rgba(255,255,255,.16) 100%);
    --atc-border:rgba(255,255,255,.55);
    --atc-shadow:
        inset 0 1.5px 1px rgba(255,255,255,.85),
        inset 0 -6px 12px rgba(255,255,255,.10),
        0 8px 18px -8px rgba(0,30,80,.45);
    --atc-text-shadow:0 1px 4px rgba(0,25,70,.6);

    --atc-mesh-pill:
        radial-gradient(38% 95% at 80% 6%,   var(--atc-blue)   0%, transparent 100%),
        radial-gradient(40% 85% at 62% 112%, var(--atc-pink)   0%, transparent 100%),
        radial-gradient(30% 95% at 102% 48%, var(--atc-peach)  0%, transparent 100%),
        radial-gradient(28% 75% at 42% 30%,  var(--atc-violet) 0%, transparent 100%);
    --atc-mesh-round:
        radial-gradient(65% 65% at 82% 10%,  var(--atc-blue)   0%, transparent 100%),
        radial-gradient(65% 65% at 55% 112%, var(--atc-pink)   0%, transparent 100%),
        radial-gradient(55% 55% at 104% 55%, var(--atc-peach)  0%, transparent 100%),
        radial-gradient(45% 45% at 25% 35%,  var(--atc-violet) 0%, transparent 100%);
    --atc-ring:conic-gradient(from var(--atc-ang),
        var(--atc-blue) 0deg, var(--atc-pink) 120deg, var(--atc-peach) 240deg, var(--atc-blue) 360deg);
}

/* A) BASE: transparent glass */
.product-card .add-cart-btn:not(.oos-btn),
.product-card .wishlist-btn{
    position:absolute; isolation:isolate; overflow:hidden;
    background:var(--atc-glass);
    border:1px solid var(--atc-border);
    color:#fff; font-weight:700; letter-spacing:.4px;
    text-shadow:var(--atc-text-shadow);
    box-shadow:var(--atc-shadow);
}
.product-card .wishlist-btn{
    transition:opacity .3s, transform .4s cubic-bezier(.25,1.25,.4,1), box-shadow .35s ease, border-color .3s ease, color .3s ease;
}
.product-card .add-cart-btn:not(.oos-btn){
    box-sizing:border-box; white-space:nowrap; -webkit-tap-highlight-color:transparent;
    transition:opacity .3s ease, visibility .3s ease, transform .4s cubic-bezier(.25,1.25,.4,1), box-shadow .35s ease, border-color .3s ease;
}

/* B) MESH (::before) */
.product-card .add-cart-btn:not(.oos-btn)::before,
.product-card .wishlist-btn::before{
    content:""; position:absolute; z-index:-1; pointer-events:none;
    inset:-8px; border:0; border-radius:inherit; box-shadow:none;
    background:var(--atc-mesh-pill);
    filter:blur(8px);
    opacity:var(--atc-mesh-op); transform:scale(1);
}
.product-card .wishlist-btn::before{ inset:-6px; border-radius:50%; background:var(--atc-mesh-round); filter:blur(6px); }

/* C) MOVING BORDER (::after) */
.product-card .add-cart-btn:not(.oos-btn)::after,
.product-card .wishlist-btn::after{
    content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
    border-radius:inherit; padding:var(--atc-ring-w);
    background:var(--atc-ring);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
            mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    opacity:0; transition:opacity .3s ease;
}
.product-card .add-cart-btn:not(.oos-btn):hover::after,
.product-card .wishlist-btn:hover::after{
    opacity:1;
    animation:atcSpin var(--atc-ring-speed) linear infinite;
}
@keyframes atcSpin{ to{ --atc-ang:360deg; } }

/* D) HOVER: sirf border ghoomti hai, baaki same */
.product-card .add-cart-btn:not(.oos-btn):hover,
.product-card .wishlist-btn:hover{ color:#fff; border-color:rgba(255,255,255,.22); }
.product-card .add-cart-btn i,
.product-card .wishlist-btn i{ color:inherit; text-shadow:var(--atc-text-shadow); }
.product-card .wishlist-btn i.text-danger{ color:#ff4d6d; }

.product-card .add-cart-btn.oos-btn{ overflow:hidden; }
.product-card .add-cart-btn.oos-btn::before,
.product-card .add-cart-btn.oos-btn::after{ display:none; }

.product-card .add-cart-btn:focus-visible,
.product-card .wishlist-btn:focus-visible{ outline:2px solid #fff; outline-offset:3px; }

/* E) DESKTOP ADD TO CART */
@media (min-width:769px){
    .product-card .add-cart-btn:not(.oos-btn){
        height:38px; padding:0 10px; border-radius:999px; font-size:11.5px; letter-spacing:1px;
        display:flex; align-items:center; justify-content:center; gap:6px;
    }
    .product-card .add-cart-btn:not(.oos-btn):active,
    .product-card:hover .add-cart-btn:not(.oos-btn):active{ transform:translateX(-50%) translateY(0); }
}

/* ============================================================
   8. MOBILE / TOUCH
   ------------------------------------------------------------
   A) Wishlist heart: touch par default me chhupa; ungli card par aate hi (.touch-active, JS) 2nd image
      ke saath smoothly dikhta hai. Chhupa hone par pointer-events:none -> tap seedha product page par.
   B) <=768px: lamba ADD TO CART hata kar chhota gol BAG icon (neeche-right).
============================================================ */
@media (max-width:900px), (hover:none){
    .product-card .wishlist-btn{
        display:flex; visibility:visible; z-index:9;
        width:34px; height:34px; top:8px; right:8px;
        opacity:0; pointer-events:none; transform:scale(.8);
        transition:opacity .45s ease, transform .5s cubic-bezier(.25,1.25,.4,1), box-shadow .35s ease, border-color .3s ease, color .3s ease;
    }
    .product-card .wishlist-btn i{ display:block; font-size:15px; line-height:1; color:inherit; }
    .product-card .wishlist-btn i.text-danger{ color:#ff5d73; }
    .product-card.touch-active .wishlist-btn{ opacity:1; pointer-events:auto; transform:scale(1); }
}
@media (max-width:900px) and (hover:hover){
    .product-card:hover .wishlist-btn{ opacity:1; pointer-events:auto; transform:scale(1); }
}
@media (max-width:400px){
    .product-card .wishlist-btn{ width:30px; height:30px; top:6px; right:6px; }
    .product-card .wishlist-btn i{ font-size:13px; }
}

@media (max-width:768px){
    .product-card .add-cart-btn:not(.oos-btn),
    .product-card:hover .add-cart-btn:not(.oos-btn){
        position:absolute; left:auto; top:auto; right:8px; bottom:8px; transform:none;
        width:38px; height:38px; margin:0; padding:0; border-radius:50%;
        display:flex; align-items:center; justify-content:center;
        font-size:0; line-height:1; letter-spacing:0;       /* "ADD TO CART" likha hua chhup jata hai, sirf icon */
        opacity:1; visibility:visible; z-index:9;
    }
    .product-card .add-cart-btn:not(.oos-btn)::before{ inset:-5px; border-radius:50%; background:var(--atc-mesh-round); filter:blur(5px); }
    /* BAG ICON: symmetric SVG, button ke THEEK BEECH me. Size badalna ho to width/height (18px) badlo */
    .product-card .add-cart-btn i{
        flex:none; display:block; width:18px; height:18px; margin:0; padding:0;
        font-size:0; line-height:0; letter-spacing:0; text-shadow:none;
        background:currentColor;
        -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
                mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
        filter:drop-shadow(0 1px 2px rgba(0,20,50,.55));
    }
    .product-card .add-cart-btn i::before{ content:none; }
    .product-card .add-cart-btn:not(.oos-btn):active{ transform:none; }
    /* Out of stock: card par pehle se "OUT OF STOCK" badge hai */
    .product-card .add-cart-btn.oos-btn{ display:none !important; }
}
@media (max-width:400px){
    .product-card .add-cart-btn:not(.oos-btn),
    .product-card:hover .add-cart-btn:not(.oos-btn){ width:34px; height:34px; right:6px; bottom:6px; }
    .product-card .add-cart-btn i{ width:16px; height:16px; }
}

/* ============================================================
   9. ADD TO CART  -  click par SIRF EK "Added" rang (teal)
   ------------------------------------------------------------
   Class .atc-done js/header.js addToCart() lagata / hataata hai (2.5s baad).
   Rang badalna ho to --added-a / --added-b.
============================================================ */
:root{ --added-a:#20c9a8; --added-b:#0e8aa0; }

.product-card .add-cart-btn.atc-done:not(.oos-btn),
.product-card .add-cart-btn.atc-done:not(.oos-btn):hover,
.product-card .add-cart-btn.atc-done:not(.oos-btn):active,
.product-card:hover .add-cart-btn.atc-done:not(.oos-btn){
    background:linear-gradient(135deg, var(--added-a) 0%, var(--added-b) 100%) !important;
    border-color:rgba(255,255,255,.75) !important;
    color:#fff !important;
    box-shadow:inset 0 1.5px 1px rgba(255,255,255,.6), 0 6px 16px -6px rgba(14,138,160,.7) !important;
    transition:none !important;
}
.product-card .add-cart-btn.atc-done:not(.oos-btn)::before,
.product-card .add-cart-btn.atc-done:not(.oos-btn)::after{
    opacity:0 !important; animation:none !important; background:none !important;
}

/* ============================================================
   10. REDUCED MOTION
============================================================ */
@media(prefers-reduced-motion:reduce){
    html{ transition:none; }
    html::after, body::before{ animation:none; }
    .product-img-container img{ transition:opacity .15s linear !important; }
    .product-card:hover .product-img-container img,
    .product-card.touch-active .product-img-container img{ transform:none !important; }
    .product-card .add-cart-btn:hover::after,
    .product-card .wishlist-btn:hover::after{ animation:none; }
    .product-card .wishlist-btn{ transition:opacity .15s linear; transform:none; }
}