/* =========================================================
   Tidewell storefront — design tokens + components
   Source: merchant design package site/css/tidewell.css
   Fonts: Cormorant Garamond (display), DM Sans (body)
   ========================================================= */
:root {
  --lagoon: #0D1F1C; --lagoon-2: #163A33; --lagoon-line: #2F4743;
  --seafoam: #7FCBB5; --seafoam-deep: #2E7F6B; --mist: #CFE8E1;
  --champagne: #C9B27C; --champagne-ink: #7A6435; --ivory: #F4EFE6;
  --paper: #FAF7F1; --sand: #E9E1D3; --tile: #EFE8DC;
  --ink-2: #2B3B38; --ink-3: #3B4A47; --muted: #5B6A67; --muted-dark: #B9C5C1;
  --line: #E2DACB; --line-2: #D8CFBF; --star: #9A7B3F;
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "Helvetica Neue", Helvetica, sans-serif;
  --fs-hero: clamp(52px, 7vw, 92px); --fs-h1: clamp(42px, 5vw, 64px);
  --fs-h2: clamp(34px, 4vw, 52px); --fs-h3: clamp(24px, 2.4vw, 30px);
  --fs-lead: 19px; --fs-body: 16px; --fs-small: 14px; --fs-micro: 12px;
  --container: 1280px; --gutter: clamp(20px, 3vw, 32px); --section: clamp(64px, 8vw, 104px);
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --r-pill: 999px;
}
.tw *, .tw *::before, .tw *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body.tw { margin: 0; background: var(--paper); color: var(--lagoon); font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
.tw img { max-width: 100%; height: auto; display: block; }
.tw a { color: inherit; }
.tw a:hover { color: var(--seafoam-deep); }
.tw :focus-visible { outline: 2px solid var(--seafoam-deep); outline-offset: 3px; border-radius: 4px; }
.tw .on-dark :focus-visible { outline-color: var(--seafoam); }
.tw button, .tw input, .tw select, .tw textarea { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) { .tw * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.tw [hidden] { display: none !important; }

.tw .container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.tw .section { padding-block: var(--section); }
.tw .on-dark { background: var(--lagoon); color: var(--ivory); }
.tw .on-dark a:hover { color: var(--seafoam); }
.tw .band-sand { background: var(--sand); }
.tw .band-ivory { background: var(--ivory); }
.tw .band-mist { background: var(--mist); }
.tw .band-paper { background: var(--paper); }
.tw .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.tw .display, .tw h1, .tw h2, .tw h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.tw .t-hero { font-size: var(--fs-hero); line-height: 0.96; }
.tw h1, .tw .t-h1 { font-size: var(--fs-h1); line-height: 1; }
.tw h2, .tw .t-h2 { font-size: var(--fs-h2); line-height: 1.02; }
.tw h3, .tw .t-h3 { font-size: var(--fs-h3); line-height: 1.1; }
.tw .lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 62ch; margin: 0; }
.tw .on-dark .lead { color: var(--muted-dark); }
.tw .kicker { font-size: var(--fs-small); font-weight: 500; color: var(--champagne-ink); margin: 0; }
.tw .on-dark .kicker { color: var(--champagne); }
.tw .muted { color: var(--muted); }
.tw .on-dark .muted { color: var(--muted-dark); }
.tw .small { font-size: var(--fs-small); }
.tw .micro { font-size: var(--fs-micro); }
.tw p { margin: 0; }
.tw .stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.tw .row { display: flex; flex-wrap: wrap; gap: var(--gap, 14px); align-items: center; margin-left: 0; margin-right: 0; }
.tw .between { justify-content: space-between; }
.tw .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.tw .section-head .stack { --gap: 10px; max-width: 760px; }
.tw .center-head { --gap: 10px; text-align: center; align-items: center; margin-bottom: 24px; }
.tw .rte p + p { margin-top: 14px; }

/* Buttons */
.tw .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 700; font-size: 15px; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.tw .btn-primary { background: var(--lagoon); color: var(--ivory); }
.tw .btn-primary:hover { background: var(--lagoon-2); color: var(--ivory); }
.tw .btn-sea { background: var(--seafoam); color: var(--lagoon); }
.tw .btn-sea:hover { background: #95D6C3; color: var(--lagoon); }
.tw .btn-outline { border-color: var(--lagoon); color: var(--lagoon); background: transparent; font-weight: 500; }
.tw .btn-outline:hover { background: var(--lagoon); color: var(--ivory); }
.tw .on-dark .btn-outline { border-color: var(--champagne); color: var(--ivory); }
.tw .on-dark .btn-outline:hover { background: var(--ivory); color: var(--lagoon); }
.tw .btn-gold { background: var(--champagne); color: var(--lagoon); }
.tw .btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.tw .btn-block { width: 100%; }
.tw .btn[disabled], .tw .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.tw .link { font-weight: 500; text-underline-offset: 4px; }
.tw button.link { background: none; border: none; cursor: pointer; padding: 0; text-decoration: underline; }

/* Announcement + guide bar */
.tw .announce { background: var(--lagoon); color: var(--ivory); font-size: 13px; padding: 10px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 36px; text-align: center; }
.tw .announce .hl { color: var(--seafoam); }
.tw .guidebar { background: var(--sand); font-size: 13px; padding: 8px var(--gutter); display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.tw .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--seafoam-deep); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: none; overflow: hidden; position: relative; }
.tw .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tw .avatar img:not([src]), .tw .avatar img[src=""] { display: none; }
.tw .avatar-lg { width: 120px; height: 120px; font-size: 40px; font-family: var(--font-display); font-weight: 500; }

/* Header */
.tw .site-header { position: sticky; top: 0; z-index: 20; background: rgba(250,247,241,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tw .site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.tw .logo img { height: 34px; width: auto; }
.tw .nav { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 15px; }
.tw .nav a { text-decoration: none; padding: 6px 0; }
.tw .nav a[aria-current="page"] { border-bottom: 1.5px solid var(--seafoam-deep); }
.tw .header-tools { display: flex; align-items: center; gap: 4px; }
.tw .icon-btn { width: 44px; height: 44px; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; cursor: pointer; color: var(--lagoon); text-decoration: none; }
.tw .icon-btn:hover { background: var(--tile); }
.tw .locale { height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; }
.tw .cart-btn { height: 44px; padding: 0 16px; border: none; border-radius: var(--r-pill); background: var(--lagoon); color: var(--ivory); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.tw .menu-toggle { display: none; }
@media (max-width: 960px) {
  html, body.tw { max-width: 100%; overflow-x: clip; }
  .tw .locale-wrap { display: none; }
  .tw .site-header .container { flex-wrap: nowrap; gap: 8px; }
  .tw .site-header .logo img { width: 112px; height: auto; }
  .tw .header-tools { gap: 0; }
  .tw .nav { order: 3; width: 100%; display: none; flex-direction: column; gap: 0; padding-top: 8px; position: absolute; top: 100%; left: 0; padding-inline: var(--gutter); background: var(--paper); box-shadow: 0 10px 12px rgba(13,31,28,.1); }
  .tw .gallery, .tw .buybox, .tw main { min-width: 0; max-width: 100%; }
  .tw .nav.open { display: flex; }
  .tw .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tw .menu-toggle { display: inline-flex; }
  .tw .locale { display: none; }
}

/* Hero */
.tw .hero { padding-block: clamp(48px, 7vw, 88px); }
.tw .hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tw .hero h1 { font-size: var(--fs-hero); line-height: 0.95; }
.tw .hero .accent-line { display: block; color: var(--seafoam); font-style: italic; font-weight: 400; }
.tw .hero-media { position: relative; }
.tw .hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.tw .hero-tag { position: absolute; left: 18px; bottom: 18px; background: var(--paper); color: var(--lagoon); border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; max-width: 280px; text-decoration: none; }
.tw .hero-tag strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.tw .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tw .chip { padding: 10px 16px; border-radius: var(--r-pill); background: rgba(244,239,230,0.08); color: var(--ivory); text-decoration: none; font-size: 14px; border: 1px solid var(--lagoon-line); }
.tw .chip:hover { border-color: var(--seafoam); color: var(--ivory); }
.tw .page-hero { padding-block: clamp(48px, 6vw, 80px) clamp(32px, 4vw, 48px); }
.tw .page-hero .lead { margin-top: 18px; }

/* Trust strip */
.tw .trust { border-block: 1px solid var(--line); background: var(--ivory); }
.tw .trust ul { list-style: none; margin: 0; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-size: 14px; color: var(--ink-3); }
.tw .trust li { display: inline-flex; align-items: center; gap: 8px; }
.tw .trust svg { color: var(--seafoam-deep); }

/* Product card */
.tw .grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 32px 22px; }
.tw .card { display: flex; flex-direction: column; gap: 10px; }
.tw .card-media { position: relative; display: block; background: var(--tile); border-radius: var(--r-md); aspect-ratio: 1 / 1; overflow: hidden; }
.tw .card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.tw .card-media:hover img { transform: scale(1.03); }
.tw .badge { position: absolute; left: 12px; top: 12px; background: var(--lagoon); color: var(--ivory); font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: var(--r-pill); }
.tw .badge-gold { background: var(--champagne); color: var(--lagoon); }
.tw .badge-sea { background: var(--mist); color: var(--lagoon); }
.tw .card-cat { font-size: 13px; color: var(--muted); }
.tw .card-title { font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.05; text-decoration: none; }
.tw .card-blurb { font-size: 14px; color: var(--ink-3); line-height: 1.45; }
.tw .stars { color: var(--star); letter-spacing: 2px; }
.tw .rating { font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.tw .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tw .price strong { font-size: 18px; }
.tw .price .sub { font-size: 13px; color: var(--seafoam-deep); }
.tw .price s { color: var(--muted); }
.tw .card .btn { margin-top: auto; }

/* Tiles + layout grids */
.tw .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.tw .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.tw .grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tw .grid-2x { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tw .tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-md); overflow: hidden; text-decoration: none; aspect-ratio: 3 / 4; background: var(--lagoon); color: var(--ivory); }
.tw .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tw .tile-body { position: relative; background: var(--lagoon); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.tw .tile-body strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1; }
.tw .tile-body span { font-size: 14px; color: var(--muted-dark); }
.tw .tile:hover { color: var(--ivory); }
.tw .tile:hover .tile-body strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.tw .media-rounded { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.tw .media-wide { aspect-ratio: 21 / 9; }
.tw .panel { background: var(--paper); border-radius: var(--r-md); padding: 24px; }
.tw .panel-ivory { background: var(--ivory); border-radius: var(--r-md); padding: 26px; }
.tw .panel-dark { border: 1px solid var(--lagoon-line); border-radius: var(--r-md); padding: 26px; }
.tw .panel-dark.is-featured { border-color: var(--champagne); }
.tw .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.tw .step { border-top: 1px solid var(--champagne); padding-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.tw .step-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--seafoam-deep); }
.tw .on-dark .step-num { color: var(--seafoam); }

/* Reviews */
.tw .review { margin: 0; background: var(--ivory); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.tw .review blockquote { margin: 0; font-family: var(--font-display); font-size: 24px; line-height: 1.3; }
.tw .review figcaption { font-size: 14px; color: var(--ink-3); }

/* FAQ */
.tw .faq { max-width: 880px; margin: 0 auto; }
.tw .faq details { border-bottom: 1px solid var(--line-2); }
.tw .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 500; }
.tw .faq summary::-webkit-details-marker { display: none; }
.tw .faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--seafoam-deep); transition: transform .2s; }
.tw .faq details[open] summary::after { transform: rotate(45deg); }
.tw .faq details > div { padding: 0 0 22px; color: var(--ink-3); line-height: 1.65; max-width: 70ch; }

/* Forms */
.tw .field { display: flex; flex-direction: column; gap: 6px; }
.tw .field label { font-size: 14px; font-weight: 500; }
.tw .input, .tw .select, .tw .textarea { min-height: 48px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #fff; padding: 10px 14px; font-size: 15px; }
.tw .textarea { min-height: 120px; resize: vertical; }
.tw .input-pill, .tw .select-pill { border-radius: var(--r-pill); padding: 0 18px; }
.tw .on-dark .input { background: transparent; border-color: var(--lagoon-line); color: var(--ivory); }
.tw .check { display: flex; gap: 10px; align-items: center; font-size: 15px; min-height: 36px; cursor: pointer; }
.tw .check input { appearance: auto; width: 18px; height: 18px; accent-color: var(--seafoam-deep); flex: none; }

/* PDP */
.tw .breadcrumb { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.tw .breadcrumb a { color: var(--muted); }
.tw .pdp { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 56px); align-items: flex-start; padding-block: 24px var(--section); }
.tw .gallery { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 96px; }
@media (max-width: 960px) { .tw .gallery { position: static; } }
.tw .gallery-main { background: var(--tile); border-radius: var(--r-lg); aspect-ratio: 1 / 1; overflow: hidden; position: relative; }
.tw .gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.tw .gallery-main img.cover { object-fit: cover; }
.tw .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.tw .thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer; }
.tw .thumb[aria-current="true"] { border-color: var(--lagoon); }
.tw .thumb img { width: 100%; height: 100%; object-fit: contain; }
.tw .buybox { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.tw .checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.tw .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.tw .checklist svg { color: var(--seafoam-deep); flex: none; margin-top: 3px; }
.tw .opt-label { font-size: 14px; }
.tw .swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.tw .swatch-btn { min-height: 46px; padding: 0 18px 0 8px; border-radius: var(--r-pill); border: 1.5px solid var(--line-2); background: transparent; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.tw .swatch-btn.no-dot { padding: 0 18px; }
.tw .swatch-btn[aria-pressed="true"] { border-color: var(--lagoon); background: #fff; }
.tw .swatch-btn[data-unavailable="true"] { opacity: .45; text-decoration: line-through; }
.tw .swatch-dot { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(13,31,28,0.15); background: var(--tile); }
.tw .plan { display: block; border-radius: 16px; border: 1.5px solid var(--line-2); padding: 16px 18px; cursor: pointer; background: transparent; }
.tw .plan:has(input:checked) { border-color: var(--lagoon); background: #fff; }
.tw .plan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tw .plan input { width: 18px; height: 18px; accent-color: var(--lagoon); margin: 0 10px 0 0; vertical-align: middle; }
.tw .plan .pill { font-size: 11px; background: var(--lagoon); color: var(--ivory); padding: 4px 9px; border-radius: var(--r-pill); margin-left: 8px; }
.tw .plan-note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0 28px; }
.tw .qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); height: 56px; }
.tw .qty button { width: 48px; height: 54px; border: none; background: transparent; font-size: 20px; cursor: pointer; }
.tw .qty output { min-width: 28px; text-align: center; font-weight: 700; }
.tw .atc { flex: 1 1 240px; min-height: 56px; }
.tw .perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 13px; color: var(--ink-3); }
.tw .perks div { display: flex; gap: 8px; align-items: center; }
.tw .perks svg { color: var(--seafoam-deep); flex: none; }
.tw .toast { background: var(--mist); border-radius: 14px; padding: 12px 16px; font-size: 14px; }
.tw .upsell { background: var(--ivory); border-radius: 18px; padding: 16px; display: flex; gap: 16px; align-items: center; text-decoration: none; }
.tw .upsell img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; flex: none; }
.tw .stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; }
.tw .stat-band strong { display: block; font-family: var(--font-display); font-size: 52px; font-weight: 500; line-height: 1; color: var(--seafoam); margin-bottom: 10px; }
.tw .facts { background: #fff; border: 2px solid var(--lagoon); padding: 22px; font-size: 14px; max-width: 440px; flex: 1 1 320px; }
.tw .facts h3 { font-family: var(--font-body); font-weight: 700; font-size: 26px; border-bottom: 1px solid var(--lagoon); padding-bottom: 6px; letter-spacing: 0; }
.tw .facts .r { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid #C9C2B4; }
.tw .facts .thick { border-bottom: 8px solid var(--lagoon); padding-bottom: 8px; }
.tw .bars { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.tw .bar { display: flex; align-items: center; gap: 10px; }
.tw .bar span:first-child { width: 48px; }
.tw .bar .track { flex: 1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.tw .bar .fill { display: block; height: 100%; background: var(--seafoam-deep); }
.tw .rte-desc { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.tw .rte-desc p + p { margin-top: 10px; }

/* Shop */
.tw .shop-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: var(--section); }
.tw .filters { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 96px; }
.tw .filters fieldset { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tw .filters legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.tw .shop-main { flex: 999 1 600px; min-width: 0; }
.tw .toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
.tw .cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tw .cat-pill { min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.tw .cat-pill[aria-pressed="true"], .tw .cat-pill[aria-current="page"] { background: var(--lagoon); color: var(--ivory); border-color: var(--lagoon); }
.tw .empty { padding: 48px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-md); }
@media (max-width: 900px) { .tw .filters { position: static; max-width: none; } }

/* Shop lineup (image-led grid, hover "View product") */
.tw .shop-hero h1 .accent-line { display: block; color: var(--seafoam-deep); font-style: italic; font-weight: 400; }
.tw .shop-banner { background: var(--lagoon); }
.tw .shop-banner img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; object-position: left center; }

.tw .shop-lineup { padding-top: 40px; padding-bottom: var(--section); }
.tw .shop-cats { margin-bottom: 20px; }
.tw .shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 18px; border-block: 1px solid var(--line-2); margin-bottom: 36px; }
.tw .shop-count { margin: 0; color: var(--muted); font-size: 16px; letter-spacing: .01em; }
.tw .shop-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; }
.tw .shop-sort-label { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tw .shop-tools .select-pill { display: inline-block; width: auto; max-width: none; min-height: 52px; min-width: 210px; padding: 0 44px 0 22px; font-size: 16px; border: 1px solid var(--line-2); background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D1F1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 18px center / 14px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.tw .shop-tools .select-pill::after { content: none; }
.tw .shop-refine > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 16px; background: transparent; }
.tw .shop-refine > summary::-webkit-details-marker { display: none; }
.tw .shop-refine[open] > summary { border-color: var(--lagoon); }
.tw .shop-refine-panel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 15; width: min(340px, calc(100vw - 2 * var(--gutter))); background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 18px 40px rgba(13,31,28,.12); }
.tw .shop-refine-panel fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tw .shop-refine-panel legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.tw .shop-pages { margin-top: 48px; justify-content: center; }

.tw .grid-lineup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 28px; }
.tw .card-lineup { gap: 0; }
.tw .lineup-media { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--tile); aspect-ratio: 4 / 5; }
.tw .lineup-img { display: block; width: 100%; height: 100%; }
.tw .lineup-img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s ease; }
.tw .card-lineup:hover .lineup-img img, .tw .card-lineup:focus-within .lineup-img img { transform: scale(1.04); }
.tw .lineup-badge { position: absolute; left: 14px; top: 14px; background: var(--lagoon); color: var(--ivory); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border-radius: var(--r-pill); }
.tw .lineup-cta { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; white-space: nowrap; min-height: 48px; padding-inline: 26px; box-shadow: 0 8px 22px rgba(13,31,28,.18); }
.tw .card-lineup:hover .lineup-cta, .tw .card-lineup:focus-within .lineup-cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.tw .lineup-title { display: block; margin-top: 20px; font-family: var(--font-display); font-size: 25px; font-weight: 500; line-height: 1.1; text-decoration: none; }
.tw .lineup-title:hover { color: var(--seafoam-deep); }
.tw .lineup-price { margin-top: 12px; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
/* Touch devices have no hover: keep the button visible so the path to the PDP is obvious. */
@media (hover: none) { .tw .lineup-cta { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; bottom: 14px; min-height: 44px; padding-inline: 20px; } }
@media (prefers-reduced-motion: reduce) { .tw .lineup-cta, .tw .lineup-img img { transition: none; } }
@media (max-width: 1100px) { .tw .grid-lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .tw .grid-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .tw .lineup-title { font-size: 20px; margin-top: 14px; }
  .tw .lineup-price { font-size: 20px; }
  .tw .shop-tools { width: 100%; justify-content: space-between; }
  .tw .shop-tools .select-pill { min-width: 0; flex: 1; }
  .tw .shop-sort-label { display: none; }
}

/* System / bundle */
.tw .inside-list { display: flex; flex-direction: column; gap: 12px; }
.tw .inside-item { display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: 16px; padding: 12px 16px 12px 12px; text-decoration: none; }
.tw .inside-item img { width: 72px; height: 72px; object-fit: contain; background: var(--tile); border-radius: 12px; flex: none; }
.tw .inside-item .grow { flex: 1; min-width: 0; }
.tw .timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; border-top: 1px solid var(--lagoon-line); }
.tw .timeline > div { padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 10px; }
.tw .timeline strong { font-family: var(--font-display); font-size: 28px; font-weight: 500; }

