/* Tidepool Beauty - storefront styles
   Bricolage Grotesque over Figtree. Seafoam page, kelp ink, coral action,
   pastel department tints. Big pebble radii, a floating pill header and
   "Facts"-label spec panels. No drop shadows except the floating layers. */

:root {
  --sea: #eaf5f2;
  --sea-2: #dcefea;
  --paper: #ffffff;
  --ink: #12302e;
  --ink-2: #4b6663;
  --ink-3: #7d9592;
  --line: rgba(18, 48, 46, .14);
  --line-2: rgba(18, 48, 46, .28);
  --kelp: #1f6f63;
  --kelp-2: #16574d;
  --coral: #ff6a55;
  --coral-2: #eb5642;
  --butter: #ffe68c;
  --t-face: #ffdccb;
  --t-cheeks: #ffcadb;
  --t-lips: #ffd3c9;
  --t-eyes: #ddd2fb;
  --t-skin: #c4ebe3;
  --t-sun: #fff0b0;
  --t-sets: #d6f1d0;
  --t-tools: #f1e7d6;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --pill: 999px;
  --wrap: 1320px;
  --float: 0 18px 50px -18px rgba(18, 48, 46, .35);
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sea);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill);
}
.skip:focus { left: 16px; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--kelp);
}
.eyebrow::before {
  content: ""; width: 18px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath d='M1 5c2-3 4-3 6 0s4 3 6 0 3-2 4-1' fill='none' stroke='%231f6f63' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------------------------------------------------------------- header */
.topline {
  text-align: center; font-size: 13px; color: var(--ink-2);
  padding: 10px 16px 0;
}
.topline b { color: var(--ink); font-weight: 600; }

.hdr {
  position: sticky; top: 10px; z-index: 40;
  margin: 10px auto 0; width: min(1180px, 100% - 24px);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--float);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 20px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 24px/1 var(--display); letter-spacing: -.04em; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo small { font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-left: 2px; align-self: flex-end; padding-bottom: 3px; }

.nav { display: flex; gap: 2px; margin-left: 12px; }
.nav a {
  padding: 9px 13px; border-radius: var(--pill); font-weight: 500; font-size: 15px; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sea); }

