:root {
  --bg: oklch(98% 0.018 86);
  --surface: oklch(100% 0.004 82);
  --surface-soft: oklch(96% 0.025 84);
  --fg: oklch(24% 0.022 58);
  --muted: oklch(53% 0.018 62);
  --border: oklch(89% 0.018 78);
  --line: var(--border);
  --accent: oklch(66% 0.085 42);
  --rose: oklch(86% 0.055 13);
  --sky: oklch(88% 0.047 224);
  --sage: oklch(83% 0.047 143);
  --lavender: oklch(86% 0.038 294);
  --gold: oklch(73% 0.075 78);
  --success: oklch(62% 0.1 145);
  --warn: oklch(70% 0.11 72);
  --danger: oklch(60% 0.12 25);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 24px 70px oklch(42% 0.045 48 / 0.12);
  --shadow-soft: 0 14px 36px oklch(42% 0.045 48 / 0.09);
  --ease: cubic-bezier(.2,.8,.2,1);
  --ease-soft: cubic-bezier(.2, 0, 0, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.page { min-height: 100vh; }
.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow-soft);
  padding: 10px 16px;
  font-weight: 760;
  transition: transform .18s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wide-shell { width: min(1440px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 86px 0; }
.section.tight { padding: 48px 0; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: oklch(99% 0.012 88 / .78);
  border-bottom: 1px solid oklch(88% 0.018 78 / .72);
}
.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 600;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: oklch(93% 0.034 44);
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .84), 0 10px 24px oklch(70% 0.04 42 / .12);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  right: 7px;
  top: 7px;
  background: var(--surface);
  opacity: .72;
}
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; font-weight: 560; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu-button { display: none; }
.mobile-nav-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 14px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: oklch(100% 0.003 88 / .94);
  box-shadow: var(--shadow-soft);
  gap: 6px;
}
.mobile-nav-panel[hidden] { display: none; }
.mobile-nav-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  padding: 0 14px;
  color: var(--fg);
  font-weight: 720;
}
.mobile-nav-panel a::after {
  content: "→";
  color: var(--muted);
}
.mobile-nav-panel a.active,
.mobile-nav-panel a:hover {
  background: var(--surface-soft);
}
.admin-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.language-switcher {
  position: relative;
  flex: 0 0 auto;
}
.language-switcher summary {
  min-width: 52px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(100% 0.003 88 / .78);
  color: var(--fg);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  list-style: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .62;
  transition: transform .18s var(--ease);
}
.language-switcher[open] summary,
.language-switcher summary:hover {
  border-color: oklch(80% 0.045 42);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.language-switcher[open] summary::after { transform: translateY(1px) rotate(225deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: oklch(100% 0.004 82 / .96);
  box-shadow: var(--shadow);
  display: grid;
  gap: 3px;
}
.language-menu button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  text-align: left;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 650;
  transition: background .16s var(--ease), transform .16s var(--ease), color .16s var(--ease);
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: var(--surface-soft);
}
.language-menu button.active {
  background: oklch(93% 0.034 44);
  color: var(--fg);
}
.language-switcher.compact summary { min-width: 48px; height: 40px; }

/* Static language honesty chip (no fake multi-language menu) */
.language-switcher-static {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(100% 0.003 88 / .78);
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: .02em;
  white-space: nowrap;
}
.language-switcher-static .language-current {
  max-width: 16ch;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  background: var(--fg);
  color: var(--surface);
  font-weight: 680;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px oklch(24% 0.02 58 / .13); }
.btn:active { transform: translateY(0) scale(.985); }
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px oklch(66% 0.085 42 / .18), 0 0 0 1px var(--accent);
}
:where(.is-confirming) {
  animation: confirm-tap .32s var(--ease-soft);
}
.btn.secondary { background: var(--surface); color: var(--fg); border-color: var(--border); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--fg); border-color: transparent; }
.btn.gold { background: var(--accent); color: oklch(99% 0.006 90); }
.btn[disabled], .is-disabled { opacity: .45; pointer-events: none; }
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--fg);
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover { transform: translateY(-1px); border-color: oklch(80% 0.045 42); box-shadow: var(--shadow-soft); }
.icon-btn:active { transform: scale(.96); }

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 760;
}
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
}
h1 { font-size: clamp(52px, 7vw, 112px); max-width: 920px; }
h2 { font-size: clamp(38px, 4.8vw, 72px); max-width: 780px; }
h3 { font-size: 28px; }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(18px, 2vw, 22px); line-height: 1.55; max-width: 63ch; }
.small { font-size: 13px; color: var(--muted); }

.hero {
  padding: 78px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .78fr);
  align-items: center;
  gap: 64px;
}
.hero-copy { display: grid; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.hero-note span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--fg);
  font-weight: 760;
}
.conversion-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}
.conversion-row div {
  min-height: 76px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: oklch(100% 0.003 88 / .66);
  padding: 14px 16px;
  display: grid;
  align-content: center;
  gap: 2px;
}
.conversion-row strong {
  color: var(--fg);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.conversion-row span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.storybook {
  min-height: 610px;
  border-radius: 46px;
  background: oklch(96% 0.02 92);
  border: 1px solid oklch(100% 0 0 / .7);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.storybook::before,
.storybook::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: oklch(100% 0 0 / .72);
  filter: blur(.2px);
}
.storybook::before { width: 190px; height: 54px; top: 86px; left: 42px; box-shadow: 210px 52px 0 -12px oklch(100% 0 0 / .48); }
.storybook::after { width: 120px; height: 36px; top: 178px; right: 52px; }
.hill {
  position: absolute;
  inset: auto -10% -12% -10%;
  height: 45%;
  border-radius: 50% 50% 0 0;
  background: oklch(88% 0.04 142);
}
.balloon {
  position: absolute;
  width: 58px;
  height: 72px;
  border-radius: 50% 50% 46% 46%;
  background: var(--rose);
  top: 132px;
  right: 142px;
  animation: floaty 5.4s ease-in-out infinite;
}
.balloon::after { content: ""; position: absolute; left: 28px; top: 70px; width: 1px; height: 100px; background: oklch(58% 0.025 60 / .35); }
.book-stack {
  position: absolute;
  left: 68px;
  bottom: 88px;
  width: 68%;
  display: grid;
  gap: 14px;
}
.book-layer {
  height: 76px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid oklch(100% 0 0 / .72);
  box-shadow: 0 18px 32px oklch(46% 0.04 60 / .14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-weight: 760;
}
.book-layer:nth-child(2) { width: 84%; margin-left: 34px; background: oklch(97% 0.025 19); }
.book-layer:nth-child(3) { width: 72%; margin-left: 74px; background: oklch(97% 0.024 222); }

.hero-product-photo {
  margin: 0;
  min-height: 610px;
  border-radius: 38px;
  overflow: hidden;
  border: 1px solid oklch(90% 0.016 75 / .86);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: 1fr auto;
}
.hero-product-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}
.hero-product-photo figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  background: oklch(100% 0.003 88 / .92);
}

.hero-carousel {
  position: relative;
  min-height: 610px;
  border-radius: 38px;
  border: 1px solid oklch(90% 0.016 75 / .86);
  background: linear-gradient(180deg, oklch(100% 0.004 88), oklch(98% 0.012 88));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.carousel-viewport {
  position: relative;
  min-height: 552px;
  isolation: isolate;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  opacity: 0;
  transform: translateX(18px) scale(.992);
  pointer-events: none;
  transition: opacity .34s var(--ease-soft), transform .34s var(--ease-soft);
}
.carousel-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: contain;
  object-position: center;
  padding: clamp(18px, 3vw, 34px);
  background: oklch(99% 0.006 88);
}
.carousel-slide figcaption {
  display: grid;
  gap: 3px;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--border);
  background: oklch(100% 0.003 88 / .94);
  color: var(--muted);
  font-size: 13px;
}
.carousel-slide figcaption strong {
  color: var(--fg);
  font-size: 14px;
  font-weight: 760;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: oklch(100% 0.003 88 / .92);
}
.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.carousel-btn:hover,
.carousel-btn:focus-visible {
  transform: translateY(-1px);
  border-color: oklch(72% 0.045 70);
  background: oklch(99% 0.016 86);
}
.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.carousel-dots button {
  position: relative;
  width: 28px;
  height: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: oklch(82% 0.018 72);
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.carousel-dots button.active::before {
  background: var(--accent);
  transform: scaleX(3.1);
}
.carousel-dots button:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--accent), white 28%);
  outline-offset: 4px;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}