/* Join */
.tw .kit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; align-items: stretch; }
.tw .kit { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 16px; background: var(--paper); }
.tw .kit.featured { border: 2px solid var(--lagoon); background: #fff; }
.tw .kit .badge { position: static; align-self: flex-start; }
.tw .kit-img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--tile); border-radius: 16px; }
.tw .kit .kit-price { font-family: var(--font-display); font-size: 56px; line-height: 1; }
.tw .kit ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tw .kit li { display: flex; gap: 10px; }
.tw .kit li svg { color: var(--seafoam-deep); flex: none; margin-top: 4px; }
.tw .kit .btn { margin-top: auto; }
.tw .ranks { display: flex; flex-wrap: wrap; gap: 0; border-radius: var(--r-md); overflow: hidden; }
.tw .ranks div { flex: 1 1 130px; padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.tw .ranks strong { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.tw .table-wrap { overflow-x: auto; }

/* Guide shop */
.tw .guide-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.tw .guide-hero .stack { flex: 1 1 min(100%, 420px); min-width: 0; }
.tw .socials { display: flex; gap: 8px; }
.tw .pull { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; max-width: 22ch; margin: 0; }

/* Story */
.tw .milestones { display: flex; flex-direction: column; border-left: 1px solid var(--champagne); margin-left: 8px; max-width: 720px; }
.tw .milestones > div { position: relative; padding: 0 0 36px 32px; display: flex; flex-direction: column; gap: 6px; }
.tw .milestones > div::before { content: ""; position: absolute; left: -6px; top: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--seafoam-deep); }
.tw .milestones .year { font-family: var(--font-display); font-size: 32px; line-height: 1; }

/* Ingredients */
.tw .ingredient { border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.tw .ingredient .found { font-size: 13px; color: var(--muted); }
.tw .on-dark .ingredient { background: transparent; border-color: var(--lagoon-line); }
.tw .on-dark .ingredient .found { color: var(--muted-dark); }

/* Help */
.tw .help-search { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.tw .help-search .input { flex: 1 1 300px; border-radius: var(--r-pill); padding: 0 22px; min-height: 56px; font-size: 16px; }
.tw .topic { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; background: var(--paper); }
.tw .topic:hover { border-color: var(--seafoam-deep); color: var(--lagoon); }
.tw .topic svg { color: var(--seafoam-deep); }
.tw .help-group + .help-group { margin-top: 56px; }
.tw .help-group h2 { margin-bottom: 10px; }

/* Quiz */
.tw .quiz { max-width: 860px; margin: 0 auto; }
.tw .progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tw .progress span { display: block; height: 100%; background: var(--seafoam-deep); transition: width .3s; }
.tw .answers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.tw .answer { text-align: left; min-height: 76px; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--paper); padding: 16px 18px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.tw .answer:hover { border-color: var(--seafoam-deep); }
.tw .answer[aria-pressed="true"] { border-color: var(--lagoon); background: #fff; box-shadow: inset 0 0 0 1px var(--lagoon); }
.tw .answer strong { font-size: 16px; }
.tw .answer span { font-size: 14px; color: var(--ink-3); }

/* Account */
.tw .account { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: var(--section); }
.tw .acct-nav { flex: 1 1 220px; max-width: 260px; display: flex; flex-direction: column; gap: 2px; }
.tw .acct-nav a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: var(--r-sm); text-decoration: none; font-size: 15px; }
.tw .acct-nav a:first-child { background: var(--lagoon); color: var(--ivory); }
.tw .acct-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tw .sub-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.tw .points-meter { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; }
.tw .points-meter span { display: block; height: 100%; background: var(--champagne); }
@media (max-width: 900px) { .tw .acct-nav { max-width: none; flex-direction: row; flex-wrap: wrap; } }

/* Blog */
.tw .post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.tw .post-card img, .tw .post-card .ph-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--tile); }
.tw .post-card .cat { font-size: 13px; color: var(--seafoam-deep); font-weight: 500; }
.tw .post-card h3 { font-size: 28px; }
.tw .post-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; text-decoration: none; }
.tw .post-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.tw .article { max-width: 720px; margin: 0 auto; }
.tw .article-body p, .tw .article-body li { font-size: 18px; line-height: 1.75; color: var(--ink-2); }
.tw .article-body p + p { margin-top: 22px; }
.tw .article-body h2 { font-size: 38px; margin: 48px 0 18px; }
.tw .article-body ul, .tw .article-body ol { padding-left: 22px; margin: 18px 0; }
.tw .article-body blockquote { margin: 36px 0; font-family: var(--font-display); font-size: 32px; line-height: 1.25; color: var(--lagoon); }
.tw .article-body img { border-radius: var(--r-md); margin: 28px 0; }
.tw .byline { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-3); }
.tw .product-callout { display: flex; gap: 20px; align-items: center; background: var(--ivory); border-radius: var(--r-md); padding: 18px; margin: 36px 0; flex-wrap: wrap; }
.tw .product-callout img { width: 110px; height: 110px; object-fit: contain; background: var(--tile); border-radius: 14px; }

/* CTA band + footer */
.tw .cta-band { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; align-items: center; }
.tw .cta-band .span-2 { grid-column: span 2; }
@media (max-width: 600px) { .tw .cta-band .span-2 { grid-column: auto; } }
.tw .site-footer { background: var(--lagoon); color: var(--ivory); }
.tw .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 40px; padding-block: 72px 40px; }
.tw .footer-brand { grid-column: span 2; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 560px) { .tw .footer-brand { grid-column: auto; } }
.tw .footer-brand img { height: 42px; width: auto; align-self: flex-start; }
.tw .footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.tw .footer-col h2 { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--champagne); letter-spacing: 0; }
.tw .footer-col a { text-decoration: none; color: var(--ivory); }
.tw .footer-col a:hover { color: var(--seafoam); }
.tw .footer-legal { border-top: 1px solid var(--lagoon-line); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-dark); }
.tw .newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.tw .newsletter .input { flex: 1 1 220px; border-radius: var(--r-pill); }
