/* ==========================================================================
   Store theme: base styles (mobile first)
   Color tokens come from snippets/css-variables.liquid (theme settings).
   The page is white, the type is near-black, the one solid black thing on a
   screen is the button you press, and only the product colors are saturated.
   ========================================================================== */

/* Arial sized to match the web fonts, so nothing moves when they swap in. */
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Arial Bold'), local('Arial-BoldMT'), local('Arial');
  font-weight: 800;
  size-adjust: 103%;
  ascent-override: 85.4%;
  descent-override: 20.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Libre Franklin Fallback';
  src: local('Arial');
  size-adjust: 102.9%;
  ascent-override: 94.3%;
  descent-override: 24.3%;
  line-gap-override: 0%;
}

:root {
  --font-display: 'Archivo', 'Archivo Fallback', Arial, sans-serif;
  --font-body: 'Libre Franklin', 'Libre Franklin Fallback', Arial, sans-serif;
  --display-weight: 800;

  --text-display: clamp(3rem, 1.6rem + 5.6vw, 5.5rem);
  --text-h1: clamp(2.5rem, 1.9rem + 2.6vw, 4rem);
  --text-h2: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --text-h2-small: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-h3: 1.375rem;
  --text-xs: .8125rem;
  --text-sm: .875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-total: 1.625rem;

  --radius-s: 4px;
  --radius-m: 4px;
  --radius-l: 6px;
  --gutter: 16px;
  --section-y: 48px;
  --page-top: clamp(24px, 3.4vw, 48px);
  --container: 1240px;
  /* One grid on a wide screen: a section's label sits in the first of three columns and its content takes the other two. */
  --col-gap: 24px;
  --split: calc((100% - 2 * var(--col-gap)) / 3) minmax(0, 1fr);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 120ms;

  /* A custom property alias resolves where it is declared, so the dark block below redeclares each of these. */
  --error-ink: var(--error);
  --success-ink: var(--success);
  --focus: var(--ember);
  --field-bg: #FFFFFF;
  --line-light: var(--hairline);
}
@media (min-width: 750px) { :root { --gutter: 28px; --section-y: 64px; } }
@media (min-width: 990px) { :root { --gutter: 40px; --section-y: 80px; --header-h: 76px; --col-gap: 40px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Keeps the page from jumping when the drawer locks scrolling. Phones use overlay scrollbars, so this only matters on desktop. */
@media (min-width: 750px) { html { scrollbar-gutter: stable; } }
/* While the page behind is dimmed, the gutter is too: this is the overlay's rgba(17, 17, 17, .5) on white. */
html:has(body.popup-open), html:has(#CartDrawer:not([hidden])) { background: #888888; }
/* The sticky bar at the bottom must not sit on top of whatever Tab just focused. */
@media (max-width: 989px) { html { scroll-padding-bottom: 96px; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* WebP sources are wrapped in <picture>; let the <img> inside lay out as if the wrapper weren't there. */
picture { display: contents; }
picture > source { display: none; } /* otherwise each <source> takes a grid cell (empty gaps in thumbnail grids) */
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 600; }
[role='list'] { list-style: none; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.1;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 em, h2 em, h3 em, h4 em { font-style: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.main:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.visually-hidden, #CartStatus {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ember); color: var(--on-ember); padding: 12px 18px; border-radius: var(--radius-s); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
/* Narrow containers keep their measure but start on the same left edge as the header and the wide sections. */
.container--narrow { max-width: 860px; margin-left: max(0px, (100% - var(--container) - 2 * var(--gutter)) / 2); margin-right: auto; }
.muted { color: var(--stone); }
.lead { font-size: var(--text-lg); line-height: 1.55; }
.lead a { font-weight: 600; }
.eyebrow { font-size: var(--text-sm); font-weight: 600; color: var(--stone); margin: 0 0 12px; }

/* ---------- Typography ---------- */
.display, .h1, .h2 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.02em; }
.display { font-size: var(--text-display); line-height: 1; }
.h1 { font-size: var(--text-h1); line-height: 1.02; }
/* Utility pages don't need a poster headline. */
.page .h1, .cart-page .h1, .contact .h1, .search .h1, .notfound .h1 { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); }
.h2 { font-size: var(--text-h2); line-height: 1.04; }
.h3 { font-family: var(--font-display); font-size: var(--text-h3); font-weight: var(--display-weight); letter-spacing: -.02em; }
.rte > :last-child { margin-bottom: 0; }
.rte a { color: inherit; text-decoration: underline; }
.rte a[href^='/products/'] { white-space: nowrap; }
.rte p { text-wrap: pretty; }
.rte ul, .rte ol { padding-left: 1.2em; margin: 0 0 1em; }
.rte li { margin-bottom: .35em; }
.rte h2, .rte h3 { margin-top: 1.4em; }
.rte h2 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); letter-spacing: -.02em; }
.rte h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); letter-spacing: 0; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--dark { background: var(--ink); }
.section--night { background: var(--night); }
.section--light { background: var(--bone); color: var(--graphite); }
.section--paper { background: var(--paper); color: var(--graphite); }
/* The grey band belongs to the home chooser. Anywhere else a light section is the plain white page. */
body:not(.template-index) .section--light { background: var(--paper); }
.collection, .pdp, .cart-page, .page, .contact, .search, .notfound { background: var(--paper); color: var(--graphite); }

/* Dark context: the action turns white, and every token that sits on it follows. Never inherited by light pages. */
.section--dark, .section--night, .footer {
  --ember: var(--ember-on-dark);
  --ember-deep: var(--ember-on-dark-hover);
  --on-ember: var(--on-ember-on-dark);
  --ember-ink: var(--ember-on-dark);
  --focus: var(--ember-on-dark);
  --line-light: var(--dusk);
  --field-border: var(--mist);
  --placeholder: var(--mist);
  --field-bg: var(--night);
  --error-ink: var(--error-on-dark);
  --success-ink: var(--success-on-dark);
  color: #FFFFFF;
}
.section--dark .muted, .section--night .muted, .footer .muted,
.section--dark .eyebrow, .section--night .eyebrow, .footer .eyebrow,
.section--dark .section__intro, .section--night .section__intro,
.section--dark .accordion__a, .section--night .accordion__a,
.section--dark .card__tagline, .section--night .card__tagline { color: var(--mist); }

/* Two sections in a row on the same background read as one band: drop the second one's top padding
   so the gap between them is one section-y, not two. */
.shopify-section:has(> .section--light) + .shopify-section > .section--light,
.shopify-section:has(> .section--dark) + .shopify-section > .section--dark,
.shopify-section:has(> .section--paper) + .shopify-section > .section--paper,
.shopify-section:has(> .hero) + .shopify-section > .section--paper { padding-top: 0; }
.section__head { max-width: 760px; margin: 0 0 24px; text-align: left; }
.section__head > :last-child { margin-bottom: 0; }
.section__head--split { max-width: none; display: grid; gap: 14px; align-items: end; }
.section__head--split .section__intro { max-width: 30rem; }
@media (min-width: 990px) { .section__head--split { grid-template-columns: 1.3fr 1fr; gap: 64px; } }
.section__intro { font-size: var(--text-md); color: var(--stone); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius-s); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-md); line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color var(--fast) linear, color var(--fast) linear, border-color var(--fast) linear;
}
.button--primary { background: var(--ember); color: var(--on-ember); }
@media (hover: hover) { .button--primary:hover { background: var(--ember-deep); } }
.button--ghost { background: transparent; color: var(--graphite); border-color: #111111; }
@media (hover: hover) { .button--ghost:hover { background: var(--tile); } }
.section--dark .button--ghost, .section--night .button--ghost, .footer .button--ghost { color: #FFFFFF; border-color: #FFFFFF; }
@media (hover: hover) { .section--dark .button--ghost:hover, .section--night .button--ghost:hover, .footer .button--ghost:hover { background: var(--dusk); } }
.button--large { padding: 0 32px; }
.button--small { min-height: 44px; padding: 0 16px; font-size: var(--text-sm); }
.button--full { width: 100%; }
.button[disabled], .button[aria-disabled='true'] { opacity: .45; cursor: not-allowed; }
.button.is-loading { position: relative; color: transparent; }
.button.is-loading::after {
  content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--on-ember); border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; border-radius: var(--radius-s); background: transparent; border: 0; cursor: pointer; color: inherit;
  transition: background-color var(--fast) linear;
}
@media (hover: hover) {
  .icon-button:hover { background: var(--tile); }
  .section--dark .icon-button:hover, .section--night .icon-button:hover, .footer .icon-button:hover { background: var(--dusk); }
}

/* ---------- Announcement & header ---------- */
.announcement { position: relative; z-index: 41; background: var(--bone); color: #111111; text-align: center; }
.announcement__list { display: flex; justify-content: center; gap: 24px; padding: 6px 8px; }
.announcement__item { font-size: var(--text-xs); font-weight: 400; line-height: 1.5; }
@media (min-width: 360px) { .announcement__item { font-size: var(--text-sm); } }
.announcement__item a { display: inline-block; padding-block: 5px; margin-block: -5px; text-decoration: underline; }
.section-header { position: sticky; top: 0; z-index: 40; }
.header { position: relative; background: var(--paper); color: var(--graphite); border-bottom: 1px solid var(--hairline); }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.menu-drawer { justify-self: start; margin-left: -10px; } /* the icon's strokes line up with the text below, not its 44px tap box */
.logo { justify-self: center; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.logo img { width: var(--logo-width); }
.wordmark {
  display: inline-flex; align-items: center; margin: 0;
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); line-height: 1; letter-spacing: -.02em;
}
.header__nav { display: none; }
.header__cart {
  grid-column: 3; justify-self: end; display: inline-flex; align-items: center; width: auto; height: auto; min-height: 44px; padding-left: 8px;
  font-size: var(--text-sm); font-weight: 500; text-decoration: none; color: var(--graphite);
}
@media (hover: hover) { .header__cart:hover { background: none; text-decoration: underline; } }
.cart-count { margin-left: 4px; font-size: var(--text-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-count::before { content: '('; }
.cart-count::after { content: ')'; }
.menu-drawer > summary { list-style: none; }
.menu-drawer > summary::-webkit-details-marker { display: none; }
.menu-drawer__close { display: none; }
.menu-drawer[open] .menu-drawer__open { display: none; }
.menu-drawer[open] .menu-drawer__close { display: inline-flex; }
.menu-drawer__panel {
  position: fixed; left: 0; right: 0; top: var(--menu-top, calc(var(--header-h) + 33px)); bottom: 0;
  background: var(--paper); color: var(--graphite); padding: 12px var(--gutter) 28px; overflow-y: auto; z-index: 39;
}
.menu-drawer__list a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hairline);
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2); line-height: 1.1; letter-spacing: -.02em; text-decoration: none;
}
.menu-drawer__list a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu-drawer__note { margin-top: 24px; font-size: var(--text-sm); }
@media (min-width: 990px) {
  .menu-drawer { display: none; }
  .logo { justify-self: start; }
  .header__nav { display: block; }
  .header__menu { display: flex; gap: 28px; justify-content: center; }
  .header__link { display: inline-block; padding: 8px 0; text-decoration: none; font-size: var(--text-sm); color: var(--graphite); }
  .header__link[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: #111111; text-underline-offset: 6px; }
  /* No Cart while orders are closed: the nav ends on the container's right edge, with the hero's prices below it. */
  .header__inner--closed { grid-template-columns: auto 1fr; }
  .header__inner--closed .header__menu { justify-content: flex-end; }
}
@media (min-width: 990px) and (hover: hover) {
  .header__link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: #111111; text-underline-offset: 6px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--paper); color: var(--graphite); padding: 32px 0 48px; }
.hero__layout { display: grid; gap: 28px; align-items: center; }
.hero__content { min-width: 0; }
.hero__title { margin: 0; max-width: 10ch; font-size: clamp(2.75rem, 5.2vw, 4.75rem); line-height: 1.04; }
.hero__visual { min-width: 0; padding: 20px; background: #F5F5F5; border-radius: var(--radius-l); }
.hero__product { display: block; text-decoration: none; }
.hero__media { aspect-ratio: 1.2; background: #FFFFFF; border-radius: var(--radius-s); overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: contain; }
.hero__product-label { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: var(--text-md); }
.hero__photo-note { margin: 4px 0 0; font-size: .75rem; color: var(--stone); }
.hero__benefits { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: var(--text-xs); color: var(--stone); }
.hero__benefits a { text-decoration: none; }
.hero__benefits a:hover { text-decoration: underline; }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; margin-top: 12px; }
.hero__sub { font-size: var(--text-md); color: var(--stone); max-width: 30rem; margin: 20px 0 0; }
.hero__sub p { margin: 0; text-wrap: balance; }
.hero__sub .hero__browse { margin-top: 16px; font-size: var(--text-sm); }
.hero__browse span { margin: 0 8px; color: var(--stone); }
.comparison__scroll { max-width: 100%; overflow-x: auto; }
.comparison { width: 100%; border-collapse: collapse; font-size: var(--text-sm); text-align: left; }
.comparison th, .comparison td { padding: 16px 12px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.comparison th:first-child, .comparison td:first-child { padding-left: 0; }
.comparison th:last-child, .comparison td:last-child { padding-right: 0; text-align: right; white-space: nowrap; }
.comparison thead th { color: var(--stone); font-weight: 500; }
.comparison__help { margin-top: 20px; font-size: var(--text-sm); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__ctas .button { padding-inline: 20px; font-size: var(--text-sm); min-height: 48px; }
.hero__waitlist { min-width: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.hero__points { margin-top: 16px; font-size: var(--text-sm); color: var(--stone); }
.hero__points li + li { margin-top: 2px; }
.hero .lineup { margin-top: 16px; }
@media (min-width: 990px) {
  .hero { padding: 48px 0 64px; }
  /* The headline runs the full width of the grid at any desktop size, so its end lines up with the prices below. */
  .hero__layout { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero__title { font-size: clamp(3.5rem, 5.2vw, 4.75rem); }
  .hero__row { grid-template-columns: var(--split); column-gap: var(--col-gap); margin-top: 36px; align-items: start; }
  .hero__sub { font-size: var(--text-lg); line-height: 1.6; }
  .hero__waitlist .waitlist { max-width: none; }
  .hero .lineup { margin-top: 48px; }
}

/* The catalog by kind (snippets/lineup.liquid). Without photos the price list is the picture, so it runs the full width. */
.lineup { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
.lineup__group { min-width: 0; padding-top: 6px; border-top: 2px solid var(--graphite); }
.lineup__label { margin: 0 0 4px; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.lineup .model-list__row { display: flex; align-items: baseline; column-gap: 12px; }
.lineup .model-list__name { flex: 1 1 auto; min-width: 0; }
.lineup .model-list li:last-child .model-list__row { border-bottom: 0; }
.lineup .model-list__row[aria-current] .model-list__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lineup__colors { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 4px 0 0; padding: 0; }
.lineup__color { display: block; font-size: var(--text-xs); line-height: 1.3; color: inherit; text-decoration: none; }
.lineup__color .swatch__dot { display: block; width: 100%; height: 48px; margin-bottom: 4px; border-radius: var(--radius-s); }
@media (hover: hover) { .lineup__color:hover { text-decoration: underline; } }
@media (min-width: 990px) {
  .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; }
  .lineup__group { padding-top: 10px; }
  .lineup__label { margin-bottom: 10px; }
  .lineup .model-list__row { padding: 14px 0; }
  .lineup .model-list__name, .lineup .model-list__price { font-size: 1.75rem; }
  .lineup__colors { margin-top: 2px; }
  .lineup__color .swatch__dot { height: 76px; }
}

/* Models and prices as plain links. */
.model-list { list-style: none; margin: 0; padding: 0; min-width: 0; }
.model-list__row {
  display: grid; grid-template-columns: 1fr auto 3.4rem; align-items: baseline; column-gap: 12px;
  min-height: 44px; padding: 10px 0; border-top: 1px solid var(--hairline); color: inherit; text-decoration: none;
}
.model-list li:last-child .model-list__row { border-bottom: 1px solid var(--hairline); }
.model-list__row:focus-visible { outline-offset: 2px; }
.model-list__name, .model-list__price {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h3); line-height: 1.1; letter-spacing: -.02em;
}
@media (hover: hover) { .model-list__row:hover .model-list__name { text-decoration: underline; text-decoration-thickness: 2px; } }
.model-list__note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); line-height: 1.2; color: var(--stone); white-space: nowrap; }
.model-list__dots { display: inline-flex; gap: 3px; }
.model-list__dots .swatch__dot { width: 10px; height: 10px; }
.model-list__price { font-variant-numeric: tabular-nums; text-align: right; }
@media (max-width: 359px) {
  .model-list__row { column-gap: 8px; }
  .model-list__name { white-space: nowrap; }
  .model-list__name, .model-list__price { font-size: var(--text-xl); letter-spacing: -.01em; }
  .model-list__note { font-size: var(--text-xs); }
  .model-list__dots { display: none; }
}
@media (min-width: 990px) {
  .model-list__row { grid-template-columns: 1fr auto 4.5rem; padding: 12px 0; }
  .model-list__name, .model-list__price { font-size: var(--text-2xl); }
  .model-list__note { font-size: var(--text-md); }
  .model-list__dots { gap: 4px; }
  .model-list__dots .swatch__dot { width: 12px; height: 12px; }
}

/* ---------- Media ---------- */
.media { position: relative; }
.media img { width: 100%; height: auto; border-radius: inherit; }

/* ---------- Price ---------- */
.price, .line__price, .cart__row strong, .sticky-buy__price, .model-list__price, .solo__price {
  font-family: var(--font-display); font-weight: var(--display-weight); font-variant-numeric: tabular-nums;
}
.price { display: flex; align-items: baseline; gap: 10px; letter-spacing: -.01em; }
.price--large { font-size: 1.75rem; line-height: 1.15; margin: 6px 0 4px; letter-spacing: -.02em; }
.price__compare { color: var(--stone); font-size: .85em; }

/* ---------- Product form ---------- */
.product-form { display: block; margin-top: 10px; }
.option { border: 0; padding: 0; margin: 0 0 20px; }
.option__legend { font-size: var(--text-xs); font-weight: 600; color: var(--graphite); margin-bottom: 8px; padding: 0; }
.option__value { color: var(--stone); font-weight: 400; margin-left: 4px; }
.option__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.option__input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* Color picker: five columns at every width, the dot over the name. */
.option--color .option__choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 8px 0;
  border-radius: var(--radius-s); cursor: pointer; font-size: var(--text-xs); text-align: center;
}
.swatch__dot { display: inline-block; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(17, 17, 17, .55); background: #888888; }
.swatch__dot--black { background: #1c1d22; }
.swatch__dot--cream { background: #e9e0cf; }
.swatch__dot--blue { background: #3b5f9e; }
.swatch__dot--purple { background: #6b4f9e; }
.swatch__dot--orange { background: #d9772e; }
.swatch__label { font-size: var(--text-xs); font-weight: 400; line-height: 1.2; }
@media (hover: hover) { .swatch:hover .swatch__label { text-decoration: underline; } }
.option__input:checked + .swatch .swatch__dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #111111; }
.option__input:checked + .swatch .swatch__label { font-weight: 600; }
.option__input:focus-visible + .swatch, .option__input:focus-visible + .option__label { outline: 2px solid var(--focus); outline-offset: 3px; }
.option__label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--field-border); border-radius: var(--radius-s); cursor: pointer; }
.option__input:checked + .option__label { border-color: #111111; box-shadow: 0 0 0 1px #111111; }
/* Only the dot fades. The name has to keep its contrast. */
.option__input.is-unavailable + .swatch .swatch__dot { opacity: .55; }
/* Windows high contrast blanks the dots and drops the ring, and color is the one decision on this page. */
@media (forced-colors: active) {
  .swatch__dot { forced-color-adjust: none; }
  .option__input:checked + .swatch .swatch__dot, .gallery__pick[aria-pressed='true'] .swatch__dot { outline: 2px solid Highlight; outline-offset: 2px; }
}

/* Read-only colors: closed AiroPods Max page and the home solo block. */
.color-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: var(--text-sm); }
.color-list li { display: inline-flex; align-items: center; gap: 6px; }
.color-list .swatch__dot { width: 12px; height: 12px; }
/* Under 390 the names won't fit one line, and one color alone on a second line looks like a mistake. */
@media (max-width: 389px) {
  .color-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 4px; }
  .color-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

.product-form__qty-row { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; flex-wrap: nowrap; }
.product-form__qty-row .qty { flex: none; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--field-border); border-radius: var(--radius-s); background: var(--paper); }
.qty__btn { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-s); transition: background-color var(--fast) linear; }
@media (hover: hover) { .qty__btn:hover { background: var(--tile); } }
.qty__btn:disabled { opacity: .45; cursor: default; background: transparent; }
.qty__input { width: 36px; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small .qty__btn { width: 44px; height: 44px; }
.stock-note { flex: 1 1 0; min-width: 0; margin: 0; font-size: var(--text-sm); line-height: 1.35; color: var(--stone); text-wrap: balance; }

/* Errors and confirmations are text with a mark. They carry no fill, so they never read as buttons. */
.product-form__error, .cart__error, .form-error {
  position: relative; background: none; color: var(--error-ink); border: 1.5px solid var(--error-ink); border-radius: var(--radius-s);
  padding: 12px 14px 12px 30px; font-size: var(--text-sm); margin-bottom: 14px;
}
.product-form__error::before, .cart__error::before, .form-error::before {
  content: '!'; content: '!' / ''; position: absolute; left: 14px; top: 12px;
  font-family: var(--font-display); font-weight: var(--display-weight);
}
.form-error p { margin: 0; }
.form-error ul { padding-left: 1.2em; }
.form-error a, .cart__error a { color: inherit; text-decoration: underline; }
.form-success { display: flex; gap: 8px; align-items: flex-start; background: none; color: var(--success-ink); padding: 0; font-weight: 500; }
.form-success .icon { flex: none; margin-top: .2em; }
/* theme.js writes the status as plain text, so the tick comes from CSS when the markup has none. */
.form-success:not(:has(.icon))::before {
  content: ''; flex: none; width: 16px; height: 16px; margin-top: .3em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7' fill='none' stroke='%23000' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eta { margin: 8px 0 0; font-size: var(--text-sm); color: var(--graphite); }
.eta--gift { margin-top: 8px; }
.cart__footer .eta--gift { margin: 0; font-size: var(--text-xs); }
[data-add-button] { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.assurance { display: grid; gap: 8px; margin-top: 16px; font-size: var(--text-sm); }
.assurance a { font-weight: 600; }

/* ---------- Product page ---------- */
.section.collection, .section.page, .cart-page, .search, .pdp { padding-top: var(--page-top); }
.pdp { padding-bottom: var(--section-y); }
.pdp__grid { display: grid; gap: 26px; }
.pdp__gallery { min-width: 0; }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { margin: 0; scroll-snap-align: center; background: var(--paper); border-radius: var(--radius-s); overflow: hidden; aspect-ratio: 1 / 1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
/* Each photo is a button that opens the photo viewer. The slide clips its corners, so the focus ring sits inside.
   position: relative keeps its hidden label inside the swipe rail; without it the label widens the page on phones. */
.gallery__open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: none; color: inherit; cursor: zoom-in; }
.gallery__open:focus-visible { outline-offset: -2px; }
.gallery__slide--illo { display: flex; flex-direction: column; justify-content: center; }
.gallery__slide--illo .media, .gallery__slide--illo .media__blank { height: 100%; }
.gallery__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: var(--text-xs); color: var(--stone); }
.gallery__count { font-variant-numeric: tabular-nums; color: var(--graphite); }
.gallery__hint { display: inline-flex; align-items: center; gap: 6px; }
.gallery__note { margin: 8px 0 0; font-size: var(--text-xs); color: var(--stone); }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px; margin: 12px -4px 0; }
.gallery__thumbs > li { flex: none; }
.gallery__thumb { display: block; width: 72px; height: 72px; padding: 4px; border: 1px solid var(--hairline); border-radius: var(--radius-s); background: var(--paper); color: var(--graphite); cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb[aria-pressed='true'] { border: 2px solid var(--graphite); padding: 3px; }
/* One picture at a time for a product whose colors each have one, from 750px up. Phones swipe while orders are open. */
@media (min-width: 750px) {
  .gallery--colors .gallery__slide:not(.gallery__slide--lead) { display: none; }
}
/* Closed store: no picker in the buy box, so a fixed row of colors under the picture changes it at every width. */
.gallery--picks .gallery__track { display: block; overflow: visible; margin: 0; padding: 0; }
.gallery--picks .gallery__slide:not(.gallery__slide--lead) { display: none; }
.gallery__picks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.gallery__pick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: 100%; min-height: 44px; padding: 6px 0 6px 2px;
  border: 0; border-radius: var(--radius-s); background: none; color: var(--graphite); cursor: pointer; font-size: var(--text-xs); line-height: 1.2; text-align: left;
}
.gallery__pick .swatch__dot { width: 20px; height: 20px; }
.gallery__pick[aria-pressed='true'] .swatch__dot { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px #111111; }
.gallery__pick[aria-pressed='true'] .gallery__pick-name { font-weight: 600; }
@media (hover: hover) { .gallery__pick:hover .gallery__pick-name { text-decoration: underline; } }
/* A blank square has nothing to show at full height, so it gives the page the room, and most of all on a phone. */
.gallery--placeholder .gallery__slide { aspect-ratio: 5 / 4; }
.gallery--placeholder .gallery__slide img { object-position: bottom; }
@media (max-width: 749px) { .gallery--placeholder .gallery__slide { aspect-ratio: 5 / 3; } }
.pdp__titlewrap .eyebrow { margin-bottom: 8px; }
.pdp__title { font-size: var(--text-h1); line-height: 1.02; margin-bottom: 8px; }
/* No photos and orders closed: name and price across the top, the facts in the first column, the signup in the other two. */
.pdp__headline { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid var(--graphite); }
.pdp__headline .pdp__title { margin: 0; }
.pdp__headline .price { margin: 0; font-size: var(--text-h1); line-height: 1.02; }
.pdp__grid--intro .pdp__buy { margin-top: 0; }
.pdp__intro { min-width: 0; }
.pdp__intro .pdp__text .lead { margin: 0; color: var(--graphite); }
.pdp__facts { margin: 16px 0 0; border-top: 1px solid var(--hairline); font-size: var(--text-sm); }
.pdp__facts > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); column-gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.pdp__facts dt { color: var(--stone); }
.pdp__facts dd { margin: 0; }
.pdp__facts > .pdp__fact--wide { display: block; }
.pdp__fact--wide .color-list { margin-top: 8px; }
.pdp__intro .gallery__note { margin-top: 12px; }
.pdp__taxnote { font-size: var(--text-xs); }
.pdp__crosslink { margin: 14px 0 0; font-size: var(--text-sm); }
/* Phones: name, price and the one-line pitch come first, so an ad visitor's first screen says what this
   is and what it costs; the image follows, then the buy box. */
@media (max-width: 749px) {
  .pdp__grid { display: flex; flex-direction: column; gap: 0; }
  .pdp__info { display: contents; }
  .pdp__info > * { order: 2; }
  .pdp__titlewrap, .pdp__pricewrap, .pdp__text { order: 0; }
  .pdp__gallery { order: 1; margin: 14px 0 22px; }
  .pdp__title { margin: 0 0 4px; }
  .pdp__text .lead { margin-top: 10px; margin-bottom: 0; }
  .pdp__intro { margin-bottom: 26px; }
}
.pdp__text .lead { color: var(--stone); font-size: var(--text-lg); }
.pdp__buy { margin-top: 8px; }
.pdp__note { font-size: var(--text-xs); }
.highlights { display: grid; gap: 8px; margin: 8px 0 24px; }
.highlights li { position: relative; padding-left: 16px; font-size: var(--text-md); }
.highlights li::before { content: ''; position: absolute; left: 1px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: #111111; }
.objection { border-top: 1px solid var(--line-light); padding: 2px 0; }
.objection:first-of-type { margin-top: 18px; }
.objection > summary {
  display: flex; gap: 10px; align-items: center; min-height: 50px; cursor: pointer; font-weight: 600; font-size: var(--text-sm); list-style: none;
}
.objection > summary::-webkit-details-marker { display: none; }
.objection > summary .icon { color: var(--stone); }
.objection .rte { padding: 0 0 14px 28px; font-size: var(--text-sm); color: var(--stone); }
.specs { margin: 0 0 12px; display: grid; gap: 12px; }
.specs div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; }
.specs dt { color: var(--stone); }
.specs dd { margin: 0; }
@media (min-width: 750px) {
  .pdp__grid { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .gallery__track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .gallery__slide--lead, .gallery__slide--illo { grid-column: 1 / -1; }
  .gallery__meta { display: none; }
  .pdp__info { position: sticky; top: var(--pdp-sticky-top, calc(var(--header-h) + 28px)); }
}
@media (min-width: 990px) {
  .pdp__grid { grid-template-columns: 5fr 7fr; gap: 64px; }
  .pdp__gallery { position: sticky; top: calc(var(--header-h) + 28px); }
  .pdp__grid--intro { grid-template-columns: var(--split); column-gap: var(--col-gap); }
  .pdp__headline { padding-bottom: 16px; margin-bottom: 24px; }
  .pdp__headline .pdp__title, .pdp__headline .price { font-size: 5rem; }
}

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--paper); color: var(--graphite); border-top: 1px solid #111111;
}
.sticky-buy__info { display: flex; flex-direction: column; min-width: 0; }
.sticky-buy__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-md); line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-size: var(--text-md); line-height: 1.3; letter-spacing: -.01em; color: var(--graphite); }
.sticky-buy .button { min-height: 48px; flex: none; }
@media (min-width: 990px) { .sticky-buy { display: none !important; } }

/* ---------- Accordion & FAQ ---------- */
.accordion { border-top: 1px solid var(--line-light); }
.accordion__item { border-bottom: 1px solid var(--line-light); }
.accordion__item--pdp:first-of-type { border-top: 1px solid var(--line-light); margin-top: 20px; }
.accordion__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 0; cursor: pointer; font-weight: 600; font-size: var(--text-lg); line-height: 1.35; list-style: none;
}
.accordion__q::-webkit-details-marker { display: none; }
@media (hover: hover) { .accordion__q:hover > span:first-child { text-decoration: underline; } }
.accordion__item--pdp .accordion__q { min-height: 52px; padding: 12px 0; font-size: var(--text-md); }
.accordion__icon { flex: none; width: 24px; height: 24px; border-radius: var(--radius-s); display: inline-flex; align-items: center; justify-content: center; }
details[open] > .accordion__q .accordion__icon { transform: rotate(45deg); }
.accordion__a { padding: 0 0 22px; color: var(--stone); max-width: 44rem; }
.accordion__a a { color: var(--ember-ink); }
.faq__layout { display: block; }
.faq__layout .h2 { font-size: var(--text-h2-small); line-height: 1.1; }
.faq__body { min-width: 0; }
@media (min-width: 990px) {
  .faq__layout { display: grid; grid-template-columns: var(--split); column-gap: var(--col-gap); align-items: start; }
  .faq__layout .section__head { margin: 0; }
}
.faq__contact { margin-top: 24px; }
.template-faq .shopify-section > .section:not(.page) { padding-bottom: 48px; }

/* ---------- Product stock ---------- */
.product-stock { display: block; font-size: var(--text-sm); font-weight: 600; line-height: 1.4; }
.product-stock--pdp { margin-bottom: 14px; }

/* ---------- Product ratings ---------- */
.product-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--text-xs); font-weight: 600; line-height: 1.4; }
.product-rating__stars { display: inline-flex; gap: 2px; }
.product-rating__star { position: relative; display: block; width: 14px; height: 14px; }
.product-rating__fill { position: absolute; top: 0; left: 0; height: 14px; overflow: hidden; }
.product-rating__star svg { width: 14px; height: 14px; max-width: none; }
.pdp__review-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; }
.pdp__review-link > a { font-size: var(--text-sm); }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 24px; }
.reviews__head > div { max-width: 44rem; }
.reviews__summary { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.reviews__summary strong { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h2-small); line-height: 1.1; }
.reviews__summary .muted { font-size: var(--text-sm); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--col-gap); }
.reviews__item { min-width: 0; padding: 24px 0; border-top: 1px solid var(--line-light); }
.reviews__rating { display: flex; align-items: center; gap: 12px; font-size: var(--text-sm); font-weight: 600; margin-bottom: 16px; }
.reviews__stars { display: inline-flex; gap: 3px; }
.reviews__quote { margin: 0; }
.reviews__quote p { margin: 0; }
.reviews__more { border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
@media (min-width: 750px) { .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 990px) { .reviews__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Cards & grid ---------- */
.grid { display: grid; gap: 18px; }
.grid--3, .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 750px) { .grid--3, .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 990px) {
  .grid--3 { gap: 44px 24px; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (min-width: 600px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 990px) { .grid--2 { gap: 24px; } }
.grid > li { position: relative; min-width: 0; }
@media (min-width: 600px) { .grid--auto { grid-template-columns: repeat(auto-fit, minmax(260px, 420px)); justify-content: start; } }
/* Two products or fewer: cards sit side by side on phones; on desktop the heading takes the empty third column. */
.pl--duo .grid--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pl--duo .card__title { font-size: var(--text-xl); letter-spacing: -.01em; }
.pl--duo .card__tagline { font-size: var(--text-sm); }
@media (min-width: 990px) {
  .pl--duo > .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; }
  .pl--duo .section__head--split { grid-template-columns: 1fr; gap: 18px; margin: 0; }
  .pl--duo .grid--auto { gap: 24px; }
  .pl--duo .card__title { font-size: var(--text-h3); letter-spacing: -.02em; }
}
/* One product on its own: tile on the left, facts on the right, sitting on the tile's bottom edge. */
.solo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pl--solo.section { padding-block: 48px; }
.shopify-section:has(> .section--paper) + .shopify-section .solo { margin-top: 0; }
.solo__media { display: block; }
.solo__media .card__media { aspect-ratio: 1 / 1; border-radius: var(--radius-s); }
.solo__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
/* Name left, price on the same right edge as the hero's prices. */
.solo__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: 100%; }
.solo__head > h2, .solo__head > h3 { margin: 0; }
.solo__body .card__tagline { font-size: var(--text-lg); color: var(--graphite); }
.solo__price { margin: 0; font-size: var(--text-h2); line-height: 1; letter-spacing: -.02em; }
.solo__body > .button { margin-top: 8px; }
/* A blank square has nothing to show at full height. */
.solo--placeholder .solo__media .card__media { aspect-ratio: 5 / 3; }
.solo--placeholder .solo__media .card__media img { object-position: bottom; }
@media (min-width: 750px) { .solo { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } }
@media (min-width: 990px) { .solo { gap: 64px; } }
/* No photos yet and orders closed: name and price on the left, the rest on the page's column line. */
@media (min-width: 750px) {
  .solo--text { grid-template-columns: minmax(0, 1fr); }
  .solo--text .solo__body { display: grid; grid-template-columns: 5fr 7fr; column-gap: 32px; row-gap: 8px; align-items: start; justify-items: start; }
  .solo--text .solo__head { grid-column: 1; grid-row: 1 / span 3; flex-direction: column; justify-content: flex-start; gap: 12px; }
  .solo--text .solo__body > :not(.solo__head) { grid-column: 2; }
  .solo--text .card__tagline { margin: 0; }
}
@media (min-width: 990px) { .solo--text .solo__body { column-gap: 64px; } }

.card { height: 100%; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 1.12; border-radius: var(--radius-s); overflow: hidden; background: #FFFFFF; border: 1px solid var(--hairline); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: opacity var(--fast) linear; }
.card__media .media { position: absolute; inset: 0; }
/* A card whose product has more than one photo crossfades through them on hover (theme.js, "card photos"). */
[data-card-photos] img { transition-duration: 450ms; }
[data-card-photos] img.is-faded { opacity: 0; }
.media__blank { width: 100%; height: 100%; min-height: 80px; background: var(--tile); }
.card__body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: auto; font-size: var(--text-sm); font-weight: 600; }
.card__photo-note { display: block; color: var(--stone); font-size: .75rem; line-height: 1.4; }
@media (max-width: 749px) {
  .grid--5 > li:last-child { grid-column: 1 / -1; }
  .grid--5 > li:last-child .card__link { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
  .grid--5 > li:last-child .card__body { padding-top: 0; }
  .grid--5 > li:last-child .card__media { aspect-ratio: 1; }
  .pdp__gallery { max-width: 340px; width: 100%; align-self: center; }
  .pdp__title { font-size: 2rem; }
  .pdp__text .lead { font-size: var(--text-md); }
  .hero__visual { padding: 16px; }
  .hero__media { aspect-ratio: 1.65; }
}
.model-comparison .section__head { max-width: 42rem; }
.model-comparison .comparison__scroll { background: var(--paper); padding: 4px 20px; border: 1px solid var(--hairline); border-radius: var(--radius-s); }
.comparison tbody tr:last-child > * { border-bottom: 0; }
.comparison tbody th, .comparison td { white-space: nowrap; }
.solo__media > .card__photo-note { margin-top: 8px; }
.card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
.card__head .price { margin-left: auto; font-size: var(--text-h3); line-height: 1.15; letter-spacing: -.02em; text-align: right; }
.card__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-h3); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.grid--5 .card__title, .grid--5 .card__head .price { font-size: var(--text-xl); letter-spacing: -.01em; }
@media (max-width: 749px) { .card__title, .card__head .price { font-size: var(--text-xl); letter-spacing: -.01em; } }
@media (hover: hover) { .card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; } }
/* Two cards side by side leave no room for name and price on one line on a phone, and some would wrap while others didn't. */
@media (max-width: 429px) {
  .card__head { flex-direction: column; align-items: flex-start; gap: 2px; }
  .card__head .price { margin-left: 0; text-align: left; }
}
.card__type { margin: 0; font-size: var(--text-sm); line-height: 1.4; color: var(--stone); }
.card__tagline { color: var(--stone); font-size: var(--text-sm); margin: 0; }
.card__swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; font-size: var(--text-sm); line-height: 1.4; color: var(--stone); }
.card__swatches .swatch__dot { width: 12px; height: 12px; }
.card__swatches span:last-child { margin-left: 4px; white-space: nowrap; }
.closed-note { margin: 0 0 12px; font-size: var(--text-md); }
.page-cta { margin-top: 48px; }
.collection__head { display: grid; row-gap: 8px; margin: 0 0 16px; }
.collection__head .h1 { margin: 0; }
.collection__intro { min-width: 0; font-size: var(--text-sm); line-height: 1.5; }
.collection__intro .section__intro { font-size: inherit; margin: 0 0 8px; text-wrap: balance; }
.collection__intro .section__intro p { text-wrap: balance; }
.collection__intro .closed-note { font-size: inherit; margin: 0 0 8px; }
.collection__note { margin: 12px 0 0; font-size: var(--text-xs); line-height: 1.5; color: var(--stone); }
@media (min-width: 750px) {
  .collection__intro { font-size: var(--text-md); line-height: 1.6; }
  .collection__head { margin-bottom: 20px; }
}
@media (min-width: 990px) {
  .collection:not(.collection--list) .collection__head { grid-template-columns: 5fr 7fr; column-gap: 64px; align-items: start; margin-bottom: 28px; }
  /* Plain rows while the images are placeholders: built the same way as the home hero. */
  .collection--list .collection__head { row-gap: 28px; margin-bottom: 48px; }
  .collection--list .collection__intro #waitlist { display: grid; grid-template-columns: var(--split); column-gap: var(--col-gap); align-items: start; }
  .collection--list .collection__intro .closed-note { margin: 0; font-size: var(--text-xl); line-height: 1.45; text-wrap: balance; }
  .collection--list .waitlist { max-width: none; }
}
.search__form { margin-bottom: 24px; }
.search__status { margin: 0 0 12px; }
.search__closed { margin: 48px 0 0; }
@media (min-width: 990px) {
  .search__layout { display: grid; grid-template-columns: var(--split); column-gap: var(--col-gap); align-items: start; }
  .search__head .search__form { margin-bottom: 0; }
  .search__closed { grid-column: 1 / -1; display: grid; grid-template-columns: var(--split); column-gap: var(--col-gap); align-items: start; margin-top: 64px; }
  .search__closed .closed-note { margin: 0; }
}
/* The lineup under a product. The page's subject is above it, so its heading stays small and the gap stays short. */
.pl--list.section { padding-top: 0; }
.pl--list .h2 { margin: 0; font-size: var(--text-h2-small); line-height: 1.1; }
.pl--list .section__head { margin: 0 0 16px; }