.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.editorial-strip {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: 52px;
  align-items: start;
  padding: 42px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principle-list {
  display: grid;
  gap: 18px;
}
.principle-list p {
  max-width: 68ch;
  padding-bottom: 18px;
  border-bottom: 1px solid oklch(90% 0.014 78 / .74);
}
.principle-list p:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-list strong {
  color: var(--fg);
  font-weight: 760;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.surface-map {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(0, 1fr) minmax(260px, .72fr);
  gap: 18px;
  align-items: stretch;
}
.surface-feature,
.surface-row {
  border: 1px solid var(--border);
  background: oklch(100% 0.003 88 / .76);
  color: var(--fg);
}
.surface-feature {
  min-height: 430px;
  border-radius: 30px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  box-shadow: var(--shadow-soft);
}
.surface-feature span,
.surface-row span {
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.surface-feature h3 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 16px 0 14px;
}
.surface-list,
.surface-ops {
  display: grid;
  gap: 12px;
}
.surface-row {
  min-height: 96px;
  border-radius: 22px;
  padding: 18px 20px;
  display: grid;
  align-content: center;
  gap: 7px;
}
.surface-row.compact {
  min-height: 134px;
  background: oklch(99% 0.008 88 / .72);
}

.panel, .card {
  background: oklch(100% 0.003 88 / .84);
  border: 1px solid oklch(90% 0.016 75 / .86);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 oklch(100% 0 0 / .72), var(--shadow-soft);
}
.panel { padding: 28px; }
.card { overflow: hidden; transition: transform .18s var(--ease-soft), box-shadow .18s var(--ease-soft), border-color .18s var(--ease-soft), background .18s var(--ease-soft); }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 32px oklch(42% 0.04 48 / .09); border-color: oklch(84% 0.045 42); }
.purchase-finder {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(320px, .74fr);
  gap: 24px;
  align-items: center;
}
.purchase-finder h2 { margin: 10px 0 12px; }
.finder-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.screen-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.screen-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: oklch(100% 0.003 88 / .68);
  opacity: 0;
  transform: scale(.995);
  transition: opacity .18s var(--ease-soft), transform .18s var(--ease-soft), box-shadow .18s var(--ease-soft);
  z-index: -1;
  box-shadow: inset 0 0 0 1px oklch(78% 0.04 60 / .22), 0 14px 34px oklch(42% 0.03 48 / .07);
}
.screen-card:hover::after,
.screen-card:focus-visible::after {
  opacity: .74;
  transform: scale(1);
}
.product-card { position: relative; }
.product-card:focus-within {
  border-color: oklch(80% 0.045 42);
  box-shadow: 0 16px 32px oklch(42% 0.04 48 / .09);
}
.product-section { padding-top: 54px; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(420px, .84fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.product-gallery,
.product-info {
  min-width: 0;
}
.product-gallery {
  display: grid;
  gap: 16px;
  align-self: start;
}
.product-media-main {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: clamp(430px, 54vw, 620px);
  max-height: 680px;
  background: oklch(96% 0.018 92);
}
.product-media-stage {
  padding: 0;
  overflow: hidden;
}
.product-media-item {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  position: relative;
}
.product-media-item[hidden] { display: none; }
.product-media-item figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid oklch(100% 0 0 / .62);
  border-radius: 18px;
  background: oklch(99% 0.008 88 / .82);
  color: var(--fg);
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 12px 28px oklch(42% 0.04 48 / .08);
  backdrop-filter: blur(12px);
}
.product-detail-shot {
  background: var(--sage);
}
.product-detail-shot .product-cover {
  width: min(48%, 310px);
}
.product-video-item {
  background: oklch(94% 0.016 88);
  padding: clamp(18px, 3vw, 34px);
}
.product-video {
  width: min(100%, 760px);
  max-height: min(84%, 540px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  background: oklch(28% 0.018 48);
  box-shadow: 0 20px 42px oklch(38% 0.035 45 / .16);
}
.product-cover-main { width: min(52%, 330px); }
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.product-thumb {
  aspect-ratio: 1;
  min-height: 0;
  padding: clamp(14px, 2vw, 24px);
  position: relative;
  border-color: oklch(88% 0.012 74);
  cursor: pointer;
}
.product-thumb .product-cover { width: min(64%, 112px); }
.product-thumb img {
  width: min(72%, 116px);
  height: min(82%, 128px);
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px oklch(38% 0.035 45 / .13);
}
.product-thumb span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  color: var(--fg);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-thumb.active,
.product-thumb[aria-selected="true"] {
  border-color: oklch(70% 0.065 70);
  box-shadow: 0 14px 28px oklch(42% 0.04 48 / .12), inset 0 0 0 1px oklch(70% 0.065 70 / .32);
}
.product-video-thumb {
  background: oklch(94% 0.018 88);
}
.video-thumb-mark {
  position: static !important;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: oklch(100% 0 0 / .82);
  border: 1px solid oklch(78% 0.034 66);
  box-shadow: 0 12px 24px oklch(42% 0.04 48 / .1);
}
.tone-sage { background: var(--sage); }
.tone-sky { background: var(--sky); }
.tone-lavender { background: var(--lavender); }
.tone-rose { background: var(--rose); }
.tone-gold { background: oklch(94% 0.035 78); }
.product-info {
  position: sticky;
  top: 104px;
  z-index: 1;
}
.product-media {
  min-width: 0;
  aspect-ratio: 1 / .86;
  background: oklch(96% 0.02 88);
  display: grid;
  place-items: center;
  padding: 34px;
}
.product-media-photo {
  padding: 20px;
  background: oklch(96% 0.018 90);
  overflow: hidden;
}
.product-media-photo img {
  width: min(76%, 245px);
  height: min(88%, 315px);
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 18px 38px oklch(38% 0.035 45 / .16);
  transform: translateY(2px);
}
.product-cover {
  width: 68%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background:
    linear-gradient(90deg, oklch(82% 0.035 58 / .42) 0 8px, transparent 8px),
    oklch(97% 0.018 86);
  box-shadow: 0 18px 34px oklch(38% 0.035 45 / .14);
  position: relative;
}
.product-cover::before { content: ""; position: absolute; inset: 18px; border-radius: 18px; border: 1px solid oklch(72% 0.045 42 / .36); }
.product-cover::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  top: 58px;
  height: 1px;
  background: oklch(72% 0.045 42 / .28);
  box-shadow: 0 42px 0 oklch(72% 0.045 42 / .18), 0 84px 0 oklch(72% 0.045 42 / .14);
}
.product-photo-main {
  padding: 0;
  overflow: hidden;
}
.product-photo-main img,
.checkout-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.checkout-thumb {
  aspect-ratio: 1;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
}
.checkout-gift-thumb {
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid oklch(84% 0.025 92);
  border-radius: 18px;
  background: oklch(95% 0.025 143);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px oklch(100% 0 0 / .54);
}
.checkout-gift-thumb span {
  width: 38px;
  height: 48px;
  border: 1px solid oklch(76% 0.035 78);
  border-radius: 10px;
  background: oklch(99% 0.008 86);
  box-shadow: 0 10px 18px oklch(42% 0.035 48 / .08);
}
.product-body { padding: 20px; display: grid; gap: 12px; }
.product-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.price { font-weight: 780; font-size: 20px; color: var(--fg); }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: oklch(96% 0.025 82);
  color: var(--fg);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 720;
}
.badge.rose { background: oklch(96% 0.031 16); }
.badge.sage { background: oklch(94% 0.035 143); }
.badge.sky { background: oklch(95% 0.028 224); }
.quick-actions {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .24s var(--ease), transform .24s var(--ease);
}
.quick-actions .icon-btn {
  width: 44px;
  height: 44px;
}
.product-card:hover .quick-actions,
.product-card:focus-within .quick-actions { opacity: 1; transform: translateY(0); }
.product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.product-actions .btn { flex: 1; }
.product-link {
  color: var(--fg);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.funnel-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.funnel-note span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid oklch(88% 0.014 76);
  border-radius: 999px;
  background: oklch(99% 0.004 88 / .82);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  padding: 0 11px;
}
.catalog-note,
.product-next-step,
.checkout-note { margin-top: 16px; }
.delivery-card {
  display: grid;
  grid-template-columns: minmax(260px, .86fr) 1fr;
  gap: 28px;
  align-items: center;
}
.purchase-box {
  display: grid;
  grid-template-columns: auto minmax(190px, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.qty-control {
  min-height: 44px;
  display: inline-grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}
.qty-control button {
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
}
.qty-control output {
  text-align: center;
  font-weight: 760;
  color: var(--fg);
}
.store-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.store-signals span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(99% 0.006 88 / .76);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  padding: 0 11px;
}
.store-signals.compact { margin-top: 0; }
.sticky-buy {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 28px));
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid oklch(90% 0.016 75 / .9);
  border-radius: 999px;
  background: oklch(100% 0.003 88 / .88);
  box-shadow: 0 18px 42px oklch(42% 0.035 48 / .14);
  backdrop-filter: blur(18px);
}
.sticky-buy div {
  display: grid;
  gap: 1px;
  padding-left: 8px;
}
.sticky-buy strong { color: var(--fg); }
.sticky-buy span { color: var(--muted); font-size: 12px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
}
.chip,
.tab,
.sidebar a,
.bottom-nav a {
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.chip.active, .chip:hover { color: var(--fg); border-color: oklch(80% 0.055 42); background: oklch(98% 0.02 78); }
.chip:active,
.tab:active,
.bottom-nav a:active { transform: scale(.98); }
.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}
.checkout-steps span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}
.checkout-steps .active {
  color: var(--fg);
  background: oklch(96% 0.025 84);
  border-color: oklch(82% 0.04 58);
}
.checkout-layout > aside {
  position: sticky;
  top: 104px;
}
.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
}
.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.field { display: grid; gap: 8px; }
.field > span,
.field label { font-size: 13px; font-weight: 720; color: var(--fg); }
.input, .select, .textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 48px;
  border-radius: 16px;
  padding: 0 14px;
  color: var(--fg);
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 120px; padding: 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px oklch(66% 0.085 42 / .13); }
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"],
.checkbox-line:has(input[aria-invalid="true"]) {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px oklch(60% 0.12 25 / .12);
}
.checkbox-line:has(input[aria-invalid="true"]) {
  border: 1px solid var(--danger);
  border-radius: 14px;
  padding: 10px 12px;
}

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table tbody tr {
  transition: background .18s var(--ease), box-shadow .18s var(--ease);
}
.table tbody tr:hover {
  background: oklch(99% 0.01 88);
  box-shadow: inset 3px 0 0 oklch(74% 0.045 72 / .42);
}
.table th { color: var(--muted); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }
.status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 720; }
.status.ok { background: oklch(94% 0.04 145); color: oklch(39% 0.09 145); }
.status.warn { background: oklch(95% 0.05 72); color: oklch(45% 0.09 72); }
.status.new { background: oklch(95% 0.04 224); color: oklch(42% 0.08 224); }
.status.danger { background: oklch(96% 0.04 25); color: oklch(42% 0.12 25); }

