/* =====================================================================
   West Coast Labs Supply — shared components + inner pages
   (cart drawer, shop, product page, about, FAQs, contact)
   Loaded after style.css on every page.
   ===================================================================== */

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink-2); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 13px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
html.is-locked, html.is-locked body { overflow: hidden; }
.media-slot { display: contents; }
.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; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* ---------- header additions ---------- */
.nav__link.is-current { color: var(--brand); background: var(--brand-tint); font-weight: 600; }
.btn-cart { border: 0; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn-cart:hover { transform: translateY(-1px); background: #1b2740; }
.logo__text { font-size: 18px; }

/* ---------- product card refinements (shared) ---------- */
.card__rating { color: var(--slate-600); }
.card__coa { white-space: nowrap; }
.variant__mg { font-size: 15px; letter-spacing: .02em; }
.variant--fixed { cursor: default; border-style: dashed; background: rgba(255,255,255,.7); }
.variants--single .variant { width: 100%; }
.card__price.is-pop { animation: pricePop .35s ease; }
@keyframes pricePop { 40% { transform: scale(1.08); color: var(--sky); } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translateX(-50%);
  background: var(--ink-2); color: #fff; padding: 10px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; box-shadow: 0 16px 32px -12px rgba(15,23,42,.5);
}
.toast.is-in { animation: toastIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }
.pair.is-in { animation: slideUp .4s cubic-bezier(.2,.8,.2,1); }
.pair__note { font-size: 12px; color: var(--slate-500); line-height: 16px; }

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.drawer { position: fixed; inset: 0; z-index: 110; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(9,13,22,.45); opacity: 0; transition: opacity .3s ease; backdrop-filter: blur(2px); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -24px 0 48px -24px rgba(15,23,42,.35);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--slate-100); }
.drawer__head h2 { font-size: 18px; font-weight: 700; color: var(--ink); }
.drawer__head h2 span { color: var(--slate-500); font-weight: 500; }
.drawer__close { width: 36px; height: 36px; border: 0; border-radius: 10px; background: var(--slate-50); display: grid; place-items: center; color: var(--ink); }
.drawer__close:hover { background: var(--slate-100); }
.drawer__close .ic { font-size: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.drawer__foot { border-top: 1px solid var(--slate-100); padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 12px; background: var(--slate-50); }
.drawer__foot:empty { display: none; }

.cart-empty { margin: auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 12px; }
.cart-empty > .ic { font-size: 40px; color: var(--slate-300); }
.cart-empty h3 { font-size: 18px; }
.cart-empty p { color: var(--slate-500); font-size: 14px; max-width: 280px; }

.cart-ship { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 18px; color: var(--ink-3); background: #ecfdf5; border-radius: 10px; padding: 10px 12px; }
.cart-ship .ic { color: var(--green); font-size: 15px; margin-top: 1px; }
.cart-ship b { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cart-ship em { font-style: normal; color: var(--slate-500); }

.meter { border: 1px solid rgba(0,64,135,.12); background: linear-gradient(180deg, #f5f9ff, #fff); border-radius: 12px; padding: 12px 14px 26px; }
.meter__msg { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.meter__msg .ic { color: var(--brand); font-size: 16px; }
.meter__track { position: relative; height: 6px; border-radius: 6px; background: var(--slate-200); margin-top: 12px; }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, var(--sky), var(--brand)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.meter__stop { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.meter__stop i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--slate-300); transition: border-color .3s, background .3s; }
.meter__stop.is-hit i { background: var(--brand); border-color: var(--brand); }
.meter__stop em { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--slate-500); }
.meter__stop:last-child { transform: translate(-100%, -50%); }
.meter__stop:last-child em { left: auto; right: -2px; transform: none; }

.cart-free { font-size: 12.5px; color: var(--slate-600); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.cart-free .ic { color: var(--sky); font-size: 14px; }
.cart-free__bar { flex-basis: 100%; height: 4px; border-radius: 4px; background: var(--slate-100); overflow: hidden; }
.cart-free__bar i { display: block; height: 100%; background: var(--green); border-radius: 4px; transition: width .5s ease; }

.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--slate-100); border-radius: 12px; animation: lineIn .35s ease; }
@keyframes lineIn { from { opacity: 0; transform: translateX(10px); } }
.line__img, .upsell__img { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--accent, #cbd5e1) 30%, #fff), var(--slate-50) 70%); }
.line__img img, .line__img svg, .upsell__img img, .upsell__img svg { width: 52px; height: 52px; object-fit: contain; }
.line__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line__name { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 18px; }
.line__meta { font-family: var(--mono); font-size: 11px; color: var(--slate-500); }
.line__meta i { font-style: normal; color: var(--slate-400); }
.line__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-variant-numeric: tabular-nums; }
.line__end b { font-size: 14px; }
.line__remove { border: 0; background: none; color: var(--slate-400); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.line__remove:hover { background: #fef2f2; color: #dc2626; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--slate-200); border-radius: 8px; width: max-content; }
.qty button { border: 0; background: none; width: 28px; height: 28px; font-size: 16px; color: var(--ink); border-radius: 8px; }
.qty button:hover { background: var(--slate-100); }
.qty span { min-width: 24px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 600; }

.upsell { --accent: #5b8fd6; display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; border: 1px dashed rgba(2,132,199,.35); background: #f3f9fe; }
.upsell__kicker { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--sky); }
.upsell__name { font-size: 13px; font-weight: 600; color: var(--ink); }

.coupon { display: flex; flex-wrap: wrap; gap: 8px; }
.coupon input { flex: 1; min-width: 0; border: 1px solid var(--slate-200); border-radius: 8px; padding: 10px 12px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; background: #fff; }
.coupon input:focus { outline: 0; border-color: var(--sky); }
.coupon .btn { border: 1px solid var(--slate-200); background: #fff; }
.coupon__msg { flex-basis: 100%; font-size: 12px; color: #b91c1c; }
.coupon__msg:empty { display: none; }
.coupon__chip { display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: var(--green); border-radius: 999px; padding: 6px 6px 6px 12px; font-family: var(--mono); font-size: 12px; font-weight: 700; }
.coupon__chip button { border: 0; background: rgba(5,150,105,.12); color: var(--green); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.sum { margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--slate-600); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.sum .is-save dt, .sum .is-save dd { color: var(--green); }
.sum__total { border-top: 1px solid var(--slate-200); padding-top: 8px; margin-top: 2px; font-size: 16px; }
.sum__total dt, .sum__total dd { color: var(--ink) !important; font-weight: 800; }
.sum__saved { font-size: 12px; font-weight: 700; color: var(--green); text-align: right; margin-top: -4px; }
.ruo { display: flex; gap: 8px; font-size: 12px; color: var(--slate-600); line-height: 17px; cursor: pointer; }
.ruo input { margin-top: 2px; accent-color: var(--brand); }
.cart-checkout { width: 100%; border-radius: 12px; }
.cart-checkout:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.cart-note { font-size: 12px; color: var(--slate-500); text-align: center; }
.cart-note:empty { display: none; }

.footer__mail { font-family: var(--mono); font-size: 12px; color: var(--slate-400); user-select: all; margin-top: 4px; }
.footer__lookup { flex-wrap: wrap; }
.footer__lookup-out { flex-basis: 100%; font-size: 13px; color: var(--slate-400); display: flex; align-items: center; gap: 6px; }
.footer__lookup-out:empty { display: none; }
.footer__lookup-out.is-ok { color: var(--mint); }

/* =====================================================================
   INNER PAGE HERO (shared by shop, about, faqs, contact, product)
   ===================================================================== */
.page-hero {
  position: relative; overflow: hidden; padding: 64px 0 56px;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(2,132,199,.10), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(232,180,143,.28), transparent 60%),
    linear-gradient(180deg, #fff7ef 0%, #fbf3ea 100%);
  border-bottom: 1px solid rgba(226,232,240,.8);
}
.page-hero::after { /* soft vial-glass highlight */
  content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255,255,255,.9), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.page-hero__inner > * { max-width: 760px; }
.page-hero h1 { font-size: 56px; line-height: 1; letter-spacing: -.035em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.page-hero p.lead { font-size: 18px; line-height: 28px; color: var(--slate-600); max-width: 620px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--slate-500); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.95); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); box-shadow: 0 6px 16px -12px rgba(80,55,30,.35); }
.hero-facts .ic { color: var(--green); font-size: 14px; }

.section { padding: 72px 0; }
.section--tint { background: linear-gradient(180deg, #f8fafc, #eef4fb); border-top: 1px solid rgba(226,232,240,.8); border-bottom: 1px solid rgba(226,232,240,.8); }
.section--warm { background:#F2F6FA; }

/* =====================================================================
   SHOP
   ===================================================================== */
.bundle-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: linear-gradient(110deg, var(--ink-2) 0%, #12325f 60%, #0b5f8a 100%); color: #fff;
  border-radius: 18px; padding: 18px 22px; box-shadow: 0 20px 40px -24px rgba(0,64,135,.7);
  position: relative; overflow: hidden;
}
.bundle-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); transform: translateX(-100%); animation: bannerSheen 6s ease-in-out 1s infinite; }
@keyframes bannerSheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.bundle-banner__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 22px; color: var(--mint); }
.bundle-banner h2 { font-size: 18px; line-height: 24px; font-weight: 700; }
.bundle-banner p { font-size: 13px; color: #b9cbe2; }
.bundle-banner__tiers { display: flex; gap: 8px; }
.tier-chip { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 8px 12px; text-align: center; min-width: 92px; }
.tier-chip b { display: block; font-size: 18px; line-height: 22px; color: var(--mint); }
.tier-chip span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: #cfe0f3; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 28px 0 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1px solid var(--slate-200); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; color: var(--slate-700); display: inline-flex; gap: 6px; align-items: center; transition: all .15s ease; }
.filter span { font-family: var(--mono); font-size: 11px; color: var(--slate-400); }
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.filter[aria-pressed="true"] span { color: var(--slate-300); }
.toolbar__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; padding: 0 12px; color: var(--slate-400); }
.shop-search input { border: 0; outline: 0; padding: 10px 0; font-family: var(--font); font-size: 13px; width: 200px; background: transparent; color: var(--ink); }
.shop-search:focus-within { border-color: var(--sky); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; padding: 10px 36px 10px 12px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.select .ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--slate-500); }
.result-count { font-family: var(--mono); font-size: 12px; color: var(--slate-500); }

.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.shop-grid.home_grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shop-grid .card { height: 100%; }
/* .shop-grid .card__media { height: 210px; } */
.shop-grid .card__media img, .shop-grid .card__media svg { width: 168px; height: 168px; }
.shop-grid .card__title { font-size: 17px; line-height: 23px; min-height: 46px; }
.shop-grid .card__desc { min-height: 60px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-grid .card__price { font-size: 24px; line-height: 30px; }
.shop-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--slate-500); }
.shop-empty b { color: var(--ink); }

/* =====================================================================
   PRODUCT PAGE
   ===================================================================== */
.pdp { padding: 32px 0 72px; background: linear-gradient(180deg, var(--pdp-from, #fff7ef) 0%, #fff 520px); }
.pdp .crumbs { margin-bottom: 20px; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.gallery { position: sticky; top: calc(110px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 12px; }
.gallery__main {
  position: relative; aspect-ratio: 1 / 1; max-width: 100%; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(55% 55% at 50% 58%, color-mix(in srgb, var(--accent) 38%, #fff) 0%, transparent 70%),
    linear-gradient(160deg, var(--pdp-from, #fff7ef), var(--pdp-to, #f2e4d4));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 30px 60px -40px rgba(15,23,42,.4);
}
.gallery__main::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 8%; height: 5%; transition: opacity .4s; border-radius: 50%; background: radial-gradient(closest-side, rgba(15,23,42,.22), transparent); }
.gallery__main .media-slot img, .gallery__main .media-slot svg {
  position: absolute; z-index: 1; left: 0; right: 0; top: 9%; height: 80%; width: 100%; margin: 0 auto; object-fit: contain;
  filter: drop-shadow(0 28px 26px rgba(15,23,42,.22)); animation: floatVial 6s ease-in-out infinite;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.gallery__main { cursor: zoom-in; }
.gallery__main.is-label { cursor: zoom-out; }
.gallery__main.is-label .media-slot img, .gallery__main.is-label .media-slot svg { animation: none; transform: scale(1.9) translateY(-4%); }
.gallery__main.is-label::after { opacity: 0; }
.thumb--zoom .media-slot img, .thumb--zoom .media-slot svg { transform: scale(2.2) translateY(-3%); }
.thumb { overflow: hidden; }
@keyframes floatVial { 50% { transform: translateY(-10px); } }
.gallery__badges { position: absolute; z-index: 2; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.gallery__badges span { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border-radius: 999px; padding: 5px 12px; font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.gallery__badges .ic { color: var(--green); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.thumb { border: 2px solid transparent; background: #fff; border-radius: 14px; aspect-ratio: 1.3 / 1; display: grid; place-items: center; padding: 8px; box-shadow: 0 6px 16px -12px rgba(15,23,42,.4); color: var(--slate-600); font-family: var(--mono); font-size: 10.5px; font-weight: 600; text-align: center; gap: 4px; }
.thumb[aria-pressed="true"] { border-color: var(--brand); }
.thumb .media-slot img, .thumb .media-slot svg { width: 46px; height: 60px; object-fit: contain; }
.gallery__badges .ic { font-size: 13px; }
.thumb .ic { font-size: 22px; color: var(--brand); }

.buy { display: flex; flex-direction: column; gap: 18px; }
.buy__badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buy h1 { font-size: 44px; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.buy__tag { font-size: 16px; font-weight: 600; color: var(--slate-600); margin-top: -8px; }
.buy__rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--slate-600); }
.buy__rating .stars { display: inline-flex; gap: 1px; color: #f59e0b; }
.buy__rating .stars .ic { fill: currentColor; stroke: none; font-size: 14px; }
.buy__desc { font-size: 15px; line-height: 24px; color: var(--slate-600); }
.buy__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.buy__price b { font-size: 36px; line-height: 1; letter-spacing: -.02em; color: var(--brand); font-variant-numeric: tabular-nums; }
.buy__price s { color: var(--slate-400); font-size: 18px; }
.buy__price span { font-family: var(--mono); font-size: 12px; color: var(--green); font-weight: 700; background: #ecfdf5; padding: 3px 8px; border-radius: 6px; }
.buy__label { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 8px; }

.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.size {
  position: relative; border: 2px solid var(--slate-200); background: #fff; border-radius: 16px; padding: 14px 16px; text-align: left;
  display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.size:hover { border-color: var(--slate-300); transform: translateY(-1px); }
.size[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0,64,135,.08); }
.size__mg { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.size__price { font-size: 15px; font-weight: 700; color: var(--brand); }
.size__per { font-family: var(--mono); font-size: 11px; color: var(--slate-500); }
.size__best { position: absolute; top: -10px; right: 12px; background: var(--green); color: #fff; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; }
.size__check { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--slate-300); display: grid; place-items: center; color: #fff; font-size: 12px; transition: all .2s; }
.size[aria-pressed="true"] .size__check { background: var(--brand); border-color: var(--brand); }

.tiers { display: flex; flex-direction: column; gap: 8px; }
.tier {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  border: 1.5px solid var(--slate-200); border-radius: 14px; padding: 12px 14px; background: #fff; text-align: left; transition: all .2s;
}
.tier:hover { border-color: var(--slate-300); }
.tier[aria-pressed="true"] { border-color: var(--brand); background: #f5f9ff; }
.tier__dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--slate-300); position: relative; }
.tier[aria-pressed="true"] .tier__dot { border-color: var(--brand); }
.tier[aria-pressed="true"] .tier__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand); }
.tier__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.tier__sub { display: block; font-family: var(--mono); font-size: 11px; color: var(--slate-500); font-weight: 500; }
.tier__price { text-align: right; font-variant-numeric: tabular-nums; }
.tier__price b { display: block; font-size: 15px; color: var(--ink); }
.tier__price span { font-family: var(--mono); font-size: 10.5px; font-weight: 700; color: var(--green); }
.tier__note { font-size: 12px; color: var(--slate-500); display: flex; align-items: center; gap: 6px; }
.tier__note .ic { color: var(--brand); }

.buy__row { display: flex; gap: 10px; align-items: stretch; }
.buy__row .qty { border-radius: 12px; }
.buy__row .qty button { width: 42px; height: 52px; font-size: 18px; }
.buy__row .qty span { min-width: 34px; font-size: 15px; }
.buy__add { flex: 1; border-radius: 12px; padding: 16px 20px; }
.buy__add.is-added { background: var(--green); }
.buy .ship-timer { margin-top: 0; align-self: flex-start; }
.buy__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.buy__trust div { background: var(--slate-50); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--slate-600); line-height: 16px; }
.buy__trust .ic { color: var(--brand); font-size: 18px; }
.buy__trust b { color: var(--ink); font-size: 12.5px; }
.buy__ruo { font-size: 12px; color: var(--slate-500); line-height: 18px; border-left: 3px solid #dc2626; padding-left: 10px; }

/* CoA card — reference-inspired: accreditation chips, big purity figure, QC panels */
.pdp-coa { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(15,23,42,.35); border: 1px solid rgba(226,232,240,.8); }
.pdp-coa__main { padding: 32px; display: flex; flex-direction: column; gap: 16px; background: radial-gradient(500px 260px at 0% 0%, color-mix(in srgb, var(--accent) 18%, #fff), #fff 70%); }
.accred { display: flex; flex-wrap: wrap; gap: 6px; }
.accred span { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand); }
.purity-big { display: flex; align-items: baseline; gap: 10px; }
.purity-big b { font-size: 72px; line-height: 1; letter-spacing: -.04em; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.purity-big span { font-family: var(--mono); font-size: 12px; color: var(--slate-500); text-transform: uppercase; letter-spacing: .06em; }
.coa-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.coa-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(5,150,105,.15); }
.coa-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coa-meta div { background: var(--slate-50); border-radius: 12px; padding: 10px 12px; }
.coa-meta small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--slate-500); letter-spacing: .04em; }
.coa-meta b { font-size: 13.5px; color: var(--ink); font-family: var(--mono); }
.coa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coa-actions .btn { border-radius: 10px; }
.pdp-coa__side { background: var(--night); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.qc-title { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); }
.qc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.qc li { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; background: var(--night-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.qc li .ic { color: var(--mint); font-size: 16px; }
.qc li small { display: block; color: var(--slate-400); font-size: 11.5px; }
.qc li em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--mint); font-weight: 700; }
.pdp-coa .chrom__plot { background: var(--night-2); height: 120px; }

/* Specs */
.specs-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.spec-card { background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: 20px; padding: 24px; box-shadow: 0 16px 36px -28px rgba(15,23,42,.3); }
.spec-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.spec-card h3 .ic { color: var(--brand); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.spec-table th { width: 38%; font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--slate-500); letter-spacing: .03em; text-transform: uppercase; padding-right: 12px; }
.spec-table td { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; background: var(--slate-50); border: 1px solid var(--slate-100); color: var(--ink-3); }
.chips .ic { color: var(--sky); }
.spec-card p { font-size: 14px; line-height: 22px; color: var(--slate-600); }

/* Related */
.rel-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rel-card { --accent: #cbd5e1; display: flex; flex-direction: column; gap: 8px; background: #fff; border-radius: 18px; padding: 12px; border: 1px solid rgba(226,232,240,.8); box-shadow: 0 14px 30px -24px rgba(15,23,42,.35); transition: transform .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(15,23,42,.4); }
.rel-card__img { height: 150px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(55% 60% at 50% 60%, color-mix(in srgb, var(--accent) 30%, #fff), var(--slate-50) 75%); }
.rel-card__img img, .rel-card__img svg { width: 110px; height: 120px; object-fit: contain; }
.rel-card h3 { font-size: 15px; line-height: 20px; }
.rel-card p { font-family: var(--mono); font-size: 11px; color: var(--slate-500); }
.rel-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.rel-card__foot b { color: var(--brand); font-size: 17px; }
.rel-card__foot button { border: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.rel-card__foot button:hover { background: #00346e; }

/* =====================================================================
   ACCORDION (FAQs + product FAQ)
   ===================================================================== */
.acc-list { display: flex; flex-direction: column; gap: 10px; }
.acc { background: #fff; border: 1px solid rgba(226,232,240,.9); border-radius: 16px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.acc[open] { border-color: rgba(0,64,135,.25); box-shadow: 0 16px 36px -26px rgba(0,64,135,.45); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 18px 20px; font-size: 16px; font-weight: 700; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc__n { font-family: var(--mono); font-size: 11px; color: var(--slate-400); font-weight: 600; }
.acc__plus { width: 28px; height: 28px; border-radius: 50%; background: var(--slate-50); position: relative; transition: background .2s, transform .3s; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .3s; }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc[open] .acc__plus { background: var(--brand); transform: rotate(180deg); }
.acc[open] .acc__plus::before, .acc[open] .acc__plus::after { background: #fff; }
.acc[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__body { padding: 0 20px 18px 54px; font-size: 15px; line-height: 24px; color: var(--slate-600); }
.acc[open] .acc__body { animation: accIn .35s ease; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } }
.acc__body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.faq-side { position: sticky; top: calc(120px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 6px; }
.faq-side a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--slate-600); }
.faq-side a span { font-family: var(--mono); font-size: 11px; color: var(--slate-400); }
.faq-side a:hover, .faq-side a.is-active { background: var(--brand-tint); color: var(--brand); }
.faq-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; padding: 0 16px; margin-top: 8px; width: min(520px, 100%); box-shadow: 0 10px 24px -18px rgba(15,23,42,.35); color: var(--slate-400); }
.faq-search input { flex: 1; border: 0; outline: 0; padding: 14px 0; font-family: var(--font); font-size: 15px; background: transparent; color: var(--ink); min-width: 0; }
.faq-search:focus-within { border-color: var(--sky); }
.faq-group { scroll-margin-top: 130px; display: flex; flex-direction: column; gap: 12px; }
.faq-group + .faq-group { margin-top: 36px; }
.faq-group h2 { font-size: 22px; font-weight: 700; color: var(--ink); }
.faq-empty { color: var(--slate-500); padding: 20px 0; }
mark { background: #fff1b8; color: inherit; border-radius: 3px; padding: 0 2px; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story__media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.2; max-width: 100%; box-shadow: 0 40px 80px -48px rgba(15,23,42,.5); }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.story__media figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border-radius: 14px; padding: 12px 14px; font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.story__media figcaption .ic { color: var(--green); font-size: 18px; flex: none; }
.story__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.story__copy h2 { font-size: 40px; line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--ink); text-wrap: balance; }
.story__copy p { font-size: 16px; line-height: 26px; color: var(--slate-600); max-width: 560px; }
.quote { border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; font-size: 18px !important; line-height: 28px !important; color: var(--ink) !important; font-weight: 600; }

.values { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.value { background: #fff; border-radius: 18px; padding: 22px; border: 1px solid rgba(226,232,240,.8); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 14px 30px -26px rgba(15,23,42,.35); transition: transform .25s ease; }
.value:hover { transform: translateY(-4px); }
.value__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 20px; }
.value h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.value p { font-size: 13.5px; line-height: 21px; color: var(--slate-500); }

.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mission > div { border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.mission h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 700; }
.mission p { font-size: 15px; line-height: 24px; }
.mission__dark { background: var(--night); color: #fff; }
.mission__dark p { color: var(--slate-400); }
.mission__light { background: #fff; border: 1px solid rgba(226,232,240,.8); }
.mission__light p { color: var(--slate-600); }
.mission .eyebrow { color: var(--mint); }
.mission__light .eyebrow { color: var(--brand); }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: #fff; border: 1px solid rgba(226,232,240,.8); border-radius: 18px; padding: 18px; box-shadow: 0 14px 30px -26px rgba(15,23,42,.35); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 20px; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--ink); }
.contact-card p { font-size: 14px; color: var(--slate-600); line-height: 21px; overflow-wrap: anywhere; }
.copyline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.copyline code { font-family: var(--mono); font-size: 13px; background: var(--slate-50); border: 1px solid var(--slate-100); padding: 6px 10px; border-radius: 8px; user-select: all; color: var(--ink); overflow-wrap: anywhere; }
.copyline button { border: 1px solid var(--slate-200); background: #fff; border-radius: 8px; padding: 6px 10px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.copyline button:hover { border-color: var(--brand); color: var(--brand); }

.form-card { background: #fff; border-radius: 24px; padding: 32px; border: 1px solid rgba(226,232,240,.8); box-shadow: 0 30px 60px -40px rgba(15,23,42,.4); }
.form-card h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.form-card > p { color: var(--slate-500); font-size: 14px; margin-top: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.field label span { color: var(--slate-400); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--slate-200); border-radius: 12px; padding: 12px 14px; font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--slate-50);
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(2,132,199,.1); }
.field.is-bad input, .field.is-bad textarea { border-color: #dc2626; }
.field__err { font-size: 12px; color: #b91c1c; }
.field__err:empty { display: none; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.form__foot p { font-size: 12px; color: var(--slate-500); max-width: 340px; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0 4px; }
.form-done > .ic { font-size: 36px; color: var(--green); }
.form-done h3 { font-size: 20px; }
.form-done p { color: var(--slate-600); font-size: 14px; line-height: 22px; }

/* =====================================================================
   RESPONSIVE (inner pages)
   ===================================================================== */
@media (max-width: 1180px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .pdp__grid, .story, .contact-grid, .pdp-coa, .specs-grid, .mission { grid-template-columns: 1fr; }
  .gallery { position: relative; top: 0; }
  .rel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: relative; top: 0; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .faq-side a { flex: none; }
  .bundle-banner { grid-template-columns: auto 1fr; }
  .bundle-banner__tiers { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p.lead { font-size: 16px; line-height: 25px; }
  .section { padding: 48px 0; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-grid.home_grid{
   grid-template-columns: repeat(2, minmax(0, 1fr));
}
  .shop-grid .card { padding: 10px; }
  .shop-grid .card__media { height: 150px; }
  .shop-grid .card__media img, .shop-grid .card__media svg { width: 120px; height: 120px; }
  .shop-grid .card__tag, .shop-grid .card__desc, .shop-grid .card__stock { display: none; }
  .shop-grid .card__title { font-size: 14.5px; line-height: 19px; min-height: 38px; margin-top: 10px; }
  .shop-grid .variants__opts { grid-template-columns: 1fr 1fr; }
  .shop-grid .variant { padding: 8px 2px; }
  .shop-grid .variant__mg { font-size: 13px; }
  .shop-grid .variants__label { display: none; }
  .shop-grid .card__price-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .shop-grid .card__price { font-size: 19px; line-height: 24px; }
  .shop-grid .card__add { padding: 11px 6px; font-size: 11px; letter-spacing: .04em; }
  .shop-grid .chip-purity, .shop-grid .card__rating { font-size: 10px; }
  .toolbar { margin: 20px 0 16px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px; scrollbar-width: none; width: calc(100% + 32px); }
  .filter { flex: none; }
  .toolbar__right { width: 100%; }
  .shop-search { flex: 1; }
  .shop-search input { width: 100%; }
  .bundle-banner { padding: 16px; gap: 12px; }
  .bundle-banner__icon { width: 40px; height: 40px; font-size: 18px; }
  .tier-chip { flex: 1; min-width: 0; }
  .pdp { padding-top: 20px; }
  .buy h1 { font-size: 34px; }
  .buy__price b { font-size: 30px; }
  .buy__trust { grid-template-columns: 1fr; }
  .buy__trust div { flex-direction: row; align-items: center; gap: 10px; }
  .pdp-coa__main, .pdp-coa__side { padding: 22px; }
  .purity-big b { font-size: 56px; }
  .rel-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .rel-card__img { height: 120px; }
  .acc summary { padding: 16px; font-size: 15px; gap: 10px; }
  .acc__body { padding: 0 16px 16px 16px; }
  .story__copy h2 { font-size: 30px; }
  .values { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .line { grid-template-columns: 56px 1fr auto; }
  .line__img { width: 56px; height: 56px; }
}
@media (max-width: 400px) {
  .values { grid-template-columns: 1fr; }
   .shop-grid { grid-template-columns: 1fr; gap: 12px; }
  .shop-grid.home_grid{
   grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
  .gallery__main .media-slot img, .gallery__main .media-slot svg, .bundle-banner::after { animation: none !important; }
}

/* =====================================================================
   EFFECTS LAYER — page transitions, scroll progress, sticky header,
   3D tilt + glare on cards, button ripple, nav underline, back-to-top,
   image shimmer, count-up. All disabled under prefers-reduced-motion.
   ===================================================================== */

/* page enter / leave */
body { animation: pageIn .55s cubic-bezier(.2,.8,.2,1) both; }
@keyframes pageIn { from { opacity: 0; } }
main { animation: mainIn .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes mainIn { from { opacity: 0; transform: translateY(10px); } }
html.is-leaving main, html.is-leaving footer { opacity: 0; transform: translateY(-6px); transition: opacity .2s ease, transform .2s ease; }

/* scroll progress line under the header */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sky), var(--brand), var(--mint)); z-index: 2; }

/* header reacts to scroll */
.site-header { transition: box-shadow .3s ease, transform .35s ease; }
.site-header .topbar { transition: margin .35s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); }
.site-header.is-scrolled .navbar { background: rgba(255,255,255,.96); }
@media (min-width: 761px) {
  .site-header.is-scrolled .topbar { margin-top: -39px; }
}

/* nav underline */
.nav__link { position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__link.is-current { background: transparent; }

/* logo micro-interaction */
.logo__text { transition: letter-spacing .3s ease, color .3s ease; }
.logo:hover .logo__text { letter-spacing: .01em; color: var(--sky); }

/* buttons: lift + ripple */
.btn, .card__add, .btn-outline, .btn-portal, .filter, .variant, .chip, .thumb { position: relative; overflow: hidden; }
.btn:hover, .card__add:hover, .btn-outline:hover { box-shadow: 0 12px 24px -12px rgba(0,64,135,.55); }
.btn-outline { transition: background .2s, transform .2s, box-shadow .2s; }
.btn-outline:hover { transform: translateY(-2px); }
.btn-outline .ic { transition: transform .2s; }
.btn-outline:hover .ic { transform: translateX(3px); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); background: currentColor; opacity: .22; animation: ripple .6s ease-out forwards; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* 3D tilt + glare on cards (desktop pointers only, set up by core.js) */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s ease !important; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.tilt::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 45%);
  mix-blend-mode: soft-light; transition: opacity .3s ease;
}
.tilt.is-tilting::before { opacity: 1; }
.card, .rel-card, .value, .pillar, .trust, .contact-card, .review, .stat { position: relative; }

/* card details on hover */
.card__media { transition: background .4s ease; }
.card:hover .card__media { background:
    radial-gradient(65% 75% at 50% 62%, color-mix(in srgb, var(--accent, #cbd5e1) 42%, #fff) 0%, transparent 72%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent, #cbd5e1) 16%, #fff), var(--slate-50)); }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s ease; }
.card:hover .card__title a { background-size: 100% 1.5px; }
.card__coa .ic { transition: transform .3s ease; }
.card__coa:hover .ic { transform: scale(1.25); }
.variant { transition: border-color .15s, background .15s, color .15s, transform .15s; }
.variant[data-i]:hover { transform: translateY(-2px); }

/* shimmer while product images load */
.card__media, .rel-card__img, .gallery__main, .line__img { isolation: isolate; }
.media-slot img { transition: opacity .5s ease, transform .3s ease; }
.media-slot img.is-loading { opacity: 0; }
.card__media:has(.is-loading)::before, .rel-card__img:has(.is-loading)::before, .gallery__main:has(.is-loading)::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* pills, tags and chips */
.tag, .pill--cyan, .chip-purity, .chip-variant, .hero-facts span, .chips span { transition: transform .2s ease, box-shadow .2s ease; }
.tag:hover, .hero-facts span:hover, .chips span:hover { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(0,64,135,.4); }

/* icon bounce inside cards on hover */
.value__icon, .pillar__icon, .trust__icon, .contact-card__icon, .stat__icon, .method__icon { transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .3s; }
.value:hover .value__icon, .pillar:hover .pillar__icon, .trust:hover .trust__icon, .contact-card:hover .contact-card__icon, .stat:hover .stat__icon, .method:hover .method__icon { transform: translateY(-3px) rotate(-8deg) scale(1.08); }
.contact-card { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.contact-card:hover { transform: translateY(-3px); border-color: rgba(0,64,135,.2); box-shadow: 0 20px 40px -28px rgba(0,64,135,.5); }
.method { transition: transform .25s ease, box-shadow .25s ease; }
.method:hover { transform: translateX(4px); box-shadow: 0 16px 30px -22px rgba(15,23,42,.35); }
.acc { transition: transform .2s ease, box-shadow .2s, border-color .2s; }
.acc:not([open]):hover { transform: translateX(4px); border-color: rgba(0,64,135,.2); }
.acc summary:hover .acc__plus { background: var(--brand-tint); }

/* footer link arrows */
.footer nav a { display: inline-flex; align-items: center; gap: 0; transition: color .2s, gap .2s, transform .2s; }
.footer nav a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; font-size: 12px; }
.footer nav a:hover { gap: 6px; }
.footer nav a:hover::after { opacity: 1; transform: none; }

/* gallery parallax on hover */
.gallery__main .media-slot img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }

/* back to top */
.to-top {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 14px 30px -14px rgba(15,23,42,.45);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s;
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg.ring { position: absolute; inset: 0; width: 48px; height: 48px; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 3; }
.to-top svg.ring .bg { stroke: var(--slate-100); }
.to-top svg.ring .fg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 * (1 - var(--p, 0))); }
.to-top > .ic { position: relative; font-size: 18px; transform: rotate(90deg); }
.pair:not([hidden]) ~ .to-top { bottom: 230px; }

/* drawer line hover */
.line { transition: border-color .2s, box-shadow .2s; }
.line:hover { border-color: rgba(0,64,135,.2); box-shadow: 0 10px 22px -18px rgba(0,64,135,.5); }

/* page hero ambient glow */
.page-hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(2,132,199,.12), transparent 60%); animation: drift2 14s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes drift2 { to { transform: translate(120px, -40px) scale(1.15); } }

/* text gradient accent on page titles */
.page-hero h1 { background: linear-gradient(100deg, var(--ink) 30%, #1c3f73 60%, var(--ink) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: titleSheen 6s ease-in-out 1s infinite alternate; }
@keyframes titleSheen { to { background-position: 100% 0; } }

@media (prefers-reduced-motion: reduce) {
  body, main, .page-hero::before, .page-hero h1 { animation: none !important; }
  .tilt.is-tilting { transform: none; }
  .ripple { display: none; }
}

/* =====================================================================
   PAGE BANNER ART (shop / about / faqs / contact)
   ===================================================================== */
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.page-hero { padding: 48px 0 40px; }
.hero-art { --px: 0; --py: 0; position: relative; height: 380px; max-width: 100%; }
.hero-art > * { position: absolute; }

.ha-blob { inset: 6% 8%; border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(245,163,58,.30), transparent 70%),
    radial-gradient(55% 55% at 75% 40%, rgba(238,106,167,.26), transparent 70%),
    radial-gradient(60% 60% at 50% 80%, rgba(2,132,199,.18), transparent 70%),
    rgba(255,255,255,.55);
  filter: blur(2px); animation: blob 14s ease-in-out infinite alternate;
  transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px)); }
@keyframes blob { 50% { border-radius: 55% 45% 42% 58% / 45% 58% 42% 55%; } 100% { border-radius: 42% 58% 55% 45% / 58% 42% 58% 42%; } }
.ha-orbit { left: 50%; top: 50%; width: 330px; height: 330px; margin: -165px 0 0 -165px; border-radius: 50%; border: 1.5px dashed rgba(0,64,135,.18); animation: spin 40s linear infinite; }
.ha-orbit--2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; border-color: rgba(5,150,105,.2); animation-duration: 28s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.ha-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 6px rgba(2,132,199,.12); animation: floaty 5s ease-in-out infinite; }
.ha-dot--1 { left: 14%; top: 22%; }
.ha-dot--2 { right: 10%; top: 62%; background: var(--mint-2); box-shadow: 0 0 0 6px rgba(52,211,153,.15); animation-delay: -1.5s; }
.ha-dot--3 { left: 26%; bottom: 10%; width: 7px; height: 7px; background: #f5a33a; box-shadow: 0 0 0 5px rgba(245,163,58,.15); animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-12px); } }

.ha-pedestal { left: 50%; bottom: 34px; width: 330px; height: 64px; margin-left: -165px; border-radius: 50%;
  background: radial-gradient(120% 140% at 50% 15%, #fffdf9 0%, #ead8c2 55%, #cdb091 100%);
  box-shadow: 0 30px 44px -18px rgba(80,55,30,.55), inset 0 -10px 18px rgba(120,90,60,.22), 0 0 0 1px rgba(255,255,255,.7);
  transform: translateX(calc(var(--px) * 8px)); }
.ha-pedestal--sm { width: 220px; margin-left: -110px; height: 50px; bottom: 44px; }
.ha-trio { left: 50%; bottom: 58px; width: 360px; height: 300px; margin-left: -180px; transform: translate(calc(var(--px) * 16px), calc(var(--py) * 10px)); transition: transform .3s ease-out; }
.ha-vial { position: absolute; bottom: 0; object-fit: contain; filter: drop-shadow(0 22px 18px rgba(60,40,20,.25)); }
.ha-trio .is-mid { left: 50%; height: 290px; transform: translateX(-50%); z-index: 2; animation: bobMid 6s ease-in-out infinite; }
.ha-trio .is-left { left: 18px; height: 220px; transform: rotate(-7deg); transform-origin: bottom center; z-index: 1; animation: bobL 6s ease-in-out -2s infinite; }
.ha-trio .is-right { right: 18px; height: 220px; transform: rotate(7deg); transform-origin: bottom center; z-index: 1; animation: bobR 6s ease-in-out -4s infinite; }
@keyframes bobMid { 50% { transform: translate(-50%, -10px); } }
@keyframes bobL { 50% { transform: rotate(-9deg) translateY(-8px); } }
@keyframes bobR { 50% { transform: rotate(9deg) translateY(-8px); } }
.ha-solo { left: 50%; bottom: 66px; height: 280px; width: 140px; margin-left: -70px; transform: translate(calc(var(--px) * 16px), calc(var(--py) * 10px)); transition: transform .3s ease-out; }
.ha-solo .ha-vial { left: 50%; height: 100%; transform: translateX(-50%); animation: bobMid 6s ease-in-out infinite; }

.ha-chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; z-index: 4;
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.95); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: 0 16px 34px -18px rgba(15,23,42,.4); animation: chipFloat 7s ease-in-out infinite;
  transform: translate(calc(var(--px) * 24px), calc(var(--py) * 18px));
}
.ha-chip b { display: block; font-size: 13.5px; line-height: 18px; color: var(--ink); white-space: nowrap; }
.ha-chip small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--slate-500); white-space: nowrap; }
.ha-chip__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 16px; flex: none; }
.ha-chip.is-a { left: 0; top: 34px; }
.ha-chip.is-b { right: 0; top: 118px; animation-delay: -2.3s; }
.ha-chip.is-b .ha-chip__ic { background: #ecfdf5; color: var(--green); }
.ha-chip.is-c { left: 6%; bottom: 8px; animation-delay: -4.6s; }
.ha-chip.is-c .ha-chip__ic { background: #fff4e5; color: #d97706; }
.ha-chip--wide small { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
@keyframes chipFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.ha-photo { margin: 0; right: 4%; top: 18px; width: 300px; height: 330px; border-radius: 28px; overflow: hidden; border: 6px solid #fff;
  box-shadow: 0 40px 70px -40px rgba(15,23,42,.55); rotate: 4deg; transform: translate(calc(var(--px) * -10px), calc(var(--py) * -8px)); }
.ha-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 74% center; transform: scale(1.15); animation: kb 16s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.3) translate(-3%, 2%); } }
.ha-solo--about { left: 12%; margin-left: 0; bottom: 30px; height: 210px; width: 100px; z-index: 3; }

.ha-bubble { z-index: 4; padding: 10px 14px; border-radius: 18px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; white-space: nowrap;
  box-shadow: 0 14px 30px -18px rgba(15,23,42,.4); animation: chipFloat 7s ease-in-out infinite;
  transform: translate(calc(var(--px) * 22px), calc(var(--py) * 16px)); }
.ha-bubble .ic { font-size: 15px; }
.ha-bubble--q { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; }
.ha-bubble--a { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.ha-bubble.is-a { left: 0; top: 28px; }
.ha-bubble.is-b { right: 0; top: 92px; animation-delay: -1.8s; }
.ha-bubble.is-c { left: 4%; top: 196px; animation-delay: -3.6s; }
.ha-bubble.is-d { right: 2%; bottom: 30px; animation-delay: -5.4s; background: var(--green); }

/* entrance */
.hero-art > * { opacity: 0; animation-fill-mode: both; }
.hero-art.is-ready > * { opacity: 1; transition: opacity .8s ease; }
.hero-art.is-ready .ha-chip, .hero-art.is-ready .ha-bubble { animation-name: chipIn, chipFloat; animation-duration: .7s, 7s; animation-iteration-count: 1, infinite; animation-timing-function: cubic-bezier(.2,.8,.2,1), ease-in-out; }
@keyframes chipIn { from { opacity: 0; scale: .85; } }

@media (max-width: 1024px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .hero-art { height: 340px; width: 100%; max-width: 520px; margin: 8px auto 0; }
}
@media (max-width: 560px) {
  .hero-art { height: 300px; }
  .ha-orbit { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .ha-pedestal { width: 260px; margin-left: -130px; bottom: 26px; height: 50px; }
  .ha-pedestal--sm { width: 190px; margin-left: -95px; }
  .ha-trio { width: 290px; margin-left: -145px; height: 240px; bottom: 44px; }
  .ha-trio .is-mid { height: 230px; }
  .ha-trio .is-left, .ha-trio .is-right { height: 170px; }
  .ha-solo { height: 220px; width: 110px; margin-left: -55px; bottom: 56px; }
  .ha-chip { padding: 7px 10px 7px 7px; gap: 8px; border-radius: 13px; }
  .ha-chip__ic { width: 28px; height: 28px; font-size: 14px; }
  .ha-chip b { font-size: 12px; line-height: 15px; }
  .ha-chip small { font-size: 9.5px; }
  .ha-chip.is-a { top: 6px; }
  .ha-chip.is-b { top: 96px; }
  .ha-chip--wide small { max-width: 140px; }
  .ha-photo { width: 220px; height: 250px; right: 2%; }
  .ha-solo--about { height: 170px; width: 80px; left: 6%; margin-left: 0; }
  .ha-bubble { font-size: 11.5px; padding: 8px 11px; }
  .ha-bubble.is-c { top: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art *, .hero-art.is-ready * { animation: none !important; }
}

/* menu items are static labels (no links) */
.nav__link--static { cursor: default; user-select: none; }
.nav__link--static:hover { background: transparent; color: var(--slate-700); }
.nav__link--static:not(.is-current):hover::after { transform: scaleX(0); }
.section--warm > .wrap > .toolbar:first-child { margin-top: 0; }
.toolbar { flex-wrap: nowrap; }
.toolbar .result-count { margin: 0; }
.toolbar__right { width: auto !important; margin-left: auto; }

/* brand logo */
.logo { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 44px; width: auto; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo__img { transform: scale(1.04); }
.footer__logo { display: inline-block; }
.footer__logo img { display: block; height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .95; transition: opacity .2s; }
.footer__logo:hover img { opacity: 1; }
@media (max-width: 760px) { .logo__img { height: 34px; } }
