/* ---------- Fonts (self-hosted, SIL OFL) ---------- */

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Unbounded";
  src: url("/fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --ink: #120d0a;
  --ink-2: #1c1511;
  --ink-3: #2a2019;
  --ink-line: rgb(255 238 214 / 11%);
  --cream: #f3ebdf;
  --paper: #faf6f0;
  --white: #fffdf9;
  --line: #e2d5c3;
  --text: #1a1410;
  --text-2: #6b5d50;
  --on-dark: #f6ecdf;
  --on-dark-2: #b9a894;
  --amber: #e8a25a;
  --amber-hi: #f2b874;
  --amber-deep: #c47a34;
  --accent-text: #9a5420;
  --success: #3d8a57;
  --danger: #c2412d;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgb(18 13 10 / 6%), 0 6px 16px -6px rgb(18 13 10 / 12%);
  --shadow: 0 2px 6px rgb(18 13 10 / 6%), 0 24px 48px -18px rgb(18 13 10 / 28%);
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-deep);
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.9rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

code {
  font-size: 0.9em;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--text-2);
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--text-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent-text);
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.visually-hidden,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 0.95rem/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn .i-arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .i-arrow {
  transform: translateX(3px);
}

.btn-lg {
  min-height: 56px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 12px 32px -14px rgb(232 162 90 / 80%);
}

.btn-primary:hover {
  background: var(--amber-hi);
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgb(255 238 214 / 22%);
  background: rgb(255 255 255 / 4%);
  color: var(--on-dark);
}

.btn-ghost:hover {
  border-color: rgb(255 238 214 / 45%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.btn-dark {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-dark:hover {
  background: var(--ink-3);
  color: #fff;
}

.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-2);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--danger);
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  background: rgb(255 255 255 / 3%);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.icon-btn:hover {
  border-color: rgb(255 238 214 / 35%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.add-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px 0 9px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font: 700 0.875rem/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}

.add-btn:hover {
  background: var(--amber);
  color: var(--ink);
}

.add-btn:active {
  transform: scale(0.96);
}

.add-btn-icon,
.add-btn-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(255 255 255 / 12%);
}

.add-btn .icon {
  width: 16px;
  height: 16px;
}

.add-btn-done {
  display: none;
}

.add-btn.is-added {
  background: var(--success);
  color: #fff;
}

.add-btn.is-added .add-btn-icon {
  display: none;
}

.add-btn.is-added .add-btn-done {
  display: inline-flex;
}

.add-btn-lg {
  height: 52px;
  padding: 0 22px 0 14px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.95rem;
}

.add-btn-lg:hover {
  background: var(--amber-hi);
}

.add-btn-lg .add-btn-icon {
  background: rgb(18 13 10 / 12%);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(18 13 10 / 86%);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
  text-decoration: none;
}

.logo:hover {
  color: #fff;
}

.logo-text {
  font: 700 1.1rem/1 var(--display);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-text b {
  color: var(--amber);
  font-weight: 700;
}

.logo-text b.gap {
  margin-left: 0.32em;
}

.logo-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: #f6efe5;
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 70%);
}

.logo-tile img {
  width: 33px;
  height: auto;
  transform: translateY(1px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--on-dark-2);
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}

.main-nav a:hover {
  background: rgb(255 255 255 / 6%);
  color: var(--on-dark);
}

.main-nav .main-nav-phone {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  margin-right: 8px;
  color: var(--on-dark);
  font: 700 1.12rem/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--amber);
}

.phone-btn {
  display: none;
  color: var(--amber);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font: 800 0.72rem/18px var(--sans);
  text-align: center;
}

.cart-count[hidden] {
  display: none;
}

.cart-count.bump {
  animation: bump 0.45s var(--ease);
}

@keyframes bump {
  40% {
    transform: scale(1.35);
  }
}

.menu-toggle {
  display: none;
}

.menu-close {
  display: none;
}

.menu-open,
.menu-close {
  line-height: 0;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: clamp(64px, 5vw + 40px, 120px) 0;
}

.section-cream {
  background: var(--cream);
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.section-dark::before,
.hero::before,
.product-hero::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
}

.section-dark .lead {
  color: var(--on-dark-2);
}

.section-dark .kicker,
.hero .kicker,
.product-hero .kicker {
  color: var(--amber);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(28px, 3vw, 48px);
}

