/* ============================================================
   MAISON CRÉATIF — Design System (WordPress port)
   Flat design · Big typography · Monochrome + one neon accent
   Palette after assos.com: near-black on white, grey scale,
   #F0FF00 as the single accent, #D40000 for errors.
   Source: assets/css/main.css in the Nuxt app.
   ============================================================ */

:root {
  --paper:     #FFFFFF;
  --paper-alt: #F5F5F5;
  --ink:       #0C0C0C;
  --ink-soft:  #373737;
  --line:      #0C0C0C;
  --muted:     #707070;
  --focus:     #707070;   /* ≥3:1 on both white and ink sections */

  /* Accent names kept from the Nuxt palette so the two codebases map 1:1. */
  --cobalt:   #373737;   /* primary / highlight  */
  --magenta:  #707070;   /* hover / badges       */
  --lime:     #F0FF00;   /* the one accent       */
  --marigold: #E1E1E1;   /* light bands, text on dark */
  --rose:     #D40000;   /* errors               */

  /* One family everywhere (self-hosted Urbanist). The three roles stay as
     variables so headings / body / labels can still be tuned separately. */
  --font-display: "Urbanist", system-ui, -apple-system, sans-serif;
  --font-body:    "Urbanist", system-ui, -apple-system, sans-serif;
  --font-mono:    "Urbanist", system-ui, -apple-system, sans-serif;

  --border-w:  2px;
  --shell-pad: 28px;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.fill-img { width: 100%; height: 100%; object-fit: cover; }

.app { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute; width: 1px; word-wrap: normal !important;
}

/* ── Typography ─────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.88;
  overflow-wrap: break-word; /* safety net for wide heading fonts on phones */
}
.display-xl { font-size: clamp(64px, 11vw, 184px); }
.display-l  { font-size: clamp(48px, 7vw, 112px); }
.display-m  { font-size: clamp(36px, 4.5vw, 72px); }
.display-s  { font-size: clamp(28px, 3vw, 48px); }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.label-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.accent-text { color: var(--cobalt); }
.light-text  { color: var(--marigold); }

