/* ===== b:skin ===== */

    /* =========================================================
       SHOP CLASS NAME GUIDE (what each name means)
       .topbar ............ site header (logo, search, cart, account)
       .showcase-* ........ big sliding banner cards at the top of home
       .filters/.filter-chip category buttons under the banners
       .product-section ... one category row (title + horizontal scroller)
       .product-grid ...... the scroller / grid that holds product cards
       .pcard ............. ONE product card (portrait)
       .pcard-image ....... portrait photo area   .pcard-body .. text area
       .pcard-title/-price  product name / price  .pcard-cart-btn Add to cart
       .pcard-slides ...... photos that auto-rotate inside a card
       .single-product .... product detail (post) page
       .related-zone ...... bottom of the post page: similar products,
                            related categories and all category rows
       ========================================================= */

    :root{
      --brand:#2874f0;
      --brand-dark:#1a5fd0;
      --cta:#fb641b;
      --cta-dark:#e0530f;
      --yellow:#ff9f00;
      --success:#388e3c;
      --text:#171717;
      --muted:#686868;
      --line:#e8e8e8;
      --bg:#f1f3f6;
      --card:#ffffff;
      --green:#e37b23;
      --shadow:0 4px 14px rgba(0,0,0,.06);
    }

    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{
      margin:0;
      background:var(--bg);
      color:var(--text);
      font-family:Arial,Helvetica,sans-serif;
      -webkit-font-smoothing:antialiased;
    }
    a{color:inherit;text-decoration:none}
    button,input,select,textarea{font:inherit}
    img{max-width:100%}
    :focus-visible{outline:2px solid var(--brand);outline-offset:2px}

    @media (prefers-reduced-motion: reduce){
      html{scroll-behavior:auto}
      *{transition:none !important;animation:none !important}
    }

    /* TOP NAVIGATION */
    .topbar{
      position:sticky;
      top:0;
      z-index:1000;
      background:#fff;
      border-bottom:1px solid #f0f0f0;
      box-shadow:0 2px 10px rgba(0,0,0,.04);
    }
    .topbar-inner{
      max-width:1220px;
      height:70px;
      margin:auto;
      padding:0 22px;
      display:flex;
      align-items:center;
      gap:20px;
    }
    .brand{
      display:flex;
      align-items:center;
      gap:10px;
      font-weight:800;
      font-size:16px;
    }
    .brand-logo{
      width:42px;
      height:42px;
      border-radius:12px;
      background:var(--brand);
      display:grid;
      place-items:center;
      color:#fff;
      font-size:22px;
      font-weight:900;
      flex:0 0 auto;
    }
    .brand-name{white-space:nowrap}
    .searchbox{
      flex:1 1 auto;
      max-width:420px;
      margin-right:auto;
      position:relative;
    }
    .searchbox input{
      width:100%;
      border:1px solid #e2e2e2;
      background:#f7f7f7;
      border-radius:22px;
      padding:10px 38px 10px 16px;
      font-size:13px;
      outline:none;
    }
    .searchbox input:focus{border-color:var(--brand);background:#fff}
    .search-clear{
      position:absolute;
      right:6px;
      top:50%;
      transform:translateY(-50%);
      width:26px;
      height:26px;
      border:0;
      border-radius:50%;
      background:transparent;
      color:#888;
      cursor:pointer;
      display:none;
      font-size:16px;
      line-height:1;
    }
    .searchbox.has-value .search-clear{display:block}
    .nav-actions{
      display:flex;
      align-items:center;
      gap:20px;
    }
    .nav-item{
      display:flex;
      align-items:center;
      gap:7px;
      font-weight:700;
      font-size:13px;
      white-space:nowrap;
      color:#222;
      background:none;
      border:0;
      padding:0;
      cursor:pointer;
    }
    .nav-icon{font-size:17px}

    /* PAGE */
    .page{
      max-width:1220px;
      margin:auto;
      padding:32px 22px 90px;
    }
    .hero-heading{margin-bottom:24px}
    .hero-heading h1{
      margin:0 0 6px;
      font-size:32px;
      line-height:1.1;
      letter-spacing:-1px;
    }
    .hero-heading p{
      margin:0;
      color:#444;
      font-size:15px;
    }

    /* TOP SHOWCASE SLIDERS */
    .showcase-columns{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:20px;
      margin-bottom:30px;
    }
    .showcase-wrap{
      position:relative;
      min-width:0;
    }
    .showcase{
      width:100%;
      display:flex;
      flex-wrap:nowrap;
      position:relative;
      overflow-x:auto;
      overflow-y:hidden;
      margin:0;
      padding:0;
      border-radius:14px;
      scroll-snap-type:x mandatory;
      scroll-behavior:smooth;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
    }
    .showcase::-webkit-scrollbar{display:none}

    .showcase-card{
      width:100%;
      min-width:100%;
      height:280px;
      position:relative;
      overflow:hidden;
      flex:0 0 100%;
      scroll-snap-align:start;
      border-radius:12px;
      background:#c96413;
      border:1px solid #e5e7eb;
      padding:0;
      display:block;
    }

    .featured-badge{
      position:absolute;
      top:16px;
      right:16px;
      background:#fff;
      color:#3b82f6;
      font-size:9px;
      font-weight:800;
      padding:1px 1px;
      border-radius:6px;
      box-shadow:0 1px 4px rgba(0,0,0,0.08);
      text-transform:uppercase;
      letter-spacing:0.5px;
      z-index:2;
    }


 /* Image wrapper now fills the whole card as a background layer, so the
    title/footer can overlay on top of it instead of pushing it out of view. */
.showcase-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Forces image to stretch and cover the entire card */
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image cleanly to fill the card */
  border-radius: 12px; /* Matches card corner radius */
  display: block;
}