.section-head h2 {
  max-width: 16ch;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split-copy h2 {
  max-width: 14ch;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.check-list .icon {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: rgb(232 162 90 / 16%);
  color: var(--amber);
}

.check-list-light .icon {
  background: rgb(196 122 52 / 14%);
  color: var(--amber-deep);
}

.page-top {
  padding-top: clamp(40px, 4vw, 72px);
}

.page-head {
  margin-bottom: 32px;
}

.page-head h1 {
  margin: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 5vw, 80px) 0 clamp(56px, 6vw, 96px);
  background:
    radial-gradient(55% 65% at 75% 58%, rgb(232 162 90 / 26%), transparent 62%),
    radial-gradient(35% 45% at 8% 0%, rgb(196 122 52 / 16%), transparent 70%),
    var(--ink);
  color: var(--on-dark);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
  color: var(--on-dark-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  opacity: 0;
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.hero-title {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 1.3rem + 5vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--amber-hi), var(--amber) 45%, var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 46ch;
  margin-bottom: 36px;
  color: var(--on-dark-2);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin: 48px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--ink-line);
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark-2);
  font-size: 0.88rem;
  line-height: 1.3;
}

.hero-facts .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: rgb(232 162 90 / 12%);
  color: var(--amber);
}

.hero-facts b {
  display: block;
  color: var(--on-dark);
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 12% 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(232 162 90 / 38%), transparent);
  filter: blur(20px);
}

.hero-img {
  position: relative;
  width: 100%;
  animation: float-in 1.1s var(--ease) both;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
}

.hero-chip {
  position: absolute;
  right: 2%;
  top: 2%;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 16px 20px;
  border: 1px solid rgb(255 238 214 / 16%);
  border-radius: var(--radius);
  background: rgb(28 21 17 / 72%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--on-dark);
  text-decoration: none;
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 60%);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.hero-chip:hover {
  border-color: rgb(232 162 90 / 55%);
  color: var(--on-dark);
  transform: translateY(-3px);
}

.hero-chip-label {
  color: var(--amber);
  font: 700 0.68rem/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-chip-name {
  font: 600 1.05rem/1.2 var(--display);
}

.hero-chip-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark-2);
  font-weight: 700;
}