/* Base admin grid — refined styles live later under .admin-body block */
.admin-layout { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.metric { padding: 20px; display: grid; gap: 10px; }
.metric strong { font-size: 30px; letter-spacing: -0.02em; }
.chart {
  height: 270px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 13px;
  padding: 18px;
}
.chart-column { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; text-align: center; }
.chart-column > span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.chart-track { min-height: 0; display: flex; align-items: end; }
.bar { flex: 1; min-height: 4px; border-radius: 12px 12px 4px 4px; background: var(--sage); }

@media (max-width: 560px) {
  .chart { height: 220px; gap: 5px; padding: 12px 0 4px; }
  .chart-column > span { font-size: 9px; }
}

.mobile-frame {
  width: min(390px, 100%);
  min-height: 780px;
  margin: 0 auto;
  border: 10px solid oklch(18% 0.012 60);
  border-radius: 44px;
  background: var(--bg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.mobile-status { height: 34px; display: flex; justify-content: space-between; align-items: end; padding: 0 22px 7px; font-size: 12px; font-weight: 760; }
.mobile-screen { padding: 18px; display: grid; gap: 18px; }
.bottom-nav { position: sticky; bottom: 0; background: oklch(100% 0.004 88 / .9); backdrop-filter: blur(18px); border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; }
.bottom-nav a { display: grid; place-items: center; gap: 4px; color: var(--muted); font-size: 11px; }
.bottom-nav a.active { color: var(--fg); }

.footer { padding: 54px 0; border-top: 1px solid var(--border); background: oklch(99% 0.012 88 / .72); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 34px; }
.footer h4 { margin: 0 0 12px; }
.footer a { display: block; color: var(--muted); margin: 8px 0; font-size: 14px; }

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--fg);
  color: var(--surface);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s var(--ease), transform .24s var(--ease);
  z-index: 50;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast:empty { display: none; }
dialog {
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
dialog[open] {
  animation: dialog-enter .22s var(--ease-soft) both;
}
.reveal { animation: reveal .36s var(--ease-soft) both; }
.reveal:nth-child(2) { animation-delay: .06s; }
.reveal-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .34s var(--ease-soft), transform .34s var(--ease-soft);
}
.reveal-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes confirm-tap {
  0% { transform: scale(1); }
  45% { transform: scale(.965); }
  100% { transform: scale(1); }
}
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .balloon,
  .reveal,
  .reveal-scroll,
  .card:hover,
  .btn:hover,
  .icon-btn:hover,
  .carousel-slide,
  .carousel-btn:hover,
  .is-confirming,
  dialog[open] {
    transform: none !important;
  }
  .reveal-scroll { opacity: 1; }
  .carousel-slide { transition: opacity .01ms !important; }
}

.nav-links a.active {
  color: var(--fg);
  font-weight: 760;
}

.page-title {
  font-size: clamp(48px, 6vw, 82px);
  margin: 10px 0 20px;
}

.product-title {
  font-size: clamp(46px, 5vw, 78px);
  margin: 10px 0;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 30px;
}

.tab-row {
  margin: 28px 0 18px;
}

.newsletter-panel,
.contacts-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr);
  gap: 24px;
  align-items: center;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.newsletter-form .input {
  width: min(280px, 100%);
}

/* ===== Home: editorial premium layout ===== */
.hero-trust {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.01em;
}

.home-hero-media {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.home-hero-media:hover img { transform: scale(1.02); }
.home-hero-badge {
  position: absolute;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  background: oklch(99% 0.006 90 / .92);
  box-shadow: var(--shadow-soft);
}
.home-hero-badge.age { top: 18px; left: 18px; background: var(--sage); }
.home-hero-badge.price { bottom: 18px; right: 18px; background: var(--accent); color: oklch(99% 0.006 90); }

/* Shop by age */
.age-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.age-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}
.age-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.age-tile:hover img { transform: scale(1.04); }
.age-tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 18px 16px;
  display: grid;
  gap: 2px;
  color: oklch(99% 0.006 90);
  background: linear-gradient(to top, oklch(24% 0.022 58 / .82), oklch(24% 0.022 58 / 0));
}
.age-tile-body strong { font-size: 19px; letter-spacing: -0.01em; }
.age-tile-body .small { color: oklch(96% 0.01 86 / .88); }