/* Readability scrim so the white title/footer text stays visible over any photo. */
.showcase-card::after{
  content:'';
  position:absolute;
  left:0;right:0;bottom:0;
  height:60%;
  background:linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
  pointer-events:none;
  z-index:1;
}

    .showcase-title{
      position:absolute;
      left:16px;
      right:16px;
      bottom:52px;
      color:#fff;
      font-size:18px;
      font-weight:900;
      margin-bottom:0;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      text-shadow:0 2px 6px rgba(0,0,0,.55);
      z-index:2;
    }

    .showcase-footer{
      position:absolute;
      left:16px;
      right:16px;
      bottom:16px;
      z-index:2;
      display:flex;
      align-items:center;
      justify-content:space-between;
    }

    .spotlight-badge{
      color:#2563eb;
      background:#eff6ff;
      font-size:9px;
      font-weight:800;
      padding:5px 10px;
      border-radius:12px;
      display:flex;
      align-items:center;
      gap:4px;
      text-transform:uppercase;
      letter-spacing:0.5px;
    }

    .showcase-dots{display:flex;gap:5px}
    .dot{
      width:7px;
      height:7px;
      background:#d1d5db;
      border-radius:50%;
    }
    .dot.active{background:#9ca3af}

    .showcase-nav-arrow{
      position:absolute;
      top:40%;
      transform:translateY(-50%);
      width:32px;
      height:32px;
      background:#4b5563;
      color:#fff;
      border:none;
      border-radius:50%;
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      z-index:10;
      font-size:18px;
      line-height:1;
      padding-bottom:2px;
      box-shadow:0 2px 6px rgba(0,0,0,0.15);
    }
    .nav-left{left:12px}
    .nav-right{right:12px}

    /* FILTERS */
    .filters{
      display:flex;
      gap:8px;
      overflow-x:auto;
      padding:2px 0 12px;
      scrollbar-width:none;
    }
    .filters::-webkit-scrollbar{display:none}
    .filter-chip{
      flex:0 0 auto;
      background:#fff;
      border:1px solid #ddd;
      border-radius:20px;
      padding:9px 13px;
      font-size:12px;
      font-weight:700;
      cursor:pointer;
    }
    .filter-chip.active{
      border-color:#222;
      background:#222;
      color:#fff;
    }
    /* CATEGORY POPUP */
    .category-result{
      position:fixed;
      inset:0;
      z-index:99999;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:18px;
      background:rgba(0,0,0,.62);
      backdrop-filter:blur(4px);
      -webkit-backdrop-filter:blur(4px);
    }
    .category-result[hidden]{display:none}
    .category-result-dialog{
      position:relative;
      width:min(1180px,100%);
      max-height:min(88vh,820px);
      overflow:hidden;
      background:#fff;
      border-radius:18px;
      box-shadow:0 20px 70px rgba(0,0,0,.28);
      display:flex;
      flex-direction:column;
    }
    .category-result-head{
      flex:0 0 auto;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      padding:18px 20px 14px;
      border-bottom:1px solid #eee;
      background:#fff;
    }
    .category-result-head h2{margin:0;font-size:21px;line-height:1.2}
    .category-result-head span{display:block;margin-top:4px;font-size:11px;color:var(--muted);font-weight:700}
    .category-result .product-grid{
      flex:1 1 auto;
      min-height:0;
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:16px;
      overflow-y:auto;
      overflow-x:hidden;
      padding:18px 20px 22px;
      scroll-snap-type:none;
    }
    .category-result .pcard{
      width:100%;
      max-width:none;
      min-width:0;
      scroll-snap-align:none;
    }
    .category-result .pcard-link{
      height:100%;
    }
    .category-result .category-close{
      flex:0 0 auto;
      width:38px;
      height:38px;
      border:0;
      background:#f3f3f3;
      color:#222;
      border-radius:50%;
      font-size:22px;
      line-height:1;
      font-weight:400;
      cursor:pointer;
      display:grid;
      place-items:center;
    }
    .category-result .category-close:hover{background:#222;color:#fff}
    body.category-popup-open{overflow:hidden}
    @media(max-width:900px){
      .category-result .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    }
    @media(max-width:700px){
      .category-result{padding:10px}
      .category-result-dialog{
        width:100%;
        max-height:92vh;
        border-radius:15px;
      }
      .category-result-head{padding:15px 15px 12px}
      .category-result-head h2{font-size:18px}
      .category-result .product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
        padding:14px 12px 18px;
      }
      .category-result .pcard-image{height:145px}
    }
    @media(max-width:380px){
      .category-result .product-grid{grid-template-columns:1fr 1fr;gap:9px}
      .category-result .pcard-image{height:125px}
    }


    /* POSTS GRID */
    .section-title{
      display:flex;
      align-items:end;
      justify-content:space-between;
      margin:4px 0 18px;
    }
    .section-title h2{
      margin:0;
      font-size:21px;
      letter-spacing:-.4px;
    }
    .section-title span{
      color:var(--muted);
      font-size:12px;
    }

    .product-grid{
      display:flex;
      flex-wrap:nowrap;
      gap:16px;
      overflow-x:auto;
      overflow-y:hidden;
      padding:2px 2px 12px;
      scroll-snap-type:x proximity;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:none;
      min-height:10px;
    }
    .product-grid::-webkit-scrollbar{display:none}
    .product-grid .pcard{
      flex:0 0 calc((100% - 64px) / 4.5);
      max-width:calc((100% - 64px) / 4.5);
      scroll-snap-align:start;
    }
    .pcard{
      min-width:0;
      background:transparent;
      display:block;
    }
    .pcard[hidden]{display:none}
    .pcard-link{display:block}
    .pcard-image{
      position:relative;
      width:100%;
      height:140px;
      border-radius:13px;
      overflow:hidden;
      background:#e9e9e9;
      box-shadow:var(--shadow);
    }
    .pcard-image{isolation:isolate}
    .pcard-image .pcard-slide{
      position:absolute;
      inset:0;
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      opacity:0;
      transition:opacity .45s ease,transform .25s ease;
    }
    .pcard-image .pcard-slide:first-child{opacity:1}
    .pcard-image .pcard-slide.is-active{opacity:1}
    .pcard-image .pcard-slide.is-prev{opacity:0}
    .pcard-image .pcard-slide-dots{
      position:absolute;
      left:50%;
      bottom:7px;
      transform:translateX(-50%);
      display:flex;
      gap:4px;
      z-index:4;
      pointer-events:none;
    }
    .pcard-image .pcard-slide-dot{
      width:5px;
      height:5px;
      border-radius:50%;
      background:rgba(255,255,255,.72);
      box-shadow:0 1px 3px rgba(0,0,0,.22);
    }
    .pcard-image .pcard-slide-dot.active{background:#fff;transform:scale(1.2)}
    .pcard-image img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transition:transform .25s;
    }
    .pcard:hover .pcard-image img{transform:scale(1.03)}
    .pcard-placeholder{
      width:100%;
      height:100%;
      display:grid;
      place-items:center;
      background:linear-gradient(135deg,#f5a25d,#f4d0b0);
      font-size:45px;
    }
    .pcard-badge{
      position:absolute;
      left:8px;
      top:8px;
      background:rgba(255,255,255,.94);
      color:#777;
      border-radius:4px;
      padding:2px 5px;
      font-size:8px;
      font-weight:800;
      text-transform:uppercase;
    }
    .pcard-body{padding:9px 3px 0}
    .pcard-title{
      font-size:13px;
      font-weight:800;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .pcard-meta{
      display:flex;
      align-items:center;
      gap:5px;
      margin-top:4px;
      font-size:11px;
      font-weight:700;
    }
    .rating{
      color:#fff;
      background:#209b41;
      border-radius:4px;
      padding:1px 4px;
      font-size:9px;
    }
    .post-date{
      color:#555;
      font-weight:600;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .pcard-price{margin-top:5px;font-size:13px;font-weight:900}
    .pcard-delivery{margin-top:3px;font-size:11px;font-weight:700;color:var(--muted)}
    .pcard-delivery .fa{margin-right:3px;color:var(--brand)}
    .price-current{font-weight:900}
    .price-mrp{color:#777;text-decoration:line-through;font-size:11px;font-weight:700;margin-left:5px}
    .price-off{color:#159447;font-size:10px;font-weight:900;margin-left:5px}
    .pcard-price small{
      color:var(--muted);
      font-weight:700;
      font-size:10px;
    }
    .pcard-desc{
      color:#666;
      font-size:11px;
      margin-top:5px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .labels{
      display:flex;
      gap:4px;
      margin-top:5px;
      overflow:hidden;
    }
    .label{
      flex:0 0 auto;
      color:#555;
      background:#eee;
      border-radius:8px;
      padding:2px 6px;
      font-size:9px;
    }
    .label.is-price{display:none}

    .product-section{
      margin-top:36px;
      scroll-margin-top:90px;
    }
    .product-section[hidden]{display:none}
    .product-section:first-child{margin-top:6px}
    .section-head-row{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      margin-bottom:14px;
    }
    .section-head-row .section-title{
      margin:0;
      flex:1;
      min-width:0;
    }
    .section-title.row-heading-bar{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      width:100%;
      padding:11px 15px;
      border-radius:12px;
      color:#fff;
      background:linear-gradient(135deg,#ff7a18,#ff9f43,#f97316);
      background-size:200% 200%;
      box-shadow:0 7px 18px rgba(249,115,22,.22);
      animation:rowHeadingGradient 7s ease infinite;
      overflow:hidden;
    }
    .section-title.row-heading-bar .row-heading-main{
      display:flex;
      align-items:center;
      gap:9px;
      min-width:0;
    }
    .section-title.row-heading-bar h2{
      color:#fff;
      font-size:17px;
      font-weight:900;
      line-height:1.15;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .section-title.row-heading-bar .row-heading-icon{
      width:31px;
      height:31px;
      flex:0 0 31px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      border-radius:50%;
      background:rgba(255,255,255,.18);
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
      animation:rowIconPulse 2s ease-in-out infinite;
    }
    .section-title.row-heading-bar span{
      display:flex;
      align-items:center;
      gap:6px;
      color:#fff;
      font-size:11px;
      font-weight:800;
      white-space:nowrap;
      opacity:.98;
    }
    .section-title.row-heading-bar .row-clock{
      animation:rowClockPulse 1.8s ease-in-out infinite;
    }
    @keyframes rowHeadingGradient{
      0%,100%{background-position:0% 50%}
      50%{background-position:100% 50%}
    }
    @keyframes rowIconPulse{
      0%,100%{transform:scale(1)}
      50%{transform:scale(1.08)}
    }
    @keyframes rowClockPulse{
      0%,100%{transform:rotate(0deg)}
      25%{transform:rotate(-8deg)}
      50%{transform:rotate(8deg)}
      75%{transform:rotate(-4deg)}
    }
    .section-head-row .section-title:not(.row-heading-bar){
      margin:0;
    }
    .pcard-cart-btn{
      display:block;
      width:100%;
      margin-top:8px;
      padding:8px 10px;
      border:0;
      border-radius:8px;
      background:var(--green);
      color:#fff;
      font-size:12px;
      font-weight:800;
      text-align:center;
      cursor:pointer;
      box-shadow:0 2px 8px rgba(0,0,0,.08);
    }
    .pcard-cart-btn:hover{background:#0f7e3b}

    .row-nav{
      display:flex;
      align-items:center;
      gap:6px;
      flex:0 0 auto;
    }
    .row-count{
      font-size:11px;
      font-weight:800;
      color:var(--muted);
      margin-right:4px;
    }
    .row-arrow{
      width:30px;
      height:30px;
      border-radius:50%;
      border:1px solid #e0e0e0;
      background:#fff;
      cursor:pointer;
      font-size:16px;
      line-height:1;
      color:#333;
      box-shadow:0 1px 4px rgba(0,0,0,.06);
    }
    .row-arrow:hover{background:#f4f4f4}
    .row-arrow:disabled{opacity:.35;cursor:default}
    .feed-note{
      margin-top:20px;
      text-align:center;
      font-size:12px;
      font-weight:700;
      color:var(--muted);
    }
    .feed-note[hidden]{display:none}
    .feed-note.error{color:#a51f1f}
    #seedSection[hidden]{display:none}
    #pager[hidden]{display:none}

    .empty-state{
      background:#fff;
      border:1px dashed #ddd;
      border-radius:12px;
      padding:28px;
      text-align:center;
      color:var(--muted);
      font-size:14px;
    }
    .empty-state[hidden]{display:none}

    /* SINGLE PRODUCT PAGE */
    .single-product{
      width:100%;
      max-width:none;
      margin:0 auto;
      background:#fff;
      border-radius:16px;
      overflow:hidden;
      box-shadow:0 10px 30px rgba(0,0,0,.06);
      display:block;
      position:relative;
    }
    .single-product .product-slider{
      width:62%;
      min-width:0;
    }
    .single-product .product-details{
      width:100%;
      min-width:0;
    }
    .product-slider{
      position:relative;
      width:100%;
      height:320px;
      background:#222;
      display:flex;
      overflow-x:auto;
      scroll-snap-type:x mandatory;
      scroll-behavior:smooth;
      scrollbar-width:none;
    }
    .product-slider::-webkit-scrollbar{display:none}
    .product-slide{
      min-width:100%;
      height:100%;
      scroll-snap-align:start;
      position:relative;
      display:flex;
      align-items:center;
      justify-content:center;
    }
    .product-slide img{
      width:100%;
      height:100%;
      object-fit:cover;
    }
    .slider-nav-btns{
      position:absolute;
      top:50%;
      left:0;
      width:100%;
      transform:translateY(-50%);
      display:flex;
      justify-content:space-between;
      padding:0 16px;
      pointer-events:none;
    }
    .slider-btn{
      width:36px;
      height:36px;
      border-radius:50%;
      background:rgba(255,255,255,0.85);
      border:none;
      font-size:18px;
      font-weight:bold;
      cursor:pointer;
      pointer-events:auto;
      box-shadow:0 2px 8px rgba(0,0,0,0.2);
    }
    .product-details{padding:24px}
    .product-title{
      margin:0 0 8px;
      font-size:24px;
      font-weight:900;
      line-height:1.2;
    }
    .product-rating{
      display:inline-flex;
      align-items:center;
      gap:4px;
      background:var(--green);
      color:#fff;
      padding:3px 8px;
      border-radius:6px;
      font-size:12px;
      font-weight:800;
      margin-bottom:12px;
    }
    .product-price{font-size:22px;font-weight:900;margin-bottom:14px}
    .delivery-charge-note{margin:-8px 0 14px;font-size:13px;font-weight:700;color:var(--muted)}
    .delivery-charge-note .fa{margin-right:5px;color:var(--brand)}
    .product-price .price-current{font-size:22px}
    .product-price .price-mrp{font-size:13px;margin-left:7px}
    .product-price .price-off{font-size:12px;margin-left:7px}
    .product-price small{
      display:block;
      font-size:11px;
      font-weight:700;
      color:var(--muted);
      margin-top:2px;
    }
    .product-description{
      color:#555;
      font-size:14px;
      line-height:1.6;
      margin-top:4px;
      margin-bottom:16px;
      min-height:0;
    }
    .product-description:empty{display:none}
    .product-description img{border-radius:10px;margin:8px 0}
    .raw-post-body{display:none}

    .page-body{
      max-width:760px;
      margin:0 auto;
      background:#fff;
      border-radius:16px;
      padding:28px;
      box-shadow:var(--shadow);
      line-height:1.7;
      font-size:15px;
    }

    /* PLANNING BOX */
    .planning-box{
      background:#fcfcfc;
      border:1px solid #ececec;
      border-radius:12px;
      padding:16px;
      margin-top:20px;
    }
    /* Desktop: only the Plan your order box sits beside the product image.
       Title, price and description remain in their original document flow. */
    @media(min-width:901px){
      .single-product .planning-box{
        position:absolute;
        top:24px;
        right:24px;
        width:34%;
        max-width:420px;
        margin-top:0;
        z-index:2;
      }
      .single-product .product-details{
        padding-top:1px;
      }
    }
    .planning-title{
      font-size:16px;
      font-weight:900;
      margin-bottom:12px;
      color:#111;
    }
    .plan-row{
      display:flex;
      gap:12px;
      margin-bottom:16px;
      flex-wrap:wrap;
    }
    .plan-field{
      flex:1;
      min-width:140px;
      display:flex;
      flex-direction:column;
      gap:6px;
    }
    .plan-field label{
      font-size:12px;
      font-weight:800;
      color:#666;
    }
    .plan-field input,.plan-field select{
      border:1px solid #ddd;
      border-radius:8px;
      padding:10px;
      font-size:14px;
      background:#fff;
      outline:none;
      width:100%;
    }
    .plan-field input:focus,.plan-field select:focus{border-color:var(--brand)}
    .field-error{
      border-color:#d64545 !important;
      background:#fff7f7 !important;
    }
    .plan-note{
      font-size:11px;
      color:#a51f1f;
      margin:-8px 0 12px;
      min-height:14px;
      font-weight:700;
    }
    .add-to-cart-btn{
      width:100%;
      background:var(--brand);
      color:#fff;
      border:none;
      border-radius:10px;
      padding:14px;
      font-size:16px;
      font-weight:900;
      cursor:pointer;
      transition:.2s;
    }
    .add-to-cart-btn:hover{background:var(--brand-dark)}
    .back-link{
      display:inline-block;
      margin-bottom:16px;
      font-weight:700;
      font-size:14px;
      color:var(--brand);
    }

    /* QUICK ADD MODAL — z-index must stay above .category-result (99999)
       so the product add-to-cart popup shows on top when "Add to cart" is
       tapped on an item inside the category popup. */
    .modal{
      position:fixed;
      inset:0;
      z-index:100000;
      background:rgba(0,0,0,.45);
      display:none;
      align-items:center;
      justify-content:center;
      padding:16px;
    }
    .modal.active{display:flex}
    .modal-card{
      background:#fff;
      border-radius:16px;
      padding:20px;
      width:min(380px,100%);
      box-shadow:0 20px 50px rgba(0,0,0,.25);
    }
    .modal-card h3{
      margin:0 0 4px;
      font-size:17px;
    }
    .modal-sub{
      margin:0 0 14px;
      font-size:12px;
      color:var(--muted);
    }
    .modal-actions{
      display:flex;
      gap:10px;
      margin-top:6px;
    }
    .btn-ghost{
      flex:0 0 auto;
      background:#f1f1f1;
      border:0;
      border-radius:10px;
      padding:13px 16px;
      font-weight:800;
      font-size:14px;
      cursor:pointer;
    }
    .modal-actions .add-to-cart-btn{flex:1}

    /* CART */
    #cart-float{
      position:fixed;
      right:20px;
      bottom:20px;
      z-index:2000;
      border:0;
      background:#111;
      color:#fff;
      padding:11px 17px;
      border-radius:26px;
      box-shadow:0 6px 20px rgba(0,0,0,.22);
      cursor:pointer;
      font-weight:800;
      font-size:13px;
    }
    #cart-box{
      position:fixed;
      right:20px;
      bottom:76px;
      z-index:2100;
      width:min(380px,calc(100% - 24px));
      max-height:80vh;
      overflow:auto;
      background:#fff;
      padding:18px;
      border-radius:16px;
      box-shadow:0 12px 40px rgba(0,0,0,.22);
      transform:translateY(20px);
      opacity:0;
      visibility:hidden;
      transition:.22s;
    }
    #cart-box.active{
      transform:none;
      opacity:1;
      visibility:visible;
    }

    /* MOBILE ECOMMERCE BOTTOM NAV */
    .mobile-bottom-nav{display:none;position:fixed;left:0;right:0;bottom:0;height:68px;z-index:5800;background:rgba(255,255,255,.98);border-top:1px solid #e7e7e7;box-shadow:0 -6px 22px rgba(0,0,0,.10);padding:6px 8px calc(6px + env(safe-area-inset-bottom));box-sizing:border-box;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);transform:translateY(0);transition:transform .24s ease,opacity .24s ease;will-change:transform}
    .mobile-bottom-item{flex:1 1 20%;min-width:0;border:0;background:transparent;color:#6b7280;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:800;cursor:pointer;border-radius:12px;-webkit-tap-highlight-color:transparent}
    .mobile-bottom-item i{font-family:'FontAwesome' !important;font-size:20px;line-height:1;font-style:normal;font-weight:normal}
    .mobile-bottom-item.active,.mobile-bottom-item:active{color:#2874f0}
    .mobile-bottom-item .mobile-nav-badge{position:absolute;margin:-25px 0 0 22px;min-width:15px;height:15px;padding:0 4px;border-radius:20px;background:#2874f0;color:#fff;font-size:8px;line-height:15px;text-align:center;box-sizing:border-box}
    .whatsapp-float{position:fixed;right:18px;bottom:88px;z-index:5750;width:48px;height:48px;border:0;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.24);cursor:pointer;font-size:24px;text-decoration:none;transition:transform .24s ease,opacity .24s ease;will-change:transform}
    .whatsapp-float i{font-family:'FontAwesome' !important;font-style:normal;font-weight:normal}
    .whatsapp-float:hover{transform:translateY(-2px)}
    body.mobile-bars-hidden .mobile-bottom-nav{transform:translateY(calc(100% + 10px));opacity:0;pointer-events:none}
    body.mobile-bars-hidden .whatsapp-float{transform:translateY(calc(100% + 92px));opacity:0;pointer-events:none}
    body.mobile-bars-hidden .topbar{transform:translateY(-110%);box-shadow:none}
    .topbar{transition:transform .24s ease,box-shadow .24s ease;will-change:transform}
    @media(max-width:760px){body{padding-bottom:74px}.mobile-bottom-nav{display:flex}#cart-float{display:none}.whatsapp-float{right:14px;bottom:82px}.page{padding-bottom:100px}}

    .cart-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      margin-bottom:12px;
    }
    .cart-head h3{margin:0;font-size:17px}
    .cart-close{
      border:0;
      background:#f1f1f1;
      width:28px;
      height:28px;
      border-radius:50%;
      cursor:pointer;
      font-size:16px;
      line-height:1;
    }
    .cart-line{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      padding:10px 0;
      border-bottom:1px solid #eee;
      font-size:13px;
    }
    .cart-info{min-width:0;flex:1}
    .cart-name{
      display:block;
      font-weight:700;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }
    .cart-meta-info{
      display:block;
      color:#777;
      font-size:10px;
      margin-top:2px;
      line-height:1.3;
    }
    .cart-qty{
      display:flex;
      align-items:center;
      gap:6px;
      border:1px solid #e3e3e3;
      border-radius:8px;
      padding:2px;
      flex:0 0 auto;
    }
    .cart-qty button{
      width:22px;
      height:22px;
      border:0;
      background:#f6f6f6;
      border-radius:6px;
      cursor:pointer;
      font-weight:900;
      line-height:1;
    }
    .cart-qty span{
      min-width:16px;
      text-align:center;
      font-weight:800;
      font-size:12px;
    }
    .cart-price{
      flex:0 0 auto;
      font-weight:800;
      font-size:12px;
      white-space:nowrap;
    }
    .cart-remove{
      flex:0 0 auto;
      border:0;
      background:none;
      color:#b3b3b3;
      cursor:pointer;
      font-size:16px;
      line-height:1;
      padding:2px 4px;
    }
    .cart-remove:hover{color:#d64545}
    .cart-total{
      display:flex;
      justify-content:space-between;
      padding:12px 0 4px;
      font-size:15px;
      font-weight:900;
    }
    .cart-total.cart-subtotal-row{
      font-size:12px;
      font-weight:700;
      color:var(--muted);
      padding:4px 0;
      border-bottom:1px dashed #eee;
    }
    .cart-delivery-meta{color:var(--brand)}
    .cart-empty{
      padding:18px 0;
      text-align:center;
      color:var(--muted);
      font-size:13px;
    }

    /* ORDER FORM */
    .order-form{
      margin-top:14px;
      border-top:1px solid #eee;
      padding-top:12px;
    }
    .order-form-title{
      font-size:14px;
      font-weight:900;
      margin-bottom:8px;
    }
    .order-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:8px;
    }
    .order-field{min-width:0}
    .order-field.full{grid-column:1/-1}
    .order-field label{
      display:block;
      font-size:10px;
      font-weight:800;
      color:#555;
      margin-bottom:4px;
    }
    .order-field input,.order-field textarea,.order-field select{
      width:100%;
      border:1px solid #ddd;
      border-radius:8px;
      background:#fff;
      padding:8px;
      outline:none;
      font-size:12px;
    }
    .order-field textarea{
      min-height:60px;
      resize:vertical;
    }
    .order-field input:focus,.order-field textarea:focus,.order-field select:focus{border-color:var(--brand)}
    .submit-status{
      margin-top:8px;
      padding:9px;
      border-radius:8px;
      display:none;
      font-size:11px;
      font-weight:700;
      line-height:1.45;
    }
    .submit-status.show{display:block}
    .submit-status.success{background:#eaf8ef;color:#16743a}
    .submit-status.error{background:#fff0f0;color:#a51f1f}
    .submit-status.info{background:#fff6e8;color:#8a5200}
    .status-actions{
      display:flex;
      gap:8px;
      margin-top:8px;
    }
    .status-actions button{
      border:0;
      background:#fff;
      border:1px solid #d9d9d9;
      border-radius:7px;
      padding:6px 10px;
      font-size:11px;
      font-weight:800;
      cursor:pointer;
    }
    .checkout{
      background:var(--brand);
      color:#fff;
      border:0;
      border-radius:8px;
      padding:12px;
      width:100%;
      margin-top:10px;
      font-weight:800;
      cursor:pointer;
      font-size:13px;
    }
    .checkout:hover{background:var(--brand-dark)}
    .checkout:disabled{opacity:.6;cursor:not-allowed}
    /* Proceed-to-payment loading: the button fills from left to right until the payment page opens */
    .checkout.is-loading,.checkout.is-loading:disabled,.checkout.is-loading:hover{
      opacity:1;cursor:progress;
      background:linear-gradient(90deg,var(--brand-dark,#0b3a8a) 0,var(--brand-dark,#0b3a8a) var(--fill,0%),var(--brand,#2563eb) var(--fill,0%),var(--brand,#2563eb) 100%);
      box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
    }
    .checkout.is-loading::after{content:'';display:inline-block;width:12px;height:12px;margin-left:8px;vertical-align:-2px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:fyCheckoutSpin .7s linear infinite}
    @keyframes fyCheckoutSpin{to{transform:rotate(360deg)}}

    /* ===== v27 LOADING STATE: every button / message that waits on the server or a page ===== */
    @keyframes fySpin{to{transform:rotate(360deg)}}
    @keyframes fyBusyPulse{0%,100%{filter:brightness(1)}50%{filter:brightness(.82)}}
    .fy-busy.fy-busy{cursor:progress;pointer-events:none;animation:fyBusyPulse 1.4s ease-in-out infinite}
    .fy-busy::after{content:'';display:inline-block;width:13px;height:13px;margin-left:8px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:fySpin .7s linear infinite}
    .auth-message.info{display:flex;align-items:center;gap:8px}
    .auth-message.info::before{content:'';flex:0 0 auto;width:12px;height:12px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:fySpin .7s linear infinite}
    @media (prefers-reduced-motion:reduce){.fy-busy.fy-busy,.fy-busy::after,.auth-message.info::before{animation-duration:2.6s}}

    /* PAGINATION */
    .pager{
      display:flex;
      justify-content:center;
      gap:8px;
      margin-top:36px;
    }
    .pager a{
      background:#fff;
      border:1px solid #ddd;
      padding:10px 15px;
      border-radius:8px;
      font-weight:700;
      font-size:13px;
    }

    /* ===================== FLIPKART-STYLE FOOTER ===================== */
    .site-footer{
      background:#172337;
      color:#fff;
      padding:0;
      text-align:left;
      font-size:12px;
      border-top:0;
    }
    .site-footer a,.site-footer .sf-link{color:#fff;text-decoration:none;cursor:pointer}
    .site-footer a:hover,.site-footer .sf-link:hover{text-decoration:underline}
    .sf-wrap{max-width:1240px;margin:0 auto;padding:40px 24px 0}
    .sf-top{display:grid;grid-template-columns:repeat(3,1fr) 1.15fr;gap:24px 20px;padding-bottom:34px}
    .sf-col h4{margin:0 0 14px;font-size:12px;font-weight:400;color:#878787;text-transform:uppercase;letter-spacing:.2px}
    .sf-col .sf-link,.sf-col a{display:block;margin:0 0 9px;font-size:12px;font-weight:500;line-height:1.5;background:none;border:0;padding:0;font-family:inherit;text-align:left}
    .sf-contact{border-left:1px solid #454d5e;padding-left:24px}
    .sf-contact p{margin:0 0 4px;font-size:12px;line-height:1.6;font-weight:500}
    .sf-contact .sf-sub{display:block;margin:0 0 6px;color:#878787;font-size:12px;font-weight:400}
    .sf-contact .sf-gap{margin-top:22px}
    .sf-contact a{display:inline}
    .sf-social{display:flex;gap:18px;margin-top:10px}
    .sf-social a{font-size:22px;line-height:1;margin:0;display:inline-block}
    .sf-social a[href='#']{display:none}
    .sf-bottom{border-top:1px solid #454d5e;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 24px;padding:20px 0 22px;font-size:14px}
    .sf-bottom .sf-item{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500}
    .sf-bottom .sf-item i{font-family:'FontAwesome' !important;font-style:normal;font-weight:normal;color:#ffc200;font-size:16px}
    .sf-copy{font-size:14px}
    .sf-pay{display:flex;flex-wrap:wrap;gap:6px}
    .sf-pay span{background:#fff;color:#172337;border-radius:3px;padding:3px 8px;font-size:10px;font-weight:800;letter-spacing:.2px;line-height:1.3}
    .sf-col i,.sf-contact i{font-family:'FontAwesome' !important;font-style:normal;font-weight:normal}
    @media(max-width:900px){
      .sf-top{grid-template-columns:repeat(3,1fr)}
      .sf-contact{grid-column:1/-1;border-left:0;padding-left:0;border-top:1px solid #454d5e;padding-top:22px}
    }
    @media(max-width:620px){
      .sf-wrap{padding:28px 16px 0}
      .sf-top{grid-template-columns:1fr 1fr;gap:22px 14px}
      .sf-bottom{justify-content:center;text-align:center;padding-bottom:26px}
    }
    /* policy popup (Cancellation & Returns / Shipping) */
    .sf-modal-list{margin:0;padding-left:18px;font-size:13px;line-height:1.7;color:#333}

    /* ===================== ACCOUNT / PAYMENT INTEGRATION ===================== */
    .app-modal{position:fixed;inset:0;z-index:6000;display:none;align-items:center;justify-content:center;padding:14px;background:rgba(0,0,0,.52)}
    .app-modal.active{display:flex}
    .app-modal-card{width:min(460px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.30);padding:20px}
    .app-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:14px}
    .app-modal-kicker{font-size:10px;font-weight:900;letter-spacing:1px;color:var(--brand);text-transform:uppercase}
    .app-modal-head h3{margin:3px 0 0;font-size:22px}
    .app-close{border:0;background:#f1f1f1;border-radius:50%;width:32px;height:32px;cursor:pointer;font-size:20px}

    /* ---------- PRODUCT IMAGE ZOOM POPUP ---------- */
    .app-modal.image-zoom-modal{
      background:rgba(0,0,0,.94);
      padding:0;
      z-index:7000;
    }
    .image-zoom-card{
      position:relative;
      width:100%;
      height:100%;
      max-width:100vw;
      max-height:100dvh;
      display:flex;
      align-items:center;
      justify-content:center;
      background:none;
      box-shadow:none;
      border-radius:0;
      padding:0;
      overflow:visible;
    }
    #imageZoomImg{
      max-width:94vw;
      max-height:94dvh;
      width:auto;
      height:auto;
      object-fit:contain;
      -webkit-user-select:none;
      user-select:none;
      touch-action:pinch-zoom;
    }
    .image-zoom-close{
      position:absolute;
      top:16px;
      right:16px;
      width:40px;
      height:40px;
      border-radius:50%;
      border:0;
      background:rgba(255,255,255,.16);
      color:#fff;
      font-size:22px;
      line-height:1;
      cursor:pointer;
      z-index:2;
    }
    .image-zoom-nav{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:44px;
      height:44px;
      border-radius:50%;
      border:0;
      background:rgba(255,255,255,.16);
      color:#fff;
      font-size:22px;
      cursor:pointer;
      z-index:2;
    }
    .image-zoom-nav.image-zoom-prev{left:14px}
    .image-zoom-nav.image-zoom-next{right:14px}
    @media(max-width:600px){
      .image-zoom-close,.image-zoom-nav{width:36px;height:36px;font-size:18px}
      .image-zoom-close{top:10px;right:10px}
      .image-zoom-nav.image-zoom-prev{left:8px}
      .image-zoom-nav.image-zoom-next{right:8px}
    }
    .auth-tabs{display:flex;gap:6px;margin-bottom:14px;border-bottom:1px solid #eee;padding-bottom:8px}
    .auth-tab{border:0;background:#f5f5f5;border-radius:9px;padding:9px 10px;font-size:11px;font-weight:800;cursor:pointer}
    .auth-tab.active{background:#111;color:#fff}
    [hidden]{display:none!important}
    .auth-form{display:grid;gap:10px}
    .auth-form label,.utr-box label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#555}
    .auth-form input,.utr-box input,.auth-form select{width:100%;padding:11px;border:1px solid #ddd;border-radius:9px;background:#fff;outline:none}
    .auth-form input:focus,.utr-box input:focus{border-color:var(--brand)}
    .auth-primary{border:0;border-radius:10px;padding:12px;background:var(--brand);color:#fff;font-weight:900;cursor:pointer;text-align:center;text-decoration:none;display:block}
    .auth-primary:disabled{opacity:.55;cursor:not-allowed}
    .auth-message{margin-top:8px;min-height:18px;font-size:11px;font-weight:700;line-height:1.45;color:#666}
    .auth-message.error{color:#a51f1f}.auth-message.success{color:#16743a}.auth-message.info{color:#8a5200}
    .google-login-divider{display:flex;align-items:center;gap:8px;margin:10px 0;color:#999;font-size:10px;font-weight:800}
    .google-login-divider:before,.google-login-divider:after{content:'';height:1px;background:#e5e7eb;flex:1}
    .google-login-wrap{display:flex;justify-content:center;min-height:40px;width:100%;overflow:visible}
    .google-login-wrap>div{max-width:100%!important}
    .google-login-note{text-align:center;color:#777;font-size:10px;margin:5px 0 8px}
    @media(max-width:480px){.google-login-wrap iframe{max-width:100%!important}}
    .account-summary{display:flex;align-items:center;gap:10px;padding:12px;background:#f8f8f8;border-radius:12px}
    .account-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--brand);color:#fff;font-weight:900}
    .account-summary strong{display:block;font-size:14px}.account-summary span{display:block;font-size:11px;color:#777;margin-top:2px}
    .account-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}
    .account-actions button,.orders-head button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:9px;font-size:11px;font-weight:800;cursor:pointer}
    .orders-panel,.tracking-panel{border-top:1px solid #eee;padding-top:12px;margin-top:10px}
    .orders-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;font-size:13px}
    .orders-list{display:grid;gap:8px}
    .order-mini{border:1px solid #e7e7e7;border-radius:11px;padding:11px}
    .order-mini-top{display:flex;justify-content:space-between;gap:10px;font-size:12px;font-weight:900}
    .order-mini-meta{color:#777;font-size:10px;margin-top:4px;line-height:1.4}
    .order-mini-actions{display:flex;gap:6px;margin-top:8px}
    .order-mini-actions button{border:0;background:#f1f1f1;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:800;cursor:pointer}
    .order-cancel-btn{border:0;background:#b42318!important;color:#fff;border-radius:7px;padding:7px 9px;font-size:10px;font-weight:900;cursor:pointer}
    .order-cancel-btn:disabled{opacity:.55;cursor:not-allowed}
    .order-cancel-note{margin-top:7px;padding:8px;border-radius:8px;background:#fff7ed;font-size:10px;line-height:1.4}
    .order-refund-status{margin-top:7px;padding:8px;border-radius:8px;background:#f0fdf4;font-size:10px;line-height:1.4;font-weight:700}
    .order-mini-items{display:grid;gap:6px;margin-top:8px}
    .order-mini-item{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;background:#fafafa;border-radius:8px;padding:6px 8px}
    .order-mini-item-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
    .review-submit-btn{border:0;background:#fff;color:var(--brand-dark);border:1px solid var(--brand);border-radius:7px;padding:5px 9px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
    .review-submit-btn.is-done{border-color:#16a34a;color:#16a34a;cursor:default}

    /* ---- Star rating (display, read-only) ---- */
    .stars-display{color:#e0e0e0;font-size:14px;letter-spacing:1px;white-space:nowrap}
    .stars-display .star-on{color:var(--brand)}

    /* ---- See reviews button + panel on the product page ---- */
    .see-reviews-btn{width:100%;margin-top:10px;border:1px solid var(--brand);background:#fff;color:var(--brand-dark);border-radius:10px;padding:11px;font-weight:900;cursor:pointer}
    .see-reviews-btn:hover{background:#fff7ed}
    .reviews-panel{margin-top:14px;border-top:1px solid #eee;padding-top:12px}
    .reviews-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}
    .reviews-head strong{font-size:14px}
    .reviews-summary{font-size:12px;color:#777}
    .reviews-list{display:grid;gap:10px}
    .review-card{border:1px solid #eee;border-radius:11px;padding:10px 12px;background:#fff}
    .review-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
    .review-card-name{font-weight:800;font-size:12px}
    .review-card-text{margin-top:5px;font-size:12px;line-height:1.5;color:#333;white-space:pre-wrap}
    .review-empty,.review-loading,.review-error{font-size:12px;color:#777;padding:6px 2px}

    /* ---- Interactive star input inside the review modal ---- */
    .star-input{display:flex;gap:4px;font-size:26px;margin:6px 0 2px}
    .star-input span{cursor:pointer;color:#e0e0e0}
    .star-input span.on{color:var(--brand)}
    /* #reviewModal must win over #accountModal (My Orders) when both are
       open at once - both share the .app-modal class/z-index, and without
       this the review popup was rendering underneath the orders panel. */
    #reviewModal{z-index:7000}
    #reviewModal textarea{width:100%;border:1px solid #ddd;border-radius:10px;padding:10px;font:inherit;resize:vertical;min-height:90px;margin-top:8px;box-sizing:border-box}
    #reviewModal .review-product-name{font-size:12px;color:#777;margin-top:-6px}

    .tracking-stage{font-size:15px;font-weight:900;margin:8px 0;color:#159447}
    .tracking-meta{font-size:11px;color:#666;line-height:1.6}
    #universalBack{position:fixed;left:16px;bottom:18px;z-index:5900;width:42px;height:42px;border:0;border-radius:50%;background:#111;color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);font-size:20px;cursor:pointer;display:none}
    #universalBack.visible{display:block}
    .location-modal-card{max-width:460px}
    .location-divider{display:flex;align-items:center;gap:8px;margin:16px 0;color:#999;font-size:9px;font-weight:900}
    .location-divider:before,.location-divider:after{content:'';height:1px;background:#eee;flex:1}
    .location-select-label{display:block;font-size:11px;font-weight:900;margin:0 0 6px}
    .location-select{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff;font-size:13px}
    .payment-shell{max-width:760px;margin:0 auto;padding:24px 0}
    .payment-card{background:#fff;border-radius:18px;padding:22px;box-shadow:var(--shadow)}
    .payment-card h1{margin:4px 0 10px;font-size:25px}
    .payment-order-meta{display:flex;flex-wrap:wrap;gap:12px;color:#666;font-size:11px}
    .payment-amount{font-size:34px;font-weight:900;margin:18px 0 4px}
    .payment-discount{font-size:11px;color:#159447;font-weight:800;min-height:16px}
    .payment-timer{margin:12px 0;padding:10px;border-radius:9px;background:#fff6e8;color:#8a5200;font-size:12px;font-weight:800}
    .payment-upi{border:1px solid #eee;border-radius:12px;padding:13px;margin:12px 0}
    .payment-upi-title{font-weight:900;font-size:13px;margin-bottom:5px}.payment-upi #payUpiText{font-size:11px;color:#666;margin-bottom:9px}
    .payment-methods{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:12px 0}
    .payment-methods button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:9px 5px;font-size:10px;font-weight:800;cursor:pointer}
    .payment-methods button.active{background:#111;color:#fff}
    .utr-box{border-top:1px solid #eee;padding-top:13px;margin-top:12px;display:grid;gap:8px}
    #builtInPaymentPage[hidden]{display:none!important}
    @media(max-width:760px){.account-actions{grid-template-columns:1fr}.payment-methods{grid-template-columns:repeat(2,1fr)}#universalBack{left:10px;bottom:12px}}
    @media(max-width:1050px){
      .product-grid .pcard{
        flex:0 0 calc((100% - 32px) / 3.5);
        max-width:calc((100% - 32px) / 3.5);
      }
      .nav-item.hide-tablet{display:none}
    }

    @media(max-width:900px){
      .single-product .product-slider{
        width:100%;
      }
      .single-product .planning-box{
        position:static;
        width:auto;
        max-width:none;
        margin-top:20px;
      }
    }

    @media(max-width:760px){
      .section-title.row-heading-bar{
        padding:10px 12px;
      }
      .section-title.row-heading-bar h2{font-size:15px}
      .section-title.row-heading-bar span{font-size:10px}
      .section-title.row-heading-bar .row-heading-icon{
        width:28px;
        height:28px;
        flex-basis:28px;
      }
      .topbar-inner{
        height:auto;
        min-height:60px;
        padding:10px 12px;
        gap:10px;
        flex-wrap:wrap;
      }
      .brand-name{display:block;max-width:120px;overflow:hidden;text-overflow:ellipsis;font-size:14px}
      .location-pill{order:2;max-width:150px;padding:7px 9px;font-size:10px}
      .searchbox{order:3;flex:1 1 100%;max-width:none}
      .nav-actions{margin-left:auto;gap:14px}
      .page{padding:22px 12px 90px}
      .hero-heading h1{font-size:26px}
      .hero-heading p{font-size:13px}
      .showcase-columns{
        grid-template-columns:1fr;
        gap:18px;
      }
      #showcase2{display:none !important}
      .showcase-card{height:240px}
      .showcase-title{font-size:15px}
      .section-head-row{align-items:flex-start;flex-direction:column;gap:8px}
      .order-grid{grid-template-columns:1fr}
      .order-field.full{grid-column:auto}
      .product-grid .pcard{
        flex:0 0 calc(45% - 10px);
        max-width:calc(45% - 10px);
      }
      .pcard-image{height:140px;border-radius:12px}
      .pcard-title{font-size:12px}
      .pcard-meta{font-size:10px}
      .pcard-desc{font-size:10px}
      .product-slider{height:260px}
      #cart-box{right:12px;left:12px;width:auto}
    }

    @media(max-width:430px){
      .product-grid{gap:12px}
      .product-grid .pcard{
        flex:0 0 calc(55% - 12px);
        max-width:calc(55% - 12px);
      }
      .pcard-image{height:120px}
      .page{padding-left:8px;padding-right:8px}
    }

    /* =========================================================
       RESPONSIVE UX OVERRIDES
       Keeps existing logic/features intact and only improves
       sizing, wrapping, scrolling and viewport adaptation.
       ========================================================= */

    /* NOTE: overflow-x:hidden on BOTH html and body turns body into a scroll
       container and silently breaks position:sticky on the header. Only html
       gets it; body uses overflow-x:clip (which does not create a scroll container). */
    html,body{
      width:100%;
      max-width:100%;
    }
    html{overflow-x:hidden}
    @supports (overflow:clip){
      body{overflow-x:clip}
    }

    body{
      min-width:0;
      overflow-wrap:anywhere;
    }

    
    .topbar-inner,
    .site-footer,
    .showcase-columns,
    .product-section,
    .single-product,
    .page-body,
    .payment-shell{
      width:100%;
      max-width:100%;
      min-width:0;
    }

    img,

    video,
    iframe,
    svg{
      max-width:100%;
    }

    /* ---------- CATEGORY / PRODUCT POPUP ---------- */
    .category-result{
      padding:
        max(10px, env(safe-area-inset-top))
        max(10px, env(safe-area-inset-right))
        max(10px, env(safe-area-inset-bottom))
        max(10px, env(safe-area-inset-left));
      overflow:hidden;
      overscroll-behavior:contain;
    }

    .category-result-dialog{
      width:min(1180px, calc(100vw - 20px));
      max-width:1180px;
      height:min(92dvh, 900px);
      max-height:92dvh;
      min-height:0;
      border-radius:clamp(12px, 1.5vw, 20px);
      overflow:hidden;
    }

    .category-result-head{
      min-width:0;
      padding:clamp(12px, 1.6vw, 20px);
      gap:10px;
    }

    .category-result-head > div{
      min-width:0;
      flex:1 1 auto;
    }

    .category-result-head h2{
      font-size:clamp(17px, 1.7vw, 23px);
      overflow-wrap:anywhere;
    }

    .category-result-head span{
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .category-result .product-grid{
      flex:1 1 auto;
      min-height:0;
      width:100%;
      display:grid;
      grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
      gap:clamp(10px, 1.35vw, 18px);
      padding:clamp(12px, 1.7vw, 22px);
      overflow-x:hidden;
      overflow-y:auto;
      overscroll-behavior:contain;
      align-content:start;
    }

    .category-result .pcard{
      width:100%;
      min-width:0;
      max-width:none;
      display:flex;
      flex-direction:column;
    }

    .category-result .pcard-link{
      min-width:0;
      width:100%;
      height:auto;
    }

    .category-result .pcard-image{
      width:100%;
      height:auto;
      aspect-ratio:4 / 3;
      min-height:0;
      border-radius:clamp(10px, 1.1vw, 14px);
    }

    .category-result .pcard-body{
      min-width:0;
      padding:clamp(7px, .9vw, 11px) 2px 0;
    }

    .category-result .pcard-title{
      font-size:clamp(12px, 1.05vw, 15px);
      line-height:1.3;
      white-space:normal;
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
      overflow:hidden;
      overflow-wrap:anywhere;
      min-height:calc(1.3em * 2);
    }

    .category-result .pcard-meta{
      flex-wrap:wrap;
      min-width:0;
    }

    .category-result .post-date{
      max-width:100%;
    }

    .category-result .pcard-price{
      display:flex;
      flex-wrap:wrap;
      align-items:baseline;
      gap:2px 5px;
      min-width:0;
    }

    .category-result .price-mrp,
    .category-result .price-off{
      margin-left:0;
    }

    .category-result .pcard-desc{
      white-space:normal;
      display:-webkit-box;
      -webkit-box-orient:vertical;
      -webkit-line-clamp:2;
      overflow:hidden;
      overflow-wrap:anywhere;
    }

    .category-result .labels{
      flex-wrap:nowrap;
      overflow-x:auto;
      scrollbar-width:none;
      max-width:100%;
    }

    .category-result .labels::-webkit-scrollbar{display:none}

    .category-result .pcard-cart-btn{
      margin-top:9px;
      min-height:42px;
      padding:10px 9px;
      font-size:clamp(11px, 1vw, 13px);
    }

    .category-result .category-close{
      width:clamp(34px, 4vw, 40px);
      height:clamp(34px, 4vw, 40px);
      flex:0 0 auto;
    }

    /* ---------- NORMAL PRODUCT ROWS ---------- */
    .product-grid{
      min-width:0;
      width:100%;
      overscroll-behavior-x:contain;
    }

    .product-grid .pcard{
      flex-basis:clamp(160px, 21vw, 255px);
      max-width:clamp(160px, 21vw, 255px);
      min-width:0;
    }

    .pcard-image{
      height:auto;
      aspect-ratio:4 / 3;
      min-height:0;
    }

    .pcard-image .pcard-slide,
    .pcard-image img{
      width:100%;
      height:100%;
      max-width:none;
      object-fit:cover;
    }

    .pcard-title{
      line-height:1.3;
      overflow-wrap:anywhere;
    }

    .pcard-meta,
    .pcard-price,
    .labels{
      min-width:0;
      max-width:100%;
    }

    /* ---------- SINGLE PRODUCT / BLOGGER POST ---------- */
    .single-product{
      overflow:hidden;
      border-radius:clamp(12px, 1.5vw, 18px);
    }

    .single-product > div,
    .product-details{
      min-width:auto;
      max-width:100%;
    }

    .product-slider{
      width:100%;
      height:auto;
      aspect-ratio:16 / 10;
      min-height:220px;
      max-height:min(70vh, 620px);
    }

    .product-slide{
      min-width:100%;
      min-height:0;
    }

    .product-slide img{
      width:100%;
      height:100%;
      max-width:100%;
      object-fit:cover;
      background:#222;
      cursor:zoom-in;
    }

    .product-details{
      padding:clamp(14px, 2.4vw, 28px);
    }

    .product-title{
      font-size:clamp(20px, 2.5vw, 30px);
      overflow-wrap:anywhere;
    }

    .product-description{
      font-size:clamp(13px, 1.25vw, 16px);
      overflow-wrap:anywhere;
    }

    .product-description img,
    .product-description video,
    .product-description iframe,
    .product-description table{
      max-width:100% !important;
    }

    .product-description img{
      width:auto;
      height:auto;
      max-height:none;
    }

    .page-body{
      padding:clamp(16px, 2.5vw, 30px);
      border-radius:clamp(12px, 1.5vw, 18px);
      overflow:hidden;
    }

    .planning-box{
      width:100%;
      max-width:100%;
      min-width:0;
    }

    .plan-row{
      width:100%;
      min-width:0;
    }

    .plan-field{
      min-width:0;
    }

    /* ---------- ALL MODALS / POPUPS ---------- */
    .modal,
    .app-modal{
      padding:
        max(10px, env(safe-area-inset-top))
        max(10px, env(safe-area-inset-right))
        max(10px, env(safe-area-inset-bottom))
        max(10px, env(safe-area-inset-left));
      overflow:auto;
      overscroll-behavior:contain;
    }

    .modal-card,
    .app-modal-card{
      width:min(560px, calc(100vw - 20px));
      max-width:560px;
      max-height:min(92dvh, 900px);
      padding:clamp(14px, 2.2vw, 22px);
      border-radius:clamp(12px, 1.5vw, 18px);
      overflow:auto;
      overflow-x:hidden;
      overscroll-behavior:contain;
    }

    .modal-actions,
    .status-actions{
      flex-wrap:wrap;
    }

    .modal-actions > *,
    .status-actions > *{
      min-width:0;
    }

    /* ---------- ACCOUNT / AUTH ---------- */
    .account-summary,
    .orders-head,
    .order-mini-top{
      min-width:0;
    }

    .account-summary > div:last-child,
    .order-mini-top > *{
      min-width:0;
      overflow-wrap:anywhere;
    }

    .account-actions{
      grid-template-columns:repeat(auto-fit, minmax(105px, 1fr));
    }

    .auth-tabs{
      flex-wrap:wrap;
    }

    .auth-tab{
      flex:1 1 105px;
      min-width:0;
    }

    .auth-form input,
    .auth-form select,
    .utr-box input,
    .order-field input,
    .order-field textarea,
    .order-field select{
      min-width:0;
      max-width:100%;
    }

    /* ---------- CART ---------- */
    #cart-box{
      width:min(430px, calc(100vw - 20px));
      max-width:430px;
      max-height:min(82dvh, 760px);
      right:max(10px, env(safe-area-inset-right));
      bottom:max(76px, calc(76px + env(safe-area-inset-bottom)));
      padding:clamp(12px, 2vw, 18px);
      overflow:auto;
      overflow-x:hidden;
      overscroll-behavior:contain;
    }

    .cart-line{
      min-width:0;
      flex-wrap:wrap;
    }

    .cart-info{
      min-width:0;
      flex:1 1 150px;
    }

    .cart-name,
    .cart-meta-info{
      overflow-wrap:anywhere;
      white-space:normal;
    }

    .cart-qty,
    .cart-price,
    .cart-remove{
      flex:0 0 auto;
    }

    /* ---------- PAYMENT ---------- */
    .payment-shell{
      padding:clamp(10px, 2.5vw, 24px) 0;
    }

    .payment-card{
      width:100%;
      max-width:760px;
      padding:clamp(14px, 2.5vw, 24px);
      border-radius:clamp(12px, 1.5vw, 18px);
      overflow:hidden;
    }

    .payment-card h1{
      font-size:clamp(20px, 3vw, 28px);
      overflow-wrap:anywhere;
    }

    .payment-amount{
      font-size:clamp(28px, 6vw, 38px);
      overflow-wrap:anywhere;
    }

    .payment-methods{
      grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));
    }

    /* ---------- TABLET ---------- */
    @media (max-width:900px){
      .category-result .product-grid{
        grid-template-columns:repeat(auto-fit, minmax(175px, 1fr));
      }

      .single-product .product-slider{
        width:100%;
      }

      .single-product .planning-box{
        position:static;
        width:100%;
        max-width:none;
        margin-top:clamp(14px, 2vw, 20px);
      }

      .topbar-inner{
        min-width:0;
      }
    }

    /* ---------- MOBILE ---------- */
    @media (max-width:700px){
      .category-result{
        padding:
          max(6px, env(safe-area-inset-top))
          max(6px, env(safe-area-inset-right))
          max(6px, env(safe-area-inset-bottom))
          max(6px, env(safe-area-inset-left));
      }

      .category-result-dialog{
        width:100%;
        height:94dvh;
        max-height:94dvh;
        border-radius:14px;
      }

      .category-result .product-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:clamp(9px, 2.5vw, 13px);
        padding:12px;
      }

      .category-result .pcard-image{
        aspect-ratio:4 / 3;
      }

      .category-result .pcard-title{
        font-size:12px;
      }

      .category-result .pcard-cart-btn{
        min-height:40px;
      }

      .product-grid{
        gap:12px;
      }

      .product-grid .pcard{
        flex-basis:clamp(155px, 46vw, 205px);
        max-width:clamp(155px, 46vw, 205px);
      }

      .pcard-image{
        aspect-ratio:4 / 3;
      }

      .product-slider{
        aspect-ratio:4 / 3;
        min-height:190px;
        max-height:60vh;
      }

      .slider-nav-btns{
        padding:0 9px;
      }

      .slider-btn{
        width:34px;
        height:34px;
      }

      .app-modal-card,
      .modal-card{
        width:100%;
        max-width:none;
        max-height:94dvh;
      }

      #cart-box{
        left:10px;
        right:10px;
        width:auto;
        max-width:none;
        bottom:calc(76px + env(safe-area-inset-bottom));
      }

      .order-grid{
        grid-template-columns:1fr;
      }

      .order-field.full{
        grid-column:auto;
      }
    }

    /* ---------- SMALL PHONES ---------- */
    @media (max-width:430px){
      .category-result .product-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:8px;
        padding:9px;
      }

      .category-result .pcard-title{
        font-size:11.5px;
      }

      .category-result .pcard-meta{
        font-size:9.5px;
      }

      .category-result .pcard-price{
        font-size:12px;
      }

      .category-result .pcard-cart-btn{
        min-height:38px;
        padding:8px 7px;
        font-size:10.5px;
      }

      .product-grid .pcard{
        flex-basis:clamp(148px, 47vw, 190px);
        max-width:clamp(148px, 47vw, 190px);
      }

      .pcard-title{
        font-size:12px;
      }

      .pcard-image{
        aspect-ratio:4 / 3;
      }

      .product-details{
        padding:14px;
      }

      .product-title{
        font-size:20px;
      }

      .app-modal-card,
      .modal-card{
        border-radius:13px;
        padding:13px;
      }

      .payment-methods{
        grid-template-columns:repeat(2, minmax(0, 1fr));
      }
    }

    /* ---------- VERY SMALL / NARROW DEVICES ---------- */
    @media (max-width:340px){
      .category-result .product-grid{
        grid-template-columns:1fr;
      }

      .category-result .pcard-image{
        aspect-ratio:16 / 10;
      }

      .product-grid .pcard{
        flex-basis:175px;
        max-width:175px;
      }

      .topbar-inner{
        padding-left:8px;
        padding-right:8px;
      }
    }

    /* ---------- TOUCH DEVICES ---------- */
    @media (pointer:coarse){
      .category-result .category-close,
      .pcard-cart-btn,
      .add-to-cart-btn,
      .checkout,
      .auth-primary,
      .row-arrow,
      .slider-btn,
      .cart-close{
        min-height:40px;
      }

      .pcard:hover .pcard-image img{
        transform:none;
      }
    }

    /* ---------- LANDSCAPE PHONES ---------- */
    @media (max-width:900px) and (orientation:landscape){
      .category-result-dialog{
        height:94dvh;
        max-height:94dvh;
      }

      .category-result .product-grid{
        grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
      }

      .product-slider{
        aspect-ratio:16 / 8;
        min-height:180px;
      }
    }

    /* ---------- USER MOTION / CAPABILITY ---------- */
    @media (prefers-reduced-motion:reduce){
      .pcard-image .pcard-slide{
        transition:none !important;
      }
    }

    /* =========================================================
       FIXES: smart header, 5-card desktop rows, mobile showcase
       ========================================================= */

    /* Smart header (hides on scroll down, returns on scroll up) */
    .topbar{
      position:-webkit-sticky;
      position:sticky;
      top:0;
    }
    body.mobile-bars-hidden .topbar{
      transform:translateY(-110%);
      box-shadow:none;
      pointer-events:none;
    }

    /* Thumbnails: keep a neutral background while images load */
    .pcard-image{background:#ececec}
    .pcard-image .pcard-slide{background:#ececec}
    .showcase-card img{background:#c96413}

    /* Showcase counter (used instead of dots when there are many slides) */
    .showcase-count{
      color:#fff;
      background:rgba(0,0,0,.45);
      font-size:11px;
      font-weight:800;
      padding:4px 9px;
      border-radius:12px;
      letter-spacing:.3px;
    }

    /* Wider desktop layout + exactly 5 full cards per row */
    @media (min-width:1024px){
      .topbar-inner,
      .page{
        max-width:1480px;
      }
      .product-grid{gap:5px}
      .product-grid .pcard{
        flex:0 0 calc((100% - 64px) / 5);
        max-width:calc((100% - 64px) / 5);
        min-width:0;
      }
      .category-result-dialog{
        width:min(1480px, calc(100vw - 32px));
        max-width:1480px;
      }
    }
    @media (min-width:1024px) and (max-width:1199px){
      .topbar-inner,
      .page{max-width:100%}
    }

    /* Mobile: first showcase carries every product */
    @media (max-width:760px){
      #showcase{display:block}
      #showcase .showcase-card{height:240px}
    }

    /* =========================================================
       SHOP THEME (Flipkart style) + PORTRAIT PRODUCT CARDS
       ========================================================= */
    body{background:var(--bg)}

    /* ---- Header: blue bar, white search ---- */
    .topbar{background:var(--brand);border-bottom:0;box-shadow:0 1px 4px rgba(0,0,0,.25)}
    .topbar .brand,.topbar .brand-name,.topbar .nav-item,.topbar .nav-icon{color:#fff}
    .topbar .brand-logo{background:#fff;color:var(--brand)}
    .topbar .searchbox input{
      background:#fff;border:0;border-radius:2px;
      box-shadow:0 2px 4px rgba(0,0,0,.2);padding:11px 38px 11px 16px;
    }
    .topbar .location-pill{background:rgba(255,255,255,.16);border-color:transparent;color:#fff}

    /* ---- Portrait product card (flexible height) ---- */
    .pcard{
      background:#fff;
      border:1px solid #e8e8e8;
      border-radius:4px;
      padding:0 0 10px;
      display:flex;
      flex-direction:column;
      transition:box-shadow .2s ease,transform .2s ease;
    }
    .pcard:hover{box-shadow:0 6px 20px rgba(0,0,0,.14);transform:translateY(-2px)}
    .pcard-link{display:flex;flex-direction:column;flex:1 1 auto}
    .pcard-image{
      width:100%;
      height:auto;
      aspect-ratio:3 / 4;          /* portrait: kurtas & sarees */
      border-radius:4px 4px 0 0;
      box-shadow:none;
      background:#f0f0f0;
    }
    .pcard-image .pcard-slide,
    .pcard-image img{object-fit:cover;object-position:center top}
    .pcard-body{padding:10px 10px 0;flex:1 1 auto}
    .pcard-title{
      font-size:13px;font-weight:600;color:#212121;line-height:1.35;
      white-space:normal;
      display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
      min-height:2.7em;
    }
    .pcard-meta{margin-top:6px;gap:6px}
    .rating{background:var(--success);font-size:11px;font-weight:700;padding:2px 6px;border-radius:3px}
    .pcard-price{margin-top:7px;font-size:15px;font-weight:700;color:#212121}
    .price-current{font-weight:700}
    .price-mrp{color:#878787;font-size:12px;font-weight:400;margin-left:6px}
    .price-off{color:var(--success);font-size:12px;font-weight:700;margin-left:6px}
    .pcard-desc{display:none}                /* keeps cards clean & compact */
    .pcard .labels{display:none}
    .pcard-badge{
      left:0;top:8px;border-radius:0 3px 3px 0;
      background:#fff;color:var(--brand);
      padding:3px 8px;font-size:10px;box-shadow:0 1px 3px rgba(0,0,0,.18);
    }
    .pcard-cart-btn{
      margin:10px 10px 0;width:calc(100% - 20px);
      background:var(--cta);border-radius:2px;
      padding:9px 10px;font-size:12px;font-weight:700;letter-spacing:.2px;
      box-shadow:none;text-transform:uppercase;
    }
    .pcard-cart-btn:hover{background:var(--cta-dark)}

    /* cards: 5 per row on desktop, 2 on phones (portrait needs the height) */
    .product-grid{align-items:flex-start}
    .product-grid .pcard{align-self:flex-start}
    @media (max-width:1023px){
      .product-grid .pcard{
        flex:0 0 calc((100% - 32px) / 3.3);
        max-width:calc((100% - 32px) / 3.3);
      }
    }
    @media (max-width:760px){
      .product-grid .pcard{flex:0 0 calc(46% - 6px);max-width:calc(46% - 6px)}
      .pcard-title{font-size:12px}
      .pcard-price{font-size:14px}
      .pcard-cart-btn{font-size:11px;padding:8px 6px}
    }
    /* popup grids use the same card, wrapped into columns */
    .category-result .product-grid{align-items:start}
    .category-result .pcard-image{height:auto;aspect-ratio:3 / 4}

    /* ---- Category row heading: flat Flipkart bar ---- */
    .section-title.row-heading-bar{
      background:#fff;color:#212121;box-shadow:none;animation:none;
      border-radius:2px;border-bottom:1px solid #e8e8e8;
    }
    .section-title.row-heading-bar h2{color:#212121}
    .section-title.row-heading-bar span{color:#878787}
    .section-title.row-heading-bar .row-heading-icon{background:#e8f0fe;color:var(--brand);box-shadow:none;animation:none}
    .filter-chip.active{background:var(--brand);border-color:var(--brand);color:#fff}
    .mobile-bottom-item.active,.mobile-bottom-item:active{color:var(--brand)}

    /* ---- Post (product detail) page: image left, details right ---- */
    .back-link{display:inline-block;margin:0 0 12px;color:var(--brand);font-weight:700;font-size:13px}
    .single-product{border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.12)}
    .single-product .product-slider{
      width:100%;
      height:auto;
      aspect-ratio:3 / 4;
      min-height:0;
      max-height:none;
      background:#f5f5f5;
    }
    .single-product .product-slide img{object-fit:contain;background:#f5f5f5;cursor:zoom-in}
    @media (min-width:900px){
      .single-product{
        display:grid;
        grid-template-columns:minmax(0,460px) minmax(0,1fr);
        align-items:start;
      }
      .single-product .product-slider{max-height:82vh}
      .single-product .planning-box{
        position:static;
        width:auto;
        max-width:none;
        margin-top:16px;
      }
      .single-product .product-details{padding:24px 28px}
    }

    /* ---- BOTTOM OF POST PAGE: related products + categories + home rows ---- */
    .related-zone{margin-top:26px}
    .related-block,.related-cats{
      background:#fff;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.12);
      padding:16px 16px 18px;margin-bottom:16px;
    }
    .related-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
    .related-head h2{margin:0;font-size:19px;font-weight:700;color:#212121}
    .related-head span{color:#878787;font-size:12px}
    .related-grid{
      display:grid;
      grid-template-columns:repeat(5,minmax(0,1fr));
      gap:14px;
      overflow:visible;
      padding:0;
      scroll-snap-type:none;
    }
    .related-grid .pcard{flex:none;max-width:none;width:100%;min-width:0}
    @media (max-width:1023px){.related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
    @media (max-width:760px){
      .related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
      .related-block,.related-cats{padding:12px 10px 14px}
      .related-head h2{font-size:16px}
    }
    .related-grid .pcard.is-skeleton{pointer-events:none}
    .sk{background:linear-gradient(90deg,#eee 25%,#f7f7f7 37%,#eee 63%);background-size:400% 100%;animation:skShimmer 1.3s ease infinite;border-radius:3px}
    .sk-img{aspect-ratio:3 / 4;width:100%;border-radius:4px 4px 0 0}
    .sk-line{height:11px;margin:10px 10px 0}
    .sk-line.short{width:55%}
    @keyframes skShimmer{0%{background-position:100% 50%}100%{background-position:0 50%}}
    .related-sentinel{height:1px}
    .related-more{
      display:none;margin:16px auto 0;padding:10px 26px;border:1px solid var(--brand);
      background:#fff;color:var(--brand);font-weight:700;border-radius:2px;cursor:pointer;
    }
    .related-more.show{display:block}
    .related-cats .filters{margin:0;padding:0}
    .filter-chip.is-related{border-color:var(--brand);color:var(--brand);font-weight:800}
    .filter-chip.is-related.active{color:#fff}
    .related-zone .product-section{margin-top:16px}
    .related-zone .section-head-row{margin-bottom:10px}
    .related-zone .product-grid{background:#fff;padding:12px}
    .related-empty-link{display:block;text-align:center;padding:18px;color:var(--brand);font-weight:700}

    /* =========================================================
       PREMIUM UI v3: rounder shapes, glass header, micro-interactions
       ========================================================= */
    :root{
      --r-card:20px;
      --r-btn:14px;
      --r-panel:22px;
      --ring:0 0 0 4px rgba(40,116,240,.18);
      --shadow-soft:0 2px 10px rgba(20,30,60,.06);
      --shadow-lift:0 14px 34px rgba(20,30,60,.16);
    }
    button,a{-webkit-tap-highlight-color:transparent}
    button{transition:transform .15s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
    button:active{transform:scale(.97)}

    /* ---- Scroll progress ---- */
    .scroll-progress{
      position:fixed;left:0;top:0;height:3px;width:100%;z-index:1200;
      transform:scaleX(0);transform-origin:0 50%;
      background:linear-gradient(90deg,#ff9f00,#fb641b,#ff3d6e);
      pointer-events:none;
    }

    /* ---- Header ---- */
    .topbar{
      background:linear-gradient(135deg,#2874f0 0%,#1e63d6 60%,#1a5fd0 100%);
      box-shadow:0 8px 26px rgba(20,60,160,.28);
      border-radius:0 0 22px 22px;
      transition:transform .32s cubic-bezier(.4,0,.2,1),box-shadow .3s ease;
    }
    body.mobile-bars-hidden .topbar{transform:translateY(-118%);box-shadow:none;pointer-events:none}
    .topbar .brand-logo{border-radius:14px;box-shadow:0 3px 10px rgba(0,0,0,.18)}

    /* HEADER LOGO IMAGE (uploaded logo) */
    .brand{min-width:0}
    .brand-logo-img{
      display:block;
      height:54px;
      width:auto;
      max-width:240px;
      object-fit:contain;
      flex:0 0 auto;
      background:#fff;
      padding:0px 0px;
      border-radius:100px;
      box-shadow:0 3px 10px rgba(0,0,0,.18);
    }
    /* To show ONLY the logo (hide the text name next to it), remove the two slashes-stars around the next line */
    /* .brand-name{display:none !important} */
    @media (max-width:640px){
      .brand-logo-img{height:42px;max-width:160px;padding:3px 6px;border-radius:10px}
    }
    .topbar .searchbox input{
      border-radius:999px;padding:12px 42px 12px 20px;
      box-shadow:0 3px 12px rgba(0,0,0,.16);transition:box-shadow .2s ease;
    }
    .topbar .searchbox input:focus{box-shadow:var(--ring),0 3px 12px rgba(0,0,0,.16)}
    .topbar .nav-item{padding:8px 13px;border-radius:999px;transition:background .2s ease}
    .topbar .nav-item:hover{background:rgba(255,255,255,.16)}
    .topbar .location-pill{border-radius:999px}
    @media (min-width:761px){
      body.mobile-bars-hidden .whatsapp-float{transform:none;opacity:1;pointer-events:auto}
    }
    @media (max-width:760px){
      .nav-wish{display:none}
      .topbar{border-radius:0 0 18px 18px}
    }

    /* ---- Product card ---- */
    .pcard{
      position:relative;
      border-radius:var(--r-card);
      border:1px solid #edf0f6;
      padding:0 0 12px;
      overflow:hidden;
      box-shadow:var(--shadow-soft);
      animation:cardIn .5s cubic-bezier(.2,.7,.2,1) both;
    }
    @keyframes cardIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
    .pcard:hover{box-shadow:var(--shadow-lift);transform:translateY(-4px)}
    .pcard-image{border-radius:var(--r-card) var(--r-card) 0 0}
    .pcard:hover .pcard-image img{transform:scale(1.06)}
    .pcard-body{padding:12px 14px 0}
    .pcard-title{font-weight:700;font-size:13.5px}
    .pcard .post-date{display:none}
    .rating{border-radius:7px;padding:3px 8px}
    .pcard-badge{
      top:12px;left:0;border-radius:0 999px 999px 0;padding:4px 11px;
      font-size:10px;letter-spacing:.3px;
      background:rgba(255,255,255,.96);box-shadow:0 2px 8px rgba(0,0,0,.14);
    }
    .pcard-cart-btn{
      margin:12px 14px 0;width:calc(100% - 28px);
      border-radius:var(--r-btn);
      background:linear-gradient(135deg,#ff8a3d,#fb641b);
      padding:11px 10px;font-size:12px;letter-spacing:.4px;
      box-shadow:0 6px 16px rgba(251,100,27,.32);
    }
    .pcard-cart-btn:hover{background:linear-gradient(135deg,#fb641b,#e0530f);box-shadow:0 8px 20px rgba(251,100,27,.42)}

    /* wishlist heart */
    .wish-btn{
      position:absolute;top:10px;right:10px;z-index:6;
      width:36px;height:36px;border:0;border-radius:50%;
      background:rgba(255,255,255,.95);color:#8a8f9c;
      display:grid;place-items:center;font-size:17px;cursor:pointer;
      box-shadow:0 3px 12px rgba(0,0,0,.18);
    }
    .wish-btn:hover{color:#ff3d6e;transform:scale(1.08)}
    .wish-btn.on{color:#ff3d6e}
    .wish-btn.pop{animation:heartPop .4s ease}
    @keyframes heartPop{0%{transform:scale(1)}40%{transform:scale(1.4)}100%{transform:scale(1)}}
    .wish-post{top:14px;right:14px;width:42px;height:42px;font-size:20px}

    /* grids: leave room for the lift + shadow */
    .product-grid{padding:8px 6px 20px}
    .related-grid,.category-result .product-grid{padding:0}
    .category-result .product-grid{padding:18px 20px 24px}

    /* ---- Section headings, chips, arrows ---- */
    .section-title.row-heading-bar{
      border-radius:18px;border:1px solid #edf0f6;
      box-shadow:var(--shadow-soft);padding:12px 18px;
    }
    .section-title.row-heading-bar .row-heading-icon{border-radius:14px}
    .row-arrow{border-radius:50%;width:34px;height:34px;box-shadow:var(--shadow-soft)}
    .row-arrow:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
    .row-viewall{
      border:1px solid var(--brand);background:#fff;color:var(--brand);
      border-radius:999px;padding:6px 14px;font-size:12px;font-weight:800;cursor:pointer;
    }
    .row-viewall:hover{background:var(--brand);color:#fff}
    .filter-chip{
      border-radius:999px;padding:10px 18px;border:1px solid #e3e8f2;
      box-shadow:var(--shadow-soft);transition:all .2s ease;
    }
    .filter-chip:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-1px)}
    .filter-chip.active{background:linear-gradient(135deg,#2874f0,#1a5fd0);border-color:transparent;color:#fff;box-shadow:0 6px 16px rgba(40,116,240,.35)}
    .label{border-radius:999px}

    /* ---- Showcase ---- */
    .showcase{border-radius:26px}
    .showcase-card{border-radius:26px}
    .showcase-card img{border-radius:26px}
    .showcase-nav-arrow{
      width:40px;height:40px;background:rgba(255,255,255,.9);color:#1a1a1a;
      backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
      box-shadow:0 4px 14px rgba(0,0,0,.2);
    }
    .featured-badge{border-radius:999px;padding:5px 10px;font-size:10px}
    .spotlight-badge{border-radius:999px;padding:6px 12px}
    .hero-heading h1{letter-spacing:-.8px}

    /* ---- Post page ---- */
    .crumbs{
      display:flex;flex-wrap:wrap;align-items:center;gap:6px;
      margin:0 2px 14px;font-size:12.5px;color:#878787;
    }
    .crumbs a{color:var(--brand);font-weight:700}
    .crumbs b{color:#333;font-weight:600;max-width:60vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .single-product{border-radius:var(--r-panel);box-shadow:var(--shadow-soft);border:1px solid #edf0f6}
    .single-product .product-slider{border-radius:0}
    @media (min-width:900px){
      .single-product .product-slider{border-radius:var(--r-panel) 0 0 var(--r-panel)}
    }
    .planning-box{border-radius:20px;background:linear-gradient(180deg,#fff,#f7faff);border:1px solid #e3ecfb}
    .add-to-cart-btn{
      border-radius:var(--r-btn);
      background:linear-gradient(135deg,#ff8a3d,#fb641b);
      box-shadow:0 8px 22px rgba(251,100,27,.34);
    }
    .add-to-cart-btn:hover{background:linear-gradient(135deg,#fb641b,#e0530f)}
    .see-reviews-btn{border-radius:var(--r-btn)}
    .plan-field input,.plan-field select{border-radius:12px}
    .share-btn{
      margin:2px 0 8px;border:1px solid #dfe5f1;background:#fff;color:#333;
      border-radius:999px;padding:7px 14px;font-size:12px;font-weight:700;cursor:pointer;
    }
    .share-btn:hover{border-color:var(--brand);color:var(--brand)}

    .related-block,.related-cats{border-radius:var(--r-panel);border:1px solid #edf0f6;box-shadow:var(--shadow-soft)}
    .related-zone .product-grid{border-radius:20px}
    .related-more{border-radius:999px;padding:11px 30px}
    .sk-img{border-radius:var(--r-card) var(--r-card) 0 0}

    /* ---- Popup / cart panel ---- */
    .category-result-dialog{border-radius:26px}
    .category-result .category-close{border-radius:50%}
    #cart-box{border-radius:22px}
    #cart-float{border-radius:999px}
    .empty-state{border-radius:18px}

    /* ---- Toast ---- */
    .toast{
      position:fixed;left:50%;bottom:96px;z-index:7000;
      transform:translate(-50%,20px);opacity:0;pointer-events:none;
      background:#1f2430;color:#fff;font-size:13px;font-weight:700;
      padding:12px 20px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.3);
      transition:transform .3s ease,opacity .3s ease;max-width:88vw;text-align:center;
    }
    .toast.show{transform:translate(-50%,0);opacity:1}

    /* ---- Back to top ---- */
    .to-top{
      position:fixed;right:18px;bottom:150px;z-index:5700;
      width:44px;height:44px;border:0;border-radius:50%;
      background:#fff;color:var(--brand);font-size:26px;line-height:1;
      display:grid;place-items:center;cursor:pointer;
      box-shadow:0 6px 20px rgba(0,0,0,.22);
      opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;
      transition:opacity .25s ease,transform .25s ease,bottom .25s ease;
    }
    .to-top.show{opacity:1;transform:none;pointer-events:auto}
    .to-top:hover{background:var(--brand);color:#fff}

    /* ---- Sticky buy bar (mobile, post page) ---- */
    .sticky-buy{display:none}
    @media (max-width:760px){
      .to-top{right:14px;bottom:144px}
      body.mobile-bars-hidden .to-top{bottom:20px}
      body.is-post-page{padding-bottom:140px}
      body.is-post-page .to-top{bottom:212px}
      body.is-post-page.mobile-bars-hidden .to-top{bottom:88px}
      body.is-post-page .whatsapp-float{bottom:148px}
      .sticky-buy{
        position:fixed;left:0;right:0;bottom:68px;z-index:5790;
        display:none;align-items:center;gap:12px;
        padding:10px 14px;
        background:rgba(255,255,255,.96);
        backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
        border-top:1px solid #e7e7e7;border-radius:20px 20px 0 0;
        box-shadow:0 -8px 24px rgba(0,0,0,.1);
        transition:bottom .28s ease;
      }
      body.is-post-page .sticky-buy{display:flex}
      body.mobile-bars-hidden .sticky-buy{bottom:0;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
      .sticky-price{flex:1 1 auto;min-width:0;font-size:16px;font-weight:800;line-height:1.2}
      .sticky-price .price-mrp{display:block;margin:0;font-size:11px}
      .sticky-price .price-off{margin-left:0;font-size:11px}
      .sticky-add{width:auto;flex:0 0 auto;padding:12px 26px;font-size:14px;border-radius:14px}
      .toast{bottom:150px}
      body.is-post-page .toast{bottom:210px}
    }
    @media (prefers-reduced-motion:reduce){
      .pcard{animation:none !important}
    }


    /* =====================================================================
       FIXES (v2)
       ===================================================================== */

    /* FIX 1 - "See all" / category popup cards were squeezed to ~30px.
       The horizontal-row rule  .product-grid .pcard{max-width:calc((100% - 64px)/5)}
       also matched cards inside the popup, where 100% is one small grid cell.
       These rules are more specific and use !important so nothing above can
       shrink the popup cards again. */
    .category-result .product-grid{
      display:grid !important;
      grid-template-columns:repeat(5,minmax(0,1fr)) !important;
      gap:16px !important;
      grid-auto-rows:max-content;   /* rows grow to fit the whole card (no overlap) */
      align-content:start;
      align-items:start;
      overflow-x:hidden;
      overflow-y:auto;
    }
    .category-result .product-grid .pcard,
    #categoryResultGrid .pcard{
      flex:none !important;
      width:100% !important;
      max-width:none !important;
      min-width:0 !important;
      align-self:start;
      box-sizing:border-box;
    }
    .category-result .product-grid .pcard .pcard-link{width:100%;min-width:0}
    .category-result .product-grid .pcard .pcard-body{min-width:0}
    .category-result .product-grid .pcard .pcard-cart-btn{
      writing-mode:horizontal-tb;
      white-space:nowrap;
    }
    .category-result .product-grid .empty-state{grid-column:1 / -1}
    @media (max-width:1100px){
      .category-result .product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
    }
    @media (max-width:900px){
      .category-result .product-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important}
    }
    @media (max-width:640px){
      .category-result .product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important;padding:12px !important}
    }
    @media (max-width:340px){
      .category-result .product-grid{grid-template-columns:1fr !important}
    }

    /* FIX 2 - cart panel, toast and login popup were BEHIND the category
       popup (z-index 99999) when the popup was open. */
    body.category-popup-open #cart-box,
    body.category-popup-open #cart-float{z-index:100001}
    body.category-popup-open .app-modal,
    body.category-popup-open #reviewModal{z-index:100002}
    body.category-popup-open .toast{z-index:100003}

    /* Add-to-cart button turns into "Go to cart" once the item is in the cart */
    .add-to-cart-btn.in-cart{
      background:linear-gradient(135deg,#1fa85a,#159447) !important;
      box-shadow:0 6px 16px rgba(21,148,71,.32) !important;
    }

    /* FIX 3 - product video slide on the product page */
    .product-slide.product-video-slide{background:#000}
    .product-video-slide video,
    .product-video-slide iframe{
      width:100%;height:100%;border:0;display:block;background:#000;object-fit:contain;
    }
    .video-sound-btn{
      position:absolute;right:12px;bottom:12px;z-index:5;
      width:40px;height:40px;border:0;border-radius:50%;
      background:rgba(0,0,0,.62);color:#fff;font-size:18px;cursor:pointer;
      display:grid;place-items:center;
    }

    /* FIX 4 - "Proceed to Payment" could not be clicked: the cart panel
       (z-index 2100) sat UNDER the sticky "Go to cart" bar (5790), the mobile
       bottom nav (5800), the WhatsApp and back-to-top buttons (5700+).
       The open cart now sits above them, and those floating buttons step
       aside while the cart is open (body.cart-open is set from JS). */
    #cart-box.active{z-index:5950}
    body.cart-open .sticky-buy,
    body.cart-open .whatsapp-float,
    body.cart-open .to-top{
      opacity:0 !important;visibility:hidden !important;pointer-events:none !important;
    }
    #cart-box{scroll-padding-bottom:16px}
    #cart-box .checkout{position:relative;z-index:1;margin-bottom:2px}

    /* Related cards that fill empty space at the end of a row / grid */
    .pcard[data-filler]{animation:none}


    /* =========================================================
       COMPACT MOBILE HEADER (one slim row: logo + search + saved)
       Cart / Account / Orders / Profile live in the bottom bar.
       ========================================================= */
    @media (max-width:760px){
      .topbar{border-radius:0 0 14px 14px;box-shadow:0 3px 12px rgba(20,60,160,.25)}
      /* Two slim rows: [logo + BRAND NAME ........ saved] / [search] */
      .topbar .topbar-inner{
        height:auto;
        min-height:0;
        padding:8px 10px 10px;
        gap:8px;
        flex-wrap:wrap;
        align-items:center;
      }
      .topbar .brand{order:1;flex:1 1 0;min-width:0;gap:8px}
      .topbar .brand-name{
        display:block !important;
        flex:1 1 auto;min-width:0;max-width:none;
        overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
        font-size:17px;font-weight:800;letter-spacing:.2px;color:#fff;
      }
      .topbar .brand-logo{width:34px;height:34px;font-size:17px;border-radius:10px}
      .topbar .brand-logo-img{height:34px;max-width:96px;padding:0px 0px;border-radius:100px}
      .topbar .searchbox{order:3;flex:1 1 100%;min-width:0;max-width:none;margin:0}
      .topbar .searchbox input{padding:9px 34px 9px 14px;font-size:13px}
      .topbar .nav-actions{order:2;margin-left:auto;gap:0;flex:0 0 auto}
      .topbar #nav-account,.topbar #nav-cart{display:none}
      .topbar .nav-wish{font-size:0;gap:0;padding:6px 8px}
      .topbar .nav-wish .nav-icon{font-size:22px}
      /* Help Center button (phones only) */
      .topbar .nav-help{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.18);font-size:12px;font-weight:800;line-height:1;margin-right:4px}
      .topbar .nav-help .fa{font-size:17px;color:#fff}
      .topbar .nav-help:active{background:rgba(255,255,255,.32)}
    }
    .nav-help{display:none}

    /* =====================================================================
       POST PAGE v3 - product detail layout
       rating row, price badge, stock chip, qty + Add to cart + Buy it now,
       delivery tracker, offer banner + countdown, accordions
       ===================================================================== */
    .single-product{--pd-maroon:#1a73e8;--pd-maroon-dark:#228a54;--pd-gold:#c9973f;--pd-green:#138a3d}
    .single-product .wish-post{display:none}
    .single-product .product-details{padding:18px 16px 24px}
    @media (min-width:900px){ .single-product .product-details{padding:24px 28px} }

    .pd-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
    .single-product .product-title{margin:0;font-size:20px;font-weight:600;line-height:1.35;color:#1d1d1d;letter-spacing:0}
    .single-product .pd-share{flex:0 0 auto;width:34px;height:34px;margin:0;padding:0;border:0;background:none;box-shadow:none;border-radius:50%;color:#777;font-size:20px;display:grid;place-items:center}
    .single-product .pd-share:hover{border:0;color:var(--pd-maroon)}

    .pd-rating{display:inline-flex;align-items:center;gap:8px;margin:8px 0 12px;padding:0;border:0;background:none;cursor:pointer;font-size:13px;color:#222}
    .pd-stars{color:#f5a300;font-size:16px;white-space:nowrap}
    .pd-stars .fa{margin-right:2px}
    .single-product .reviews-panel{margin:0 0 14px}

    .single-product .pd-price{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 14px;font-weight:400}
    .pd-price .price-mrp{order:1;margin:0;font-size:14px;color:#777}
    .pd-price .price-current{order:2;font-size:22px;font-weight:700;color:#d1202a}
    .pd-price .price-off{order:3;margin:0;padding:2px 7px;border-radius:3px;background:var(--pd-maroon);color:#fff;font-size:11px;font-weight:700}
    .pd-price small{order:4;display:inline;margin:0;font-size:12px;font-weight:400;color:#444}

    .pd-stock{display:inline-flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 16px;padding:6px 10px;border:1px solid #f1c9cc;background:#fff6f6;border-radius:999px;font-size:13px;color:#222}
    .pd-stock[hidden]{display:none}
    .pd-stock-ico{width:26px;height:26px;border-radius:50%;background:var(--pd-maroon);color:#fff;display:grid;place-items:center;font-size:12px}
    .pd-stock b{color:var(--pd-maroon)}
    .pd-hot{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;background:#c9802c;color:#fff;font-size:10px;font-weight:800;letter-spacing:.3px}
    .pd-stock.out{border-color:#ddd;background:#f5f5f5;color:#555}
    .pd-stock.out .pd-stock-ico{background:#888}

    .pd-buy-row{display:flex;align-items:center;gap:10px}
    .pd-qty{display:flex;align-items:center;flex:0 0 auto;height:46px;padding:0 4px;background:#f3f3f3;border:1px solid #e3e3e3;border-radius:999px}
    .pd-qty button{width:32px;height:38px;border:0;background:none;font-size:18px;color:#333;cursor:pointer}
    .pd-qty input{width:34px;padding:0;border:0;background:none;text-align:center;font-size:14px;outline:none;-moz-appearance:textfield}
    .pd-qty input::-webkit-outer-spin-button,.pd-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
    .single-product .pd-add{flex:1 1 auto;width:auto;height:46px;margin:0;padding:0 16px;border:0;border-radius:999px;background:#00639b;color:#fff;font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;box-shadow:none}
    .single-product .pd-add:hover{background:#277d5a}
    .single-product .pd-wish{position:static;flex:0 0 auto;width:46px;height:46px;border:1px solid #cfcfcf;background:#fff;box-shadow:none;font-size:18px;color:#ff3d6e}
    .pd-buynow{display:block;width:100%;height:46px;margin-top:12px;border:0;border-radius:999px;background:var(--pd-maroon);color:#fff;font-size:12px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;cursor:pointer}
    .pd-buynow:hover{background:var(--pd-maroon-dark)}
    .pd-buynow:disabled,.single-product .pd-add:disabled{opacity:.55;cursor:not-allowed}

    .pd-track{position:relative;display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 18px;text-align:center}
    .pd-track::before{content:'';position:absolute;left:0;right:0;top:14px;height:3px;background:var(--pd-maroon)}
    .pd-step{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:5px}
    .pd-step-ico{width:30px;height:30px;border-radius:50%;background:var(--pd-maroon);color:#fff;display:grid;place-items:center;font-size:13px;box-shadow:0 0 0 4px #fff}
    .pd-step b{font-size:11px;letter-spacing:.3px;color:#111;text-transform:uppercase}
    .pd-step > span:not(.pd-step-ico){font-size:11px;font-weight:700;color:var(--pd-green)}
    .pd-step small{font-size:10px;color:#777}

    .pd-offer{display:flex;align-items:stretch;min-height:68px;margin:0 0 18px;border:1px solid #efdcc0;border-radius:10px;overflow:hidden;background:linear-gradient(90deg,#fff8ec,#fdeed6)}
    .pd-offer[hidden],.pd-timer[hidden]{display:none}
    .pd-offer-ico{flex:0 0 62px;display:grid;place-items:center;background:linear-gradient(160deg,#8a0f22,#5e0a17)}
    .pd-offer-ico span{width:34px;height:34px;border-radius:50%;border:2px solid #d9b26a;background:#a8742b;color:#fff;display:grid;place-items:center;font-size:15px}
    .pd-offer-txt{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 10px;text-align:center}
    .pd-offer-txt strong{font-size:22px;font-weight:800;letter-spacing:.5px;line-height:1.1;color:#0b57d0;background:linear-gradient(90deg,#c9973f,#8a0f22);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
    .pd-offer-txt em{margin-top:4px;font-size:10.5px;font-style:normal;font-weight:600;color:#8a0f22}

    .pd-timer{margin:0 0 20px;text-align:center}
    .pd-timer-title{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;font-size:12px;font-weight:800;letter-spacing:.6px;color:#7a1024;text-transform:uppercase}
    .pd-timer-title .fa{color:var(--pd-gold);font-size:15px}
    .pd-timer-boxes{display:flex;align-items:flex-start;justify-content:center;gap:8px}
    .pd-unit{display:flex;flex-direction:column;align-items:center;gap:6px}
    .pd-pair{display:flex;gap:4px}
    .pd-pair .d{width:28px;height:38px;border-radius:5px;background:linear-gradient(180deg,#8a0f22,#5e0a17);color:#f3dcb0;display:grid;place-items:center;font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
    .pd-unit em{font-size:9px;font-style:normal;font-weight:700;letter-spacing:.8px;color:#9a7b5a}
    .pd-colon{height:38px;display:grid;place-items:center;font-size:20px;font-weight:700;color:#7a1024}

    .pd-acc{margin:6px 0 10px}
    .acc-item{margin-bottom:8px}
    .acc-head{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:40px;padding:8px 14px;border:0;border-radius:4px;background:#e3e3e3;color:#111;font-size:13.5px;font-weight:500;text-align:left;cursor:pointer}
    .acc-head:hover{background:#dadada}
    .acc-ico{position:relative;width:14px;height:14px;flex:0 0 auto}
    .acc-ico::before,.acc-ico::after{content:'';position:absolute;left:50%;top:50%;background:#333;transform:translate(-50%,-50%);transition:transform .2s}
    .acc-ico::before{width:14px;height:1.6px}
    .acc-ico::after{width:1.6px;height:14px}
    .acc-head[aria-expanded='true'] .acc-ico::after{transform:translate(-50%,-50%) scaleY(0)}
    .acc-body{padding:14px 14px 6px;font-size:14px;line-height:1.65;color:#444}
    .acc-body[hidden]{display:none}
    .acc-body ul{margin:0;padding-left:18px}
    .acc-body li{margin-bottom:6px}
    .acc-body p{margin:0 0 8px}

    /* =========================================================
       v9  SHOWCASE - responsive, whole product visible, rounded
       Card = [ image stage ][ info bar ]. The product photo is sized
       to fit the stage (never cropped/zoomed) and keeps rounded
       corners because the <img> shrinks to the real picture size.
       ========================================================= */
    .showcase-card{
      height:clamp(380px, 34vw, 500px);
      display:flex;flex-direction:column;
      background:#111827;border:0;border-radius:26px;overflow:hidden;
    }
    .showcase-card::after{display:none}
    .showcase-card .showcase-image-wrapper{
      position:relative;inset:auto;
      flex:1 1 auto;min-height:0;width:100%;height:auto;overflow:hidden;
    }
    .showcase-card img.showcase-bg{
      position:absolute;inset:0;z-index:0;
      width:100%;height:100%;object-fit:cover;border-radius:0;background:none;
      filter:blur(26px) brightness(.72) saturate(1.2);transform:scale(1.35);
    }
    .showcase-card img.showcase-fg{
      position:absolute;inset:14px;margin:auto;z-index:1;
      width:auto;height:auto;
      max-width:calc(100% - 28px);max-height:calc(100% - 28px);
      object-fit:contain;background:none;
      border-radius:22px;
      box-shadow:0 12px 30px rgba(0,0,0,.42);
    }
    .showcase-info{
      flex:0 0 auto;position:relative;z-index:2;
      padding:10px 16px 14px;color:#fff;
      background:linear-gradient(180deg,rgba(0,0,0,.50),rgba(0,0,0,.86));
    }
    .showcase-info .showcase-title{
      position:static;left:auto;right:auto;bottom:auto;
      margin:0 0 8px;font-size:17px;font-weight:800;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
      text-shadow:none;
    }
    .showcase-info .showcase-footer{
      position:static;left:auto;right:auto;bottom:auto;
      display:flex;align-items:center;justify-content:space-between;
    }
    .showcase-card .featured-badge{z-index:3}
    @media (max-width:760px){
      .showcase-card,#showcase .showcase-card{height:min(118vw, 470px)}
      .showcase-card img.showcase-fg{
        inset:10px;max-width:calc(100% - 20px);max-height:calc(100% - 20px);border-radius:18px;
      }
      .showcase-info{padding:8px 12px 12px}
      .showcase-info .showcase-title{font-size:14px;margin-bottom:6px}
    }

    /* =========================================================
       v9  CATEGORY PAGE (page mode, no popup)
       ========================================================= */
    body.cat-page-open .hero-heading,
    body.cat-page-open #showcaseColumns,
    body.cat-page-open #product-posts,
    body.cat-page-open #feedNote,
    body.cat-page-open #pager{display:none !important}
    .category-page{margin:4px 0 30px}
    .category-page[hidden]{display:none}
    .cp-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px;
      font-size:13px;font-weight:700;color:#6b7280;margin:6px 0 10px}
    .cp-crumbs a{color:#2874f0;text-decoration:none}
    .cp-crumbs .sep{opacity:.5}
    .cp-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}
    .cp-head h1{margin:0;font-size:28px;line-height:1.15;letter-spacing:-.6px}
    .cp-head span{font-size:13px;font-weight:700;color:#6b7280;white-space:nowrap}
    .cp-tree{display:grid;gap:12px;margin-bottom:20px}
    .cp-group{background:#fff;border:1px solid #e3e8f2;border-radius:18px;padding:12px 14px;
      box-shadow:0 2px 10px rgba(20,60,160,.06)}
    .cp-group-title{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;
      font-size:16px;font-weight:800;color:#111827;text-decoration:none}
    .cp-group-title small{font-size:11px;font-weight:800;color:#6b7280;background:#f1f3f9;
      border-radius:999px;padding:2px 8px}
    .cp-group-title.active{color:#2874f0}
    .cp-chips{display:flex;flex-wrap:wrap;gap:8px}
    .cp-chip{display:inline-flex;align-items:center;gap:6px;text-decoration:none;
      background:#f4f6fb;border:1px solid #e3e8f2;border-radius:999px;
      padding:8px 14px;font-size:13px;font-weight:700;color:#1f2937;
      transition:background .15s ease,border-color .15s ease}
    .cp-chip:hover{border-color:#2874f0;color:#2874f0}
    .cp-chip small{font-size:11px;font-weight:800;opacity:.6}
    .cp-chip.is-empty{opacity:.5}
    .cp-chip.active{background:#2874f0;border-color:#2874f0;color:#fff}
    .cp-chip.active small{opacity:.9}
    .cp-more{display:block;margin:18px auto 0;padding:11px 26px;border-radius:999px;
      border:1px solid #2874f0;background:#fff;color:#2874f0;font-size:14px;font-weight:800;cursor:pointer}
    .cp-more:hover{background:#2874f0;color:#fff}
    .cp-more[hidden]{display:none}
    .category-page .product-grid{
      display:grid !important;
      grid-template-columns:repeat(5,minmax(0,1fr)) !important;
      gap:16px !important;
      grid-auto-rows:max-content;align-content:start;align-items:start;
      overflow:visible;padding:4px 0 16px;
    }
    .category-page .product-grid .pcard{
      flex:none !important;width:100% !important;max-width:none !important;min-width:0 !important;
      align-self:start;box-sizing:border-box;
    }
    .category-page .product-grid .pcard .pcard-link{width:100%;min-width:0}
    .category-page .product-grid .pcard .pcard-body{min-width:0}
    .category-page .product-grid .pcard .pcard-cart-btn{writing-mode:horizontal-tb;white-space:nowrap}
    .category-page .product-grid .empty-state{grid-column:1 / -1}
    @media (max-width:1100px){.category-page .product-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important}}
    @media (max-width:900px){.category-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important}}
    @media (max-width:640px){
      .category-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}
      .cp-head h1{font-size:22px}
      .cp-group{padding:10px 12px;border-radius:16px}
      .cp-chip{padding:7px 12px;font-size:12px}
    }

    /* =========================================================
       v11  FLIPKART-STYLE MOBILE BOTTOM NAV + ALL CATEGORIES SCREEN
       ========================================================= */
    .mobile-bottom-nav{background:#fff;border-top:1px solid #e0e0e0;box-shadow:0 -2px 8px rgba(0,0,0,.06);padding:6px 4px calc(6px + env(safe-area-inset-bottom));backdrop-filter:none;-webkit-backdrop-filter:none}
    .mobile-bottom-item{position:relative;flex:1 1 25%;gap:4px;font-size:12px;font-weight:500;color:#5f6368;border-radius:0}
    .mobile-bottom-item svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
    .mobile-bottom-item.active{color:var(--brand,#2874f0);font-weight:700}
    .mobile-bottom-item.active[data-mobile-nav='categories'] svg rect{fill:currentColor}
    .mobile-bottom-item .mobile-nav-badge{position:absolute;top:1px;left:50%;margin:0 0 0 6px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#ff6161;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-sizing:border-box}

    .cats-screen{display:none;position:fixed;left:0;right:0;top:0;bottom:68px;z-index:5795;background:#fff;flex-direction:column}
    .cats-screen:not([hidden]){display:flex}
    @media(min-width:761px){.cats-screen,.cats-screen:not([hidden]){display:none !important}body.cats-open{overflow:auto}}
    body.cats-open{overflow:hidden}
    .cats-head{flex:0 0 auto;height:56px;display:flex;align-items:center;gap:2px;padding:0 6px;background:#fff;border-bottom:1px solid #eee}
    .cats-head h2{flex:1;margin:0 0 0 10px;font-size:19px;font-weight:500;color:#212121;letter-spacing:0}
    .cats-icon-btn{position:relative;width:44px;height:44px;border:0;background:transparent;color:#212121;display:grid;place-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
    .cats-icon-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
    .cats-badge{position:absolute;top:4px;right:2px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#ff6161;color:#fff;font-size:10px;font-weight:700;line-height:16px;text-align:center;box-sizing:border-box;display:none}
    .cats-body{flex:1 1 auto;display:flex;min-height:0}
    .cats-side{flex:0 0 24%;min-width:84px;max-width:104px;overflow-y:auto;background:#f1f4f9;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
    .cats-side::-webkit-scrollbar{display:none}
    .cats-side-item{position:relative;display:block;width:100%;border:0;background:transparent;padding:12px 4px 11px;text-align:center;cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent}
    .cats-side-item::after{content:'';position:absolute;left:12px;right:12px;bottom:0;height:1px;background:#dfe4ec}
    .cats-side-thumb{position:relative;width:48px;height:48px;margin:0 auto 6px;border-radius:50%;overflow:hidden;background:#e3ebfc;color:var(--brand,#2874f0);display:grid;place-items:center;font-size:22px}
    .cats-side-label{display:block;font-size:12px;line-height:1.25;font-weight:500;color:#7d8aa3;word-break:break-word}
    .cats-side-item.active{background:#fff}
    .cats-side-item.active::before{content:'';position:absolute;left:0;top:14px;bottom:14px;width:4px;border-radius:0 4px 4px 0;background:var(--brand,#2874f0)}
    .cats-side-item.active::after{display:none}
    .cats-side-item.active .cats-side-label{color:var(--brand,#2874f0);font-weight:700}
    .cats-main{flex:1 1 auto;min-width:0;overflow-y:auto;padding:12px 12px 28px;background:#fff;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
    .cats-section{margin-bottom:22px}
    .cats-sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:6px 0 12px}
    .cats-sec-head h3{margin:0;font-size:17px;font-weight:600;color:#212121;letter-spacing:0}
    .cats-viewall{font-size:12px;font-weight:700;color:var(--brand,#2874f0);text-decoration:none;white-space:nowrap}
    .cats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 10px}
    .cats-tile{display:block;min-width:0;border:0;padding:0;background:none;text-align:center;text-decoration:none;color:#212121;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
    .cats-tile-img{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1 / 1;border-radius:16px;overflow:hidden;background:#eef3ff;color:var(--brand,#2874f0);font-size:30px}
    .cats-tile-img img,.cats-side-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
    .cats-tile-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;font-size:12px;line-height:1.3;font-weight:500;color:#212121}
    .cats-empty{padding:30px 10px;text-align:center;color:#878787;font-size:13px}

    /* ===== v14: colourful bottom-nav icons ===== */
    .mobile-bottom-item svg{fill:currentColor;fill-opacity:.16;stroke-width:1.8}
    .mobile-bottom-item.active svg{fill-opacity:.32}
    .mobile-bottom-item[data-mobile-nav='home']{color:#f97316}
    .mobile-bottom-item[data-mobile-nav='categories']{color:#8b5cf6}
    .mobile-bottom-item[data-mobile-nav='account']{color:#0ea5e9}
    .mobile-bottom-item[data-mobile-nav='cart']{color:#10b981}
    .mobile-bottom-item span:not(.mobile-nav-badge){color:#5f6368}
    .mobile-bottom-item.active span:not(.mobile-nav-badge){color:currentColor}
    .mobile-bottom-item.active[data-mobile-nav='categories'] svg rect{fill-opacity:.9}

    /* ===== v14: colourful category icons + endless category list ===== */
    .cats-emoji{font-family:'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;font-style:normal;line-height:1}
    .cats-side-thumb{font-size:24px;color:inherit;box-shadow:0 1px 3px rgba(0,0,0,.12)}
    .cats-tile-img{font-size:36px;box-shadow:0 1px 4px rgba(0,0,0,.10)}
    .cats-main{padding-top:0}
    .cats-block{margin-bottom:6px}
    .cats-block-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;gap:8px;margin:0 -12px 12px;padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.06)}
    .cats-block-head h2{flex:1;margin:0;font-size:16px;font-weight:700;color:#212121;letter-spacing:0}
    .cats-block-emoji{font-size:20px}
    .cats-block .cats-sec-head h3{font-size:14px}

    /* ===== v14: size dropdown + measurements on the product page ===== */
    .pd-size{margin:0 0 14px}
    .pd-size-row{display:flex;align-items:center;gap:10px}
    .pd-size-row label{font-size:13px;font-weight:800;color:#212121;min-width:34px}
    .pd-size-row select{flex:1;max-width:220px;padding:10px 12px;border:1px solid #d0d0d0;border-radius:8px;background:#fff;font-size:14px;font-weight:600;color:#212121}
    .pd-size-row select:focus{outline:none;border-color:var(--brand,#2874f0)}
    .pd-size.has-error select{border-color:#d64545;background:#fff6f6}
    .pd-size-err{margin-top:6px;font-size:12px;font-weight:700;color:#d64545}

    /* ===== v27: colour swatches + Product Details table ===== */
    .pd-color{margin:0 0 14px}
    .pd-color-head{font-size:13px;font-weight:800;color:#212121;margin-bottom:8px}
    .pd-color-head b{font-weight:600;color:#555;margin-left:4px}
    .pd-swatches{display:flex;flex-wrap:wrap;gap:8px}
    .pd-sw{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 7px;border:1.5px solid #d0d0d0;border-radius:999px;background:#fff;color:#212121;font-size:13px;font-weight:600;cursor:pointer;line-height:1}
    .pd-sw i{display:block;width:20px;height:20px;border-radius:50%;border:1px solid rgba(0,0,0,.18);background:#e5e7eb}
    .pd-sw:hover{border-color:#8a8a8a}
    .pd-sw[aria-checked='true']{border-color:var(--brand,#2874f0);box-shadow:0 0 0 2px rgba(40,116,240,.18)}
    .pd-color.has-error .pd-swatches{outline:1px solid #d64545;outline-offset:4px;border-radius:10px}
    .pd-specs{width:100%;border-collapse:collapse;font-size:13px}
    .pd-specs th,.pd-specs td{padding:9px 10px;text-align:left;vertical-align:top;border-bottom:1px solid #ececec}
    .pd-specs th{width:40%;color:#555;font-weight:700;background:#fafafa}
    .pd-specs td{color:#212121;word-break:break-word}
    .pd-measure{margin:0 0 14px;border:1px solid #e6e6e6;border-radius:10px;padding:10px 12px;background:#fafafa}
    .pd-measure strong{display:block;font-size:12px;font-weight:800;margin-bottom:6px;color:#212121}
    .pd-measure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;font-size:12px;color:#444}
    .pd-measure-grid span b{color:#212121;font-weight:700}

    /* =========================================================
       v15  MOBILE CATEGORIES SCREEN  - left list + sections with product-photo tiles
       (overrides the v11 / v14 rules above)
       ========================================================= */
    .cats-head{height:52px;padding:0 6px 0 16px;gap:0;border-bottom:1px solid #ececec;box-shadow:0 1px 4px rgba(0,0,0,.05)}
    .cats-head h2{flex:1;margin:0;font-size:15px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:#212121}
    .cats-icon-btn{width:42px;height:42px}
    .cats-side{flex:0 0 23%;min-width:80px;max-width:100px;background:#f4f5f9}
    .cats-side-item{padding:13px 3px 11px}
    .cats-side-item::after{left:0;right:0;background:#e2e5ee}
    .cats-side-thumb{width:52px;height:52px;margin:0 auto 6px;background:#e9ecf4;box-shadow:none;font-size:25px}
    .cats-side-label{font-size:12px;line-height:1.25;font-weight:400;color:#6b7280}
    .cats-side-item.active::before{top:0;bottom:0;border-radius:0;width:4px}
    .cats-side-item.active .cats-side-label{font-weight:600}
    .cats-main{padding:0 14px 30px;background:#fff}
    .cats-crumb{display:flex;align-items:center;gap:10px;padding:14px 0 4px;font-size:12px;font-weight:500;letter-spacing:.6px;text-transform:uppercase;color:#6b7280}
    .cats-crumb::after{content:'';flex:1;height:1px;background:#d9dce6}
    .cats-section{margin-bottom:12px}
    .cats-sec-head{margin:12px 0 10px}
    .cats-sec-head h3{font-size:18px;font-weight:700;color:#1f1f1f}
    .cats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 10px}
    .cats-tile{display:block;min-width:0}
    .cats-tile-img{aspect-ratio:3 / 4;border-radius:10px;box-shadow:none;font-size:34px;background:#f1f2f6}
    .cats-tile-img img{object-fit:cover;object-position:center top}
    .cats-tile-label{margin-top:6px;font-size:13px;line-height:1.25;font-weight:400;color:#424242}
    .cats-tile:active .cats-tile-img{opacity:.85}

  
    /* =========================================================
       MOBILE FULL-PAGE TABS (Account + Cart)  - no popup on phones
       The bottom nav stays visible; the page fills the space above it.
       ========================================================= */
    .fy-page-back{display:none}
    .fy-exit-toast{position:fixed;left:50%;bottom:92px;transform:translateX(-50%);z-index:100010;background:rgba(17,17,17,.92);color:#fff;font-size:13px;padding:10px 16px;border-radius:22px;box-shadow:0 6px 18px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s;white-space:nowrap}
    .fy-exit-toast.show{opacity:1}
    @media(max-width:760px){
      body.fy-layer-open{overflow:hidden}
      body.fy-layer-open #universalBack{display:none !important}

      .fy-page-back{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:38px;height:38px;border:0;border-radius:50%;background:#f1f1f1;color:#111;cursor:pointer;padding:0}
      .fy-page-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

      /* ---- ACCOUNT: full page ---- */
      #accountModal.app-modal{inset:0 0 68px 0 !important;padding:0 !important;background:#fff !important;align-items:stretch;justify-content:stretch;z-index:5795 !important}
      #accountModal .app-modal-card{width:100% !important;max-width:none !important;height:100% !important;max-height:none !important;border-radius:0 !important;box-shadow:none !important;padding:0 16px 28px !important;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
      #accountModal .app-modal-head{position:sticky;top:0;z-index:5;background:#fff;margin:0 -16px 14px !important;padding:10px 16px;border-bottom:1px solid #eee;align-items:center;justify-content:flex-start;gap:12px}
      #accountModal .app-modal-head h3{font-size:19px}
      #accountModal .app-close{display:none !important}

      /* ---- CART: full page ---- */
      #cart-box{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:68px !important;width:100% !important;max-width:none !important;max-height:none !important;border-radius:0 !important;box-shadow:none !important;transform:none !important;padding:0 14px 28px !important;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
      #cart-box.active{z-index:5797 !important}
      #cart-box .cart-head{position:sticky;top:0;z-index:5;background:#fff;margin:0 -14px 12px !important;padding:10px 14px;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:flex-start;gap:12px}
      #cart-box .cart-close{display:none !important}
    }

  
    /* Order tracking shown inside the order card */
    .order-track-inline{margin-top:10px;padding:10px 12px;border:1px solid #cfe9d9;background:#f3fbf6;border-radius:12px}
    .order-track-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:4px}
    .order-track-x{border:0;background:#fff;border-radius:50%;width:26px;height:26px;font-size:17px;line-height:1;cursor:pointer;color:#444}
    .order-track-inline .tracking-stage{margin:4px 0}
  
    /* ===== MY ORDERS: responsive cards, full text, review button always visible ===== */
    .orders-panel,.tracking-panel,#ordersList{min-width:0;max-width:100%;box-sizing:border-box}
    .orders-list{grid-template-columns:minmax(0,1fr)}
    .order-mini{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;word-break:break-word}
    .order-mini-top{flex-wrap:wrap;align-items:flex-start}
    .order-mini-top > span:first-child{flex:1 1 150px}
    .order-mini-top > span:last-child{flex:0 0 auto}
    .order-mini-meta{font-size:11px;overflow-wrap:anywhere}
    .order-mini-actions{flex-wrap:wrap;align-items:center}
    .order-mini-actions button{flex:0 0 auto}
    .order-mini-actions .order-cancel-btn{white-space:normal;text-align:left;max-width:100%}
    .order-mini-actions .order-cancel-note,
    .order-mini-actions .order-refund-status{flex:1 1 100%;margin-top:2px}
    .order-mini-item{flex-wrap:wrap;align-items:center;min-width:0}
    .order-mini-item-name{flex:1 1 150px;min-width:0;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;overflow-wrap:anywhere;line-height:1.4}
    .order-mini-item .review-submit-btn{flex:0 0 auto;margin-left:auto;display:inline-block !important;visibility:visible !important;font-size:11px;padding:7px 12px}
  
    /* clickable product photo + title inside My Orders */
    .order-mini-link{display:flex;align-items:center;gap:9px;flex:1 1 150px;min-width:0;color:inherit;text-decoration:none}
    a.order-mini-link .order-mini-item-name{color:var(--brand-dark,#1a56db);text-decoration:underline;text-underline-offset:2px}
    a.order-mini-link:active{opacity:.7}
    .order-mini-thumb{width:46px;height:46px;flex:0 0 46px;object-fit:cover;border-radius:8px;border:1px solid #eee;background:#fff}
    .order-mini-link .order-mini-item-name{flex:1 1 auto}
  
    /* ===== Order buttons: colour feedback ===== */
    .order-mini-actions button[data-track-order],.order-mini-actions button[data-invoice-order]{transition:background .15s,color .15s,transform .1s,box-shadow .15s;-webkit-tap-highlight-color:transparent}
    .order-mini-actions button[data-track-order]{background:#e8f1ff;color:#1a56db}
    .order-mini-actions button[data-invoice-order]{background:#fff3e0;color:#b45309}
    .order-mini-actions button[data-track-order]:active,.order-mini-actions button[data-track-order].is-pressed,.order-mini-actions button[data-track-order].is-on{background:#1a56db;color:#fff;box-shadow:0 2px 8px rgba(26,86,219,.35)}
    .order-mini-actions button[data-invoice-order]:active,.order-mini-actions button[data-invoice-order].is-pressed{background:#d97706;color:#fff;box-shadow:0 2px 8px rgba(217,119,6,.35)}
    .order-mini-actions button[data-track-order]:active,.order-mini-actions button[data-invoice-order]:active{transform:scale(.95)}

    /* ===== Return / Replacement button + popup ===== */
    .order-mini-actions button[data-return-order]{background:#fdecec;color:#b42318;transition:background .15s,color .15s,transform .1s,box-shadow .15s;-webkit-tap-highlight-color:transparent}
    .order-mini-actions button[data-return-order]:not(:disabled):active{background:#b42318;color:#fff;box-shadow:0 2px 8px rgba(180,35,24,.35);transform:scale(.95)}
    .order-mini-actions button[data-return-order]:disabled{background:#f1f1f1;color:#9aa0a6;cursor:not-allowed}
    .rt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100020;background:rgba(0,0,0,.55);display:flex;align-items:center;justify-content:center;padding:14px;box-sizing:border-box}
    .rt-box{background:#fff;border-radius:14px;width:100%;max-width:440px;max-height:92vh;overflow:auto;padding:16px;box-sizing:border-box;box-shadow:0 12px 40px rgba(0,0,0,.35);font-size:13px;color:#222}
    .rt-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-size:15px}
    .rt-x{border:0;background:#f1f1f1;border-radius:50%;width:30px;height:30px;font-size:20px;line-height:1;cursor:pointer}
    .rt-order{font-size:11px;color:#777;margin-bottom:10px;word-break:break-all}
    .rt-item{display:flex;gap:9px;align-items:flex-start;border:1px solid #e3e3e3;border-radius:10px;padding:9px;margin-bottom:7px;cursor:pointer}
    .rt-item.is-off{opacity:.55;cursor:not-allowed;background:#fafafa}
    .rt-item input{margin-top:3px}
    .rt-item-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
    .rt-item-txt b{font-size:12px;word-break:break-word}
    .rt-item-txt small{color:#777;font-size:10px}
    .rt-item-txt em{font-style:normal;font-size:10px;font-weight:800;color:#159447}
    .rt-item.is-off .rt-item-txt em{color:#b42318}
    .rt-lbl{display:block;font-size:11px;font-weight:800;margin:10px 0 4px}
    .rt-box select,.rt-box textarea{width:100%;border:1px solid #ddd;border-radius:9px;padding:9px;font:inherit;box-sizing:border-box;background:#fff}
    .rt-box textarea{min-height:64px;resize:vertical}
    .rt-cond{margin-top:10px;font-size:11px;color:#6b5400;background:#fff8e1;border-radius:8px;padding:8px}
    .rt-cond:empty{display:none}
    .rt-msg{margin-top:10px;font-size:12px;font-weight:700;border-radius:8px;padding:8px}
    .rt-msg.err{background:#fdecec;color:#b42318}
    .rt-msg.ok{background:#e8f7ee;color:#159447}
    .rt-submit{width:100%;margin-top:12px;border:0;border-radius:10px;padding:12px;font-size:13px;font-weight:800;background:#b42318;color:#fff;cursor:pointer}
    .rt-submit:disabled{opacity:.6;cursor:default}
    /* My orders toggle button */
    .account-actions button[data-account-action="orders"]{transition:background .15s,color .15s,border-color .15s}
    .account-actions button[data-account-action="orders"].is-on{background:var(--brand,#2563eb);color:#fff;border-color:var(--brand,#2563eb)}
    .account-actions button[data-account-action="orders"]:active{opacity:.8}

  /* ===== no pinch / double-tap zoom on touch screens ===== */
  html,body{touch-action:pan-x pan-y;-webkit-text-size-adjust:100%}
  button,a,input,select,label{touch-action:manipulation}

  .cpm-bar,.cpm-sheet{display:none}
  @media (max-width:760px){
    /* ===== CATEGORY PAGE - app style (search, sticky filter bar, 2-column grid) ===== */
    body.cat-page-open{background:#f1f1f5}
    body.cat-page-open .topbar{position:relative !important;transform:none !important}
    body.cat-page-open .searchbox{border:1.5px solid #c9c9d8 !important;border-radius:999px !important;background:#fff !important}
    body.cat-page-open .page{padding:0 0 90px !important}
    body.cat-page-open .category-page{margin:0 !important}
    body.cat-page-open .cp-crumbs,body.cat-page-open .cp-tree{display:none !important}
    body.cat-page-open .cp-head{background:#fff;margin:0 !important;padding:16px 14px 12px}
    body.cat-page-open .cp-head h1{font-size:22px;font-weight:800;letter-spacing:0;color:#23232f}

    .cpm-bar{display:flex;position:sticky;top:0;z-index:900;background:#fff;
      border-top:1px solid #e4e4ec;border-bottom:1px solid #e4e4ec}
    .cpm-bar button{flex:1 1 0;min-width:0;border:0;border-right:1px solid #e4e4ec;background:#fff;
      color:#2b2b3a;font-size:14.5px;font-weight:500;padding:14px 2px;cursor:pointer;
      display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
    .cpm-bar button:last-child{border-right:0}
    .cpm-bar button.on{color:#9f2089;font-weight:700}

    body.cat-page-open .category-page .product-grid,
    #categoryResultGrid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;
      gap:3px !important;padding:3px 0 0 !important;background:#f1f1f5}
    body.cat-page-open .category-page .product-grid .pcard,
    #categoryResultGrid .pcard{position:relative;background:#fff !important;border:0 !important;border-radius:0 !important;
      box-shadow:none !important;transform:none !important;animation:none !important;margin:0 !important;overflow:hidden}
    body.cat-page-open .pcard .pcard-image{border-radius:0 !important;aspect-ratio:3/4;background:#f5f5f8}
    body.cat-page-open .pcard .pcard-image img{width:100%;height:100%;object-fit:cover}
    body.cat-page-open .pcard .pcard-badge{display:none !important}
    body.cat-page-open .pcard .pcard-body{padding:10px 12px 12px !important}
    body.cat-page-open .pcard .pcard-title{font-size:13.5px !important;font-weight:400 !important;color:#555566 !important;
      white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block !important}
    body.cat-page-open .pcard .pcard-price{margin-top:6px !important;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}
    body.cat-page-open .pcard .price-current{font-size:20px !important;font-weight:800 !important;color:#23232f !important}
    body.cat-page-open .pcard .price-mrp{font-size:13px !important;color:#8c8c9a !important;text-decoration:line-through}
    body.cat-page-open .pcard .price-off{font-size:13px !important;color:#555566 !important;background:none !important;padding:0 !important}
    body.cat-page-open .pcard .pcard-meta{margin-top:8px !important;display:flex;align-items:center}
    body.cat-page-open .pcard .pcard-meta .post-date{display:none !important}
    body.cat-page-open .pcard .pcard-meta .rating{display:inline-flex;align-items:center;gap:3px;background:#038d63;color:#fff !important;
      font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px}
    body.cat-page-open .pcard .pcard-desc,
    body.cat-page-open .pcard .labels,
    body.cat-page-open .pcard .pcard-delivery,
    body.cat-page-open .pcard .pcard-cart-btn{display:none !important}
    body.cat-page-open .pcard .wish-btn{top:8px !important;right:8px !important;width:34px;height:34px;box-shadow:0 1px 6px rgba(0,0,0,.25)}
    body.cat-page-open .cp-more{margin:14px auto !important}

    /* ===== bottom sheet used by Sort / Category / Gender / Filters ===== */
    .cpm-sheet{position:fixed;inset:0;z-index:6000;display:block}
    .cpm-sheet[hidden]{display:none}
    .cpm-back{position:absolute;inset:0;background:rgba(0,0,0,.45)}
    .cpm-panel{position:absolute;left:0;right:0;bottom:0;max-height:78vh;background:#fff;border-radius:18px 18px 0 0;
      display:flex;flex-direction:column;overflow:hidden}
    .cpm-top{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #eee;
      font-size:17px;font-weight:800;color:#23232f}
    .cpm-top button{border:0;background:none;font-size:22px;color:#666;cursor:pointer;line-height:1}
    .cpm-body{overflow-y:auto;padding:6px 0;-webkit-overflow-scrolling:touch}
    .cpm-row{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;box-sizing:border-box;
      padding:15px 18px;border:0;background:#fff;font-size:15.5px;color:#2b2b3a;text-decoration:none;text-align:left;cursor:pointer}
    .cpm-row small{color:#8c8c9a;font-weight:700}
    .cpm-row.active{color:#9f2089;font-weight:800}
    .cpm-row.active:after{content:'\2713';font-weight:900}
    .cpm-field{padding:12px 18px}
    .cpm-field label{display:block;font-size:13px;font-weight:700;color:#555566;margin-bottom:8px}
    .cpm-two{display:flex;gap:12px}
    .cpm-two input{flex:1 1 0;min-width:0;box-sizing:border-box;border:1.5px solid #d4d4e0;border-radius:10px;padding:11px 12px;font-size:16px}
    .cpm-chips{display:flex;flex-wrap:wrap;gap:8px}
    .cpm-chip{border:1.5px solid #d4d4e0;background:#fff;border-radius:999px;padding:9px 16px;font-size:14px;color:#2b2b3a;cursor:pointer}
    .cpm-chip.active{border-color:#9f2089;background:#fbeaf8;color:#9f2089;font-weight:700}
    .cpm-foot{display:flex;gap:12px;padding:12px 18px;border-top:1px solid #eee}
    .cpm-foot button{flex:1;padding:13px;border-radius:10px;font-size:15px;font-weight:800;cursor:pointer}
    .cpm-clear{background:#fff;border:1.5px solid #c9c9d8;color:#2b2b3a}
    .cpm-apply{background:#9f2089;border:1.5px solid #9f2089;color:#fff}
    body.cpm-open{overflow:hidden}
  }

  @media (max-width:760px){
    /* Categories screen open: bottom bar can never slide away, page behind cannot be touched */
    body.cats-open .mobile-bottom-nav,
    body.cats-open.mobile-bars-hidden .mobile-bottom-nav{transform:none !important;opacity:1 !important;pointer-events:auto !important;visibility:visible !important;z-index:5800 !important}
    body.cats-open .topbar,
    body.cats-open.mobile-bars-hidden .topbar{transform:none !important}
    body.cats-open .cats-screen{touch-action:pan-y;overscroll-behavior:contain}
    body.cats-open .whatsapp-float{display:none !important}
  }

  @media (max-width:760px){
    /* ===== HOME ROWS (still scroll sideways) + RELATED PRODUCTS: same card model as the category page ===== */
    #rowsHost .product-grid{gap:3px !important;padding:0 0 6px !important}
    #relatedGrid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:3px !important;padding:0 !important;background:#f1f1f5}
    #relatedGrid .pcard{flex:none !important;max-width:none !important;width:100% !important;min-width:0 !important}
    #rowsHost .product-grid .pcard{scroll-snap-align:start}
    #rowsHost .pcard,
    #relatedGrid .pcard{background:#fff !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;transform:none !important;animation:none !important;margin:0 !important;overflow:hidden;position:relative}

    #rowsHost .pcard .pcard-image,
    #relatedGrid .pcard .pcard-image{border-radius:0 !important;aspect-ratio:3/4 !important;height:auto !important;min-height:0 !important;background:#f5f5f8}

    #rowsHost .pcard .pcard-image img,
    #relatedGrid .pcard .pcard-image img{width:100%;height:100%;object-fit:cover}

    #rowsHost .pcard .pcard-badge,
    #relatedGrid .pcard .pcard-badge{display:none !important}

    #rowsHost .pcard .pcard-body,
    #relatedGrid .pcard .pcard-body{padding:10px 12px 12px !important}

    #rowsHost .pcard .pcard-title,
    #relatedGrid .pcard .pcard-title{font-size:13.5px !important;font-weight:400 !important;color:#555566 !important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block !important}

    #rowsHost .pcard .pcard-price,
    #relatedGrid .pcard .pcard-price{margin-top:6px !important;display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}

    #rowsHost .pcard .price-current,
    #relatedGrid .pcard .price-current{font-size:20px !important;font-weight:800 !important;color:#23232f !important}

    #rowsHost .pcard .price-mrp,
    #relatedGrid .pcard .price-mrp{font-size:13px !important;color:#8c8c9a !important;text-decoration:line-through}

    #rowsHost .pcard .price-off,
    #relatedGrid .pcard .price-off{font-size:13px !important;color:#555566 !important;background:none !important;padding:0 !important}

    #rowsHost .pcard .pcard-meta,
    #relatedGrid .pcard .pcard-meta{margin-top:8px !important;display:flex;align-items:center}

    #rowsHost .pcard .pcard-meta .post-date,
    #relatedGrid .pcard .pcard-meta .post-date{display:none !important}

    #rowsHost .pcard .pcard-meta .rating,
    #relatedGrid .pcard .pcard-meta .rating{display:inline-flex;align-items:center;gap:3px;background:#038d63;color:#fff !important;font-size:13px;font-weight:700;padding:3px 10px;border-radius:999px}

    #rowsHost .pcard .pcard-desc,
    #relatedGrid .pcard .pcard-desc{display:none !important}

    #rowsHost .pcard .labels,
    #relatedGrid .pcard .labels{display:none !important}

    #rowsHost .pcard .pcard-delivery,
    #relatedGrid .pcard .pcard-delivery{display:none !important}

    #rowsHost .pcard .pcard-cart-btn,
    #relatedGrid .pcard .pcard-cart-btn{display:none !important}

    #rowsHost .pcard .wish-btn,
    #relatedGrid .pcard .wish-btn{top:8px !important;right:8px !important;width:34px;height:34px;box-shadow:0 1px 6px rgba(0,0,0,.25)}

  }

  /* ===== any popup open -> page behind cannot scroll ===== */
  html.fy-scroll-lock{overflow:hidden !important;overscroll-behavior:none}
  body.fy-scroll-lock{position:fixed !important;left:0;right:0;width:100%;overflow:hidden !important}
  .app-modal-card,.modal-card,.cpm-body,.category-result-dialog,.cats-main,#cart-box,.rt-box{overscroll-behavior:contain}

  /* ===== v21 FIX: responsive home-row cards, tight spacing, slim bottom scrollbar ===== */
  /* Cards: exactly N cards fill the row width (no cut-off), rest scroll sideways */
  #rowsHost .product-grid{
    --cols:5;--gap:10px;
    gap:var(--gap) !important;
    padding:4px 0 10px !important;
    scroll-snap-type:x proximity;
    scrollbar-width:thin !important;
    scrollbar-color:#b5b5c0 #ececf0;
  }
  #rowsHost .product-grid .pcard{
    flex:0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)) !important;
    max-width:calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)) !important;
    min-width:0 !important;
  }
  @media (max-width:1023px){ #rowsHost .product-grid{--cols:3} }
  @media (max-width:560px){ #rowsHost .product-grid{--cols:2;--gap:6px} }

  /* Slim scrollbar at the bottom of each row */
  #rowsHost .product-grid::-webkit-scrollbar{display:block !important;height:4px}
  #rowsHost .product-grid::-webkit-scrollbar-track{background:#ececf0;border-radius:4px}
  #rowsHost .product-grid::-webkit-scrollbar-thumb{background:#b5b5c0;border-radius:4px}

  /* Tight vertical rhythm: category -> heading -> cards */
  #rowsHost .product-section{margin-top:14px !important}
  #rowsHost .product-section:first-child{margin-top:4px !important}
  #rowsHost .section-head-row{
    flex-direction:row !important;flex-wrap:nowrap !important;
    align-items:center !important;gap:8px !important;margin-bottom:8px !important;
  }
  #rowsHost .section-head-row .section-title{flex:1 1 auto;width:auto;min-width:0}
  #rowsHost .section-title.row-heading-bar{padding:8px 12px !important;width:auto}
  #rowsHost .row-heading-main{min-width:0}
  #rowsHost .row-heading-main h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #rowsHost .row-nav{gap:8px;flex:0 0 auto}
  #rowsHost .row-count{margin:0;white-space:nowrap}
  #rowsHost .row-viewall{padding:5px 12px;white-space:nowrap}
  #rowsHost .row-arrow{display:none !important}
  @media (max-width:560px){
    #rowsHost .section-title.row-heading-bar > span{display:none}
    #rowsHost .product-section{margin-top:10px !important}
  }

  /* ===== v22: popups = black panel + white text; buttons = white, black text, soft shadow, BLUE when pressed ===== */
  :root{--pop-bg:#0b0b0d;--pop-line:#2c2c32;--pop-blue:#1a73e8}
  .toast,.pwa-toast,.fy-exit-toast{background:#000 !important;color:#fff !important}

  .modal-card,#reviewModal .app-modal-card,#sfPolicyModal .app-modal-card,.cpm-panel,.rt-box{
    background:var(--pop-bg) !important;color:#fff !important;
  }
  .modal-card h3,#reviewModal h3,#sfPolicyModal h3,.cpm-top,.rt-head,.rt-head *,.rt-lbl{color:#fff !important}
  .modal-sub,.rt-order,.rt-item-txt small,#reviewModal .review-product-name,.cpm-field label,.cpm-row small{color:#b9b9c3 !important}
  .app-modal-kicker{color:#9ecbff !important}
  #sfPolicyBody,#sfPolicyBody *{color:#e9e9ee !important;background:transparent !important}
  .cpm-top,.cpm-foot{border-color:var(--pop-line) !important}

  /* list rows inside the Sort / Gender / Category sheets */
  .cpm-row{background:transparent !important;color:#fff !important;border-bottom:1px solid var(--pop-line) !important}
  .cpm-row:active{background:var(--pop-blue) !important;color:#fff !important}
  .cpm-row.active{color:#6cb2ff !important}
  .cpm-row.cpm-sub{padding-left:34px;font-size:14.5px}
  .cpm-row.cpm-sub2{padding-left:50px;font-size:13.5px}
  .cpm-bar button.on{color:var(--pop-blue) !important}

  /* every popup button: white + shadow + black text */
  .modal-card .btn-ghost,.modal-card .add-to-cart-btn,
  #reviewModal .auth-primary,#sfPolicyModal button:not(.app-close),
  .cpm-clear,.cpm-apply,.cpm-chip,.rt-submit{
    background:#fff !important;color:#000 !important;border:1px solid #e4e4e8 !important;
    box-shadow:0 3px 10px rgba(255,255,255,.16),0 2px 6px rgba(0,0,0,.45) !important;
    transition:background .12s,color .12s,transform .08s;-webkit-tap-highlight-color:transparent;
  }
  .modal-card .btn-ghost:active,.modal-card .add-to-cart-btn:active,
  #reviewModal .auth-primary:active,#sfPolicyModal button:not(.app-close):active,
  .cpm-clear:active,.cpm-apply:active,.cpm-chip:active,.rt-submit:not(:disabled):active,
  .cpm-chip.active{
    background:var(--pop-blue) !important;color:#fff !important;border-color:var(--pop-blue) !important;transform:scale(.97);
  }
  /* close (x) buttons */
  .app-close,.rt-x,.cpm-top button{
    background:#fff !important;color:#000 !important;border:0 !important;border-radius:50% !important;
    width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;font-size:20px;
    box-shadow:0 2px 8px rgba(0,0,0,.45);
  }
  .app-close:active,.rt-x:active,.cpm-top button:active{background:var(--pop-blue) !important;color:#fff !important}
  /* inputs stay white with black text so they are easy to read */
  .cpm-two input,.rt-box select,.rt-box textarea,#reviewModal textarea{background:#fff !important;color:#000 !important;border-color:#cfcfd6 !important}
  .rt-item{border-color:var(--pop-line) !important;background:transparent}
  .rt-item.is-off{background:#151519 !important}
  .rt-item-txt b{color:#fff}
  .rt-cond{background:#2a2400 !important;color:#ffd966 !important}
  .rt-msg.err{background:#3a1212 !important;color:#ff9b93 !important}
  .rt-msg.ok{background:#0f2d1b !important;color:#7ee2a8 !important}
  .star-input span{color:#55555d}

  /* ===== v22: BUY NOW button on home cards ===== */
  .pcard-buy-btn{display:none}
  #rowsHost .pcard .pcard-cart-btn{display:none !important}
  #rowsHost .pcard .pcard-buy-btn{
    display:block !important;width:calc(100% - 20px);margin:8px 10px 0;padding:9px 8px;
    background:#fff;color:#000;border:1px solid #e2e2e6;border-radius:8px;
    font-size:12.5px;font-weight:800;letter-spacing:.2px;text-align:center;cursor:pointer;
    box-shadow:0 3px 10px rgba(0,0,0,.14);
    transition:background .12s,color .12s,transform .08s;-webkit-tap-highlight-color:transparent;
  }
  #rowsHost .pcard .pcard-buy-btn:active{background:#1a73e8;color:#fff;border-color:#1a73e8;transform:scale(.97)}
  #rowsHost .pcard .pcard-buy-btn.in-cart{background:#1a73e8;color:#fff;border-color:#1a73e8}
  @media (max-width:760px){
    #rowsHost .pcard .pcard-buy-btn{width:calc(100% - 24px);margin:0 12px 12px;font-size:13px;padding:10px 8px}
  }

  /* ===== v22: gender view shows its related categories (also on phones) ===== */
  @media (max-width:760px){
    body.cat-page-open .cp-tree.is-gender{display:block !important;background:#fff;padding:8px 10px;max-height:190px;overflow-y:auto}
    body.cat-page-open .cp-tree.is-gender .cp-group{padding:8px 10px;margin-bottom:6px}
  }

  /* ===== v24 (1): cards keep the SAME height even when a card has little text ===== */
  .product-grid,#rowsHost .product-grid,.category-page .product-grid,#categoryResultGrid{align-items:stretch !important}
  .product-grid .pcard,#rowsHost .product-grid .pcard{align-self:stretch !important;display:flex !important;flex-direction:column}
  .pcard .pcard-link{flex:1 1 auto;display:flex;flex-direction:column}
  .pcard .pcard-body{flex:1 1 auto;display:flex;flex-direction:column}
  .pcard .pcard-title{min-height:2.7em}
  #rowsHost .pcard .pcard-title{min-height:1.4em}
  .pcard .pcard-price{min-height:28px}
  .pcard .pcard-buy-btn,.pcard .pcard-cart-btn{margin-top:auto !important}
  .pcard .pcard-body + .wish-btn{flex:0 0 auto}

  /* ===== v24 (2): Sort / Category / Gender / Filters sheets = WHITE text on BLACK, everywhere inside ===== */
  .cpm-panel,.cpm-body,.cpm-foot,.cpm-top{background:#000 !important;color:#fff !important}
  .cpm-back{background:rgba(0,0,0,.6) !important}
  .cpm-top,.cpm-top span{color:#fff !important;border-bottom:1px solid #2c2c32 !important}
  .cpm-row,.cpm-row *{color:#fff !important;background:transparent}
  .cpm-row small{color:#bdbdc6 !important}
  .cpm-row.active,.cpm-row.active small{color:#fff !important;font-weight:800}
  .cpm-row.active{background:#1a73e8 !important}
  .cpm-row:active{background:#1a73e8 !important}
  .cpm-field label{color:#fff !important}
  .cpm-two input{background:#111 !important;color:#fff !important;border:1.5px solid #555 !important}
  .cpm-two input::placeholder{color:#9a9aa5 !important}
  .cpm-chip,.cpm-clear,.cpm-apply{
    background:#000 !important;color:#fff !important;border:1.5px solid #fff !important;
    box-shadow:0 3px 10px rgba(255,255,255,.12) !important;
  }
  .cpm-chip.active,.cpm-chip:active,.cpm-clear:active,.cpm-apply:active{
    background:#1a73e8 !important;color:#fff !important;border-color:#1a73e8 !important;
  }
  .cpm-top button{background:#000 !important;color:#fff !important;border:1.5px solid #fff !important}
  .cpm-top button:active{background:#1a73e8 !important;border-color:#1a73e8 !important}

  /* ===== v24 (3): category page keeps the mobile bottom menu visible ===== */
  @media (max-width:760px){
    body.cat-page-open .mobile-bottom-nav,
    body.cat-page-open.mobile-bars-hidden .mobile-bottom-nav{
      display:flex !important;transform:none !important;opacity:1 !important;
      pointer-events:auto !important;visibility:visible !important;z-index:5800 !important;
    }
    body.cat-page-open{padding-bottom:78px}
  }

  /* ===== v28 ===== */

  /* -- Add to cart + Buy it now: side by side on desktop and mobile -- */
  .pd-buy-top{justify-content:space-between}
  .pd-buy-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
  .single-product .pd-buy-actions .pd-add,
  .single-product .pd-buy-actions .pd-buynow{
    width:100%;min-width:0;height:48px;margin:0;padding:0 8px;border:0;border-radius:12px;
    font-size:13px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;white-space:nowrap;
    display:flex;align-items:center;justify-content:center;
  }
  @media (max-width:360px){
    .single-product .pd-buy-actions{gap:8px}
    .single-product .pd-buy-actions .pd-add,.single-product .pd-buy-actions .pd-buynow{font-size:11.5px;letter-spacing:.1px}
  }

  /* -- stock badge placeholder (holds its space until the live stock arrives, so nothing jumps) -- */
  .pd-stock.is-ph{visibility:hidden}
  .pd-size,.pd-color{min-height:0}

  /* -- Home page Buy Now: BLUE, turns GREEN once the item is in the cart -- */
  #rowsHost .pcard .pcard-buy-btn{
    background:#1a73e8 !important;color:#fff !important;border:1px solid #1a73e8 !important;
    box-shadow:0 3px 10px rgba(26,115,232,.28) !important;
  }
  #rowsHost .pcard .pcard-buy-btn:active{background:#1558b8 !important;border-color:#1558b8 !important;transform:scale(.97)}
  #rowsHost .pcard .pcard-buy-btn.in-cart{
    background:#16a34a !important;border-color:#16a34a !important;color:#fff !important;
    box-shadow:0 3px 10px rgba(22,163,74,.28) !important;
  }

  /* -- Sort / Category / Gender / Filters sheets: WHITE background, dark text -- */
  .cpm-back{background:rgba(17,24,39,.45) !important}
  .cpm-panel,.cpm-body,.cpm-foot,.cpm-top{background:#fff !important;color:#111827 !important}
  .cpm-top,.cpm-top span{color:#111827 !important;border-bottom:1px solid #e5e7eb !important}
  .cpm-foot{border-top:1px solid #e5e7eb !important;border-bottom:0 !important}
  .cpm-row,.cpm-row *{color:#111827 !important;background:transparent}
  .cpm-row{border-bottom:1px solid #eef0f3 !important}
  .cpm-row small{color:#6b7280 !important}
  .cpm-row.active,.cpm-row.active *{color:#fff !important}
  .cpm-row.active{background:#1a73e8 !important;font-weight:800}
  .cpm-row:active,.cpm-row:active *{background:#e8f0fe !important;color:#111827 !important}
  .cpm-field label{color:#111827 !important}
  .cpm-two input{background:#fff !important;color:#111827 !important;border:1.5px solid #cbd5e1 !important}
  .cpm-two input::placeholder{color:#9ca3af !important}
  .cpm-chip,.cpm-clear,.cpm-apply{
    background:#fff !important;color:#111827 !important;border:1.5px solid #cbd5e1 !important;
    box-shadow:0 1px 3px rgba(0,0,0,.08) !important;
  }
  .cpm-apply{background:#1a73e8 !important;color:#fff !important;border-color:#1a73e8 !important}
  .cpm-chip.active,.cpm-chip:active{background:#1a73e8 !important;color:#fff !important;border-color:#1a73e8 !important}
  .cpm-clear:active{background:#f3f4f6 !important}
  .cpm-apply:active{background:#1558b8 !important}
  .cpm-top button{background:#f3f4f6 !important;color:#111827 !important;border:0 !important;box-shadow:none !important}
  .cpm-top button:active{background:#e5e7eb !important}
  .cpm-bar button.on{color:#1a73e8 !important}