.hero-chip-price .icon {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding: 18px 0;
  background: var(--amber);
  color: var(--ink);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker-track span {
  font: 700 clamp(0.95rem, 0.8rem + 0.5vw, 1.25rem)/1 var(--display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track .icon {
  width: 22px;
  height: 22px;
  opacity: 0.6;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Catalog ---------- */

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.tab {
  padding: 10px 18px;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.tab:hover {
  color: var(--text);
}

.tab[aria-current="page"] {
  background: var(--ink);
  color: var(--on-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(26 20 16 / 6%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 38%, #fff8ee 0%, transparent 70%),
    linear-gradient(180deg, #f1e4d1 0%, #e5d2b8 100%);
}

.card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(0.94);
  transition: transform 0.6s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1) translateY(-6px);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
  font: 700 0.7rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.card-cat {
  margin-bottom: 8px;
  color: var(--text-2);
  font: 700 0.7rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-title {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.card-title a {
  color: var(--text);
  text-decoration: none;
}

.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card {
  position: relative;
}

.card-title a:hover {
  color: var(--accent-text);
}

.card-text {
  flex: 1;
  margin-bottom: 18px;
  color: var(--text-2);
  font-size: 0.93rem;
  line-height: 1.55;
}

.card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.price {
  font: 700 1.12rem/1 var(--display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-xl {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
}

.price-old {
  margin-left: 6px;
  color: var(--text-2);
  font: 500 0.85rem/1 var(--sans);
}

.price-request {
  color: var(--text-2);
  font: 700 0.95rem/1.2 var(--sans);
  letter-spacing: 0;
}

.notice {
  padding: 48px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

/* ---------- Flagship ---------- */

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.flagship-visual {
  position: relative;
  display: block;
}

.flagship-visual img {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.stage-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(232 162 90 / 34%), transparent);
  filter: blur(18px);
}

.flagship-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  background: var(--ink-line);
}

.spec-grid div {
  padding: 18px 20px;
  background: var(--ink);
}

.spec-grid dt {
  margin-bottom: 6px;
  color: var(--on-dark-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 0;
  font: 600 0.98rem/1.35 var(--display);
}

.flagship-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.flagship-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Why ---------- */

.why-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
}

.why-num {
  display: block;
  margin-bottom: 22px;
  color: var(--amber-deep);
  font: 700 0.9rem/1 var(--display);
}

.why-list h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.why-list p {
  margin: 0;
  color: var(--text-2);
}

/* ---------- Info ---------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid rgb(26 20 16 / 6%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.35rem;
}

.info-card p {
  color: var(--text-2);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--amber-deep);
}

.info-icon .icon {
  width: 26px;
  height: 26px;
}

.info-card-accent {
  border-color: transparent;
  background:
    radial-gradient(80% 60% at 100% 0%, rgb(255 255 255 / 30%), transparent 60%),
    var(--amber);
}

.info-card-accent p,
.info-card-accent .info-note {
  color: rgb(18 13 10 / 78%);
}

.info-card-accent .info-icon {
  background: var(--ink);
  color: var(--amber);
}

.info-note {
  margin-top: auto;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: var(--text);
  font: 700 1.05rem/1 var(--display);
  text-decoration: none;
}

.info-link .icon {
  color: var(--amber-deep);
}

.method-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.method-list li {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.method-list b {
  display: block;
  font-size: 0.95rem;
}

.method-list span {
  color: var(--text-2);
  font-size: 0.85rem;
}

/* ---------- Forms ---------- */

.form-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / 55%);
}

.section-paper .form-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-title {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
}

.field-label .icon {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.field-hint {
  color: var(--text-2);
  font-size: 0.8rem;
}

.req {
  color: var(--amber-deep);
}

input:not([type="checkbox"], [type="radio"]),
textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: 500 1rem/1.3 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: #a8998a;
}

textarea {
  resize: vertical;
}

input:not([type="checkbox"], [type="radio"]):focus,
textarea:focus {
  border-color: var(--amber-deep);
  outline: none;
  box-shadow: 0 0 0 4px rgb(232 162 90 / 25%);
}

[aria-invalid="true"] {
  border-color: var(--danger) !important;
}

.field-error,
.error-text {
  color: var(--danger);
  font-size: 0.85rem;
  font-weight: 600;
}

.field-error:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-dark .field-label {
  color: var(--on-dark);
}

.field-dark .muted {
  color: var(--on-dark-2);
  font-weight: 500;
}

.field-dark input {
  border-color: var(--ink-line) !important;
  background: rgb(255 255 255 / 5%) !important;
  color: var(--on-dark) !important;
}

.field-dark input::placeholder {
  color: #8d7d6c;
}

.check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.86rem;
  line-height: 1.5;
  cursor: pointer;
}

.check input {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
}

.check-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid #c9b8a3;
  border-radius: 7px;
  background: #fff;
  color: transparent;
  transition: background-color 0.15s, border-color 0.15s;
}

.check-box .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.check input:checked + .check-box {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--amber);
}

.check input:focus-visible + .check-box {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.check input[aria-invalid="true"] + .check-box {
  border-color: var(--danger);
}

.form-message {
  margin: 0;
  color: var(--success);
  font-weight: 700;
}

.form-message:empty {
  display: none;
}

.form-message.is-error {
  color: var(--danger);
}

.form-note {
  margin: 0;
  color: var(--text-2);
  font-size: 0.86rem;
}

/* ---------- Product page ---------- */

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 clamp(56px, 6vw, 96px);
  background:
    radial-gradient(50% 60% at 25% 55%, rgb(232 162 90 / 22%), transparent 65%),
    var(--ink);
  color: var(--on-dark);
}

.breadcrumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(16px, 3vw, 32px);
  color: var(--on-dark-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--on-dark-2);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--amber);
}

.breadcrumbs [aria-current] {
  color: var(--on-dark);
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.product-stage {
  position: relative;
}

.product-image {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

.thumbs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.thumb {
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink-line);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  cursor: pointer;
}

.thumb[aria-current="true"],
.thumb:hover {
  border-color: var(--amber);
}

.product-info h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.product-short {
  max-width: 46ch;
  color: var(--on-dark-2);
  font-size: 1.1rem;
}

.product-price {
  margin: 28px 0;
}

.product-hero .price-old {
  color: var(--on-dark-2);
}

.buy-form {
  display: grid;
  gap: 18px;
}

.buy-row {
  display: flex;
  gap: 12px;
}

.buy-submit {
  flex: 1;
}

.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgb(255 255 255 / 4%);
}

.stepper button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 54px;
  border: 0;
  background: none;
  color: var(--on-dark);
  cursor: pointer;
}

.stepper button:hover {
  color: var(--amber);
}

.stepper .icon {
  width: 18px;
  height: 18px;
}

.stepper input {
  width: 44px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--on-dark) !important;
  font: 700 1.05rem/1 var(--display) !important;
  text-align: center;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-request {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.product-request p {
  margin: 0;
  color: var(--on-dark-2);
}

.perks {
  display: grid;
  gap: 14px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--ink-line);
  list-style: none;
}

.perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark-2);
  font-size: 0.93rem;
}

