/* Reference-inspired refinement: a complete vial, quieter movement, and useful discovery. */
html { scroll-padding-top: 125px; }
.site-header { position: sticky; top: 0; box-shadow: 0 1px 0 rgba(0,0,0,.055); }
.desktop-nav { font-size: 12px; }
.shop-nav { position: relative; height: 100%; display: flex; align-items: center; }
.shop-nav > button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; padding: 12px 0; }
.shop-nav > button span { margin-left: 4px; font-size: 11px; }
.shop-menu { position: absolute; top: calc(100% - 1px); left: 50%; transform: translateX(-36%); width: 470px; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; padding: 26px; background: #fff; border: 1px solid #e6e6e3; box-shadow: 0 18px 30px rgba(0,0,0,.09); }
.shop-menu > div:first-child > a { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid #eee; font-size: 12px; }
.shop-menu > div:first-child > a:last-child { border-bottom: 0; }
.shop-menu-note { background: #f1f1ef url('assets/molecules.webp') center/cover; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 175px; }
.shop-menu-note > span { font-size: 9px; letter-spacing: .12em; color: #676963; }
.shop-menu-note strong { font: 500 23px/1.1 var(--display); letter-spacing: -.04em; margin-top: 8px; }
.shop-menu-note p { max-width: 150px; color: #565852; font-size: 10px; line-height: 1.55; margin-bottom: 0; }
.hero-image { background-image: url('assets/hero-vial-v2.webp'); background-position: center center; }
.hero-description { max-width: 390px; color: #4e504c; font-size: 14px; }
.hero h1 { font-size: clamp(45px,4.2vw,65px); }
.button { font-size: 11px; }
.promise span,.standard-grid span,.standard-note,.product-price,.catalog-notice,.product-meta { color: #686a65; }
.section-center > p:last-child,.section-heading-line > p { color: #646660; }
.explore-feature .eyebrow,.explore-feature > p:not(.eyebrow) { color: #5d5f59; }
.footer-brand small,.footer-bottom { color: #666862; font-size: 10px; }
.story-panel p:not(.eyebrow),.difference-copy > p:not(.eyebrow),.faq-intro > p:not(.eyebrow) { font-size: 13px; }
.section-center > p:last-child,.section-heading-line > p { font-size: 13px; }
.product-visual { height: 310px; }
.product-number,.product-preview-label { z-index: 2; pointer-events: none; }
.product-image-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; }
.product-image-trigger .vial-render { transition: transform .3s ease; }
.product-view { position: absolute; z-index: 2; bottom: 15px; left: 18px; color: #696b66; font-size: 9px; letter-spacing: .08em; }
.product-view span { margin-left: 5px; }
.product-info { padding-top: 18px; }
.product-bottom { align-items: stretch; }
.product-action { min-height: 44px; }
.card-quantity { display: grid; grid-template-columns: 32px 28px 32px; min-height: 44px; border: 1px solid #d6d6d2; }
.card-quantity button,.detail-quantity button { padding: 0; border: 0; background: transparent; font-size: 15px; }
.card-quantity button:disabled,.detail-quantity button:disabled { opacity: .3; }
.card-quantity output,.detail-quantity output { display: grid; place-items: center; font-size: 11px; }
.product-detail-button { display: inline-flex; align-items: center; gap: 8px; min-width: 0; min-height: 38px; padding: 8px 0; border: 0; background: transparent; color: #62645f; font-size: 10px; }
.product-detail-button:hover { color: #111; }
.explore-art button { position: relative; height: 50px; width: 50px; border: 1px solid #777; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); font-family: var(--display); font-size: 14px; transition: color .2s,background .2s,border-color .2s; }
.explore-art button[aria-pressed="true"] { color: #fff; background: #111; border-color: #111; }
.explore-feature > p:not(.eyebrow) { font-size: 12px; }
.search-dialog,.account-dialog { max-height: min(88dvh,760px); overflow: auto; }
.search-dialog { width: min(650px,calc(100% - 32px)); }
.search-results-heading { display: flex; justify-content: space-between; margin-top: 26px; color: #70726c; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.search-results { max-height: 330px; overflow: auto; margin-top: 7px; }
.search-result { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 14px; width: 100%; min-height: 76px; padding: 9px 0; border: 0; border-bottom: 1px solid #ededeb; text-align: left; background: #fff; }
.search-result:hover { background: #fafaf9; }
.search-thumb { display: flex; justify-content: center; height: 58px; background: #f2f2f0; overflow: hidden; }
.search-thumb img { height: 100%; width: auto; object-fit: contain; }
.search-result strong,.search-result small { display: block; }
.search-result strong { font: 600 13px var(--display); }
.search-result strong small { display: inline; color: #777; font: 400 10px var(--body); }
.search-result > span:nth-child(2) > small { margin-top: 5px; color: #6c6e68; font-size: 10px; }
.search-no-results { color: #666862; font-size: 12px; padding: 14px 0; }
.search-dialog form > p,.search-result strong small,.cart-head h2 span,.cart-row p,.quantity .remove-item,.cart-footer p,.cart-step > p:not(.eyebrow),.cart-step small { color: #656761; }
.cart-step input::placeholder { color: #6b6d67; }
.account-dialog { width: min(490px,calc(100% - 32px)); padding: 30px; }
.account-dialog p { color: #62645f; font-size: 12px; line-height: 1.75; margin: 24px 0; }
.product-dialog { width: min(1080px,calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.product-close { top: 16px; right: 18px; }
.product-detail-layout { grid-template-columns: 1fr 1fr; }
.product-detail-art { min-height: 620px; padding: 26px; display: flex; flex-direction: column; background: #f3f3f1; }
.detail-image-view { flex: 1; width: 100%; min-height: 455px; position: relative; overflow: hidden; display: grid; place-items: center; }
.detail-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.detail-vial-slide .vial-render { height: min(390px,90%); }
.detail-scene { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-slide[data-slide="presentation"] .detail-scene { object-position: right center; }
.detail-image-index { position: absolute; bottom: 15px; right: 15px; color: #5f615b; font-size: 10px; letter-spacing: .1em; }
.detail-thumbs { width: 100%; display: flex; gap: 8px; margin-top: 16px; }
.detail-thumbs button { width: 64px; height: 62px; padding: 0; border: 1px solid transparent; background: #e8e8e6; overflow: hidden; }
.detail-thumbs button[aria-pressed="true"] { border-color: #333; }
.detail-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs button:first-child img { object-fit: contain; }
.product-detail-copy { padding: 64px 48px 40px; }
.product-detail-copy h2 { font-size: 40px; }
.product-detail-copy > p:not(.eyebrow) { font-size: 13px; color: #62645f; }
.detail-options { border: 0; padding: 0; margin: 25px 0 18px; }
.detail-options legend { width: 100%; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.detail-options legend span { float: right; color: #777973; font-size: 9px; letter-spacing: .08em; font-weight: 500; }
.detail-options > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.detail-options button { min-height: 42px; border: 1px solid #cdceca; background: #fff; font-size: 11px; }
.detail-options button[aria-pressed="true"] { border-color: #111; background: #111; color: #fff; }
.detail-purchase { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.detail-quantity { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #d2d3cf; min-height: 46px; }
.detail-add { width: 100%; }
.product-detail-copy .detail-note { margin: 18px 0 10px; padding: 12px 0; font-size: 10px; }
.detail-accordions details { border-bottom: 1px solid #dedfdb; }
.detail-accordions summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; font-size: 11px; font-weight: 700; }
.detail-accordions summary::-webkit-details-marker { display: none; }
.detail-accordions summary span { font-size: 17px; font-weight: 400; }
.detail-accordions details[open] summary span { transform: rotate(45deg); }
.detail-accordions details p { margin: 0; padding: 0 0 16px; color: #6b6d67; font-size: 11px; line-height: 1.6; }
.quantity button { min-width: 32px; min-height: 36px; }
.quantity .remove-item { min-width: 0; width: auto; }
@media (hover:hover) {
  .product-image-trigger:hover .vial-render { transform: translateY(-5px) scale(1.025); }
  .button svg { transition: transform .2s ease; }
  .button:hover svg { transform: translateX(3px); }
}
@media (prefers-reduced-motion:no-preference) {
  .hero-image { animation: hero-settle 1s ease-out both; }
  .hero-copy > * { animation: hero-rise .65s ease-out both; }
  .hero-copy h1 { animation-delay: .08s; }
  .hero-description { animation-delay: .16s; }
  .hero-actions { animation-delay: .23s; }
  @keyframes hero-settle { from { transform: scale(1.025); opacity: .7; } to { transform: scale(1); opacity: 1; } }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width:850px) {
  html { scroll-padding-top: 80px; }
  .product-visual { height: 250px; }
  .product-detail-art { min-height: 500px; padding: 20px; }
  .detail-image-view { min-height: 365px; }
  .detail-vial-slide .vial-render { height: min(330px,90%); }
  .product-detail-copy { padding: 58px 28px 30px; }
}
@media (max-width:600px) {
  .header-main { display: flex; justify-content: space-between; }
  .header-tools { gap: 2px; }
  .header-tools .icon-button,.menu-toggle { min-width: 44px; min-height: 44px; }
  .hero { min-height: 670px; }
  .hero-image { background-color: #f6f6f4; background-size: auto 58%; background-repeat: no-repeat; background-position: right top; }
  .hero:after { background: linear-gradient(0deg,#f6f6f4 0%,rgba(246,246,244,.98) 38%,rgba(246,246,244,0) 69%); }
  .hero-copy { min-height: 670px; }
  .hero h1 { font-size: clamp(40px,10vw,54px); }
  .hero-description { font-size: 13px; }
  .hero-actions .button { font-size: 10.5px; }
  .product-visual { height: 230px; }
  .product-image-trigger .vial-render { height: 185px; }
  .product-view { bottom: 10px; left: 10px; font-size: 8px; }
  .product-bottom { flex-wrap: wrap; }
  .product-action { flex: 1 1 100%; min-height: 44px; font-size: 10px; }
  .filter-button { min-height: 44px; }
  .card-quantity { width: 100%; grid-template-columns: 44px 1fr 44px; }
  .card-quantity button { min-height: 44px; }
  .product-detail-button { min-height: 44px; }
  .product-dialog { max-height: calc(100dvh - 24px); }
  .product-detail-layout { grid-template-columns: 1fr; }
  .product-detail-art { min-height: 330px; padding: 16px; }
  .detail-image-view { min-height: 245px; }
  .detail-vial-slide .vial-render { height: 225px; }
  .detail-thumbs { margin-top: 10px; }
  .detail-thumbs button { width: 52px; height: 49px; }
  .product-detail-copy { padding: 30px 24px; }
  .product-detail-copy h2 { font-size: 32px; }
  .detail-purchase { grid-template-columns: 132px 1fr; }
  .detail-options button { min-height: 44px; }
  .quantity button { min-width: 44px; min-height: 44px; }
}
@media (max-width:350px) {
  .product-visual { height: 195px; }
  .product-image-trigger .vial-render { height: 160px; }
  .product-bottom { flex-direction: row; }
  .detail-purchase { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr; gap: 10px; }
  .quantity { flex-wrap: wrap; }
  .quantity .remove-item { flex-basis: 100%; margin-left: 0; text-align: left; }
}
@media (prefers-reduced-motion:reduce) {
  .product-image-trigger .vial-render,.button svg { transition: none; }
}