/* ---------- Drawer ---------- */
.drawer { --drawer-pad: 16px; position: fixed; inset: 0; z-index: 60; }
@media (min-width: 750px) { .drawer { --drawer-pad: 22px; } }
.drawer__overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%); outline: none;
  background: var(--paper); color: var(--graphite); display: flex; flex-direction: column;
  border-left: 1px solid var(--hairline); transition: transform 200ms var(--ease);
}
@starting-style { .drawer__panel { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px 14px var(--drawer-pad); border-bottom: 1px solid var(--hairline); }
.drawer__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); letter-spacing: -.02em; margin: 0; }
/* Focus must not scroll behind the pinned footer. */
.drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 18px var(--drawer-pad) 24px; scroll-padding-block: 16px 260px; }
.drawer .cart, .drawer .cart__form { flex: 1 0 auto; display: flex; flex-direction: column; }
body.drawer-open { overflow: hidden; }

/* ---------- Cart ---------- */
.cart__empty { padding: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cart__empty-title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-2xl); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.cart__empty .button { margin-top: 12px; }
.ship-progress { margin-bottom: 18px; }
.ship-progress__text { font-size: var(--text-sm); margin-bottom: 10px; }
.ship-progress__track { height: 5px; background: var(--tile); overflow: hidden; }
.ship-progress__bar { display: block; height: 100%; background: var(--stone); transition: width var(--fast) linear; }
.cart__items { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.line__info { min-width: 0; }
.drawer .line:last-child { border-bottom: 0; }
@media (max-width: 359px) { .line { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; } }
.line__media { display: block; background: var(--tile); border-radius: var(--radius-s); aspect-ratio: 1; overflow: hidden; }
.line__media .media { height: 100%; }
.line__media img { height: 100%; width: 100%; object-fit: cover; }
.line__title { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--text-lg); line-height: 1.2; letter-spacing: -.01em; text-decoration: none; }
@media (hover: hover) { .line__title:hover { text-decoration: underline; } }
.line__variant { font-size: var(--text-sm); color: var(--stone); margin: 2px 0 0; }
.line__price { font-size: var(--text-md); margin: 4px 0 8px; }
.line__each { font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); }
.line__controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.line__remove { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); color: var(--stone); }
.line__limit { margin: 8px 0 0; font-size: var(--text-xs); }
.cart__footer { margin-top: 22px; display: grid; gap: 12px; }
/* In the drawer the total and the checkout button stay pinned at the bottom, however long the cart gets. */
.drawer .cart__footer {
  position: sticky; bottom: -24px; z-index: 2; margin: 0 0 -24px; padding: 12px 0 16px; gap: 8px;
  background: var(--paper); border-top: 1px solid var(--hairline);
}
/* A short screen, such as a phone on its side or 400% zoom: the footer would fill it, so everything scrolls as one. */
@media (max-height: 520px) {
  .drawer .cart__footer { position: static; margin: 16px 0 0; }
  .drawer__body { scroll-padding-block: 16px; }
}
.cart__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--text-lg); }
.cart__row strong { font-size: var(--text-total); line-height: 1.15; letter-spacing: -.02em; text-align: right; }
.cart__row--discount { font-size: var(--text-sm); color: var(--success-ink); }
.cart__row--discount .icon { display: inline-block; vertical-align: -3px; }
.cart__row--discount > span:last-child, .cart__row--shipping > span:last-child { font-family: var(--font-display); font-weight: var(--display-weight); font-variant-numeric: tabular-nums; }
.cart__row--shipping { font-size: var(--text-md); }
.cart__row--shipping strong, .cart__row--discount strong { font-size: inherit; letter-spacing: -.01em; }
.cart__note { font-size: var(--text-xs); margin: 0; }
.cart__terms { margin: 16px 0 0; display: grid; gap: 4px; font-size: var(--text-xs); color: var(--stone); }
.cart__terms p { margin: 0; }
.drawer .cart__terms { margin: auto 0 0; padding: 16px 0 12px; }
.cart__footer .payment-icons { justify-content: center; }
.cart.is-updating { opacity: .6; transition: opacity var(--fast) linear; }
.cart-page .h1 { margin-bottom: 24px; }