.perks .icon {
  color: var(--amber);
}

.perks a {
  color: var(--amber);
}

.product-details {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.prose p,
.prose li {
  color: #3d3229;
  font-size: 1.05rem;
  line-height: 1.75;
}

.prose h2 {
  margin-top: 1.8em;
  font-size: 1.35rem;
}

.specs {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.specs div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  padding: 16px 20px;
}

.specs div + div {
  border-top: 1px solid var(--line);
}

.specs dt {
  color: var(--text-2);
  font-weight: 600;
}

.specs dd {
  margin: 0;
  font-weight: 700;
}

/* ---------- Cart ---------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.panel {
  border: 1px solid rgb(26 20 16 / 6%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.cart-list {
  margin: 0;
  padding: 8px 28px;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 104px 1fr auto auto;
  gap: 16px 24px;
  align-items: center;
  padding: 20px 0;
}

.cart-item + .cart-item {
  border-top: 1px solid var(--line);
}

.cart-thumb {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f1e4d1, #e5d2b8);
  object-fit: cover;
}

.cart-item-info {
  display: grid;
  gap: 4px;
}

.cart-item-name {
  color: var(--text);
  font: 600 1.02rem/1.25 var(--display);
  text-decoration: none;
}

.cart-item-name:hover {
  color: var(--accent-text);
}

.cart-item-meta {
  color: var(--text-2);
  font-size: 0.88rem;
}

.cart-item-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.cart-item-sum {
  font: 700 1.05rem/1 var(--display);
  white-space: nowrap;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
}

.qty button:hover:not(:disabled) {
  color: var(--accent-text);
}

.qty button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty .icon {
  width: 16px;
  height: 16px;
}

.qty-value {
  min-width: 26px;
  font-weight: 800;
  text-align: center;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.summary h2 {
  margin: 0;
  font-size: 1.3rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-2);
}

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.summary-total b {
  font: 700 1.6rem/1 var(--display);
  letter-spacing: -0.02em;
}

.summary-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}

.summary-list img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f1e4d1, #e5d2b8);
}

.summary-list small {
  display: block;
  color: var(--text-2);
}

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(40px, 6vw, 80px) 24px;
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--amber-deep);
}

.empty-icon .icon {
  width: 30px;
  height: 30px;
}

.num {
  text-align: right;
  white-space: nowrap;
}

/* ---------- Checkout ---------- */

.checkout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgb(26 20 16 / 6%);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  float: left;
  width: 100%;
  margin-bottom: 4px;
  font: 600 1.2rem/1 var(--display);
  letter-spacing: -0.02em;
}

.step-title + * {
  clear: both;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  font: 700 0.85rem/1 var(--display);
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.radio-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.radio-card:hover {
  border-color: #cdb79c;
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1.5px solid #c9b8a3;
  border-radius: 50%;
  background: #fff;
  transition: border 0.2s;
}

.radio-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--white);
}

.radio-card input:checked + .radio-dot {
  border: 6px solid var(--ink);
}

.radio-card input:focus-visible + .radio-dot {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.radio-text {
  display: grid;
  gap: 3px;
}

.radio-text span {
  color: var(--text-2);
  font-size: 0.86rem;
}

.radio-text .radio-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}

.radio-address .icon {
  width: 16px;
  height: 16px;
  color: var(--amber-deep);
}

.address-fields {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 16px;
}

.address-fields[hidden],
.cdek-panel[hidden] {
  display: none;
}

.cdek-panel {
  display: grid;
  gap: 12px;
}

.cdek-choice {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cream);
  font-size: 0.92rem;
}

.cdek-choice.is-chosen {
  background: rgb(61 138 87 / 12%);
  color: #23593a;
  font-weight: 600;
}

.cdek-widget {
  width: 100%;
  height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
}

.cdek-widget:empty {
  display: none;
}

.checkout-submit {
  display: grid;
  gap: 16px;
  padding: 4px 4px 0;
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
}

.checkout-summary h2 {
  margin: 0;
  font-size: 1.3rem;
}

