/* Shared styles for every page (from the original template). */
/* =================================================================
     DESIGN TOKENS
  ==================================================================*/
  :root{
    --brand:#9F2089;
    --brand-soft:#F7E8F4;
    --brand-tint:#F3E0EF;
    --brand-muted:#E2B8D9;
    --brand-light:#B52A9D;
    --brand-dark:#5C1050;
    --brand-border:#EBCDE5;
    --brand-wash:#FDF7FC;
    --brand-rgb:159,32,137;
    --img-ratio:1/1;
    --text:#1A2233;
    --text-2:#2B3445;
    --muted:#5B6577;
    --muted-2:#8791A3;
    --muted-3:#A9B1BF;
    --line:#E6EAF1;
    --line-2:#DFE5EF;
    --surface:#F4F6FA;
    --surface-2:#F5F8FC;
    --star:#F0A93A;
    --header-h:56px;
    --container:520px;
  }

  *{ box-sizing:border-box; }
  html{ -webkit-text-size-adjust:100%; -webkit-tap-highlight-color:transparent; }
  *{ -webkit-tap-highlight-color:transparent; }
  body{
    margin:0;
    font-family:"Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background:#ffffff;
    color:var(--text);
  }
  button, input, select, textarea{ font-family:inherit; }
  img{ max-width:100%; }
  :focus-visible{ outline:2px solid var(--brand); outline-offset:2px; }
  .sr-only{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
  }

  /* ---------- TOP LINE ---------- */
  .top-line{
    background:var(--brand);
    color:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    font-size:12px;
    font-weight:400;
    letter-spacing:.02em;
    padding:8px 12px;
  }
  .top-line svg{ width:14px; height:14px; flex-shrink:0; }

  /* ---------- HEADER ---------- */
  .site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:#ffffff;
    border-bottom:1px solid var(--line);
    box-shadow:0 1px 3px rgba(var(--brand-rgb),0.06);
  }
  .header-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    height:var(--header-h);
    padding:0 8px;
    max-width:var(--container);
    margin:0 auto;
  }
  .icon-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    background:none;
    border:none;
    border-radius:10px;
    cursor:pointer;
    color:#000;
    -webkit-tap-highlight-color:transparent;
    transition:background .15s ease;
    flex-shrink:0;
  }
  .icon-btn:active{ background:var(--brand-soft); }
  .icon-btn svg{ width:20px; height:20px; display:block; }
  .icon-group{ display:flex; align-items:center; gap:2px; }

  .delivery-btn{ display:none; }
  .delivery-btn svg{ transform:scaleX(-1); }

  .icon-btn.cart{ position:relative; }
  .cart-badge{
    position:absolute;
    top:4px;
    right:4px;
    min-width:15px;
    height:15px;
    padding:0 3px;
    background:var(--brand);
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:12px;
    text-align:center;
    border-radius:999px;
    border:1.5px solid #fff;
  }

  .logo-link{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:1;
    min-width:0;
  }
  .logo-link img{ height:30px; width:auto; object-fit:contain; }

  /* ---------- SEARCH ---------- */
  .search-row{
    max-width:var(--container);
    margin:0 auto;
    max-height:0;
    overflow:hidden;
    padding:0 12px;
    transition:max-height .28s ease, padding .28s ease;
  }
  .search-row.open{ max-height:70px; padding:0 12px 12px; }
  .search-bar{
    display:flex;
    align-items:center;
    gap:8px;
    height:40px;
    padding:0 12px;
    border-radius:20px;
    background:var(--brand-soft);
    border:1px solid var(--brand-border);
    margin:0;
  }
  .search-bar svg{ width:18px; height:18px; flex-shrink:0; color:var(--brand); }
  .search-bar input{
    border:none;
    background:transparent;
    outline:none;
    width:100%;
    font-size:14px;
    color:var(--text);
    -webkit-appearance:none;
    appearance:none;
  }
  .search-bar input::placeholder{ color:var(--muted-2); }

  /* ---------- DESKTOP NAV (hidden on mobile) ---------- */
  .desktop-nav{ display:none; }
  .desktop-nav-item{ position:relative; }
  .desktop-dropdown{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 8px 24px rgba(0,0,0,0.12);
    padding:8px 0;
    min-width:190px;
    z-index:60;
  }
  /* invisible bridge so the menu doesn't close while the mouse crosses the gap */
  .desktop-dropdown::before{
    content:"";
    position:absolute;
    left:0; right:0;
    top:-10px;
    height:10px;
  }
  .desktop-nav-item:hover .desktop-dropdown,
  .desktop-nav-item:focus-within .desktop-dropdown{ display:block; }
  .desktop-dropdown a{
    display:block;
    padding:9px 18px;
    font-size:13px;
    font-weight:500;
    color:var(--text-2);
    text-decoration:none;
    white-space:nowrap;
  }
  .desktop-dropdown a:hover{ background:var(--brand-soft); color:var(--brand); }

  /* ---------- PRODUCT SECTIONS ---------- */
  .products-section{
    max-width:var(--container);
    margin:0 auto;
    padding:28px 12px 0;
  }
  .section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
  }
  .products-section h2{
    font-size:18px;
    font-weight:700;
    color:var(--text);
    margin:0;
    line-height:1.2;
  }
  .product-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px 4px;
  }
  .product-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    background:#ffffff;
    border:1px solid var(--line);
    overflow:hidden;
  }
  .product-thumb{
    display:block;
    width:100%;
    aspect-ratio:var(--img-ratio);
    background:var(--surface);
    overflow:hidden;
  }
  .product-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
    transition:transform .35s ease;
  }
  @media (hover:hover){
    .product-card:hover .product-thumb img{ transform:scale(1.04); }
  }
  .product-info{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:10px;
    flex:1;
  }
  .product-name{
    font-size:13.5px;
    font-weight:500;
    color:var(--text-2);
    line-height:1.35;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    height:2.7em;
  }
  .product-name a{ color:inherit; text-decoration:none; }
  .product-price-row{
    display:flex;
    align-items:baseline;
    gap:6px;
    margin:0 0 4px;
  }
  .product-price-row .price-actual{ font-size:16px; font-weight:700; color:var(--brand); }
  .product-price-row .price-mrp{
    font-size:12px;
    font-weight:400;
    color:var(--muted-2);
    text-decoration:line-through;
  }
  a.add-to-cart-btn{ text-decoration:none; }
  .add-to-cart-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    width:100%;
    margin-top:auto;
    padding:9px 0;
    border:none;
    border-radius:4px;
    background:var(--brand);
    color:#ffffff;
    font-size:12.5px;
    font-weight:600;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    transition:opacity .15s ease;
  }
  .add-to-cart-btn:active{ opacity:0.85; }
  .add-to-cart-btn svg{ width:14px; height:14px; flex-shrink:0; }
  .view-all-btn{
    display:flex;
    align-items:center;
    gap:4px;
    padding:0;
    border:none;
    background:none;
    color:var(--brand);
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
  }
  .view-all-btn span{ font-size:15px; line-height:1; transition:transform .15s ease; }
  .view-all-btn:hover span{ transform:translateX(2px); }

  /* ---------- SECTION DIVIDER ---------- */
  .section-divider{
    max-width:var(--container);
    margin:28px auto 0;
    padding:0 12px;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .section-divider::before,
  .section-divider::after{
    content:"";
    flex:1;
    height:1px;
    background:linear-gradient(to right, transparent, var(--line-2));
  }
  .section-divider::after{ background:linear-gradient(to left, transparent, var(--line-2)); }
  .section-divider span{
    width:7px;
    height:7px;
    background:var(--brand);
    transform:rotate(45deg);
    box-shadow:-14px 14px 0 -1px var(--brand-muted), 14px -14px 0 -1px var(--brand-muted);
    margin:0 22px;
    flex-shrink:0;
  }
  .section-divider + .products-section{ padding-top:24px; }

  /* ---------- WISHLIST HEART (cards + header) ---------- */
  .product-card{ position:relative; }
  .card-wish{
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    width:32px;
    height:32px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.92);
    box-shadow:0 1px 4px rgba(0,0,0,0.14);
    color:var(--brand);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0;
    -webkit-tap-highlight-color:transparent;
  }
  .card-wish svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linejoin:round;
    transition:fill .15s ease;
  }
  .card-wish[aria-pressed="true"] svg{ fill:currentColor; }
  .card-wish.pop{ animation:wishPop .4s ease; }
  @keyframes wishPop{ 0%{ transform:scale(1); } 40%{ transform:scale(1.3); } 100%{ transform:scale(1); } }

  .wish-head-btn{ display:none; position:relative; color:#000; }
  .wish-head-btn svg{ fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round; }
  .wish-badge{
    position:absolute;
    top:4px;
    right:4px;
    min-width:15px;
    height:15px;
    padding:0 3px;
    background:var(--brand);
    color:#fff;
    font-size:10px;
    font-weight:700;
    line-height:12px;
    text-align:center;
    border-radius:999px;
    border:1.5px solid #fff;
  }
  .wish-badge[hidden]{ display:none; }
  .nav-count{
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:var(--brand);
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .nav-count[hidden]{ display:none; }
  @media (min-width:1024px){
    .wish-head-btn{ display:flex; }
  }

  /* ---------- FOOTER (white background, black text, columns) ---------- */
  .site-footer{ background:#fff; color:#111; border-top:1px solid var(--line); margin-top:48px; }
  .footer-inner{
    max-width:var(--container); margin:0 auto; padding:32px 20px 8px;
    display:grid; grid-template-columns:1fr 1fr; gap:28px 20px;
  }
  .footer-about{ grid-column:1 / -1; }
  .footer-brand{ display:inline-block; line-height:0; }
  .footer-brand img{ height:30px; width:auto; display:block; }
  .footer-brand .logo-text{ display:block; font-size:20px; font-weight:800; color:#111; line-height:1.2; }
  .footer-tag{ margin:12px 0 0; font-size:13.5px; line-height:1.6; color:#555; max-width:320px; }
  .footer-col h3{ margin:0 0 12px; font-size:13px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#111; }
  .footer-col ul{ list-style:none; margin:0; padding:0; display:grid; gap:9px; }
  .footer-col a{ font-size:14px; color:#444; text-decoration:none; }
  .footer-col a:hover{ color:#000; text-decoration:underline; text-underline-offset:3px; }
  .footer-contact li{ display:flex; align-items:center; gap:10px; min-width:0; }
  .footer-contact svg{ width:16px; height:16px; flex-shrink:0; color:#111; }
  .footer-contact a{ overflow-wrap:anywhere; }
  .footer-social{ display:flex; gap:10px; margin-top:16px; }
  .footer-social a{ width:36px; height:36px; border:1px solid var(--line); border-radius:50%; display:flex; align-items:center; justify-content:center; color:#111; }
  .footer-social a:hover{ border-color:#111; text-decoration:none; }
  .footer-social svg{ width:16px; height:16px; display:block; }
  .footer-bottom{
    width:calc(100% - 40px); max-width:calc(var(--container) - 40px); margin:24px auto 0; padding:16px 0 22px;
    border-top:1px solid var(--line); font-size:12.5px; color:#777; text-align:center;
  }
  @media (min-width:1024px){
    .footer-inner{ max-width:var(--page-max); padding:48px 32px 8px; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; }
    .footer-about{ grid-column:auto; }
    .footer-brand img{ height:38px; }   /* same as the header logo */
    .footer-bottom{ width:calc(100% - 64px); max-width:calc(var(--page-max) - 64px); padding:18px 0 26px; text-align:left; margin-top:36px; }
  }

  /* Mobile footer: logo, text and icons centred; Shop | Help side by side; Get in touch centred */
  @media (max-width:1023px){
    .footer-about{ text-align:center; display:flex; flex-direction:column; align-items:center; }
    .footer-tag{ margin-left:auto; margin-right:auto; }
    .footer-social{ justify-content:center; }
    .footer-col{ text-align:center; }
    .footer-col:last-child:nth-child(even){ grid-column:1 / -1; }
    .footer-contact{ justify-items:center; }
    .footer-contact li{ justify-content:center; }
  }

  /* Short pages: keep the footer at the bottom of the screen */
  body{ min-height:100vh; min-height:100dvh; display:flex; flex-direction:column; }
  body > main{ flex:1 0 auto; width:100%; min-width:0; }
  body > .site-footer{ flex-shrink:0; }

  /* ---------- SIDEBAR DRAWER ---------- */
  .drawer-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.4);
    z-index:100;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }
  .drawer-overlay.open{ opacity:1; pointer-events:auto; }
  .drawer{
    position:fixed;
    top:0;
    left:0;
    bottom:0;
    width:82%;
    max-width:340px;
    background:#ffffff;
    z-index:101;
    transform:translateX(-100%);
    transition:transform .28s ease, visibility .28s;
    visibility:hidden;
    display:flex;
    flex-direction:column;
    overflow-y:auto;
    overscroll-behavior:contain;
    border-top-right-radius:20px;
    border-bottom-right-radius:20px;
  }
  .drawer.open{ transform:translateX(0); visibility:visible; }
  .drawer-close{
    position:absolute;
    top:14px;
    right:14px;
    width:32px;
    height:32px;
    border:none;
    background:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:var(--text);
    -webkit-tap-highlight-color:transparent;
  }
  .drawer-close svg{ width:20px; height:20px; }
  .drawer-brand{
    background:var(--brand-soft);
    padding:44px 20px 20px;
    border-top-right-radius:20px;
  }
  .drawer-brand img{ height:28px; width:auto; margin-bottom:12px; display:block; }
  .drawer-brand h2{ margin:0 0 4px; font-size:16px; font-weight:700; color:var(--text); }
  .drawer-brand p{ margin:0; font-size:12.5px; color:var(--muted); }
  .drawer-nav{ list-style:none; margin:0; padding:8px 0; }
  .drawer-nav > li{ border-bottom:1px solid var(--line); }
  .drawer-nav a,
  .drawer-nav .nav-toggle{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    padding:13px 20px;
    text-decoration:none;
    color:var(--text-2);
    font-size:14px;
    font-weight:600;
    background:none;
    border:none;
    text-align:left;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .drawer-nav .nav-icon{
    width:20px;
    height:20px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--brand);
  }
  .drawer-nav .nav-icon svg{ width:20px; height:20px; }
  .drawer-nav .nav-label{ flex:1; min-width:0; }
  .drawer-nav .nav-chevron{
    width:16px;
    height:16px;
    flex-shrink:0;
    color:var(--muted-3);
    transition:transform .25s ease;
  }
  .drawer-nav li.expanded .nav-chevron{ transform:rotate(90deg); }
  .submenu{
    max-height:0;
    overflow:hidden;
    background:var(--surface-2);
    transition:max-height .3s ease;
  }
  .submenu ul{ list-style:none; margin:0; padding:4px 0 8px; }
  .submenu a{
    gap:10px;
    padding:10px 20px 10px 54px;
    color:var(--muted);
    font-size:13px;
    font-weight:500;
  }
  .submenu a::before{
    content:"";
    width:5px;
    height:5px;
    border-radius:50%;
    background:var(--muted-3);
    flex-shrink:0;
  }
  .drawer-cta{
    margin:16px 20px 24px;
    padding:12px 14px;
    background:var(--brand-soft);
    border-radius:12px;
    display:flex;
    align-items:center;
    gap:12px;
  }
  .drawer-cta .cta-icon{
    width:34px;
    height:34px;
    border-radius:50%;
    background:#ffffff;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    color:var(--brand);
  }
  .drawer-cta .cta-icon svg{ width:17px; height:17px; }
  .drawer-cta strong{ display:block; font-size:13px; color:var(--text); }
  .drawer-cta span{ font-size:11px; color:var(--muted); }

  body.drawer-locked{ overflow:hidden; }

  /* ---------- CART DRAWER ---------- */
  .cart-drawer{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    width:92%;
    max-width:380px;
    background:var(--surface-2);
    z-index:101;
    transform:translateX(100%);
    transition:transform .28s ease, visibility .28s;
    visibility:hidden;
    display:flex;
    flex-direction:column;
    border-top-left-radius:20px;
    border-bottom-left-radius:20px;
    overflow:hidden;
  }
  .cart-drawer.open{ transform:translateX(0); visibility:visible; }
  .cart-header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:16px 18px 14px;
    flex-shrink:0;
  }
  .cart-header h2{ margin:0; font-size:15px; font-weight:700; color:var(--text); }
  .cart-close{
    width:28px;
    height:28px;
    border:none;
    background:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    color:var(--text);
    -webkit-tap-highlight-color:transparent;
    flex-shrink:0;
  }
  .cart-close svg{ width:19px; height:19px; }
  .cart-banner{
    background:var(--brand);
    color:#ffffff;
    text-align:center;
    font-size:12.5px;
    font-weight:600;
    padding:8px 12px;
    flex-shrink:0;
  }
  .cart-scroll{
    flex:1;
    overflow-y:auto;
    overscroll-behavior:contain;
    padding:16px 16px 8px;
  }

  .savings-block{ text-align:center; margin-bottom:16px; }
  .savings-block h3{ margin:0 0 4px; font-size:14px; font-weight:700; color:var(--text); }
  .savings-block p{ margin:0 0 16px; font-size:11.5px; color:var(--muted); }
  .savings-track{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 6px;
  }
  .savings-track::before{
    content:"";
    position:absolute;
    left:14px;
    right:14px;
    top:14px;
    height:3px;
    background:var(--line-2);
    z-index:0;
  }
  .savings-track .track-fill{
    position:absolute;
    left:14px;
    top:14px;
    height:3px;
    background:var(--brand);
    z-index:1;
  }
  .savings-step{
    position:relative;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    flex:1;
  }
  .savings-step .step-icon{
    width:28px;
    height:28px;
    border-radius:50%;
    background:#ffffff;
    border:2px solid var(--brand);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--brand);
  }
  .savings-step.pending .step-icon{ border-color:#C9D0DC; color:#C9D0DC; }
  .savings-step .step-icon svg{ width:14px; height:14px; }
  .savings-step .step-label{
    font-size:10px;
    font-weight:700;
    color:var(--brand);
    text-align:center;
    line-height:1.2;
  }
  .savings-step.pending .step-label{ color:var(--muted-3); }

  .cart-items-list{
    background:#ffffff;
    border-radius:14px;
    padding:6px 12px;
    margin-bottom:14px;
  }
  .cart-item{
    display:flex;
    gap:10px;
    padding:12px 0;
    border-bottom:1px solid var(--line);
  }
  .cart-item:last-child{ border-bottom:none; }
  .cart-item-thumb{
    position:relative;
    width:58px;
    height:58px;
    background:var(--surface);
    border-radius:8px;
    flex-shrink:0;
    overflow:hidden;
  }
  .cart-item-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
  .thumb-badge{
    position:absolute;
    top:0;
    left:0;
    background:var(--brand);
    color:#fff;
    font-size:8px;
    font-weight:700;
    padding:2px 4px;
    line-height:1.2;
    text-align:center;
  }
  .cart-item-body{
    flex:1;
    min-width:0;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
  }
  .cart-item-text{ min-width:0; }
  .ci-name{
    font-size:13px;
    font-weight:700;
    color:var(--text-2);
    margin:0 0 2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .ci-variant{
    font-size:11px;
    color:var(--muted-2);
    margin:0;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .cart-item-side{
    flex-shrink:0;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
  }
  .ci-price-row{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:1px;
  }
  .ci-actual{ font-size:13px; font-weight:700; color:var(--text); white-space:nowrap; }
  .ci-mrp{ font-size:10.5px; color:var(--muted-3); text-decoration:line-through; white-space:nowrap; }
  .ci-qty{
    display:inline-flex;
    align-items:center;
    border:1px solid var(--brand);
    border-radius:7px;
    overflow:hidden;
  }
  .ci-qty button{
    width:24px;
    height:24px;
    border:none;
    background:none;
    font-size:14px;
    font-weight:700;
    color:var(--brand);
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .ci-qty span{
    width:18px;
    text-align:center;
    font-size:12px;
    font-weight:700;
    color:var(--text);
  }

  .coupon-block{
    background:#ffffff;
    border-radius:14px;
    padding:12px 14px;
    margin-bottom:16px;
  }
  .coupon-applied{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
  }
  .coupon-icon{ width:18px; height:18px; flex-shrink:0; color:var(--brand); }
  .coupon-save{ font-size:12.5px; font-weight:700; color:var(--brand); }
  .coupon-tag{
    font-size:11px;
    font-weight:700;
    color:var(--brand);
    background:var(--brand-soft);
    padding:3px 8px;
    border-radius:6px;
  }
  .coupon-apply-btn{
    margin-left:auto;
    border:1.3px solid var(--brand);
    color:var(--brand);
    background:none;
    font-size:11.5px;
    font-weight:700;
    padding:5px 12px;
    border-radius:7px;
    cursor:pointer;
  }
  .coupon-more{
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:12px;
    border-top:1px solid var(--line);
    padding-top:10px;
  }
  .coupon-more a{ color:var(--text-2); text-decoration:underline; font-weight:600; }
  .coupon-more span{ color:var(--muted-2); }

  .cart-reco-title{ font-size:14px; font-weight:700; color:var(--brand); margin:0 0 4px; }
  .cart-reco-underline{ width:36px; height:2px; background:var(--brand); margin-bottom:12px; }
  .reco-card{
    display:flex;
    gap:10px;
    background:#ffffff;
    border-radius:14px;
    padding:10px 12px;
    margin-bottom:10px;
  }
  .reco-thumb{
    position:relative;
    width:56px;
    height:56px;
    background:var(--surface);
    border-radius:8px;
    flex-shrink:0;
    overflow:hidden;
  }
  .reco-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
  .reco-info{ flex:1; min-width:0; display:flex; flex-direction:column; }
  .reco-name{
    font-size:12px;
    font-weight:600;
    color:var(--text-2);
    margin:0 0 4px;
    line-height:1.25;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .reco-price-row{ display:flex; align-items:baseline; gap:6px; margin-bottom:4px; }
  .reco-mrp{ font-size:11px; color:var(--muted-3); text-decoration:line-through; }
  .reco-actual{ font-size:13px; font-weight:700; color:var(--text); }
  .reco-bottom-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    margin-top:auto;
  }
  .reco-save{ font-size:11px; font-weight:600; color:var(--brand); white-space:nowrap; }
  .reco-add-btn{
    flex-shrink:0;
    border:1.3px solid var(--brand);
    color:var(--brand);
    background:none;
    font-size:11.5px;
    font-weight:700;
    padding:6px 12px;
    border-radius:7px;
    cursor:pointer;
    white-space:nowrap;
  }

  .cart-footer{ flex-shrink:0; }
  .cart-savings-strip{
    background:var(--brand-tint);
    color:var(--brand);
    text-align:center;
    font-size:12px;
    font-weight:600;
    padding:7px 10px;
  }
  .cart-buy-row{
    position:relative;
    display:flex;
    align-items:flex-end;
    gap:12px;
    background:var(--surface-2);
    padding:20px 16px calc(16px + env(safe-area-inset-bottom));
  }
  .cart-total-block{ flex-shrink:0; }
  .total-label{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:11px;
    color:var(--muted);
    margin:0 0 2px;
  }
  .total-label svg{ width:11px; height:11px; }
  .total-value{ font-size:16px; font-weight:700; color:var(--text); margin:0; }
  .cart-checkout-wrap{ position:relative; flex:1; }
  .cart-prepaid-pill{
    position:absolute;
    top:-11px;
    right:10px;
    background:var(--brand-tint);
    color:var(--brand);
    font-size:9.5px;
    font-weight:700;
    padding:4px 10px;
    border-radius:999px;
    white-space:nowrap;
    z-index:2;
  }
  .cart-checkout-btn{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding:12px 0 9px;
    border:none;
    border-radius:10px;
    background:var(--brand);
    color:#ffffff;
    font-size:14px;
    font-weight:700;
    letter-spacing:.02em;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .cart-checkout-btn small{
    font-size:9px;
    font-weight:500;
    color:var(--brand-muted);
    margin-top:2px;
  }


  /* ---------- CART: live state ---------- */
  .savings-track{ padding:0; min-height:62px; align-items:flex-start; }
  .savings-track::before{ content:none; }
  .savings-track .track-line{
    position:absolute;
    left:calc(100% / 6);
    right:calc(100% / 6);
    top:15px;
    height:3px;
    border-radius:3px;
    background:var(--line-2);
    z-index:0;
  }
  .savings-track .track-fill{
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:0;
    border-radius:3px;
    background:var(--brand);
    transition:width .35s ease;
  }
  .savings-step .step-icon{
    width:32px;
    height:32px;
    transition:background .25s ease, border-color .25s ease, color .25s ease;
  }
  .savings-step .step-icon svg{ width:16px; height:16px; }
  .savings-step.done .step-icon{ background:var(--brand); border-color:var(--brand); color:#ffffff; }
  .savings-step.next .step-icon{ border-color:var(--brand); color:var(--brand); border-style:dashed; }
  .savings-step .step-label{ text-transform:uppercase; letter-spacing:.02em; }
  .savings-step .step-label small{
    display:block;
    font-size:9.5px;
    font-weight:600;
    letter-spacing:0;
    text-transform:none;
    color:var(--muted-2);
    margin-top:2px;
  }
  .savings-step.done .step-label small{ color:#1E8A4C; }
  .savings-block p b{ color:var(--brand); }

  .cart-item{ transition:opacity .2s ease; }
  .cart-item.removing{ opacity:0; }
  .ci-actions{ display:flex; align-items:center; gap:8px; margin-top:8px; }
  .ci-qty button{ width:28px; height:28px; font-size:15px; }
  .ci-qty button:active{ background:var(--brand-soft); }
  .ci-qty span{ width:22px; font-size:13px; }
  .ci-remove{
    border:none;
    background:none;
    padding:4px;
    color:var(--muted-2);
    cursor:pointer;
    display:flex;
    border-radius:6px;
  }
  .ci-remove:hover{ color:#C0392B; background:#FDEDEC; }
  .ci-remove svg{ width:16px; height:16px; }
  .ci-unit{ font-size:10.5px; color:var(--muted-2); margin-top:2px; white-space:nowrap; }

  .cart-empty{ text-align:center; padding:30px 10px 26px; }
  .cart-empty[hidden]{ display:none; }
  .cart-empty-icon{
    width:64px;
    height:64px;
    margin:0 auto 14px;
    border-radius:50%;
    background:var(--brand-soft);
    color:var(--brand);
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .cart-empty-icon svg{ width:28px; height:28px; }
  .cart-empty h3{ margin:0 0 4px; font-size:15px; color:var(--text); }
  .cart-empty p{ margin:0 0 16px; font-size:12.5px; color:var(--muted); }
  .cart-empty-btn{
    border:none;
    border-radius:10px;
    background:var(--brand);
    color:#fff;
    font-size:13px;
    font-weight:700;
    padding:11px 22px;
    cursor:pointer;
  }

  .coupon-apply-btn[aria-pressed="true"]{ background:var(--brand); color:#fff; }

  .reco-add-btn.added{ background:#E6F5EC; border-color:#1E8A4C; color:#1E8A4C; }

  .total-label{
    border:none;
    background:none;
    padding:0;
    cursor:pointer;
    font-family:inherit;
  }
  .total-label svg{ transition:transform .2s ease; transform:rotate(180deg); }
  .total-label[aria-expanded="true"] svg{ transform:rotate(0deg); }
  .cart-breakdown{
    background:#ffffff;
    border-top:1px solid var(--line);
    padding:12px 16px 4px;
    font-size:12.5px;
  }
  .cart-breakdown[hidden]{ display:none; }
  .bd-row{ display:flex; justify-content:space-between; padding:4px 0; color:var(--muted); }
  .bd-row[hidden]{ display:none; }
  .bd-save span:last-child{ color:#1E8A4C; font-weight:600; }
  .bd-total{ border-top:1px dashed var(--line-2); margin-top:4px; padding-top:8px; color:var(--text); font-weight:700; font-size:13.5px; }
  .cart-footer.is-empty{ display:none; }

  .cart-badge.bump{ animation:badgeBump .45s ease; }
  .cart-badge[hidden]{ display:none; }
  @keyframes badgeBump{ 0%{ transform:scale(1); } 40%{ transform:scale(1.45); } 100%{ transform:scale(1); } }

  .add-to-cart-btn.added{ background:#1E8A4C; }

  .cart-toast{
    position:fixed;
    left:50%;
    bottom:calc(20px + env(safe-area-inset-bottom));
    transform:translate(-50%, 20px);
    background:var(--text);
    color:#fff;
    font-size:13px;
    font-weight:600;
    padding:10px 16px;
    border-radius:10px;
    box-shadow:0 6px 20px rgba(0,0,0,.2);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
    z-index:130;
    white-space:nowrap;
  }
  .cart-toast.show{ opacity:1; transform:translate(-50%, 0); }

  /* =================================================================
     DESKTOP LAYOUT
  ==================================================================*/
  @media (min-width:1024px){
    .header-row{ max-width:var(--page-max); padding:0 32px; height:72px; }
    .header-row{ position:relative; }
    .logo-link{ order:1; flex:0 0 auto; margin-right:24px; }
    .logo-link img{ height:38px; }
    .desktop-nav{
      order:2;
      flex:1;
      display:flex;
      align-items:center;
      justify-content:center;
      gap:30px;
    }
    .desktop-nav a{
      font-size:14px;
      font-weight:600;
      color:var(--text-2);
      text-decoration:none;
      white-space:nowrap;
    }
    .desktop-nav-item > a{ display:flex; align-items:center; gap:4px; }
    .desktop-nav-item > a svg{ width:13px; height:13px; }
    .desktop-nav a:hover{ color:var(--brand); }
    .icon-group--left{ order:3; }
    .icon-group--left .menu-btn{ display:none; }
    .icon-group--left .delivery-btn{ display:flex; }
    .icon-group--right{ order:4; }
    .icon-btn{ width:40px; height:40px; }
    .icon-btn svg{ width:21px; height:21px; }

    .search-row{ max-width:var(--page-max); padding:0 32px; }
    .search-row.open{ padding:0 32px 14px; }
    .search-bar{ max-width:480px; margin:0 auto; }

    .top-line{ font-size:13px; padding:9px 12px; }




    .products-section{ max-width:var(--page-max); padding:44px 32px 0; }
    .section-divider{ max-width:var(--page-max); padding:0 32px; margin-top:44px; }
    .section-divider + .products-section{ padding-top:36px; }
    .section-head{ margin-bottom:20px; }
    .products-section h2{ font-size:22px; }
    .product-grid{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px 6px; }
    .product-info{ padding:14px; gap:8px; }
    .product-name{ font-size:15px; }
    .product-price-row .price-actual{ font-size:17.5px; }
    .add-to-cart-btn{ padding:11px 0; font-size:13.5px; }
    .view-all-btn{ font-size:14px; }


    .drawer{ width:380px; max-width:none; }
    .cart-drawer{ width:420px; max-width:none; }
  }


  /* page width: fills a MacBook 14" (1512px) with a small margin,
     wider screens keep this width and get the extra space on the sides */
  @media (min-width:1024px){
    :root{ --page-max:1480px; }
  }
  /* menu exactly in the centre of the header once there is room */
  @media (min-width:1280px){
    .desktop-nav{
      position:absolute;
      left:50%;
      top:50%;
      transform:translate(-50%, -50%);
      flex:none;
    }
    .icon-group--left{ margin-left:auto; }
  }

  @media (prefers-reduced-motion:reduce){
    *, *::before, *::after{ transition-duration:.01ms !important; animation-duration:.01ms !important; }
  }

  /* current page highlighted in the desktop menu */
  @media (min-width:1024px){
    .desktop-nav a[aria-current="page"]{ color:var(--brand); }
  }

  /* =================================================================
     SHARED PAGE BITS (breadcrumbs, card badges, ratings)
  ==================================================================*/
  [hidden]{ display:none !important; }
  .crumbs{
    max-width:var(--container);
    margin:0 auto;
    padding:10px 12px 0;
    display:flex;
    gap:6px;
    align-items:center;
    list-style:none;
    font-size:13px;
    color:var(--muted-2);
  }
  @media (min-width:1024px){ .crumbs{ font-size:14px; } .crumbs svg{ width:14px; height:14px; } }
  .crumbs a{ color:var(--muted-2); text-decoration:none; }
  .crumbs a:hover{ color:var(--brand); }
  .crumbs svg{ width:12px; height:12px; color:var(--muted-3); }
  .crumbs [aria-current]{ color:var(--text-2); font-weight:600; }
  .product-thumb{ position:relative; }
  .card-badge{
    position:absolute;
    top:8px; left:8px;
    z-index:1;
    background:var(--brand);
    color:#fff;
    font-size:10.5px;
    font-weight:700;
    padding:3px 7px;
    border-radius:4px;
  }
  .card-badge.best{ background:#F0A93A; color:#3A2400; top:32px; }
  .card-rating{
    display:flex;
    align-items:center;
    gap:4px;
    font-size:11.5px;
    color:var(--muted-2);
  }
  .card-rating .rate{
    display:inline-flex;
    align-items:center;
    gap:2px;
    background:#1E8A4C;
    color:#fff;
    font-weight:700;
    font-size:10.5px;
    padding:2px 5px;
    border-radius:4px;
  }
  .card-rating .rate svg{ width:9px; height:9px; fill:#fff; }
  .product-card.oos .product-thumb img{ filter:grayscale(.6); opacity:.65; }
  .oos-tag{
    position:absolute;
    left:0; right:0; bottom:0;
    z-index:1;
    background:rgba(26,34,51,0.78);
    color:#fff;
    font-size:11.5px;
    font-weight:700;
    letter-spacing:.04em;
    text-align:center;
    padding:6px 0;
    text-transform:uppercase;
  }
  .add-to-cart-btn:disabled{ background:var(--line-2); color:var(--muted-2); cursor:not-allowed; }
  .product-card[hidden]{ display:none; }
  /* star rating */
  .star-rating{
    position:relative;
    display:inline-flex;
    line-height:0;
    vertical-align:middle;
  }
  .star-rating .stars-base,
  .star-rating .stars-fill{ display:flex; gap:2px; }
  .star-rating .stars-fill{
    position:absolute;
    top:0;
    left:0;
    width:var(--rating, 0%);
    overflow:hidden;
    white-space:nowrap;
  }
  .star-rating svg{ width:14px; height:14px; flex-shrink:0; }
  .star-rating .stars-base svg{ fill:none; stroke:#D3DAE6; stroke-width:1.5; stroke-linejoin:round; }
  .star-rating .stars-fill svg{ fill:var(--star); }

  /* =================================================================
     ADDITIONS FOR THE LIVE STORE
  ==================================================================*/
  .logo-text{ font-size:18px; font-weight:800; color:var(--brand); letter-spacing:.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .drawer-brand .logo-text{ display:block; margin-bottom:12px; }
  .card-badge.best.solo{ top:8px; }
  .product-name a:hover{ color:var(--brand); }
  .product-thumb img{ background:var(--surface); }

  /* cart drawer: links, notices, coupon entry */
  .cart-item-thumb{ display:block; }
  .ci-name a, .reco-name a{ color:inherit; text-decoration:none; }
  .ci-warn{ margin:3px 0 0; font-size:11px; font-weight:600; color:#B26A00; }
  .ci-qty button:disabled{ opacity:.35; cursor:not-allowed; }
  .savings-track.single{ justify-content:center; }
  .savings-track.single .savings-step{ flex:none; }
  .coupon-more a{ cursor:pointer; }
  .coupon-more span:empty{ display:none; }
  .coupon-entry{ display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
  .coupon-entry input{ flex:1; min-width:0; height:38px; border:1.5px solid var(--line-2); border-radius:8px; padding:0 10px; font-size:13px; text-transform:uppercase; outline:none; }
  .coupon-entry input:focus{ border-color:var(--brand); }
  .coupon-entry button{ height:38px; padding:0 14px; border-radius:8px; border:1.5px solid var(--brand); background:var(--brand); color:#fff; font-size:12.5px; font-weight:700; cursor:pointer; }
  .coupon-entry button:disabled{ opacity:.6; }
  .coupon-msg{ flex-basis:100%; margin:0; font-size:11.5px; color:#C0392B; min-height:0; }
  .coupon-msg:empty{ display:none; }
  .coupon-applied:not([hidden]) + .coupon-more{ margin-top:0; }
  .coupon-block .coupon-applied[hidden] + .coupon-more{ border-top:none; padding-top:0; }
  .cart-checkout-btn small{ color:rgba(255,255,255,.8); }

  /* generic page helpers */
  .page-empty{ max-width:var(--container); margin:0 auto; padding:48px 16px 16px; text-align:center; }
  .page-empty .art{ width:84px; height:84px; margin:0 auto 14px; border-radius:50%; background:var(--brand-soft); color:var(--brand); display:flex; align-items:center; justify-content:center; }
  .page-empty .art svg{ width:36px; height:36px; }
  .page-empty h1{ margin:0 0 6px; font-size:22px; color:var(--text); }
  .page-empty p{ margin:0 auto 18px; font-size:13.5px; color:var(--muted); line-height:1.55; max-width:380px; }
  .btn-brand{ display:inline-flex; align-items:center; justify-content:center; gap:8px; height:46px; padding:0 22px; border-radius:10px; font-size:14px; font-weight:700; text-decoration:none; border:1.5px solid var(--brand); background:var(--brand); color:#fff; cursor:pointer; }
  .btn-brand.outline{ background:#fff; color:var(--brand); }
  @media (min-width:1024px){ .page-empty{ max-width:var(--page-max); padding-top:72px; } }

  /* hidden spam-trap field on forms */
  .hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }

  /* Mobile breadcrumb (Home > …): room to breathe above, below and at the sides */
  @media (max-width:1023px){
    .crumbs{ padding:14px 12px 12px; gap:8px; line-height:1.4; }
    .crumbs li{ display:flex; align-items:center; min-width:0; }
    .crumbs li:last-child{ flex:1; min-width:0; }
    .crumbs [aria-current]{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  }