/* ---------- Forms ---------- */
.field {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-s);
  border: 1px solid var(--field-border); background: var(--field-bg); color: inherit; font-size: var(--text-md);
}
.field::placeholder { color: var(--placeholder); opacity: 1; }
.field:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
textarea.field { min-height: 150px; resize: vertical; }
.field-group { display: grid; gap: 6px; margin-bottom: 16px; align-content: start; }
.field-group label:not(.button), .field-group__label { font-weight: 600; font-size: var(--text-xs); }
/* Every select looks like the fields around it, with its text on their left edge. */
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23111111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.file-field { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.file-field__input:focus-visible + .button { outline: 2px solid var(--focus); outline-offset: 3px; }
.file-field__name { font-size: var(--text-sm); overflow-wrap: anywhere; }
.contact__grid { display: grid; gap: 32px; }
.contact__aside .rte { color: var(--stone); }
.contact__hours { margin: 12px 0 0; font-size: var(--text-sm); }
.contact__required { margin: 0 0 16px; font-size: var(--text-sm); color: var(--stone); }
@media (max-width: 749px) { .contact__form [type='submit'] { width: 100%; } }
@media (min-width: 990px) { .contact__grid { grid-template-columns: var(--split); column-gap: var(--col-gap); align-items: start; } }
.news-form__row { display: flex; gap: 8px; }
.news-form__row .field { flex: 1 1 auto; min-width: 0; }
.news-form__row .button { flex: none; padding: 0 20px; }
.news-form [data-form-status]:not([hidden]) { margin: 10px 0 0; }
.search__form { display: flex; gap: 8px; }
.search [role='status'] { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); padding: 40px 0 0; border-top: 1px solid var(--dusk); }
.footer__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px 20px; }
.footer__brand, .footer__news { grid-column: 1 / -1; }
.footer__blurb { color: var(--mist); max-width: 22rem; margin: 8px 0 12px; font-size: var(--text-sm); }
.footer__blurb > :last-child { margin-bottom: 0; }
.footer__contact { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; }
.footer__contact a { color: #FFFFFF; }
.footer__small { font-size: var(--text-xs); }
.footer__heading { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; line-height: 1.4; letter-spacing: 0; color: var(--mist); margin-bottom: 6px; }
.footer__links { display: grid; }
.footer__links a { display: inline-block; padding: 6px 0; font-size: var(--text-sm); text-decoration: none; color: #FFFFFF; }
@media (hover: hover) { .footer__links a:hover, .footer__policies a:hover { text-decoration: underline; } }
.footer__bottom { display: grid; gap: 8px; margin-top: 24px; padding-block: 0 14px; font-size: var(--text-xs); }
.footer__bottom::before { content: ''; grid-column: 1 / -1; height: 1px; margin-bottom: 8px; background: var(--dusk); }
.footer__bottom p { margin: 0; }
.footer__policies { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer__policies a { display: inline-block; padding-block: 8px; color: #FFFFFF; text-decoration: none; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icon { width: 38px; height: 24px; }
@media (min-width: 750px) {
  .footer__grid, .footer__grid--closed { grid-template-columns: 5fr 3fr 4fr; gap: 32px 24px; }
  .footer__brand { grid-column: auto; }
  .footer__news .news-form { max-width: 30rem; }
  .footer__bottom { grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; }
  .footer__policies { justify-content: flex-end; }
  .footer__bottom .payment-icons { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (min-width: 990px) {
  /* The same three columns as the lineup, so the Shop and Help links start on the same lines as the prices. */
  .footer__grid--closed { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .footer__grid--closed .footer__col:last-child .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .footer__grid:not(.footer__grid--closed) { grid-template-columns: calc((100% - 2 * var(--col-gap)) / 3) 1fr 1fr 1.7fr; column-gap: var(--col-gap); }
  .footer__news { grid-column: auto; }
  .footer__bottom { grid-template-columns: 1fr auto auto; }
  .footer__bottom .payment-icons { grid-column: auto; }
  .footer__bottom:not(:has(.payment-icons)) { grid-template-columns: 1fr auto; }
}

/* ---------- Pages ---------- */
.page__planned { margin: 0 0 24px; color: var(--stone); }
.page__content { font-size: 1.0625rem; max-width: 38rem; }
.page__content .lead { font-size: var(--text-xl); line-height: 1.5; color: var(--graphite); }
.page__content h2 { margin-top: 1.6em; }
.page__content li { margin-bottom: .55em; }
.page__content table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: var(--text-sm); }
.page__content th, .page__content td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.page__content thead th { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0; color: var(--stone); }
.page__content tbody th { font-weight: 600; }
/* FAQ page: the title lines up with the full-width question sections below it */
.template-faq .page .container--narrow { max-width: calc(var(--container) + 2 * var(--gutter)); }
.template-faq .page__content { max-width: 40rem; }
.template-contact .page .container--narrow { max-width: calc(var(--container) + 2 * var(--gutter)); }
.template-contact .section.page, .template-faq .section.page { padding-bottom: 28px; }
.notfound { display: flex; align-items: center; min-height: 50vh; text-align: left; }
.notfound .button { margin-top: 12px; }
.notfound .news-form__row .button { margin-top: 0; }
.notfound .news-form { max-width: 30rem; }
.notfound .wordmark { display: block; margin-bottom: 16px; }
.notfound__links { margin: 16px 0 0; }
.notfound--password { min-height: 100vh; }
.notfound--password .wordmark { margin-bottom: 48px; }
.pagination { margin-top: 32px; }

/* ---------- Email popup (snippets/email-popup.liquid) ---------- */
.popup { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup__overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, .5); }
.popup__panel {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto; outline: none;
  background: var(--paper); color: var(--graphite); border: 1px solid var(--hairline); border-radius: var(--radius-l);
}
.popup__body { padding: 28px 22px calc(16px + env(safe-area-inset-bottom)); }
.popup__eyebrow { margin: 0; font-size: var(--text-sm); font-weight: 600; color: var(--stone); }
.popup__title { margin: 8px 0 10px; font-size: 2rem; line-height: 1.04; outline: none; }
.popup__text { margin: 0 0 18px; color: var(--stone); font-size: var(--text-md); line-height: 1.55; }
.popup__form { display: grid; gap: 10px; }
.popup__form .form-error { margin: 0; }
.popup__decline { display: block; margin: 8px 0 0; min-height: 44px; padding: 0; background: none; border: 0; color: var(--stone); font-size: var(--text-xs); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { .popup__decline:hover { color: var(--graphite); } }
.popup__fine { margin: 0; font-size: var(--text-xs); color: var(--stone); }
.popup__close {
  position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: var(--radius-s); background: transparent; color: var(--graphite); cursor: pointer;
  transition: background-color var(--fast) linear;
}
@media (hover: hover) { .popup__close:hover { background: var(--tile); } }
body.popup-open { overflow: hidden; }
/* Phones: a bottom sheet that leaves the page visible above it (Google penalises full-screen popups on mobile). */
@media (max-width: 749px) {
  .popup { align-items: flex-end; padding: 0; }
  .popup__panel { width: 100%; border-radius: var(--radius-l) var(--radius-l) 0 0; max-height: 86vh; border-width: 1px 0 0; }
}
@media (min-width: 750px) { .popup__body { padding: 40px 36px 28px; } }

/* ---------- Photo viewer (sections/main-product.liquid): a product's photos full screen ---------- */
.viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: var(--paper); color: var(--graphite); overflow: hidden;
}
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.viewer::backdrop { background: var(--paper); }
.viewer__bar { display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top)) 8px 0 var(--gutter); }
.viewer__count { font-size: var(--text-sm); font-variant-numeric: tabular-nums; color: var(--stone); }
.viewer__close, .viewer__step {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: var(--radius-s); background: var(--paper); color: var(--graphite); cursor: pointer;
  transition: background-color var(--fast) linear;
}
.viewer__close { margin-left: auto; }
@media (hover: hover) { .viewer__close:hover, .viewer__step:hover { background: var(--tile); } }
.viewer__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.viewer__track::-webkit-scrollbar { display: none; }
.viewer__slide { margin: 0; min-height: 0; padding: 8px var(--gutter) calc(20px + env(safe-area-inset-bottom)); scroll-snap-align: center; scroll-snap-stop: always; }
.viewer__slide img { display: block; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; object-fit: contain; }
/* On a phone the arrows overlap the edge of the photo, so they sit above it. */
.viewer__step { position: absolute; z-index: 1; top: calc(50% - 22px); border: 1px solid var(--hairline); }
.viewer__step--prev { left: 12px; }
.viewer__step--next { right: 12px; }
@media (min-width: 750px) {
  .viewer__slide { padding-inline: 84px; }
  .viewer__step--prev { left: 24px; }
  .viewer__step--next { right: 24px; }
}
body.viewer-open { overflow: hidden; }

/* ---------- Waitlist (shown while orders are closed) ---------- */
.waitlist { max-width: 30rem; }
.waitlist__label { display: block; margin: 0 0 4px; font-size: var(--text-xs); font-weight: 600; }
.waitlist__row { display: flex; gap: 8px; }
.waitlist__row .field { flex: 1 1 auto; min-width: 0; }
.waitlist__row .button { flex: none; padding: 0 20px; }
.waitlist.is-done .waitlist__row, .waitlist.is-done .waitlist__label { display: none; }
.waitlist__note { margin: 6px 0 0; font-size: var(--text-xs); color: var(--stone); }
.waitlist [data-form-status]:not([hidden]) { margin: 10px 0 0; }
.waitlist [data-form-status]:not([hidden]) ~ .waitlist__note { display: none; }
.pdp-waitlist { margin-top: 16px; }
.pdp-waitlist .waitlist { max-width: none; }
.pdp-waitlist__title { font-size: var(--text-h3); margin: 0 0 4px; }
.pdp-waitlist__text { margin: 0 0 14px; font-size: var(--text-md); color: var(--stone); }
@media (max-width: 480px) {
  .pdp-waitlist .waitlist__row { flex-direction: column; }
  .pdp-waitlist .waitlist__row .button { width: 100%; }
}
.page-cta.pdp-waitlist { margin-top: 48px; }
.page-cta .waitlist { max-width: 30rem; }
/* At 320 an inline field shows a third of a normal address, so the button goes under it, as on the product page. */
@media (max-width: 389px) {
  .hero__waitlist .waitlist__row, .waitlist-band .waitlist__row, .page-cta .waitlist__row { flex-direction: column; }
  .hero__waitlist .waitlist__row .button, .waitlist-band .waitlist__row .button, .page-cta .waitlist__row .button { width: 100%; }
}
.waitlist-band.section { padding-block: 56px; }
.waitlist-band__grid { display: grid; gap: 24px; }
.waitlist-band .h2 { margin-bottom: 14px; }
.waitlist-band .section__intro { max-width: 36rem; margin-bottom: 0; }
.waitlist-band .waitlist__label { color: #FFFFFF; }
.waitlist-band .waitlist__note { color: var(--mist); }
@media (min-width: 990px) {
  /* Built like the hero: the line across the top, the detail in the first column, the form in the other two. */
  .waitlist-band.section { padding-block: 64px; }
  .waitlist-band__grid { grid-template-columns: var(--split); gap: 28px var(--col-gap); align-items: start; }
  .waitlist-band__copy { display: contents; }
  .waitlist-band .h2 { grid-column: 1 / -1; margin: 0; }
  .waitlist-band .waitlist { max-width: none; }
}