.checkout-summary .summary-list small,
.checkout-summary .summary-row {
  color: var(--on-dark-2);
}

.checkout-summary .summary-total {
  border-color: var(--ink-line);
}

.checkout-summary .link-btn {
  color: var(--on-dark-2);
}

.checkout-summary a.link-btn:hover {
  color: var(--amber);
}

/* ---------- Order ---------- */

.success {
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  box-shadow: 0 16px 32px -12px rgb(61 138 87 / 70%);
}

.success-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.order-lines {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.order-lines li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.order-lines small {
  display: block;
  color: var(--text-2);
}

.order-meta {
  display: grid;
  gap: 10px;
  margin: 0 0 32px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
}

.order-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-meta dt {
  color: var(--text-2);
}

.order-meta dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.order-meta small {
  display: block;
  color: var(--text-2);
  font-weight: 500;
}

.order-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.order-total dd {
  font: 700 1.4rem/1 var(--display);
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.big-code {
  margin: 0;
  color: var(--amber-deep);
  font: 800 clamp(5rem, 3rem + 10vw, 10rem)/1 var(--display);
  letter-spacing: -0.06em;
}

/* ---------- Admin ---------- */

.admin h2 {
  margin-top: 48px;
  font-size: 1.5rem;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--paper);
  white-space: nowrap;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill.ok {
  background: rgb(61 138 87 / 14%);
  color: #23593a;
}

.pill.warn {
  background: rgb(232 162 90 / 22%);
  color: #7a4512;
}

.pill.bad {
  background: rgb(194 65 45 / 14%);
  color: var(--danger);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 96px) 0 32px;
  background: var(--ink);
  color: var(--on-dark-2);
}

.site-footer a {
  color: var(--on-dark);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber);
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 8px 0 12px;
}

.footer-phone {
  font: 700 clamp(1.4rem, 1rem + 1.5vw, 2rem)/1 var(--display);
  letter-spacing: -0.02em;
}

.footer-hours {
  margin: 0;
  font-size: 0.9rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--on-dark);
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--on-dark-2);
}

.footer-wordmark {
  position: relative;
  width: 100%;
  height: auto;
  margin: clamp(48px, 6vw, 88px) 0 24px;
  opacity: 0.09;
  user-select: none;
}