.hdr-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.search {
  display: flex; align-items: center; gap: 6px;
  background: var(--sea); border-radius: var(--pill); padding: 0 6px 0 14px; height: 42px;
}
.search input { border: 0; background: transparent; outline: none; width: 150px; font-size: 15px; }
.search button { border: 0; background: transparent; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn {
  position: relative; border: 0; background: var(--ink); color: #fff; height: 42px; min-width: 42px;
  border-radius: var(--pill); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px;
  font-weight: 600; font-size: 15px;
}
.icon-btn.ghost { background: var(--sea); color: var(--ink); padding: 0; width: 42px; }
.bag-count {
  background: var(--coral); color: #fff; border-radius: var(--pill); min-width: 22px; height: 22px;
  font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px;
}
.menu-btn { display: none; }

/* mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: rgba(18, 48, 46, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-panel {
  position: absolute; left: 12px; right: 12px; top: 12px;
  background: var(--paper); border-radius: var(--r-xl); padding: 20px;
  transform: translateY(-20px); transition: transform .25s;
  max-height: calc(100vh - 24px); overflow: auto;
}
.sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sheet-links { display: grid; gap: 6px; }
.sheet-links a { padding: 14px 16px; border-radius: var(--r-md); font: 600 20px/1.1 var(--display); display: flex; justify-content: space-between; }
.sheet-links a span { font: 500 13px var(--body); color: var(--ink-3); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--pill); border: 0;
  background: var(--coral); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -.005em;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--coral-2); }
.btn:active { transform: scale(.98); }
.btn.kelp { background: var(--kelp); }
.btn.kelp:hover { background: var(--kelp-2); }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.line:hover { background: var(--ink); color: #fff; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.arrow { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- tints */
.t-face { background: var(--t-face); }
.t-cheeks { background: var(--t-cheeks); }
.t-lips { background: var(--t-lips); }
.t-eyes { background: var(--t-eyes); }
.t-skincare { background: var(--t-skin); }
.t-sun-care { background: var(--t-sun); }
.t-sets { background: var(--t-sets); }
.t-tools { background: var(--t-tools); }

/* ---------------------------------------------------------------- home: mosaic hero */
.mosaic {
  margin-top: 28px;
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 170px;
}
.m-intro {
  grid-column: span 3; grid-row: span 3;
  background: var(--kelp); color: #fff; border-radius: var(--r-xl);
  padding: 40px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.m-intro h1 { font-size: clamp(44px, 5.6vw, 86px); letter-spacing: -.045em; line-height: .93; }
.m-intro h1 em { font-style: normal; color: var(--butter); }
.m-intro p { max-width: 430px; color: rgba(255, 255, 255, .82); font-size: 18px; margin: 18px 0 0; }
.m-intro .eyebrow { color: var(--butter); }
.m-intro .eyebrow::before { filter: brightness(0) invert(.9) sepia(1) saturate(4) hue-rotate(5deg); }
.m-intro .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.m-intro .btn.line { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.m-intro .btn.line:hover { background: #fff; color: var(--kelp); }
.m-intro .ripple { position: absolute; right: -90px; bottom: -110px; width: 360px; opacity: .16; pointer-events: none; }

.m-tile {
  border-radius: var(--r-xl); position: relative; overflow: hidden; display: block;
  padding: 18px 20px; transition: transform .25s;
}
.m-tile:hover { transform: translateY(-4px) rotate(-.4deg); }
.m-tile img {
  position: absolute; right: -6%; bottom: -8%; width: 72%; height: 88%; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .35s;
}
.m-tile:hover img { transform: scale(1.06) rotate(3deg); }
.m-tile h2 { font-size: 28px; position: relative; }
.m-tile span { position: relative; display: block; font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.m-tile.w2 { grid-column: span 2; }
.m-tile.w1 { grid-column: span 1; }
.m-tile.h2 { grid-row: span 2; }
.m-tile.w1 img { width: 100%; right: -14%; }

/* ---------------------------------------------------------------- waves + sections */
.wave { display: block; width: 100%; height: 42px; }
.sec { padding: 72px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.035em; margin-top: 10px; }
.sec-head p { color: var(--ink-2); max-width: 460px; margin: 10px 0 0; }
.link-arrow { font-weight: 700; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

.band-paper { background: var(--paper); }

/* shade strip */
.shade-strip { display: flex; gap: 10px; overflow-x: auto; padding: 6px 2px 16px; scrollbar-width: thin; }
.shade-dot {
  flex: none; width: 124px; text-align: center; font-size: 13px; color: var(--ink-2);
}
.shade-dot .ball {
  width: 124px; height: 124px; border-radius: 50%; overflow: hidden; margin-bottom: 8px;
  background: var(--sea); border: 1px solid var(--line);
}
.shade-dot .ball img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.35); }
.shade-dot b { display: block; color: var(--ink); font-weight: 600; font-size: 14px; }

/* horizontal rail of cards */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rail > * { scroll-snap-align: start; }

/* ---------------------------------------------------------------- product card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; display: block;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%;
  mix-blend-mode: multiply; transition: opacity .35s, transform .35s;
}
.card-media img.alt { opacity: 0; object-fit: cover; padding: 0; mix-blend-mode: normal; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img:first-child { transform: scale(1.04); }
.card-badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: #fff; border-radius: var(--pill); padding: 5px 10px; font-size: 12px; font-weight: 700;
}
.card-badge.sale { background: var(--coral); color: #fff; }
.card-body { padding: 12px 4px 0; display: flex; flex-direction: column; flex: 1; }
.card-brand { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kelp); margin: 0; }
.card h3 { font: 600 16px/1.3 var(--body); letter-spacing: 0; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { font-size: 13px; color: var(--ink-3); margin: 4px 0 0; }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font: 700 17px/1 var(--display); letter-spacing: -.01em; }
.price s { color: var(--ink-3); font-weight: 500; font-size: 14px; margin-left: 6px; }
.price small { font: 500 12px var(--body); color: var(--ink-3); margin-right: 3px; }
.quick {
  border: 0; height: 38px; border-radius: var(--pill); padding: 0 14px; background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
}
.quick:hover { background: var(--ink); color: #fff; box-shadow: none; }
.band-paper .quick { background: var(--sea); box-shadow: none; }
.band-paper .quick:hover { background: var(--ink); }

/* ---------------------------------------------------------------- facts label */
.facts {
  background: #fff; color: #111; border: 2px solid #111; border-radius: 6px; padding: 14px 16px 10px;
  font-family: "Figtree", Helvetica, Arial, sans-serif;
}
.facts h3 { font: 900 30px/1 "Figtree", Helvetica, Arial, sans-serif; letter-spacing: -.02em; padding-bottom: 6px; border-bottom: 1px solid #111; }
.facts .row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #111; font-size: 15px; }
.facts .row b { font-weight: 800; }
.facts .row span { text-align: right; }
.facts .thick { border-bottom: 8px solid #111; }
.facts .mid { border-bottom: 4px solid #111; }
.facts .foot { font-size: 12px; padding-top: 8px; line-height: 1.4; }

/* home promise strip */
.promise { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.promise h2 { font-size: clamp(34px, 4vw, 56px); letter-spacing: -.035em; margin: 12px 0 16px; }
.promise p { color: var(--ink-2); font-size: 18px; max-width: 520px; }

/* brand chips */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-chip {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 16px 24px; border-radius: var(--pill);
  background: var(--paper); font: 700 clamp(22px, 2.4vw, 34px)/1 var(--display); letter-spacing: -.03em;
  border: 1px solid var(--line); transition: background .15s, color .15s;
}
.brand-chip small { font: 600 13px var(--body); color: var(--ink-3); letter-spacing: 0; }
.brand-chip:hover { background: var(--ink); color: #fff; }
.brand-chip:hover small { color: rgba(255, 255, 255, .7); }

/* notes */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.note { border-radius: var(--r-xl); padding: 30px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.note h3 { font-size: 26px; letter-spacing: -.03em; }
.note p { margin: 12px 0 0; color: var(--ink-2); }
.note .num { font: 800 64px/1 var(--display); letter-spacing: -.06em; opacity: .85; }

/* ---------------------------------------------------------------- shop */
.page-head { padding: 44px 0 20px; }
.page-head h1 { font-size: clamp(42px, 6vw, 84px); letter-spacing: -.045em; }
.page-head p { color: var(--ink-2); max-width: 620px; font-size: 18px; margin: 12px 0 0; }
.crumbs { font-size: 14px; color: var(--ink-3); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.chipbar {
  position: sticky; top: 66px; z-index: 20; padding: 14px 0 10px; margin-bottom: 18px;
  background: linear-gradient(var(--sea) 70%, rgba(234, 245, 242, 0));
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; border: 0; height: 42px; padding: 0 16px; border-radius: var(--pill); background: var(--paper);
  font-weight: 600; font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 8px;
}
.chip i { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.chip[aria-pressed="true"] i { color: rgba(255, 255, 255, .7); }
.chip .sw { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.toolbar .count { color: var(--ink-2); font-size: 15px; }
.toolbar .controls { display: flex; gap: 8px; flex-wrap: wrap; }
.select {
  height: 42px; border-radius: var(--pill); border: 0; box-shadow: inset 0 0 0 1px var(--line-2);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2312302e' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center/11px no-repeat;
  padding: 0 38px 0 16px; appearance: none; -webkit-appearance: none; font-size: 15px; font-weight: 500;
}
.empty { text-align: center; padding: 80px 20px; color: var(--ink-2); display: none; }
.empty.show { display: block; }
.empty h3 { font-size: 30px; color: var(--ink); margin-bottom: 8px; }
.more { display: flex; justify-content: center; margin-top: 36px; }

/* ---------------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding: 30px 0 60px; align-items: start; }
.gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.stage { border-radius: var(--r-xl); aspect-ratio: 1; position: relative; overflow: hidden; }
.stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.stage img.cover { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; scrollbar-width: none; }
.thumbs button {
  border: 0; padding: 0; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--paper); flex: none;
  box-shadow: inset 0 0 0 1px var(--line);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { box-shadow: 0 0 0 3px var(--coral); }

.pdp-info .brand-link { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--kelp); }
.pdp-info h1 { font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.04em; margin: 10px 0 14px; }
.pdp-info .lede { font-size: 19px; color: var(--ink-2); margin: 0 0 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pdp-price .price { font-size: 32px; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 22px; padding: 0; list-style: none; }
.tag-row li { background: var(--paper); border-radius: var(--pill); padding: 7px 12px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line); }

.opt-label { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 10px; }
.opt-label b { font-weight: 700; }
.shades { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; max-height: 260px; overflow-y: auto; padding: 3px; }
.shade {
  border: 0; background: var(--paper); border-radius: var(--pill); padding: 4px 14px 4px 4px; font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: inset 0 0 0 1px var(--line); min-height: 40px; text-align: left;
}
.shade .pic { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--sea); flex: none; }
.shade .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); }
.shade.nopic { padding-left: 14px; }
.shade[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink); font-weight: 700; }
.shade.soldout { opacity: .45; text-decoration: line-through; }

.buy { display: grid; grid-template-columns: 132px 1fr; gap: 10px; margin-bottom: 14px; }
.qty { display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-radius: var(--pill); height: 52px; padding: 0 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; font-size: 20px; }
.qty button:hover { background: var(--sea); }
.qty input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assure { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 28px; }
.assure div { background: var(--paper); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.assure b { display: block; color: var(--ink); font-size: 14px; }

.acc { border-top: 1px solid var(--line-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; font: 700 20px/1.2 var(--display); display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 28px/1 var(--body); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 20px; color: var(--ink-2); }
.acc .acc-body p { margin: 0 0 12px; }
.acc .acc-body ul { margin: 0; padding-left: 20px; }
.acc .acc-body li { margin-bottom: 6px; }

/* ---------------------------------------------------------------- cart drawer */
.drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(18, 48, 46, .4); opacity: 0; transition: opacity .2s; }
.drawer .panel {
  position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px));
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--float);
  transform: translateX(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 14px; }
.drawer-head h2 { font-size: 28px; }
.ship-meter { margin: 0 24px 10px; background: var(--sea); border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; }
.ship-meter .bar { height: 8px; background: #fff; border-radius: 8px; margin-top: 8px; overflow: hidden; }
.ship-meter .bar i { display: block; height: 100%; background: var(--kelp); border-radius: 8px; transition: width .3s; }
.drawer-items { flex: 1; overflow-y: auto; padding: 4px 24px; }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item .li-img { width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden; }
.line-item .li-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.line-item .li-brand { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kelp); }
.line-item .li-title { font-weight: 600; line-height: 1.3; font-size: 15px; }
.line-item .li-shade { font-size: 13px; color: var(--ink-3); }
.line-item .li-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.mini-qty { display: inline-flex; align-items: center; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line-2); height: 32px; }
.mini-qty button { border: 0; background: transparent; width: 30px; height: 30px; }
.mini-qty span { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }
.li-remove { border: 0; background: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; padding: 0; }
.li-price { font-weight: 700; font-family: var(--display); }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-foot .sum { display: flex; justify-content: space-between; font: 700 20px var(--display); margin-bottom: 4px; }
.drawer-foot p { font-size: 13px; color: var(--ink-3); margin: 0 0 14px; }
.drawer-empty { text-align: center; padding: 50px 10px; color: var(--ink-2); }
.drawer-empty h3 { font-size: 24px; color: var(--ink); margin-bottom: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); z-index: 80;
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--pill); font-weight: 600;
  transition: transform .3s; box-shadow: var(--float); max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- cart + checkout pages */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; padding: 20px 0 80px; }
.panel-card { background: var(--paper); border-radius: var(--r-xl); padding: 28px; }
.panel-card + .panel-card { margin-top: 16px; }
.panel-card h2 { font-size: 26px; margin-bottom: 18px; letter-spacing: -.03em; }
.summary { position: sticky; top: 96px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--ink-2); }
.sum-row.total { color: var(--ink); font: 700 22px var(--display); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 8px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea {
  height: 50px; border-radius: var(--r-md); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--sea);
  padding: 0 16px; font-size: 16px; width: 100%;
}
.field textarea { height: 140px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--kelp); background: #fff; }
.field.invalid input, .field.invalid select { box-shadow: inset 0 0 0 2px var(--coral); }
.field .err { font-size: 13px; color: var(--coral-2); display: none; }
.field.invalid .err { display: block; }
.fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-2); margin-bottom: 10px; cursor: pointer; }
.radio-card input { accent-color: var(--kelp); width: 18px; height: 18px; }
.radio-card span { flex: 1; }
.radio-card small { display: block; color: var(--ink-3); }
.radio-card:has(input:checked) { box-shadow: inset 0 0 0 2px var(--kelp); background: #f6fbfa; }
.pay-box { border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-2); padding: 18px; }
.pay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.pay-head b { display: inline-flex; align-items: center; gap: 8px; }
.cards { display: flex; gap: 6px; }
.cards span { font: 800 10px/1 var(--body); letter-spacing: .04em; border: 1px solid var(--line-2); border-radius: 5px; padding: 6px 7px; color: var(--ink-2); }
.secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
#stripe-element { min-height: 10px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 14px 0; }
.check-row input { accent-color: var(--kelp); width: 18px; height: 18px; margin-top: 2px; }
.sum-items { max-height: 320px; overflow-y: auto; margin-bottom: 10px; }

/* ---------------------------------------------------------------- text pages */
.prose { max-width: 760px; padding: 10px 0 80px; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; letter-spacing: -.03em; }
.prose h3 { font-size: 21px; margin: 26px 0 8px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--kelp); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); background: var(--paper); }
.updated { font-size: 14px; color: var(--ink-3); }
.toc { background: var(--paper); border-radius: var(--r-lg); padding: 20px 24px; margin: 20px 0 10px; }
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 30px; }
.toc li { font-size: 15px; margin-bottom: 4px; }

.faq-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 10px 0 80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 10px 0 80px; }
.info-list { display: grid; gap: 12px; }
.info-list div { background: var(--paper); border-radius: var(--r-lg); padding: 20px 22px; }
.info-list b { display: block; font-family: var(--display); font-size: 20px; margin-bottom: 4px; }