/* ── Sections ────────────────────────────────────────────── */
.section { border-bottom: var(--border-w) solid var(--line); }
.section-inner { padding: 64px var(--shell-pad); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: var(--border-w) solid var(--line);
  margin-bottom: 32px;
}
.section-head-aside { text-align: right; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-head-dark { border-bottom-color: var(--paper); margin-bottom: 48px; }
.section-neon { background: var(--lime); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 22px;
  border: var(--border-w) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition: transform .12s ease, background .12s ease, color .12s ease;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.btn-lime  { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-sm    { padding: 8px 14px; font-size: 13px; }
.btn-lg    { padding: 18px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Inputs ──────────────────────────────────────────────── */
.input, .select, .textarea {
  width: 100%;
  border: var(--border-w) solid var(--ink);
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  transition: background 0.12s;
}
.input:focus, .select:focus, .textarea:focus { background: var(--lime); }
.input::placeholder, .textarea::placeholder { color: #b5b5b5; font-weight: 400; }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--border-w) solid var(--line);
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px var(--shell-pad);
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
}
/* The heading font is a setting — a wide one (Syne, Unbounded) must shrink
   and truncate rather than push the cart button off a phone screen. */
.nav-logo-text { overflow: hidden; text-overflow: ellipsis; }
.nav-logo .dot {
  width: 12px; height: 12px;
  background: var(--magenta);
  border-radius: 50%;
  flex-shrink: 0;
}
.custom-logo-link img { max-height: 40px; width: auto; }

.nav-links ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav-links { font-weight: 500; font-size: 14px; }
.nav-links a { position: relative; display: block; padding: 6px 0; }
.nav-links li.active > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--ink);
}
.nav-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.nav-greeting { margin-right: 8px; text-decoration: underline; }
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta);
  color: #fff;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); }

/* Header search (panel opens under the sticky bar) */
.nav-search-toggle { padding: 8px 10px; }
.nav-search-toggle[aria-expanded="true"] { background: var(--ink); color: var(--paper); }
.search-panel {
  border-top: var(--border-w) solid var(--line);
  padding: 16px var(--shell-pad) 20px;
  background: var(--paper);
}
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 8px; max-width: 760px; margin: 0 auto; }
.search-form .search-input { flex: 1; min-width: 0; font-size: 17px; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-results {
  list-style: none;
  margin: 12px auto 0;
  padding: 0;
  max-width: 760px;
}
.search-results:empty { display: none; }
.search-results li + li { border-top: 1px solid rgba(12,12,12,0.12); }
.search-result {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 8px;
}
.search-result:hover,
.search-result:focus-visible,
.search-all:hover,
.search-all:focus-visible { background: var(--lime); outline: none; }
.search-result-img {
  width: 56px; height: 56px;
  border: var(--border-w) solid var(--ink);
  background: var(--paper-alt);
  overflow: hidden;
}
.search-result-img img { width: 100%; height: 100%; object-fit: cover; }
.search-result-name { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-result-price { font-family: var(--font-mono); font-size: 13px; font-weight: 600; white-space: nowrap; }
.search-all,
.search-empty {
  display: block;
  padding: 14px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.search-empty { color: var(--muted); }
@media (max-width: 600px) {
  .search-form .btn-primary { display: none; } /* Enter / the keyboard's search key submits */
  .search-result { grid-template-columns: 48px minmax(0, 1fr); }
  .search-result-img { width: 48px; height: 48px; }
  .search-result-price { grid-column: 2; }
}

/* Mobile drawer */
.mobile-nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(12,12,12,0.5);
}
.mobile-nav-scrim[hidden] { display: none; }
.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(360px, 90vw);
  background: var(--paper);
  border-right: var(--border-w) solid var(--ink);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: drawer-in .2s ease;
}
@keyframes drawer-in { from { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .mobile-nav-panel { animation: none; } }
.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px var(--shell-pad);
  border-bottom: var(--border-w) solid var(--ink);
}
.mobile-nav-links { list-style: none; margin: 0; padding: 0; }
.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 36px;
  line-height: 1;
  padding: 18px var(--shell-pad);
  border-bottom: 1px solid rgba(12,12,12,0.12);
}
.mobile-nav-foot {
  padding: 24px var(--shell-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: var(--border-w) solid var(--ink);
  margin-top: auto;
}
body.nav-locked { overflow: hidden; }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: var(--border-w) solid var(--line);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.marquee-track > span { display: inline-flex; align-items: center; padding-right: 48px; }
.marquee-track .star { color: var(--marigold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Placeholder (striped) ───────────────────────────────── */
.ph {
  width: 100%; height: 100%;
  min-height: inherit;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 10px, transparent 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ph-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  padding: 4px 8px;
  max-width: 80%;
  text-align: center;
}
.ph-bg-cobalt   { background-color: var(--cobalt); }
.ph-bg-magenta  { background-color: var(--magenta); }
.ph-bg-lime     { background-color: var(--lime); }
.ph-bg-marigold { background-color: var(--marigold); }
.ph-bg-rose     { background-color: var(--rose); }
.ph-bg-paper    { background-color: var(--paper); }
.ph-bg-ink      { background-color: var(--ink); }
.ph-on-color .ph-label { background: rgba(255,255,255,0.92); }

/* ── Product card ────────────────────────────────────────── */
.product-card {
  border: var(--border-w) solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .15s ease;
  min-width: 0;
}
.product-card:hover { transform: translate(-3px, -3px); }
.product-card:hover .product-card-img { background-color: var(--lime); }
.product-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }
.product-card-img {
  aspect-ratio: 1 / 1;
  border-bottom: var(--border-w) solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: background-color .2s ease;
}
.product-card-track {
  display: flex;
  height: 100%;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.product-card-slide { flex: 0 0 100%; height: 100%; }
.product-card-dots {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.product-card-dots span {
  width: 8px; height: 8px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  transition: background .15s;
}
.product-card-dots span.on { background: var(--ink); }
@media (hover: hover) { .product-card:hover .product-card-dots { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .product-card-track { transition: none; } }
.product-card-body {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
  line-height: 1;
}
.product-card-meta { margin-top: 4px; color: var(--muted); }
.product-card .price {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}
.product-card .tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--magenta);
  color: #fff;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

/* ── Homepage ────────────────────────────────────────────── */
.hero { padding-top: 48px; padding-bottom: 0; }
.hero-meta { margin-bottom: 28px; }
.hero-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
  margin-top: 40px;
  padding-bottom: 48px;
}
.hero-text { font-size: 22px; font-weight: 500; line-height: 1.3; max-width: 560px; letter-spacing: -0.01em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.hero-collage {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  border: var(--border-w) solid var(--ink);
  border-bottom: none;
  height: 480px;
}
.hero-collage > .cell:first-child,
.hero-collage-stack > .cell { border-right: var(--border-w) solid var(--ink); }
.hero-collage-stack { display: grid; grid-template-rows: 1fr 1fr; min-height: 0; }
.hero-collage-stack > .cell:first-child { border-bottom: var(--border-w) solid var(--ink); }
.cell { min-height: 0; overflow: hidden; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  border: var(--border-w) solid var(--ink);
}
.category-tile { display: flex; flex-direction: column; min-width: 0; background: var(--paper); }
.category-tile + .category-tile { border-left: var(--border-w) solid var(--ink); }
.category-tile-img { height: 240px; border-bottom: var(--border-w) solid var(--ink); overflow: hidden; }
.category-tile-body {
  padding: 20px 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.category-tile-body .display-s { font-size: 36px; overflow-wrap: anywhere; }
.category-tile:hover .category-tile-img { background: var(--lime); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-number {
  font-size: 160px;
  line-height: 0.85;
  color: var(--marigold);
  margin-bottom: 16px;
  letter-spacing: -0.06em;
}
.steps h3 { margin: 0 0 12px; color: var(--paper); }
.steps p { font-size: 16px; line-height: 1.5; opacity: 0.85; max-width: 320px; }

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border-w) solid var(--ink);
  min-height: 480px;
}
.spotlight > .cell { border-right: var(--border-w) solid var(--ink); }
.spotlight-body { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.spotlight-body h2 { margin: 0 0 16px; }
.spotlight-body p { font-size: 17px; line-height: 1.5; max-width: 440px; }

.newsletter { text-align: center; }
.newsletter h2 { margin: 0 0 24px; }
.newsletter p { font-size: 18px; max-width: 520px; margin: 0 auto 32px; }
.newsletter-form { max-width: 520px; margin: 0 auto; }

/* ── Page headers (inc/page-header.php) ──────────────────── */
.page-header-eyebrow { margin-bottom: 16px; }
.page-header-subtitle { margin-top: 20px; font-size: 18px; line-height: 1.45; max-width: 620px; }
.page-header--banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: var(--border-w) solid var(--ink);
  min-height: 380px;
  margin-bottom: 40px;
}
.page-header-text {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: var(--border-w) solid var(--ink);
  min-width: 0;
}
/* Image fills the row instead of setting its height — a tall image would
   otherwise stretch the banner to its own aspect ratio. */
.page-header-img { position: relative; overflow: hidden; min-width: 0; }
.page-header-img img { position: absolute; inset: 0; }

/* ── Content pages ───────────────────────────────────────── */
.entry-content { max-width: 760px; font-size: 17px; line-height: 1.6; }
.entry-content--wide { max-width: none; font-size: 15px; line-height: 1.45; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 36px; line-height: 1; margin-top: 1.6em; }
.entry-content h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; font-size: 24px; margin-top: 1.4em; }
.entry-content:not(.entry-content--wide) a { text-decoration: underline; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content blockquote { margin: 0; padding-left: 20px; border-left: 4px solid var(--lime); }
/* FAQ (core Details block) */
.entry-content .wp-block-details {
  border: var(--border-w) solid var(--ink);
  padding: 0;
}
.entry-content .wp-block-details + .wp-block-details { border-top: none; margin-top: 0; }
.entry-content .wp-block-details summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; font-family: var(--font-mono); }
.entry-content .wp-block-details[open] summary { background: var(--lime); }
.entry-content .wp-block-details[open] summary::after { content: "–"; }
.entry-content .wp-block-details > :not(summary) { padding: 0 20px 18px; margin: 16px 0 0; }

/* Legal notice ([maison_legal_notice]) */
.legal-notice {
  display: grid;
  grid-template-columns: minmax(140px, max-content) 1fr;
  gap: 10px 32px;
  border-top: var(--border-w) solid var(--ink);
  padding-top: 20px;
  margin: 0;
}
.legal-notice dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 4px;
}
.legal-notice dd { margin: 0; }
.legal-notice-hint { color: var(--rose); font-size: 14px; }
@media (max-width: 600px) {
  .legal-notice { grid-template-columns: 1fr; gap: 2px; }
  .legal-notice dd { margin-bottom: 12px; }
}

.entry-thumb { margin-bottom: 32px; border: var(--border-w) solid var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { border: var(--border-w) solid var(--ink); padding: 8px 14px; font-family: var(--font-mono); font-size: 12px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); }
.error-page { display: flex; flex-direction: column; gap: 24px; padding-top: 96px; padding-bottom: 96px; }
.error-page p { font-size: 18px; max-width: 520px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px var(--shell-pad) 24px;
}
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 12vw, 200px);
  overflow-wrap: break-word;
  letter-spacing: -0.05em;
  line-height: 0.85;
  margin: 0 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: rgba(255,255,255,0.5);
}
.footer-about { max-width: 380px; line-height: 1.5; font-size: 14px; opacity: 0.85; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer ul a:hover { opacity: 0.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── Skip link + focus ───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 10000;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links   { display: none; }
  .hamburger   { display: flex; }
  .nav-inner   { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .nav-auth-mobile-hide { display: none; }
  .post-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* min-width:0 stops grid items with unbreakable content from blowing
     out the track and overflowing the viewport (see the Nuxt main.css). */
  .stack-mobile { grid-template-columns: 1fr !important; min-width: 0; }
  .stack-mobile > * { min-width: 0; }
  .hero-ctas { justify-content: flex-start; }
  .image-grid-mobile { grid-template-columns: 1fr !important; height: auto !important; min-height: 0 !important; }
  .image-grid-mobile > * { min-height: 260px; min-width: 0; border-right: none !important; border-bottom: var(--border-w) solid var(--ink); }
  .hero-collage-stack > .cell { min-height: 260px; }
  .section-head { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  :root { --shell-pad: 16px; }
  .section-inner { padding: 40px var(--shell-pad); }
  .grid-2-mobile { grid-template-columns: 1fr 1fr !important; min-width: 0; }
  .grid-2-mobile > * { min-width: 0; }
  .category-tile:nth-child(odd) { border-left: none; }
  .category-tile:nth-child(n+3) { border-top: var(--border-w) solid var(--ink); }
  .category-tile-body { flex-direction: column; align-items: flex-start; }
  .category-tile-body .display-s { font-size: 26px; }
  .category-tile-img { height: 160px; }
  .step-number { font-size: 88px; }
  .spotlight-body { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card h3 { font-size: 17px; }
  .product-card-body { flex-direction: column; align-items: flex-start; gap: 6px; }
  .product-card .price { text-align: left; }
  .post-grid { grid-template-columns: 1fr; }
}
.nav-cart-icon { display: none; }
@media (max-width: 420px) {
  .nav-logo { font-size: clamp(14px, 4.6vw, 18px); }
  /* Icon-only cart on phones so the full wordmark fits next to search + cart.
     The label stays in the DOM for screen readers ("Cart 2"). */
  .nav-cart-icon { display: block; }
  .nav-cart-label {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .nav-cart { padding: 8px 10px; gap: 6px; }
  .nav-actions { gap: 6px; }
  .nav-inner { gap: 10px; }
}
@media (max-width: 360px) {
  .nav-logo .dot { display: none; }
  .nav-logo { font-size: 14px; }
  .hamburger { padding: 4px 0; }
}
