/* Mobile polish: smoother navigation, compact product detail, and no hero shimmer. */

/* Make sure any legacy shimmer implementation stays off. */
.visual-stage .light-sweep::after,
.visual-stage::after,
.hero-unified-sheen{display:none!important;animation:none!important;content:none!important}

/* Product-page art direction: keep the bottle high in the visual panel instead of
   vertically centering it and leaving a large empty field above. */
.product-detail{align-items:start!important}
.product-visual{
  align-items:flex-start!important;
  justify-content:center!important;
  padding-top:calc(var(--header) + 40px)!important;
}
.product-visual img{
  width:min(78%,560px)!important;
  height:auto!important;
  max-height:calc(100vh - var(--header) - 70px)!important;
  object-fit:contain!important;
  object-position:center top!important;
  transform:translateY(-28px)!important;
}

@media(max-width:700px){
  /* Smooth mobile menu: keep it mounted and animate opacity/position instead of display snapping. */
  .header .nav{
    display:flex!important;
    position:fixed!important;
    top:76px!important;
    left:0!important;
    width:100vw!important;
    height:calc(100dvh - 76px)!important;
    padding:18px 18px calc(24px + env(safe-area-inset-bottom))!important;
    margin:0!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:rgba(17,17,17,.985)!important;
    -webkit-backdrop-filter:blur(16px)!important;
    backdrop-filter:blur(16px)!important;
    z-index:1399!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translate3d(0,-10px,0)!important;
    transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s linear .28s!important;
  }
  .header.mobile-open .nav{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate3d(0,0,0)!important;
    transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s!important;
  }
  .header .nav button{
    opacity:0;
    transform:translateY(-5px);
    transition:opacity .18s ease,transform .22s ease,background-color .18s ease!important;
  }
  .header.mobile-open .nav button{opacity:1;transform:none}
  .header.mobile-open .nav button:nth-child(1){transition-delay:.03s!important}
  .header.mobile-open .nav button:nth-child(2){transition-delay:.055s!important}
  .header.mobile-open .nav button:nth-child(3){transition-delay:.08s!important}
  .header.mobile-open .nav button:nth-child(4){transition-delay:.105s!important}
  .header.mobile-open .nav button:nth-child(5){transition-delay:.13s!important}
  .header.mobile-open .nav button:nth-child(6){transition-delay:.155s!important}

  .mobile:before,.mobile:after{
    transition:transform .28s cubic-bezier(.2,.75,.25,1),box-shadow .22s ease,top .28s cubic-bezier(.2,.75,.25,1),opacity .18s ease!important;
  }
  .header.mobile-open .mobile{transform:rotate(90deg);transition:transform .28s cubic-bezier(.2,.75,.25,1)!important}
  .mobile{transition:transform .28s cubic-bezier(.2,.75,.25,1)!important}

  /* Condense the mobile product-detail experience so the purchase controls arrive sooner. */
  .product-detail{display:block!important}
  .product-visual{
    min-height:42vh!important;
    height:42vh!important;
    padding:calc(var(--header) + 2px) 18px 10px!important;
    align-items:flex-start!important;
  }
  .product-visual img{
    height:auto!important;
    max-height:36vh!important;
    width:min(84%,420px)!important;
    transform:translateY(-8px)!important;
    object-position:center top!important;
  }
  .product-copy{padding:28px 18px 58px!important}
  .product-copy h1{
    font-size:clamp(52px,16vw,66px)!important;
    line-height:.88!important;
    margin:8px 0 14px!important;
  }
  .product-copy .lede{
    font-size:16px!important;
    line-height:1.46!important;
    margin-bottom:14px!important;
  }
  .product-copy .spec{padding:11px 0!important;font-size:13px!important}
  .product-copy .addrow{
    position:static!important;
    margin-top:18px!important;
    padding:7px!important;
    border-radius:17px!important;
    grid-template-columns:minmax(0,1fr) 64px!important;
    gap:7px!important;
    box-shadow:0 12px 32px rgba(0,0,0,.08)!important;
  }
  .product-copy .addrow .pill-dark,
  .product-copy .qty{
    min-height:46px!important;
    height:46px!important;
    border-radius:12px!important;
  }
  .product-copy .addrow .pill-dark{font-size:10px!important;padding:10px 12px!important}
  .product-copy .qty{padding:0 8px!important;font-size:14px!important}
  .product-copy .review-strip{margin-top:14px!important;padding-top:16px!important}
}

@media(prefers-reduced-motion:reduce){
  .header .nav,.header .nav button,.mobile,.mobile:before,.mobile:after{transition:none!important}
}