.brand-row { display: grid; grid-template-columns: 260px 1fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line-2); }
.brand-row h2 { font-size: 40px; letter-spacing: -.04em; }
.brand-row p { color: var(--ink-2); margin: 0; }
.brand-row .thumbs-row { display: flex; gap: 8px; }
.brand-row .thumbs-row a { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--paper); display: block; }
.brand-row .thumbs-row img { width: 100%; height: 100%; object-fit: contain; padding: 8px; mix-blend-mode: multiply; }

.confirm { text-align: center; padding: 60px 0 90px; max-width: 680px; margin: 0 auto; }
.confirm .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--t-sets); display: grid; place-items: center; margin: 0 auto 20px; }
.confirm h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -.045em; }
.confirm p { color: var(--ink-2); font-size: 18px; }
.confirm .panel-card { text-align: left; margin-top: 30px; }

.notfound { text-align: center; padding: 90px 0; }
.notfound h1 { font-size: clamp(80px, 14vw, 180px); letter-spacing: -.06em; color: var(--kelp); }

/* ---------------------------------------------------------------- footer */
.ftr { background: var(--kelp); color: #e6f3f0; margin-top: 40px; }
.ftr .wave path { fill: var(--kelp); }
.ftr-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding: 40px 0 44px; }
.ftr h4 { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--butter); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr .logo { color: #fff; }
.ftr .logo small { color: rgba(255, 255, 255, .6); }
.ftr p { color: rgba(230, 243, 240, .8); font-size: 15px; }
.news { display: flex; gap: 8px; margin-top: 16px; background: rgba(255, 255, 255, .12); border-radius: var(--pill); padding: 5px; }
.news input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 14px; outline: none; }
.news input::placeholder { color: rgba(255, 255, 255, .6); }
.news button { border: 0; background: var(--butter); color: var(--ink); border-radius: var(--pill); height: 42px; padding: 0 18px; font-weight: 700; }
.ftr-bot { border-top: 1px solid rgba(255, 255, 255, .16); padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(230, 243, 240, .7); }
.ftr-bot .pays { display: flex; gap: 6px; }
.ftr-bot .pays span { border: 1px solid rgba(255, 255, 255, .3); border-radius: 5px; padding: 4px 7px; font-weight: 800; font-size: 10px; letter-spacing: .04em; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav a { padding: 9px 10px; font-size: 14px; }
  .search input { width: 110px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav, .search { display: none; }
  .menu-btn { display: inline-flex; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; }
  .m-intro { grid-column: span 4; grid-row: span 3; }
  .m-tile.w2 { grid-column: span 2; }
  .m-tile.w1 { grid-column: span 2; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
  .promise { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .brand-row { grid-template-columns: 1fr; gap: 12px; }
  .chipbar { top: 76px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .topline { font-size: 12px; }
  .hdr { padding: 6px 6px 6px 14px; top: 8px; }
  .logo { font-size: 21px; }
  .logo small { display: none; }
  .icon-btn .lbl { display: none; }
  .icon-btn { padding: 0 12px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card h3 { font-size: 14px; }
  .quick .lbl { display: none; }
  .quick { width: 38px; padding: 0; justify-content: center; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .m-intro { grid-column: span 2; grid-row: span 3; padding: 26px; }
  .m-intro p { font-size: 16px; }
  .m-tile.w2, .m-tile.w1 { grid-column: span 1; }
  .m-tile.h2 { grid-row: span 1; }
  .m-tile h2 { font-size: 22px; }
  .m-tile img { width: 70%; height: 72%; }
  .sec { padding: 52px 0; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; max-height: none; }
  .thumbs button { width: 60px; height: 60px; }
  .buy { grid-template-columns: 116px 1fr; }
  .fields-2, .fields-3 { grid-template-columns: 1fr; }
  .panel-card { padding: 20px; }
  .ftr-top { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .assure { grid-template-columns: 1fr; }
  .shade-dot, .shade-dot .ball { width: 96px; }
  .shade-dot .ball { height: 96px; }
  .chipbar { top: 68px; }
}

[hidden] { display: none !important; }