/* Bestsellers */
.bestsellers-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.feature-book {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  padding: 0;
}
.feature-book-media {
  display: block;
  background: var(--surface-soft);
  aspect-ratio: 16 / 10;
  max-height: 440px;
  overflow: hidden;
}
.feature-book-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.feature-book-media:hover img { transform: scale(1.03); }
.feature-book-body {
  padding: 26px 28px 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.feature-book-body h3 { font-size: clamp(26px, 2.6vw, 34px); }
.feature-book-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}
.feature-book-foot .price { font-size: 24px; }
.bestsellers-side {
  display: grid;
  gap: 22px;
  grid-template-rows: 1fr 1fr;
}

/* Craft & trust */
.craft-band {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.craft-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--surface-soft);
}
.craft-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.craft-values ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  display: grid;
  gap: 12px;
}
.craft-values li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}
.craft-values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.craft-values li b { color: var(--fg); }

/* Reviews */
.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 18px;
  margin: 0 0 4px;
}
.review-card { display: grid; align-content: start; gap: 8px; }

/* Closing strip */
.closing-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: center;
  margin-top: 22px;
  color: var(--muted);
}
.closing-link {
  color: var(--fg);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.closing-link:hover { color: var(--accent); border-color: var(--accent); }

.catalog-filter-form {
  align-items: center;
}

.compact-input {
  max-width: 220px;
}

.range-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  margin-top: 20px;
}

.range-form label,
.range-form input[type="range"] {
  grid-column: 1 / -1;
}

.compact-btn {
  justify-self: start;
}

.empty-state {
  display: grid;
  gap: 12px;
  align-content: center;
}

.summary-lines {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.summary-lines p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-total {
  color: var(--fg);
  font-size: 22px;
}

.mini-qty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.mini-qty button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--fg);
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 720;
}

.checkout-form[hidden],
.checkout-empty-state[hidden] {
  display: none;
}

body.cart-is-empty .checkout-form-layout {
  display: none;
}

.promo-line {
  display: flex;
  gap: 10px;
}

.auth-shell {
  min-height: 72vh;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
}

.account-tabs {
  margin-top: 18px;
}

.account-main {
  grid-column: span 2;
  display: grid;
  gap: 14px;
  align-content: start;
}

.admin-body {
  background:
    radial-gradient(1200px 420px at 12% -8%, oklch(96% 0.03 78 / .55), transparent 62%),
    radial-gradient(900px 380px at 100% 0%, oklch(96% 0.025 220 / .35), transparent 55%),
    var(--bg);
}

.admin-dialog {
  border: 0;
  width: min(720px, calc(100% - 32px));
  max-height: min(820px, calc(100vh - 32px));
  overflow: auto;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}
.admin-dialog::backdrop {
  background: oklch(24% 0.02 58 / .28);
  backdrop-filter: blur(6px);
}

.admin-page {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.admin-layout,
.sidebar,
.admin-main,
.admin-head,
.admin-page > .panel {
  min-width: 0;
}

.admin-split {
  align-items: start;
  margin-top: 0;
  gap: 22px;
}

/* Shared vertical rhythm for both storefront blocks and admin */
.stack-sm { display: grid; gap: 10px; }
.stack { display: grid; gap: 16px; }
.stack-lg { display: grid; gap: 24px; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: 10px !important; }
.mt-md { margin-top: 16px !important; }
.mt-lg { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-sm { gap: 8px !important; }

/* Mid-page section heads — smaller than hero h2, larger than panel h3 */
.section-title {
  margin: 10px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 780px;
  color: var(--fg);
}

.section-head.compact {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.section-head.compact h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

/* Admin chrome — same tokens as storefront */
.admin-layout {
  background: transparent;
}
.sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  padding: 22px 16px 28px;
  border-right: 1px solid var(--border);
  background: oklch(100% 0.004 88 / .88);
  backdrop-filter: blur(18px);
}
.sidebar .brand {
  font-size: 22px;
  padding: 4px 10px 8px;
}
.sidebar .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}
.sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}
.sidebar a {
  padding: 11px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  transition: background .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.sidebar a.active,
.sidebar a:hover {
  color: var(--fg);
  background: oklch(96% 0.022 84);
}
.sidebar a.active {
  box-shadow: inset 0 0 0 1px oklch(88% 0.03 70 / .55);
  background: oklch(95% 0.028 78);
}
.design-subnav {
  display: grid;
  gap: 3px;
  margin: 2px 0 8px 10px;
  padding-left: 12px;
  border-left: 2px solid oklch(90% 0.02 78);
}
.design-subnav a {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 620;
}

.admin-main {
  padding: 28px 30px 48px;
  max-width: 1280px;
}
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid oklch(90% 0.016 75 / .7);
}
.admin-head > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.admin-head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}
.admin-head p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
  font-size: 14.5px;
}
.admin-actions {
  gap: 8px;
}
.admin-actions .btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
}
.admin-actions .language-switcher-static {
  min-height: 40px;
  font-size: 11px;
  max-width: 14ch;
}

.admin-page > .panel,
.admin-split > .panel {
  padding: 22px 24px;
}
.admin-page h3,
.admin-split h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.015em;
}
.admin-page .grid.cols-2,
.admin-page .grid.cols-3,
.admin-page .grid.cols-4 {
  gap: 16px;
}

.metric {
  padding: 18px 20px;
  gap: 8px;
  min-height: 118px;
  transition: transform .16s var(--ease-soft), box-shadow .16s var(--ease-soft), border-color .16s var(--ease-soft);
}
.metric:hover {
  transform: translateY(-2px);
  border-color: oklch(84% 0.04 42);
}
.metric .small {
  color: var(--muted);
  font-weight: 680;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 11px;
}
.metric strong {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -0.03em;
  font-weight: 600;
  line-height: 1;
}

