/*
 * Whitrabbit Store: the whole design system.
 *
 * Clean and quiet: lots of white, light grey product tiles, near-black type,
 * one blue for anything you can press. Every recurring value is a token below;
 * change a token, not a rule.
 */

:root {
  /* colour */
  --bg:        #ffffff;
  --bg-alt:    #f5f5f7;          /* product tiles, alternate sections */
  --bg-dark:   #000000;          /* the occasional dark hero */
  --ink:       #1d1d1f;
  --ink-2:     #6e6e73;          /* secondary text */
  --ink-3:     #86868b;          /* fine print */
  --line:      #d2d2d7;
  --blue:      #0071e3;          /* buttons */
  --blue-hover:#0077ed;
  --link:      #0066cc;          /* text links */
  --link-dark: #2997ff;          /* links on dark */
  --green:     #1d8a3b;          /* "in stock", checks */

  /* type: the system font, which is San Francisco on Apple devices */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --h-hero: clamp(40px, 6vw, 72px);
  --h-1:    clamp(32px, 4.4vw, 56px);
  --h-2:    clamp(26px, 3.2vw, 40px);
  --h-3:    clamp(20px, 2vw, 24px);
  --body:   17px;
  --small:  14px;
  --fine:   12px;

  /* shape + space */
  --radius:      18px;
  --radius-sm:   12px;
  --pill:        980px;
  --wrap:        1024px;          /* reading width */
  --wrap-wide:   1280px;          /* grids */
  --gutter:      22px;
  --section:     clamp(64px, 9vw, 120px);
  --nav-h:       48px;

  /* motion */
  --ease: cubic-bezier(.25, .1, .25, 1);
  --fast: .2s;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--body)/1.47 var(--font);
  letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
p { margin: 0; }
button { font: inherit; }
.pixel { image-rendering: pixelated; }