.footer-wordmark-text {
  width: auto;
  background: linear-gradient(180deg, rgb(255 238 214 / 100%), rgb(255 238 214 / 25%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: 800 clamp(2.4rem, 10.2vw, 9.6rem)/0.85 var(--display);
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.footer-wordmark-text.wm-m {
  font-size: clamp(1.8rem, 7.6vw, 7.4rem);
}

.footer-wordmark-text.wm-s {
  font-size: clamp(1.4rem, 5.8vw, 5.6rem);
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 0.82rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: calc(100% - 32px);
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--on-dark);
  font-weight: 600;
  box-shadow: 0 24px 48px -16px rgb(0 0 0 / 50%);
  transform: translateX(-50%);
  animation: toast-in 0.35s var(--ease);
}

.toast[hidden] {
  display: none;
}

.toast .icon {
  color: var(--amber);
}

.toast a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* ---------- Reveal on scroll ---------- */

.reveal-init {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ---------- Photos from the storefront ---------- */

.hero-photos {
  position: relative;
  aspect-ratio: 1.12;
}

.hero-photo {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgb(255 238 214 / 14%);
  border-radius: var(--radius-xl);
  background: var(--ink-2);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 75%);
  transition: transform 0.5s var(--ease);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo:hover {
  transform: translateY(-4px);
}

.hero-photo-0 {
  left: 6%;
  top: 4%;
  z-index: 2;
  width: 60%;
  height: 90%;
  animation: float-in 1.1s var(--ease) both;
}

.hero-photo-1 {
  right: 0;
  top: 0;
  z-index: 1;
  width: 38%;
  height: 46%;
  animation: float-in 1.1s 0.15s var(--ease) both;
}

.hero-photo-2 {
  right: 4%;
  bottom: 2%;
  z-index: 3;
  width: 34%;
  height: 42%;
  animation: float-in 1.1s 0.3s var(--ease) both;
}

.hero-photos-1 .hero-photo-0 {
  left: 10%;
  width: 80%;
  height: 92%;
}

.hero-photos ~ .hero-chip {
  top: auto;
  right: auto;
  left: 0;
  bottom: -2%;
  z-index: 4;
}

.card-media.is-photo {
  background: var(--ink-2);
}

.card-media.is-photo img {
  transform: none;
}

.card:hover .card-media.is-photo img {
  transform: scale(1.04);
}

.card-sub {
  margin: -4px 0 8px;
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.flagship-sub,
.product-sub {
  margin: -6px 0 18px;
  color: var(--amber);
  font-weight: 600;
  font-size: 1.05rem;
}

.flagship-visual.is-photo img,
.product-stage.is-photo .product-image {
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgb(255 238 214 / 14%);
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 75%);
}

.flagship-visual.is-photo img {
  max-width: 520px;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.feature-list .icon {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: rgb(196 122 52 / 14%);
  color: var(--amber-deep);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }

  .phone-btn {
    display: inline-flex;
  }

  .main-nav a {
    padding: 10px 10px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 90;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 16px 20px 28px;
    border-bottom: 1px solid var(--ink-line);
    background: var(--ink);
    box-shadow: 0 30px 60px -20px rgb(0 0 0 / 60%);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .main-nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--ink-line);
    color: var(--on-dark);
    font: 600 1.25rem/1.2 var(--display);
  }

  .main-nav a:hover {
    background: none;
    color: var(--amber);
  }

  .main-nav .main-nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    border: 0;
    color: var(--amber);
    font-size: 1.1rem;
  }

  .nav-open .main-nav {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-open .menu-open {
    display: none;
  }

  .nav-open .menu-close {
    display: inline;
  }

  html:not(.js) .main-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hero-grid,
  .split,
  .flagship-grid,
  .product,
  .product-details,
  .cart-layout,
  .checkout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin: 0 -10px;
  }

  .hero-title {
    max-width: none;
  }

  .why-list,
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary,
  .checkout-summary {
    position: static;
  }

  .checkout-summary {
    order: -1;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .logo-tile {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .logo-tile img {
    width: 29px;
  }

  .header-actions {
    gap: 8px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    display: grid;
    gap: 14px;
    margin-top: 36px;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .eyebrow-extra {
    display: none;
  }

  .hero-chip {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    min-width: 0;
    margin: -8px 10px 8px;
    padding: 14px 18px;
  }

  .hero-chip-label {
    flex-basis: 100%;
  }

  .hero-photos ~ .hero-chip {
    position: relative;
    bottom: auto;
    left: auto;
  }

  .grid .card-sub {
    display: none;
  }

  .tabs {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid .card {
    border-radius: 18px;
  }

  .grid .card-body {
    padding: 12px 12px 14px;
  }

  .grid .card-cat,
  .grid .card-text {
    display: none;
  }

  .grid .card-title {
    margin-bottom: 10px;
    font-size: 0.92rem;
  }

  .grid .card-footer {
    flex-wrap: nowrap;
    gap: 8px;
    padding-top: 10px;
  }

  .grid .price {
    font-size: 0.95rem;
  }

  .grid .price-old {
    display: none;
  }

  .grid .price-request {
    font-size: 0.8rem;
  }

  .grid .add-btn {
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
  }

  .grid .add-btn-label {
    display: none;
  }

  .grid .add-btn-icon,
  .grid .add-btn-done {
    background: none;
  }

  .grid .btn-sm {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.75rem;
  }

  .card-badge {
    top: 8px;
    left: 8px;
    padding: 5px 8px;
    font-size: 0.6rem;
  }

  .why-list,
  .info-grid,
  .field-row,
  .address-fields,
  .footer-cols,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 28px 24px;
  }

  .cart-list {
    padding: 4px 18px;
  }

  .cart-item {
    grid-template-columns: 76px 1fr;
    gap: 12px 16px;
  }

  .cart-thumb {
    width: 76px;
    height: 76px;
  }

  .cart-item .qty {
    grid-column: 2;
    justify-self: start;
  }

  .cart-item-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
  }

  .step,
  .summary,
  .checkout-summary {
    padding: 22px 18px;
  }

  .cdek-widget {
    height: 520px;
  }

  .buy-row {
    flex-wrap: wrap;
  }

  .buy-submit {
    flex: 1 1 auto;
  }

  .order-lines li {
    grid-template-columns: 1fr auto;
  }

  .order-lines li .num:first-of-type {
    display: none;
  }

  .toast {
    left: 16px;
    right: 16px;
    max-width: none;
    border-radius: 18px;
    transform: none;
  }

  @keyframes toast-in {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-init {
    opacity: 1;
    transform: none;
  }
}