/* Alert / health panels — replace one-off red borders */
.panel.alert,
.panel.alert-warn {
  border-color: oklch(82% 0.06 55);
  background:
    linear-gradient(180deg, oklch(98% 0.02 55 / .55), oklch(100% 0.003 88 / .9));
  box-shadow: 0 1px 0 oklch(100% 0 0 / .7), var(--shadow-soft);
}
.panel.alert-danger {
  border-color: oklch(78% 0.08 25);
  background: linear-gradient(180deg, oklch(98% 0.02 25 / .5), oklch(100% 0.003 88 / .9));
}
.panel.alert .section-head.compact,
.panel.alert-warn .section-head.compact {
  margin-bottom: 10px;
}
.alert-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--fg);
}
.alert-meta {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.settings-block {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 1px solid oklch(92% 0.012 78);
}
.settings-block:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.settings-block h4.small,
.settings-block-title {
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-actions-center {
  justify-content: center;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.field-pair .input {
  width: 100%;
}

.footer-blurb {
  margin-top: 14px;
  max-width: 45ch;
  color: var(--muted);
  font-size: 14.5px;
}

.narrow-panel {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.narrow-panel .hero-actions {
  justify-content: center;
}

.table-wrap {
  border-radius: 16px;
  border: 1px solid oklch(92% 0.012 78 / .9);
  background: oklch(100% 0.002 88 / .5);
}
.table th,
.table td {
  padding: 13px 14px;
}
.table th {
  background: oklch(97% 0.012 86 / .85);
  position: sticky;
  top: 0;
  z-index: 1;
}
.table tbody tr:last-child td {
  border-bottom: 0;
}

.panel > .grid > p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  border-bottom: 1px solid oklch(93% 0.01 78 / .85);
  font-size: 14px;
}
.panel > .grid > p:last-child {
  border-bottom: 0;
}

/* Forms: equal vertical rhythm */
.panel form.grid,
form.grid {
  gap: 14px;
}
.field span {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
}
.input,
.select,
.textarea {
  border-radius: 14px;
  border-color: var(--border);
  background: oklch(100% 0.002 88);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: oklch(78% 0.05 55);
  box-shadow: 0 0 0 3px oklch(90% 0.04 55 / .55);
}

.checkbox-line {
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}
.checkbox-line a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.inline-form,
.product-admin-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-input {
  width: 104px;
  min-height: 38px;
}

.mini-select {
  min-height: 38px;
  min-width: 150px;
}

.compact-action {
  min-height: 38px;
  padding-inline: 13px;
  font-size: 13px;
}

.compact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.review-pending {
  border-left: 3px solid #c89679;
  background: rgba(200, 150, 121, 0.08);
}

.compact-check {
  min-height: 38px;
  margin: 0;
  white-space: nowrap;
}

.stock-workspace,
.order-detail {
  display: grid;
  gap: 22px;
}

.stock-workspace,
.stock-workspace > .panel,
.stock-workspace > .grid {
  min-width: 0;
  max-width: 100%;
}

.stock-workspace > .panel {
  overflow: hidden;
}

.stock-workspace .table-wrap {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.stock-workspace .table {
  min-width: 920px;
}

.stock-adjust-form {
  display: grid;
  grid-template-columns: 94px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 360px;
}

.stock-reason-input {
  min-height: 38px;
}

.order-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.order-detail-head h3 {
  margin: 6px 0 0;
}

.order-status-stack {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-list,
.timeline-list {
  display: grid;
  gap: 12px;
}

.detail-list p,
.timeline-list p {
  margin: 0;
  display: grid;
  gap: 4px;
}

.detail-list span,
.timeline-list span {
  color: var(--muted);
  font-size: 13px;
}

.order-timeline-grid {
  align-items: start;
}

.order-workspace,
.customer-workspace,
.customer-detail,
.category-workspace {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.order-toolbar .filters {
  display: grid;
  align-items: end;
  justify-content: stretch;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr)) minmax(104px, auto) minmax(118px, auto);
  gap: 12px;
}

.order-toolbar .filters .field {
  min-width: 0;
}

.order-toolbar .filters .btn {
  width: 100%;
  min-height: 48px;
  align-self: end;
  padding-inline: 16px;
  white-space: nowrap;
}

.order-toolbar .filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, max-content));
  align-items: center;
  justify-content: start;
  gap: 8px;
  margin-top: 14px;
}

.order-toolbar .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.order-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.order-pagination .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.order-filter-form .field,
.customer-workspace .filters .field {
  margin: 0;
}

.order-card-grid,
.customer-card-grid,
.category-list {
  display: grid;
  gap: 14px;
}

.order-card,
.customer-card,
.category-editor {
  display: grid;
  gap: 16px;
}

.order-card-top,
.category-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.order-card-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-card-body p,
.order-card-items span {
  margin: 0;
}

.order-card-body p {
  display: grid;
  gap: 3px;
}

.order-card-body span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.order-card-body small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.order-card-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card-items span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  background: var(--surface);
  font-size: 13px;
}

.order-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.order-operations-form {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.queue-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.queue-row .chip .badge {
  display: inline-block;
  min-width: 18px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.queue-row .chip.warn .badge {
  background: rgba(192, 60, 40, 0.18);
  color: #b33220;
}
.refund-form {
  gap: 10px;
}
.refund-form .field {
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
}
.compact-action {
  white-space: nowrap;
}
.mini-select {
  max-width: 180px;
}

.customer-notes-list {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 16px;
}

.category-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface);
}

.admin-review-row {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
}

.sidebar nav a.active {
  background: oklch(93% 0.034 44);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px oklch(78% 0.04 60 / .18);
}

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.toast.error {
  border-color: oklch(70% 0.08 25);
  background: oklch(99% 0.014 25);
}

.language-menu [aria-selected="true"] {
  background: oklch(93% 0.034 44);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px oklch(60% 0.12 25 / .14);
}

.product-card [data-wishlist].active {
  background: oklch(96% 0.031 16);
  border-color: oklch(82% 0.055 13);
}

.product-command-center {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.product-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: oklch(99% 0.01 88);
}

.product-command-center .product-command-head h3,
.product-command-center .product-panel-top h3 {
  margin: 0;
}

.product-command-actions {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(168px, auto) auto;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.product-search {
  min-width: 0;
}

.product-search .input,
.product-command-actions .select {
  width: 100%;
}

.product-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 16px;
  align-items: start;
}

.product-command-center .product-list-panel,
.product-command-center .product-detail-panel {
  min-width: 0;
}

.product-command-center .product-list-head {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 104px 96px 72px 72px 74px;
  gap: 8px;
  padding: 0 10px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-command-center .product-list {
  display: grid;
  gap: 8px;
}

.product-command-center .product-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 390px) minmax(64px, auto);
  gap: 10px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.product-command-center .product-row.selected {
  border-color: var(--success);
  box-shadow: 0 0 0 3px oklch(62% 0.1 145 / .12);
}

.product-command-center .product-row[hidden] {
  display: none;
}

.product-command-center .product-row-select {
  min-height: 48px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.product-command-center .product-row-select img,
.product-command-center .product-panel-media img,
.product-command-center .media-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: oklch(94% 0.02 88);
}

.product-command-center .product-row-select img {
  width: 48px;
  height: 48px;
}