.wrap      { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.eyebrow { font-size: var(--small); font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.eyebrow--new { color: #bf4800; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── buttons + links ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 22px;
  border: 0; border-radius: var(--pill);
  background: var(--blue); color: #fff;
  font-size: var(--body); font-weight: 400; letter-spacing: -.02em;
  cursor: pointer; text-decoration: none !important;
  transition: background var(--fast) var(--ease);
}
.btn:hover { background: var(--blue-hover); }
.btn--sm { min-height: 30px; padding: 0 14px; font-size: var(--small); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { background: #e8e8ed; color: var(--ink-3); cursor: not-allowed; }

.more { font-size: inherit; white-space: nowrap; }
.more::after { content: " \203A"; }                       /* › */
.links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 19px; }

/* ── nav: translucent bar that blurs what's under it ──────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.nav__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -.02em; text-decoration: none !important; }
.brand svg { width: 20px; height: 20px; }
.nav__links { display: flex; gap: 30px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { color: var(--ink); opacity: .8; font-size: 12.5px; letter-spacing: -.01em; }
.nav__links a:hover, .nav__links a[aria-current] { opacity: 1; text-decoration: none; }
.nav__icons { display: flex; gap: 20px; align-items: center; }
.icon-btn { position: relative; display: grid; place-items: center; width: 22px; height: 22px; color: var(--ink); opacity: .8; }
.icon-btn:hover { opacity: 1; }
.icon-btn svg { width: 17px; height: 17px; }
.bag-count {
  position: absolute; right: -7px; bottom: -5px;
  min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; line-height: 15px; text-align: center;
}
.nav__menu { display: none; }

/* a product's own bar, under the main nav (app pages) */
.subnav {
  position: sticky; top: var(--nav-h); z-index: 40;
  height: 52px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.subnav__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.subnav__title { font-size: 21px; font-weight: 600; letter-spacing: .01em; margin-right: auto; }
.subnav a:not(.btn) { color: var(--ink); font-size: 12px; opacity: .8; }
.subnav__price { font-size: 12px; color: var(--ink-2); }

/* a slim note across the top of shop pages */
.ribbon { background: var(--bg-alt); text-align: center; padding: 12px var(--gutter); font-size: var(--small); color: var(--ink-2); }

/* ── sections ─────────────────────────────────────────────────────── */
.section { padding: var(--section) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #f5f5f7; }
.section--dark .muted { color: #a1a1a6; }
.section--dark a { color: var(--link-dark); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: var(--h-1); }
.section__head p { margin-top: 12px; font-size: 21px; color: var(--ink-2); }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 56px var(--gutter) 0; overflow: hidden; }
.hero h1 { font-size: var(--h-hero); letter-spacing: -.03em; }
.hero__sub { margin-top: 8px; font-size: clamp(21px, 2.4vw, 28px); font-weight: 400; letter-spacing: -.01em; }
.hero .links { margin-top: 18px; }
.hero__art { margin: 40px auto 0; max-width: min(900px, 100%); }
.hero--alt { background: var(--bg-alt); }
.hero--dark { background: var(--bg-dark); color: #f5f5f7; }
.hero--dark a { color: var(--link-dark); }
.hero--tall { padding-bottom: 56px; }

/* two promo tiles side by side under the hero */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px; }
.tile {
  position: relative; overflow: hidden;
  min-height: 580px; padding: 52px 24px 0;
  border-radius: 0; background: var(--bg-alt);
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.tile h2 { font-size: var(--h-2); }
.tile p { margin-top: 6px; font-size: 19px; }
.tile .links { margin-top: 14px; font-size: 17px; }
.tile__art { margin-top: auto; padding-top: 28px; width: 100%; display: flex; justify-content: center; align-items: flex-end; }
.tile__art img { max-height: 340px; width: auto; }
.tile--dark { background: #000; color: #f5f5f7; }
.tile--dark a { color: var(--link-dark); }

/* ── product cards (shop grid, "more to love") ────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--bg);
  color: var(--ink); text-decoration: none !important;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-2px); }
.card__media {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--bg-alt);
  display: grid; place-items: center; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--app img { width: 62%; height: auto; object-fit: contain; }
.card__body { padding: 16px 4px 0; display: flex; flex-direction: column; gap: 4px; }
.card__tag { font-size: var(--fine); font-weight: 600; color: #bf4800; }
.card__name { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.card__desc { font-size: var(--small); color: var(--ink-2); }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.card__price { font-size: var(--small); }
.swatches-mini { display: flex; gap: 6px; margin-top: 6px; }
.swatches-mini i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* segmented control: All / Apps / Shirts */
.segmented {
  display: inline-flex; gap: 2px; padding: 3px;
  border-radius: var(--pill); background: #e8e8ed;
}
.segmented a, .segmented button {
  padding: 7px 20px; border: 0; border-radius: var(--pill);
  background: transparent; color: var(--ink); font-size: var(--small);
  cursor: pointer; text-decoration: none !important;
}
.segmented [aria-current], .segmented .is-active { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }

/* ── app product page ─────────────────────────────────────────────── */
.app-hero__icon { width: 128px; margin: 0 auto 20px; border-radius: 28px; }
.app-hero__price { margin-top: 22px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.app-hero__price .muted { font-size: var(--small); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 32px 28px; border-radius: var(--radius); background: var(--bg);
  display: flex; flex-direction: column; gap: 10px;
}
.section--alt .feature { background: #fff; }
.feature__icon { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; background: var(--bg-alt); }
.feature__icon img { width: 60px; }
.feature h3 { font-size: 21px; }
.feature p { font-size: var(--body); color: var(--ink-2); }

.big-stat { text-align: center; }
.big-stat b { display: block; font-size: var(--h-hero); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.big-stat span { color: var(--ink-2); font-size: 19px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.specs { display: grid; grid-template-columns: 200px 1fr; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; }
.specs dd { color: var(--ink-2); }

/* ── shirt product page ───────────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding: 32px 0 var(--section); }
.gallery { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; }
.gallery__main { border-radius: var(--radius); background: var(--bg-alt); overflow: hidden; aspect-ratio: 1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button {
  width: 72px; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--radius-sm);
  background: var(--bg-alt); overflow: hidden; cursor: pointer; opacity: .75;
  box-shadow: inset 0 0 0 1px transparent;
}
.gallery__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.buybox h1 { font-size: var(--h-2); }
.buybox__price { margin-top: 10px; font-size: 21px; }
.buybox__note { margin-top: 4px; font-size: var(--small); color: var(--ink-2); }
.option { margin-top: 32px; }
.option__label { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.option__label span { font-weight: 400; color: var(--ink-2); }

.swatches { display: flex; gap: 14px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px #fff, 0 0 0 4px transparent;
}
.swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.18), 0 0 0 3px #fff, 0 0 0 5px var(--blue); }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.size {
  height: 52px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: var(--body); cursor: pointer;
}
.size:hover { border-color: #86868b; }
.size[aria-pressed="true"] { border: 2px solid var(--blue); }
.size[disabled] { color: var(--ink-3); background: var(--bg-alt); text-decoration: line-through; cursor: not-allowed; }
.size-guide { font-size: var(--small); margin-top: 10px; display: inline-block; }

.buybox .btn--block { margin-top: 32px; min-height: 52px; }
.perks { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.perks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: var(--small); }
.perks b { display: block; font-weight: 600; font-size: var(--small); }
.perks svg { width: 22px; height: 22px; color: var(--ink-2); }

/* accordions (details/summary, no JS needed) */
.accordion { border-top: 1px solid var(--line); margin-top: 32px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-size: 19px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-weight: 300; font-size: 26px; color: var(--ink-2); transition: transform var(--fast) var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc__body { padding: 0 0 22px; color: var(--ink-2); font-size: var(--body); }

/* ── bag + checkout ───────────────────────────────────────────────── */
.bag { max-width: 980px; margin: 0 auto; padding: 48px var(--gutter) var(--section); }
.bag h1 { font-size: var(--h-1); text-align: center; }
.bag__total-line { text-align: center; margin-top: 8px; color: var(--ink-2); }
.bag__cta { display: flex; justify-content: center; margin-top: 24px; }
.bag__items { margin-top: 56px; border-top: 1px solid var(--line); }
.line { display: grid; grid-template-columns: 180px 1fr auto; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.line__img { border-radius: var(--radius-sm); background: var(--bg-alt); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__img--app img { width: 64%; height: auto; }
.line h3 { font-size: var(--h-3); }
.line__meta { margin-top: 6px; color: var(--ink-2); font-size: var(--small); }
.line__qty { margin-top: 14px; display: flex; gap: 20px; align-items: center; font-size: var(--small); }
.line__qty select { font: inherit; border: 0; background: transparent; color: var(--link); }
.line__price { font-size: var(--h-3); font-weight: 600; text-align: right; }
.summary { display: grid; grid-template-columns: 1fr auto; row-gap: 12px; max-width: 420px; margin: 32px 0 0 auto; }
.summary .total { font-size: var(--h-3); font-weight: 600; padding-top: 16px; border-top: 1px solid var(--line); }

/* ── footer: fine print ───────────────────────────────────────────── */
.footer { background: var(--bg-alt); color: var(--ink-2); font-size: var(--fine); line-height: 1.33; padding: 20px 0 22px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--ink); }
.footer__note { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.footer__cols h4 { font-size: var(--fine); color: var(--ink); margin-bottom: 8px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; }
.footer__legal nav { display: flex; gap: 14px; }

/* ── pages, posts, block content ──────────────────────────────────── */
.page { padding-top: 56px; padding-bottom: var(--section); }
.page__head { text-align: center; margin-bottom: 40px; }
.page__head h1 { font-size: var(--h-1); }
.entry > * + * { margin-top: 1em; }
.entry h2 { font-size: var(--h-2); margin-top: 1.6em; }
.entry h3 { font-size: var(--h-3); margin-top: 1.4em; }
.entry img { border-radius: var(--radius); }
.entry ul, .entry ol { padding-left: 1.2em; }
.post-list { display: grid; gap: 28px; }
.post-row h2 { font-size: var(--h-3); }
.hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
.hero__pair img { border-radius: var(--radius); }
.store__title { font-size: var(--h-hero); }
.store__filter { margin-bottom: 40px; }
.cta__title { font-size: var(--h-1); }
.cta__line { margin-top: 10px; font-size: 21px; }
.cta__btn { margin-top: 24px; }
.buy-form { display: inline; margin: 0; }
.brand__logo { height: 22px; width: auto; }

/* the app page body: whatever is written in the product's block editor,
   laid out like the rest of the page (centred headings, roomy sections) */
.app-content { padding: 0 0 var(--section); }
.app-content > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.app-content > .alignwide { max-width: var(--wrap-wide); }
.app-content > .alignfull { max-width: none; padding: 0; }
.app-content h2 { text-align: center; font-size: var(--h-1); margin-top: var(--section); }
.app-content h2 + p { text-align: center; font-size: 21px; color: var(--ink-2); }
.app-content .wp-block-columns { gap: 20px; }
.app-content .wp-block-column { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.app-content .wp-block-column h3 { font-size: 21px; margin-top: 0; }
.app-content .wp-block-column p { color: var(--ink-2); margin-top: 8px; }
.app-content .critter-icon { margin: 0 0 16px; }
.app-content .critter-icon img { image-rendering: pixelated; border-radius: 0; }
.app-content .wp-block-image.shot img, .app-content figure.shot img { border-radius: var(--radius); }
.app-content .alignwide.shot { margin-top: 40px; }

/* ── WooCommerce parts, restyled ──────────────────────────────────── */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
  max-width: var(--wrap-wide); margin: 16px auto; padding: 14px 20px; list-style: none;
  border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--ink); font-size: var(--small);
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-error { background: #fff1f0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.price del { color: var(--ink-3); margin-right: 6px; }
.price ins { text-decoration: none; }
.onsale, .star-rating, .woocommerce-review-link { display: none; }

.button, .woocommerce a.button, .woocommerce button.button, .single_add_to_cart_button, .checkout-button,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px;
  border: 0; border-radius: var(--pill); background: var(--blue); color: #fff !important;
  font: 400 var(--body) var(--font); cursor: pointer; text-decoration: none !important;
}
.button:hover, .single_add_to_cart_button:hover, .wc-block-components-button:not(.is-link):hover { background: var(--blue-hover); }
.single_add_to_cart_button { width: 100%; min-height: 52px; margin-top: 28px; }
.single_add_to_cart_button.disabled { background: #e8e8ed; color: var(--ink-3) !important; cursor: not-allowed; }

input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  font: 400 var(--body) var(--font); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.2); }

/* shirt page: WooCommerce's gallery and variation form */
.gallery .woocommerce-product-gallery { position: relative; }
.gallery .woocommerce-product-gallery__image { border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.gallery .woocommerce-product-gallery__image img { width: 100%; }
.gallery .flex-control-thumbs { display: flex; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.gallery .flex-control-thumbs li { width: 72px; }
.gallery .flex-control-thumbs img { border-radius: var(--radius-sm); background: var(--bg-alt); opacity: .7; cursor: pointer; }
.gallery .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.gallery .woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 0; }
.gallery .woocommerce-product-gallery__trigger::after { content: "+"; font-size: 22px; color: var(--ink); display: grid; place-items: center; height: 100%; }

.buybox table.variations { width: 100%; border-collapse: collapse; margin-top: 12px; }
.buybox table.variations tr { display: block; margin-top: 28px; }
.buybox table.variations th, .buybox table.variations td { display: block; padding: 0; text-align: left; }
.buybox table.variations th label { font-size: 17px; font-weight: 600; }
.buybox table.variations th { margin-bottom: 12px; }
.variation-select { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reset_variations { display: inline-block; margin-top: 10px; font-size: var(--small); }
.woocommerce-variation-price, .woocommerce-variation-availability { margin-top: 18px; font-size: var(--small); color: var(--ink-2); }
.buybox .quantity { display: none; }                         /* one at a time, like the bag */
.size:disabled { color: var(--ink-3); background: var(--bg-alt); text-decoration: line-through; cursor: not-allowed; }
.swatch:disabled { opacity: .35; cursor: not-allowed; }
.related-wrap .related > h2 { text-align: center; font-size: var(--h-1); margin-bottom: 40px; }
.related-wrap { padding-bottom: var(--section); }

/* cart, checkout, account: WooCommerce's blocks, quietened down */
.wc-block-cart, .wc-block-checkout, .woocommerce-account .woocommerce { font-family: var(--font); }
.wc-block-components-product-name { color: var(--ink) !important; font-weight: 600; text-decoration: none !important; }
.wc-block-components-totals-item__label, .wc-block-components-product-metadata { color: var(--ink-2); }
.wc-block-components-totals-footer-item { font-size: var(--h-3) !important; font-weight: 600; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: var(--radius-sm); background: var(--bg-alt); }
.wc-block-components-text-input input, .wc-block-components-combobox input { border-radius: var(--radius-sm) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.woocommerce-MyAccount-navigation a { color: var(--ink-2); }
.woocommerce-MyAccount-navigation .is-active a { color: var(--ink); font-weight: 600; }

/* phone menu */
@media (max-width: 834px) {
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    padding: 20px var(--gutter) 28px; margin: 0;
    background: rgba(255,255,255,.97); border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .nav.is-open .nav__links a { font-size: 24px; font-weight: 600; opacity: 1; }
  .hero__pair { grid-template-columns: 1fr 1fr; }
}

/* ── motion: sections rise in gently as they scroll into view ─────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.static .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── small screens ────────────────────────────────────────────────── */
@media (max-width: 834px) {
  .nav__links { display: none; }
  .nav__in { justify-content: space-between; }
  .nav__menu { display: grid; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 500px; }
  .features, .stats { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .specs { grid-template-columns: 1fr; }
  .specs dt { padding-bottom: 4px; border-bottom: 0; }
  .specs dd { padding-top: 0; }
  .line { grid-template-columns: 96px 1fr; }
  .line__price { grid-column: 2; text-align: left; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .subnav a:not(.btn):not(.subnav__title) { display: none; }
}