.product-command-center .product-row-select strong,
.product-command-center .product-row-select small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-command-center .product-quick-form {
  display: grid;
  grid-template-columns: minmax(84px, 1fr) minmax(76px, .9fr) 64px 64px 52px;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.product-command-center .product-quick-form .mini-input {
  width: 100%;
}

.product-command-center .mini-field {
  min-width: 0;
  gap: 3px;
}

.product-command-center .mini-field span {
  font-size: 11px;
  line-height: 1.2;
}

.product-command-center .toggle-pill {
  position: relative;
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(98% 0.01 88);
  color: var(--fg);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
  padding-inline: 8px;
}

.product-command-center .toggle-pill.on,
.product-command-center .toggle-pill:has(input:checked) {
  border-color: oklch(70% 0.075 145);
  background: oklch(94% 0.04 145);
}

.product-command-center .toggle-pill:has(input:focus-visible) {
  outline: 3px solid oklch(66% 0.085 42 / .42);
  outline-offset: 2px;
}

.product-command-center .toggle-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-command-center .product-detail-panel {
  position: sticky;
  top: 16px;
}

.product-command-center .product-panel-form {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.product-command-center .product-panel-form[hidden] {
  display: none;
}

.product-command-center .product-panel-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.product-command-center .product-panel-media {
  display: grid;
  gap: 8px;
}

.product-command-center .product-panel-media > img {
  aspect-ratio: 16 / 10;
  max-height: 230px;
}

.product-command-center .product-panel-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-command-center .product-panel-tab {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: oklch(98% 0.01 88);
  color: var(--fg);
  font-size: 12px;
  font-weight: 720;
  cursor: pointer;
}

.product-command-center .product-panel-tab.active {
  background: oklch(38% 0.085 145);
  border-color: oklch(38% 0.085 145);
  color: white;
}

.product-command-center .product-panel-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.product-command-center .product-panel-form.is-enhanced .product-panel-section:not(.active),
.product-command-center .product-panel-section[hidden] {
  display: none;
}

.product-command-center .media-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.product-command-center .media-preview-grid img,
.product-command-center .media-preview-grid span {
  width: 100%;
  aspect-ratio: 1;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: oklch(98% 0.01 88);
}

.product-command-center .media-preview-grid span {
  display: grid;
  place-items: center;
  padding: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.product-command-center .product-panel-actions {
  display: flex;
  justify-content: end;
  gap: 8px;
  padding-top: 4px;
  flex-wrap: wrap;
}

@media (max-width: 1500px) {
  .product-command-center .product-command-grid {
    grid-template-columns: 1fr;
  }

  .product-command-center .product-detail-panel {
    position: static;
  }
}

@media (max-width: 1400px) {
  .product-command-center .product-command-grid {
    grid-template-columns: 1fr;
  }

  .product-command-center .product-detail-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .hero-grid, .grid.cols-2, .grid.cols-3, .grid.cols-4, .footer-grid, .admin-layout { grid-template-columns: 1fr; }
  .purchase-finder,
  .conversion-row { grid-template-columns: 1fr; }
  .finder-actions { justify-content: flex-start; }
  .product-layout { grid-template-columns: 1fr; }
  .product-info { position: static; }
  .checkout-layout > aside { position: static; }
  .product-media-main { min-height: clamp(360px, 76vw, 560px); }
  .delivery-card { grid-template-columns: 1fr; }
  .editorial-strip,
  .surface-map {
    grid-template-columns: 1fr;
  }
  .nav-links { display: none; }
  .mobile-menu-button { display: grid; flex: 0 0 auto; }
  .mobile-nav-panel:not([hidden]) { display: grid; }
  .storybook,
  .hero-product-photo,
  .hero-carousel { min-height: 520px; }
  .carousel-viewport { min-height: 468px; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); }
  .sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .sidebar {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .newsletter-panel,
  .contacts-panel,
  .range-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    justify-content: flex-start;
  }

  .age-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bestsellers-grid { grid-template-columns: 1fr; }
  .bestsellers-side { grid-template-rows: none; }
  .craft-band { grid-template-columns: 1fr; gap: 24px; }
  .feature-book-body { padding: 22px; }
  .quick-actions { opacity: 1; transform: none; }

  .account-main {
    grid-column: auto;
  }

  .product-command-center .product-command-head,
  .product-command-center .product-command-actions,
  .product-command-center .product-command-grid,
  .product-command-center .product-row,
  .product-command-center .product-quick-form,
  .product-command-center .product-panel-top {
    grid-template-columns: 1fr;
  }

  .product-command-center .product-command-head,
  .product-command-center .product-command-actions,
  .product-command-center .product-panel-top {
    align-items: stretch;
  }

  .product-command-center .product-command-actions {
    justify-content: stretch;
  }

  .product-command-center .product-command-grid,
  .product-command-center .product-quick-form {
    display: grid;
  }

  .product-command-center .product-list-head {
    display: none;
  }

  .product-command-center .product-detail-panel {
    position: static;
  }

  .product-command-center .product-command-actions .btn {
    width: 100%;
  }

  .stock-workspace > .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .order-toolbar .filters,
  .order-card-body {
    grid-template-columns: 1fr;
  }

  .order-card-top,
  .category-editor-head,
  .order-card-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell, .wide-shell { width: min(100% - 24px, 1180px); }
  .section { padding: 58px 0; }
  .nav-inner { min-height: 66px; gap: 10px; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .nav-actions .btn.gold {
    min-width: 62px;
    padding: 0 9px;
    gap: 4px;
    font-size: 0;
    white-space: nowrap;
  }
  .nav-actions .btn.gold::before {
    content: "Košík";
    font-size: 12px;
  }
  .nav-actions .btn.gold [data-cart-count] {
    font-size: 12px;
  }
  .language-switcher summary { min-width: 44px; height: 44px; }
  .nav-actions .language-switcher-static {
    width: 44px;
    min-width: 44px;
    justify-content: center;
    padding-inline: 0;
  }
  .nav-actions .language-switcher-static .language-current {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    font-size: 0;
  }
  .nav-actions .language-switcher-static .language-current::before {
    content: attr(data-short-label);
    font-size: 12px;
  }
  .language-menu { right: -8px; width: min(188px, calc(100vw - 28px)); }
  .brand { gap: 8px; font-size: 20px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 12px; }
  .brand-mark::after { width: 12px; height: 12px; right: 6px; top: 6px; }
  .mobile-nav-panel { width: min(100% - 24px, 1180px); }
  h1 { font-size: 48px; }
  h2 { font-size: 38px; }
  .hero { padding-top: 40px; }
  .panel { padding: 20px; }
  .feature-book-foot { flex-direction: column; align-items: stretch; }
  .feature-book-foot .btn { width: 100%; }
  .home-hero-badge { padding: 6px 12px; font-size: 13px; }
  .closing-strip { gap: 12px 20px; }
  .editorial-strip { gap: 26px; padding: 30px 0; }
  .principle-list p,
  .surface-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .surface-feature {
    min-height: 310px;
    padding: 24px;
  }
  .product-section { padding-top: 34px; }
  .product-layout { gap: 24px; }
  .product-media-main { min-height: 340px; }
  .hero-product-photo img,
  .carousel-slide img { min-height: 420px; }
  .carousel-slide img { padding: 16px; }
  .carousel-viewport { min-height: 428px; }
  .carousel-controls { padding-inline: 12px; }
  .carousel-btn { width: 38px; height: 38px; }
  .product-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-thumb .product-cover { width: min(58%, 96px); }
  .purchase-box { grid-template-columns: 1fr; }
  .qty-control { width: 100%; grid-template-columns: 1fr 1fr 1fr; }
  .sticky-buy {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: none;
    width: auto;
    max-width: 680px;
    margin: 0 auto;
    z-index: 80;
    border-radius: 18px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 10px;
  }
  .sticky-buy div { min-width: 0; }
  .sticky-buy strong,
  .sticky-buy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sticky-buy .btn {
    width: auto;
    min-width: 132px;
    padding: 0 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero-actions .btn { width: 100%; }
  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .product-link { padding: 4px 0; }
  .filters { align-items: stretch; }
  .filter-row, .filters .select { width: 100%; }
  .admin-main { padding: 18px; }
  .order-toolbar .filters .btn,
  .customer-workspace .filters .btn,
  .order-card-actions .btn,
  .order-card-actions .inline-form,
  .order-card-actions .select {
    width: 100%;
  }

  .order-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .page-title {
    font-size: 44px;
  }

  .checkout-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .checkout-item > b {
    grid-column: 2;
  }

  .promo-line,
  .newsletter-form {
    flex-direction: column;
  }

  .promo-line .btn,
  .newsletter-form .btn,
  .compact-input {
    width: 100%;
    max-width: none;
  }

  .dialog-actions {
    flex-direction: column-reverse;
  }

  .admin-review-row,
  .inline-form,
  .product-admin-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-head {
    display: grid;
    align-items: start;
  }

  .admin-main {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .admin-page,
  .admin-split,
  .admin-page > .panel,
  .admin-split > .panel {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .sidebar {
    position: static;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 16px 14px 18px;
    backdrop-filter: none;
  }

  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
    gap: 6px;
  }

  .sidebar a {
    text-align: center;
    font-size: 13px;
    padding: 10px 8px;
  }

  .admin-main {
    padding: 18px 16px 36px;
  }

  .admin-head h1 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .field-pair {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 0;
  }

  .mini-input,
  .mini-select,
  .compact-action {
    width: 100%;
  }

  .product-command-center {
    gap: 12px;
  }

  .product-command-head,
  .product-command-center .product-panel-form {
    padding: 12px;
  }

  .product-command-grid {
    gap: 12px;
  }

  .product-command-center .product-row {
    padding: 10px;
  }

  .product-command-center .product-row-select {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .product-command-center .product-row-select img {
    width: 44px;
    height: 44px;
  }

  .product-command-center .media-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-command-center .product-panel-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-command-center .product-panel-actions .btn {
    width: 100%;
  }

  .stock-workspace .table {
    min-width: 760px;
  }
}

@media (hover: none), (pointer: coarse) {
  .product-card .quick-actions {
    display: grid;
    opacity: 1;
    transform: none;
    min-width: 44px;
    min-height: 44px;
  }
  .product-card .quick-actions .icon-btn {
    display: grid;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .nav-inner {
    gap: 4px;
  }

  .brand {
    gap: 7px;
    font-size: 19px;
    min-width: 0;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 12px;
  }

  .brand-mark::after {
    width: 12px;
    height: 12px;
    right: 6px;
    top: 6px;
  }

  .nav-actions {
    gap: 4px;
    flex: 0 0 auto;
  }

  .mobile-menu-button,
  .nav-actions .icon-btn,
  .nav-actions .language-switcher summary {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .nav-actions .btn.gold {
    min-width: 56px;
    min-height: 40px;
    padding: 0 7px;
    gap: 3px;
    white-space: nowrap;
  }
}

/* CR-10/UX-1: mobile checkout summary shown directly before the confirm CTA so
   the customer sees the total before submitting. Hidden on wider screens where
   the side aside summary is already visible alongside the form. */
.mobile-confirm-summary {
  display: none;
}
@media (max-width: 860px) {
  .mobile-confirm-summary {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: var(--cream, #f4dfd2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 8px 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }
  .mobile-confirm-summary .summary-total {
    font-size: 1.15rem;
    font-weight: 700;
  }
  .mobile-confirm-summary .small {
    color: #5a5650;
  }
  .mobile-confirm-summary .repricing-notice {
    color: #9a6b1f;
    font-weight: 600;
  }
}

/* PhoneHub quiet-premium authentication and administration */
.auth-body {
  --auth-canvas: #f7f7f5;
  --auth-ink: #111111;
  --auth-line: #dededb;
  --auth-muted: #656563;
  --auth-focus: #005fcc;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--auth-canvas);
  color: var(--auth-ink);
  font-family: Manrope, Inter, Arial, sans-serif;
}

.auth-body .auth-shell {
  display: grid;
  grid-template-rows: 68px minmax(0, 1fr);
  place-items: stretch;
  width: 100%;
  min-height: 100vh;
  padding-block: 0;
}

.auth-body .section {
  min-height: 100vh;
  display: grid;
  padding: 0;
}

.auth-body .auth-topbar {
  display: grid;
  grid-template-columns: auto max-content;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 68px;
  padding: 0 32px;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--auth-line);
  backdrop-filter: blur(14px);
}

.auth-body .auth-topbar .phonehub-brand {
  flex: 0 0 auto;
}

.auth-body .auth-storefront-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex: 0 0 auto;
  color: #111111;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.auth-body .auth-storefront-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-body .auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(456px, 0.88fr);
  width: 100%;
  min-width: 0;
  min-height: 100%;
  height: 100%;
}

.auth-body .auth-stage-visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 100%;
  background: #f3f3f1;
}

.auth-body .auth-stage-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgb(255 255 255 / 62%));
}

.auth-body .auth-stage-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: multiply;
}

.auth-body .auth-stage-copy {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 34rem;
  padding: 48px 40px;
}

.auth-body .auth-stage-headline {
  margin: 0;
  color: var(--auth-ink);
  font: 800 clamp(36px, 4.2vw, 64px)/0.98 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.075em;
}

.auth-body .auth-stage-lede {
  max-width: 34ch;
  margin: 18px 0 0;
  color: var(--auth-muted);
  font-size: 16px;
  line-height: 1.55;
}

.auth-body .auth-stage-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 48px 32px;
  background: #ffffff;
  border-left: 1px solid var(--auth-line);
}

.auth-body .auth-card {
  width: min(456px, 100%);
  padding: 8px 0 0;
  gap: 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.auth-body .auth-notice {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--auth-line);
  border-radius: 10px;
  background: #f7f7f5;
  color: var(--auth-ink);
  font-size: 13px;
  line-height: 1.45;
}

.auth-body .auth-shop-fallback {
  display: none;
}

.auth-body .auth-card .phonehub-brand-horizontal {
  display: block;
  width: 156px;
  min-width: 156px;
  height: 32px;
  max-width: none;
  object-fit: contain;
}

.auth-body .auth-card .phonehub-brand-mark {
  display: none;
}

.auth-body .auth-card .page-title {
  max-width: 12ch;
  margin: 4px 0 8px;
  color: var(--auth-ink);
  font: 700 40px/1.08 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.035em;
}

.auth-body .auth-card .field {
  gap: 7px;
}

.auth-body .auth-card .field > span {
  color: var(--auth-ink);
  font-size: 13px;
  font-weight: 600;
}

.auth-body .auth-card .input {
  min-height: 42px;
  height: 42px;
  border-color: var(--auth-line);
  border-radius: 10px;
  background: #f7f7f5;
  color: var(--auth-ink);
}

.auth-body .auth-card .input:focus-visible {
  border-color: var(--auth-focus);
  box-shadow: 0 0 0 3px rgba(0, 95, 204, .16);
  outline: none;
}

.auth-body .auth-card .btn {
  min-height: 44px;
  border-color: var(--auth-ink);
  border-radius: 10px;
  background: var(--auth-ink);
  color: #ffffff;
  box-shadow: none;
}

.auth-body .auth-card .btn:focus-visible {
  outline: 3px solid rgba(0, 95, 204, .28);
  outline-offset: 2px;
}

.auth-body .auth-card .small {
  margin: 2px 0 0;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.5;
}

.admin-body {
  --admin-canvas: #f7f7f5;
  --admin-surface: #ffffff;
  --admin-ink: #111111;
  --admin-muted: #656563;
  --admin-line: #dededb;
  --admin-blue: #005fcc;
  --admin-blue-soft: #edf4ff;
  background: var(--admin-canvas);
  color: var(--admin-ink);
  font: 400 14px/1.5 Manrope, Inter, Arial, sans-serif;
}

.admin-body .admin-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
  background: var(--admin-canvas);
}

.admin-body .admin-mobile-bar,
.admin-body .admin-nav-close,
.admin-body .admin-nav-backdrop {
  display: none;
}

.admin-body .sidebar {
  position: sticky;
  top: 0;
  z-index: 2;
  align-self: start;
  height: 100vh;
  padding: 20px 14px 24px;
  overflow-y: auto;
  border: 0;
  border-right: 1px solid var(--admin-line);
  background: var(--admin-surface);
  backdrop-filter: none;
}

.admin-body .admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px;
}

.admin-body .admin-sidebar-kicker {
  margin: 8px 8px 0;
  color: var(--admin-blue);
  font: 800 11px/1.4 Manrope, Inter, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-body .sidebar .brand {
  padding: 0;
  font: inherit;
}

.admin-body .sidebar .phonehub-brand-horizontal,
.admin-body .admin-mobile-bar .phonehub-brand-horizontal {
  display: block;
  width: 148px;
  height: auto;
}

.admin-body .sidebar .phonehub-brand-mark,
.admin-body .admin-mobile-bar .phonehub-brand-mark {
  display: none;
}

.admin-body .sidebar nav {
  display: grid;
  gap: 20px;
  margin-top: 22px;
}

.admin-body .admin-nav-group {
  display: grid;
  gap: 5px;
}

.admin-body .admin-nav-group-label {
  margin: 0;
  padding: 0 12px;
  color: var(--admin-muted);
  font: 700 11px/1.4 Manrope, Inter, Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-body .admin-nav-group-links {
  display: grid;
  gap: 2px;
}

.admin-body .sidebar a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--admin-muted);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
  transition: background-color .14s ease, color .14s ease;
}

.admin-body .sidebar a:hover {
  background: #f2f2ef;
  color: var(--admin-ink);
}

.admin-body .sidebar a.active,
.admin-body .sidebar nav a.active,
.admin-body .sidebar a[aria-current="page"] {
  background: var(--admin-blue-soft);
  color: #064a99;
  box-shadow: inset 2px 0 0 var(--admin-blue);
}

.admin-body .design-subnav {
  margin: 2px 0 4px 12px;
  padding-left: 8px;
  border-left: 1px solid var(--admin-line);
}

.admin-body .design-subnav a {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12.5px;
}

.admin-body .admin-main {
  width: 100%;
  max-width: 1320px;
  padding: 24px 24px 48px;
  overflow: visible;
}

.admin-body .admin-page {
  gap: 18px;
}

.admin-body .admin-split,
.admin-body .admin-page .grid.cols-2,
.admin-body .admin-page .grid.cols-3,
.admin-body .admin-page .grid.cols-4 {
  gap: 16px;
}

.admin-body .admin-head {
  gap: 18px;
  margin-bottom: 14px;
  padding-bottom: 16px;
  border-color: var(--admin-line);
}

.admin-body .admin-head > div:first-child {
  gap: 5px;
}

.admin-body .admin-head h1 {
  color: var(--admin-ink);
  font: 700 clamp(30px, 3vw, 36px)/1.08 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.035em;
}

.admin-body .admin-head p {
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-body .eyebrow {
  color: var(--admin-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.admin-body .admin-page > .panel,
.admin-body .admin-split > .panel,
.admin-body .metric {
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: var(--admin-surface);
  box-shadow: none;
}

.admin-body .admin-page h3,
.admin-body .admin-split h3,
.admin-body .section-head.compact h3 {
  color: var(--admin-ink);
  font: 700 18px/1.25 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.015em;
}

.admin-body .metric {
  min-height: 108px;
  gap: 8px;
  transition: border-color .14s ease;
}

.admin-body .metric:hover {
  transform: none;
  border-color: var(--admin-line);
  box-shadow: none;
}

.admin-body .metric strong {
  color: var(--admin-ink);
  font: 700 clamp(28px, 2.8vw, 32px)/1 Manrope, Inter, Arial, sans-serif;
  letter-spacing: -.035em;
}

.admin-body .metric .small,
.admin-body .small {
  color: var(--admin-muted);
}

.admin-body .status {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: auto;
  padding: 4px 8px;
  border: 1px solid var(--admin-line);
  border-radius: 10px;
  background: #f2f2ef;
  color: var(--admin-muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-body .status.ok {
  background: #f2f2ef;
  color: var(--admin-ink);
}

.admin-body .status.warn {
  background: #fff8ee;
  color: #6b4e16;
}

.admin-body .status.new {
  background: var(--admin-blue-soft);
  color: #064a99;
}

.admin-body .status.danger {
  background: #f8eceb;
  color: #8a2b22;
}

.admin-body .panel.alert-warn,
.admin-body .panel.alert {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  box-shadow: none;
}

.admin-body .product-command-center {
  gap: 16px;
}

.admin-body .product-command-center .product-command-head,
.admin-body .product-command-center .product-list-panel,
.admin-body .product-command-center .product-detail-panel,
.admin-body .product-command-center .product-row {
  border-color: var(--admin-line);
  border-radius: 10px;
  background: var(--admin-surface);
  box-shadow: none;
}

.admin-body .product-command-center .product-row.selected {
  border-color: var(--admin-ink);
  box-shadow: inset 2px 0 0 var(--admin-ink);
}

.admin-body .product-command-center .product-panel-tab.active,
.admin-body .product-command-center .toggle-pill.on,
.admin-body .product-command-center .toggle-pill:has(input:checked) {
  background: var(--admin-ink);
  color: #ffffff;
}

.admin-body .btn,
.admin-body .input,
.admin-body .select,
.admin-body .mini-input,
.admin-body .mini-select,
.admin-body .compact-action {
  min-height: 38px;
  border-radius: 9px;
}

.admin-body .btn {
  padding-inline: 13px;
  box-shadow: none;
}

.admin-body .btn.gold {
  border-color: var(--admin-ink);
  background: var(--admin-ink);
  color: #ffffff;
}

.admin-body .btn.secondary {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  color: var(--admin-ink);
}

.admin-body .input,
.admin-body .select,
.admin-body .textarea {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  color: var(--admin-ink);
}

.admin-body :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(0, 95, 204, .25);
  outline-offset: 2px;
}

.admin-body .input:focus,
.admin-body .select:focus,
.admin-body .textarea:focus {
  border-color: var(--admin-blue);
  box-shadow: 0 0 0 3px rgba(0, 95, 204, .14);
}

.admin-body .table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  border-color: var(--admin-line);
  border-radius: 12px;
  background: var(--admin-surface);
}

.admin-body .table th,
.admin-body .table td {
  height: 46px;
  padding: 10px 12px;
  border-color: var(--admin-line);
}

.admin-body .table th {
  background: #f2f2ef;
  color: var(--admin-muted);
}

.admin-body .table tbody tr:hover {
  background: #f8f8f6;
  box-shadow: none;
}

@media (min-width: 981px) {
  .admin-body .admin-mobile-bar,
  .admin-body .admin-nav-close,
  .admin-body .admin-nav-backdrop {
    display: none;
  }
}

@media (max-width: 980px) {
  .auth-body .auth-topbar {
    padding: 0 16px;
  }

  .auth-body .auth-stage {
    grid-template-columns: 1fr;
    grid-template-rows: min(28vh, 220px) minmax(0, 1fr);
  }

  .auth-body .auth-stage-panel {
    padding: 28px 16px 40px;
    border-left: 0;
    border-top: 1px solid var(--auth-line);
  }

  .auth-body .auth-stage-copy {
    padding: 20px 16px;
  }

  .auth-body .auth-stage-headline {
    font-size: 28px;
  }

  .auth-body .auth-stage-lede {
    display: none;
  }

  .admin-body .admin-layout {
    display: block;
    min-height: 100vh;
  }

  .admin-body .sidebar {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 16px 14px 24px;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid var(--admin-line);
    transform: none;
  }

  .admin-body.admin-nav-enhanced .admin-mobile-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, .96);
  }

  .admin-body .admin-mobile-bar .phonehub-brand-horizontal {
    display: none;
  }

  .admin-body .admin-mobile-bar .phonehub-brand-mark {
    display: block;
    width: 32px;
    height: 32px;
  }

  .admin-body.admin-nav-enhanced .admin-nav-toggle,
  .admin-body.admin-nav-enhanced .admin-nav-close {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--admin-line);
    border-radius: 9px;
    background: var(--admin-surface);
    color: var(--admin-ink);
    cursor: pointer;
    font-weight: 650;
  }

  .admin-body .admin-nav-toggle {
    padding: 0 12px;
  }

  .admin-body .admin-nav-close {
    width: 44px;
    padding: 0;
    flex: 0 0 auto;
  }

  .admin-body.admin-nav-enhanced .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(86vw, 320px);
    height: 100dvh;
    max-height: none;
    padding: 16px 14px 24px;
    overflow-y: auto;
    border: 0;
    border-right: 1px solid var(--admin-line);
    transform: translateX(-100%);
    transition: transform .2s ease;
  }

  .admin-body .sidebar nav {
    grid-template-columns: 1fr;
    margin-top: 18px;
    gap: 18px;
  }

  .admin-body .sidebar a {
    min-height: 44px;
    padding: 8px 12px;
    text-align: left;
  }

  body.admin-nav-open {
    overflow: hidden;
  }

  .admin-body.admin-nav-enhanced.admin-nav-open .sidebar {
    transform: translateX(0);
  }

  .admin-body .admin-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: none;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(17, 17, 17, .32);
    cursor: pointer;
  }

  .admin-body.admin-nav-enhanced.admin-nav-open .admin-nav-backdrop {
    display: block;
  }

  .admin-body .admin-main {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 36px;
    overflow-x: clip;
  }

  .admin-body .admin-head h1 {
    font-size: clamp(28px, 8vw, 32px);
  }

  .admin-body .admin-page,
  .admin-body .admin-split,
  .admin-body .admin-page > .panel,
  .admin-body .admin-split > .panel {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .auth-body .auth-topbar .phonehub-brand {
    width: 32px;
    overflow: hidden;
  }

  .auth-body .auth-topbar .phonehub-brand-horizontal {
    display: none;
  }

  .auth-body .auth-topbar .phonehub-brand-mark {
    display: block;
    width: 32px;
    height: 32px;
  }

  .auth-body .auth-stage {
    grid-template-rows: 1fr;
  }

  .auth-body .auth-stage-visual {
    display: none;
  }

  .auth-body .auth-card {
    padding: 24px 0 0;
  }

  .auth-body .auth-card .page-title {
    font-size: 32px;
  }

  .auth-body .auth-shop-fallback {
    display: block;
    margin: 4px 0 0;
  }

  .admin-body .admin-nav-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .admin-body .admin-nav-toggle {
    width: 44px;
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-body .sidebar {
    transition-duration: .01ms;
  }
}
