:root {
  --ink: #111612;
  --muted: #555b4c;
  --paper: #f3efe4;
  --paper-strong: #ebe4d4;
  --olive: #77713d;
  --olive-dark: #4f4d29;
  --line: #d7cfba;
  --dark: #101713;
  --dark-soft: #1b241e;
  --product-stage: #ede5d5;
  --product-stage-light: #f8f3e8;
  --danger: #a54232;
  --ok: #416c4d;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --focus: #d7c85f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: #fff;
  background: var(--dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header, .admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 0 clamp(24px, 3vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(16, 23, 19, .97);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #bbb16b;
  border: 1px solid #807a43;
  font-size: 11px;
  font-weight: 900;
}
.brand b {
  display: block;
  line-height: 1;
  font-size: 18px;
  letter-spacing: .04em;
}
.brand small {
  display: block;
  margin-top: 5px;
  color: #aeb3aa;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #d9ddd6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.main-nav a:hover { color: #c7bd73; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.phone {
  text-align: right;
  font-weight: 900;
  font-size: 14px;
}
.phone small {
  display: block;
  margin-top: 3px;
  color: #aeb3aa;
  font-size: 10px;
  font-weight: 500;
}

.btn {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--olive);
  background: var(--olive);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  box-shadow: 0 10px 24px rgba(89,87,47,.18);
  transform: translateY(-1px);
}
.btn.is-added {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}
.btn-muted { background: #77713d; border-color: #77713d; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.38);
}
.btn-outline {
  color: var(--olive-dark);
  background: transparent;
  border-color: var(--olive);
}
.btn-outline:hover { color: #fff; }

.cart-button {
  min-height: 42px;
  padding: 0 14px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cart-button span {
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--olive);
}
.cart-button.cart-updated {
  animation: cartPulse .52s ease;
  border-color: rgba(199,189,115,.72);
}

.cart-feedback {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  min-width: min(340px, calc(100vw - 32px));
  padding: 12px 12px 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #fff;
  background: #121914;
  border: 1px solid rgba(199,189,115,.42);
  box-shadow: 0 18px 42px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.cart-feedback.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-feedback span {
  font-size: 13px;
  font-weight: 900;
}
.cart-feedback button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(199,189,115,.7);
  background: transparent;
  color: #d9d18d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes hero-content-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 7vh, 90px) clamp(24px, 3vw, 64px);
  background: #08100d;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,10,8,.96) 0%, rgba(6,10,8,.82) 34%, rgba(6,10,8,.52) 62%, rgba(6,10,8,.24) 100%),
    linear-gradient(0deg, rgba(6,10,8,.34), rgba(6,10,8,.08));
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: saturate(.9);
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 500ms ease-out, transform 700ms cubic-bezier(.22, 1, .36, 1);
}
.hero.is-media-ready .hero-media {
  opacity: 1;
  transform: scale(1);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.js .hero-kicker,
.js .hero h1,
.js .hero p,
.js .hero-benefits,
.js .hero-actions {
  opacity: 0;
  transform: translateY(16px);
}
.hero.is-content-ready .hero-kicker,
.hero.is-content-ready h1,
.hero.is-content-ready p,
.hero.is-content-ready .hero-benefits,
.hero.is-content-ready .hero-actions {
  animation: hero-content-enter 450ms cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero.is-content-ready h1 { animation-delay: 70ms; }
.hero.is-content-ready p { animation-delay: 140ms; }
.hero.is-content-ready .hero-benefits { animation-delay: 210ms; }
.hero.is-content-ready .hero-actions { animation-delay: 280ms; }
.hero-kicker {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 12px;
  color: #d7cf87;
  background: rgba(16, 23, 19, .62);
  border: 1px solid rgba(199,189,115,.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(50px, 4.8vw, 86px);
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero p {
  max-width: 680px;
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.6;
  text-transform: uppercase;
}
.hero-benefits {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 22px;
}
.hero-benefits > span {
  min-height: 84px;
  padding-top: 18px;
  border-top: 1px solid rgba(193,184,107,.65);
  color: #dfe2dc;
  line-height: 1.45;
}
.hero-benefits small {
  display: block;
  color: inherit;
  font-size: inherit;
}
.hero-benefits b {
  display: block;
  color: #fff;
  font-size: 22px;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.38);
  background: rgba(16,23,19,.34);
  transform: translateX(-50%);
  font-size: 22px;
}

.section {
  width: min(1840px, 100%);
  margin: 0 auto;
  padding: clamp(76px, 6vw, 118px) clamp(28px, 5vw, 96px);
  scroll-margin-top: 96px;
}
.upper-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b120f;
  color: #f4f2ea;
}
.upper-story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 12%, rgba(138,132,70,.18), transparent 26%),
    radial-gradient(circle at 80% 36%, rgba(255,255,255,.06), transparent 28%),
    linear-gradient(180deg, rgba(8,16,13,.98) 0%, rgba(10,18,15,.94) 46%, rgba(8,16,13,.98) 100%),
    linear-gradient(90deg, rgba(8,16,13,.95), rgba(8,16,13,.72) 46%, rgba(8,16,13,.92));
}
.upper-story::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(243,239,228,.1) 78%, var(--paper));
}
.category-section {
  position: relative;
  padding-top: 78px;
  padding-bottom: 64px;
  color: #f4f2ea;
}
.section-head {
  margin-bottom: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 2.5vw, 44px);
  letter-spacing: .02em;
  text-transform: uppercase;
}
.section-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}
.section-kicker {
  margin: 0 0 10px;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-head a, .section-head.compact button {
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.category-section .section-head {
  position: relative;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
}
.category-section .section-head h2 {
  color: #f7f5ed;
}
.category-section .section-head a {
  position: absolute;
  right: 0;
  color: #c7bd73;
}
.category-section .section-head a:hover {
  color: #eee5a0;
}
.compact { margin-bottom: 14px; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #101713;
  text-align: left;
}
.category-section .category-card {
  border: 1px solid rgba(199,189,115,.24);
  box-shadow: 0 22px 52px rgba(0,0,0,.28);
}
.category-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: .84;
  transition: transform .45s ease, opacity .25s ease;
}
.category-card:hover img { opacity: .96; transform: scale(1.045); }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,0) 62%);
}
.category-section .category-card::after {
  background:
    linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.22) 58%, rgba(0,0,0,.08)),
    linear-gradient(90deg, rgba(6,10,8,.42), transparent 58%);
}
.category-card span {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 1;
  color: #fff;
  display: grid;
  gap: 8px;
}
.category-card span b {
  font-size: clamp(21px, 1.6vw, 28px);
  font-weight: 900;
  text-transform: uppercase;
}
.category-card span small {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  font-weight: 650;
  text-transform: none;
}

.why-band {
  position: relative;
  padding: 92px clamp(28px, 5vw, 96px) 110px;
  background: linear-gradient(180deg, #f8f4ea, var(--paper));
  color: var(--ink);
  text-align: center;
}
.why-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: rgba(199,189,115,.34);
  pointer-events: none;
}
.why-band h2 {
  margin: 0 0 46px;
  font-size: clamp(34px, 2.5vw, 44px);
  text-transform: uppercase;
}
.why-grid {
  width: min(1648px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.why-grid div, .step-grid div {
  display: grid;
  gap: 10px;
  line-height: 1.4;
}
.why-grid div {
  min-width: 0;
  grid-column: span 2;
  padding: 14px 14px 24px;
  background: #fff8ec;
  border: 1px solid var(--line);
  text-align: left;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.why-grid div:nth-last-child(-n + 2) {
  grid-column: span 3;
}
.why-grid div:hover {
  background: #fffaf1;
  border-color: #c8bd9a;
  box-shadow: 0 14px 30px rgba(45,42,31,.1);
}
.why-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  margin-bottom: 4px;
}
.why-grid b { color: var(--ink); font-size: 20px; }
.why-grid span { color: var(--muted); font-size: 16px; }

.client-section {
  padding-top: 70px;
  padding-bottom: 70px;
}
.hits-section {
  padding-top: 62px;
  padding-bottom: 62px;
  background: linear-gradient(180deg, #f8f4ea, var(--paper));
}
.hits-section .section-head a {
  color: var(--olive-dark);
}
.hits-shell {
  position: relative;
}
.hits-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hits-grid::-webkit-scrollbar {
  display: none;
}
.hit-card {
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: #e9e2d1;
  border: 1px solid #d5cbb6;
  transition: border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.hit-card:hover {
  background: #ece5d6;
  border-color: #bfb48f;
  box-shadow: 0 12px 28px rgba(45,42,31,.11);
}
.hit-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  text-decoration: none;
  background:
    radial-gradient(circle at 50% 40%, var(--product-stage-light) 0 34%, transparent 68%),
    linear-gradient(145deg, #e6dcc8, var(--product-stage));
}
.hit-image::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(89,87,47,.16);
  box-shadow: inset 0 0 34px rgba(45,42,31,.08);
}
.hit-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hit-body {
  padding: 22px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}
.hit-body h3 {
  min-height: 58px;
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}
.hit-body span {
  color: var(--muted);
  font-size: 14px;
}
.hit-body b {
  font-size: 28px;
}
.hit-body .mini-btn {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
  background: transparent;
}
.hit-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid #bcb28f;
  background: #f7f1e6;
  color: var(--olive-dark);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}
.hit-prev { left: 10px; }
.hit-next { right: 10px; }
.client-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.client-grid article {
  min-width: 0;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background: #111813;
  border: 1px solid #625f43;
  isolation: isolate;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.client-grid article:hover {
  border-color: #a99f68;
  box-shadow: 0 20px 46px rgba(45,42,31,.2);
  transform: translateY(-4px);
}
.client-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
}
.client-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(7,11,9,.02) 24%, rgba(7,11,9,.32) 52%, rgba(7,11,9,.96) 100%);
  pointer-events: none;
}
.client-grid article:hover img { transform: scale(1.045); filter: saturate(1.08); }
.client-card-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 32px;
  color: #fff;
}
.client-card-copy h3 {
  max-width: 640px;
  margin: 0 0 10px;
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.1;
  text-transform: uppercase;
}
.client-card-copy > p:not(.client-pick) { max-width: 620px; margin: 0; color: #e4e6df; font-size: 17px; line-height: 1.5; }
.client-pick {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  color: #e8eadf;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0;
  transition: max-height .38s ease, margin .38s ease, padding .38s ease, opacity .28s ease;
}
.client-grid article:hover .client-pick {
  max-height: 160px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.28);
  opacity: 1;
}
.client-pick b { display: block; margin-bottom: 6px; color: #e7dd85; text-transform: uppercase; }
.client-section-actions { margin-top: 24px; }

.filters {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.catalog-page {
  min-height: 70vh;
}
.full-catalog-section {
  padding-top: 74px;
}
.catalog-hero-head {
  align-items: flex-end;
}
.catalog-hero-head h1 {
  margin: 0;
  font-size: clamp(42px, 4vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}
.catalog-tools {
  margin-bottom: 16px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 12px;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.catalog-tools label,
.catalog-search-row label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.catalog-search-row input,
.catalog-tools select {
  min-height: 42px;
  background: #f7f1e6;
}
.catalog-search-row {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 12px;
  align-items: end;
}
.catalog-filter-toggle {
  min-height: 44px;
  padding: 0 18px;
  display: none;
  border: 1px solid var(--olive);
  background: #fff8ec;
  color: var(--olive-dark);
  font-weight: 900;
}
.active-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--olive);
  border-radius: 999px;
  background: #fff8ec;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 800;
}
.catalog-error-state,
.catalog-empty-state {
  grid-column: 1 / -1;
}
.product-skeleton {
  min-height: 480px;
  padding: 14px;
  gap: 14px;
}
.skeleton-media,
.skeleton-line {
  background: #ddd5c3;
}
.skeleton-media { min-height: 260px; }
.skeleton-line { width: 68%; height: 16px; }
.skeleton-line-wide { width: 92%; height: 24px; }
.catalog-summary {
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.filter {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #fffaf0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.filter.active {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 20px;
  padding-top: 8px;
}
.product-strip {
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.product-strip::-webkit-scrollbar { display: none; }
.product-strip .product-card { scroll-snap-align: start; }
.product-card {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #e9e2d1;
  border: 1px solid #d5cbb6;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.product-card:hover {
  border-color: #bfb48f;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(45,42,31,.16);
}
.catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
  padding: 34px;
  background: #fff8ec;
  border: 1px dashed #cfc5ae;
}
.catalog-empty-state b,
.admin-empty-state b {
  color: var(--ink);
  font-size: 20px;
}
.catalog-empty-state p,
.admin-empty-state p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.product-image {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, var(--product-stage-light) 0 34%, transparent 68%),
    linear-gradient(145deg, #e5dcc8, var(--product-stage));
  text-decoration: none;
  width: 100%;
  border: 0;
  color: inherit;
}
.product-media {
  position: relative;
  flex: 0 0 auto;
}
.product-image::before {
  content: "";
  position: absolute;
  inset: 10px;
  pointer-events: none;
  border: 1px solid rgba(89,87,47,.18);
  box-shadow:
    inset 0 0 34px rgba(45,42,31,.08),
    inset 0 -34px 58px rgba(89,87,47,.08);
}
.product-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  padding: 6px 8px;
  color: #fff;
  background: rgba(16,23,19,.9);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-image img {
  position: absolute;
  inset: 8px;
  z-index: 1;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .42s ease, filter .22s ease;
}
.card-photo-zoom {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(16,23,19,.9);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: zoom-in;
}
.card-photo-zoom:hover { background: var(--olive); }
.product-card:hover .product-image img {
  transform: scale(1.035);
}
.card-gallery-controls {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.card-gallery-controls button,
.gallery-nav {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(16,23,19,.72);
  border: 1px solid rgba(255,255,255,.28);
  cursor: pointer;
  pointer-events: auto;
}
.card-gallery-controls button:hover,
.gallery-nav:hover {
  background: rgba(16,23,19,.92);
}
.product-body {
  padding: 16px;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
}
.variant-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
  align-items: center;
}
.variant-swatch {
  min-width: 44px;
  min-height: 44px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #b9af96;
  background: #fff8ec;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.variant-swatch.active {
  border-color: var(--olive);
  box-shadow: inset 0 0 0 2px rgba(119,113,61,.18);
}
.variant-swatch-dot {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff8ec;
  outline: 1px solid #9e947d;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.variant-options {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #eee6d7;
  border: 1px solid #d7ccb4;
}
.variant-options-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}
.variant-options-head b {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}
.variant-options-head span {
  text-align: right;
}
.tag {
  width: fit-content;
  padding: 4px 8px;
  color: #fff;
  background: var(--dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.dialog-category {
  align-self: start;
  height: 28px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.product-card h3 {
  min-height: 68px;
  margin: 0;
  color: #070b09;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: 0;
}
.specs {
  display: grid;
  grid-template-columns: minmax(112px, max-content) minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 7px;
  margin: 2px 0 0;
  padding: 12px;
  color: var(--ink);
  font-family: "Bahnschrift", "Arial Narrow", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .01em;
  background: rgba(255,250,241,.42);
  border: 1px solid rgba(199,189,115,.24);
}
.specs dt,
.specs dd {
  margin: 0;
}
.product-card .specs {
  grid-template-columns: minmax(100px, max-content) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 6px;
  font-size: 14px;
  line-height: 1.35;
}
.product-card .variant-swatches {
  min-height: 112px;
  align-content: start;
}
.spec-label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.spec-value {
  min-width: 0;
  color: #3f453d;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.dialog-product .specs {
  grid-template-columns: minmax(136px, max-content) minmax(0, 1fr);
  font-size: 13px;
  background: #fffaf1;
}
.unit-price {
  margin-top: auto;
  display: grid;
  gap: 3px;
  padding: 16px;
  background: #fff8ec;
  border: 1px solid #cfc3a7;
  box-shadow: inset 4px 0 0 var(--olive);
}
.unit-price span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.unit-price b {
  font-size: 32px;
  line-height: 1;
}
.catalog-cta-card {
  min-height: 100%;
  padding: clamp(28px, 3vw, 46px);
  justify-content: space-between;
  gap: 34px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 86% 12%, rgba(215,206,124,.2), transparent 30%),
    linear-gradient(145deg, #111813, #303824);
  border-color: #565b3d;
}
.catalog-cta-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215,206,124,.5);
  color: #e7dd85;
  font-size: 42px;
}
.catalog-cta-card > div { display: grid; gap: 14px; }
.catalog-cta-card > div > span { color: #d7ce7c; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.catalog-cta-card h3 { min-height: 0; color: #fff; font-size: clamp(28px, 2.4vw, 40px); line-height: 1.05; text-transform: uppercase; }
.catalog-cta-card p { margin: 0; color: #d5d8d0; font-size: 17px; line-height: 1.6; }
.catalog-cta-card .btn { width: 100%; }
.availability-line {
  color: #315b3c;
  font-size: 13px;
  font-weight: 800;
}
.stock-line {
  color: var(--ok);
  font-size: 12px;
  font-weight: 900;
}
.qty-picker {
  height: 38px;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  border: 1px solid #c9bd9f;
  background: #f7f1e6;
}
.qty-picker button {
  border: 0;
  background: transparent;
  color: var(--olive-dark);
  font-size: 18px;
  font-weight: 900;
}
.qty-picker input {
  min-height: 0;
  height: 36px;
  padding: 0 8px;
  border-width: 0 1px;
  border-color: #c9bd9f;
  text-align: center;
  background: transparent;
  font-weight: 900;
}
.dialog-qty {
  max-width: 220px;
}
.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.cart-add-action[hidden] {
  display: none;
}
.card-qty-control {
  min-height: 44px;
  display: grid;
  grid-template-columns: 44px minmax(52px, 1fr) 44px;
  align-items: center;
  border: 1px solid var(--olive);
  background: #f7f1e6;
}
.card-qty-control[hidden] {
  display: none;
}
.card-qty-control button {
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--olive-dark);
  font-size: 18px;
  font-weight: 900;
}
.card-qty-control button:hover {
  background: rgba(138,132,70,.12);
}
.card-qty-control span {
  min-width: 0;
  display: grid;
  place-items: center;
  height: 100%;
  border-left: 1px solid rgba(138,132,70,.34);
  border-right: 1px solid rgba(138,132,70,.34);
  color: var(--ink);
  font-weight: 900;
}
.square-btn {
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive-dark);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}
.details-btn {
  min-width: 98px;
  padding: 0 10px;
  font-size: 11px;
  text-transform: uppercase;
}

.product-page {
  padding: 112px max(24px, calc((100vw - 1540px) / 2)) 70px;
  background: var(--paper);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a {
  color: var(--olive-dark);
  font-weight: 800;
  text-decoration: none;
}
.product-detail {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: start;
}
.product-detail-gallery,
.product-detail-copy,
.product-commerce-column {
  min-width: 0;
}
.product-commerce-column {
  position: sticky;
  top: 92px;
  display: grid;
  background: #fff8ec;
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(34,31,21,.08);
}
.product-detail-gallery {
  position: relative;
  display: block;
  padding-left: 98px;
  align-items: start;
}
.product-detail-gallery.single-image {
  padding-left: 0;
}
.product-detail-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 42%, var(--product-stage-light) 0 32%, transparent 68%),
    linear-gradient(145deg, #e4dac6, var(--product-stage));
  border: 1px solid rgba(89,87,47,.18);
  color: inherit;
  cursor: zoom-in;
}
.product-detail-stage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-detail-thumbs {
  position: absolute;
  inset: 0 auto 0 0;
  width: 86px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-right: 4px;
  overflow-y: auto;
}
.product-detail-thumbs button {
  padding: 0;
  background: transparent;
  border: 2px solid transparent;
  cursor: pointer;
}
.product-detail-thumbs button.active {
  border-color: var(--olive);
}
.product-detail-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 8px;
  background: transparent;
  mix-blend-mode: multiply;
  border: 1px solid var(--line);
}
.gallery-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  background: rgba(16,23,19,.82);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.product-detail-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 30px 18px;
  background: transparent;
  border: 0;
}
.product-detail-copy h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.product-title-block {
  display: grid;
  gap: 16px;
}
.product-key-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-key-facts span {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8ceb8;
  background: #f4ecdd;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.product-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.product-summary-item {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  background: #f4ecdd;
  border: 1px solid #d8ceb8;
}
.product-summary-item span,
.product-spec-row span,
.purchase-price span,
.purchase-note span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-summary-item b,
.product-spec-row b {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}
.product-spec-table {
  display: grid;
  border: 1px solid #d8ceb8;
  background: #fffaf1;
}
.product-spec-row {
  display: grid;
  grid-template-columns: minmax(150px, .5fr) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px solid #e0d5bd;
  font-size: 15px;
}
.product-spec-row:last-child {
  border-bottom: 0;
}
.product-dimensions-row {
  grid-column: 1 / -1;
}
.product-dimensions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.product-dimensions > span {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: #f4ecdd;
  border: 1px solid #ded2b8;
  font-size: 16px;
}
.product-dimensions small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-page-variant {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-page-variant select,
.product-page-actions input {
  min-height: 44px;
  border: 1px solid #c9bd9f;
  background: #f7f1e6;
}
.product-variant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.product-variant-button {
  min-height: 46px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #c9bd9f;
  background: #f7f1e6;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}
.product-variant-button:hover,
.product-variant-button.active {
  border-color: var(--olive);
  background: #ece4d0;
}
.product-variant-button.active {
  box-shadow: inset 0 0 0 2px rgba(138,132,70,.18);
}
.variant-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff8ec;
  outline: 1px solid #a79d81;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.15);
}
.product-purchase-panel {
  position: static;
  display: grid;
  gap: 14px;
  padding: 18px 30px 30px;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.purchase-price,
.purchase-note {
  display: grid;
  gap: 6px;
}
.purchase-price b {
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}
.purchase-note {
  padding: 12px;
  background: #f4ecdd;
  border: 1px solid #d8ceb8;
}
.purchase-note b {
  color: var(--ink);
}
.product-page-actions {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 0;
  align-items: stretch;
}
.product-page-actions input {
  padding: 0 10px;
  text-align: center;
  font-weight: 900;
  border-left: 0;
  border-right: 0;
  appearance: textfield;
  -moz-appearance: textfield;
}
.product-page-actions input::-webkit-outer-spin-button,
.product-page-actions input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.qty-button {
  min-height: 44px;
  border: 1px solid #c9bd9f;
  background: #e9e0ce;
  color: var(--olive-dark);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.purchase-benefits {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0 0 18px;
  color: var(--muted);
  line-height: 1.45;
}
.product-info-tabs {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.product-info-tablist {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.product-info-tablist [role="tab"] {
  min-height: 48px;
  padding: 0 18px;
  flex: 0 0 auto;
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}
.product-info-tablist [role="tab"][aria-selected="true"] {
  color: var(--ink);
  background: #fff8ec;
  border-color: var(--line);
  box-shadow: inset 0 -3px 0 var(--olive);
}
.product-info-tabs article {
  padding: 26px;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.product-info-tabs h2 {
  margin: 0 0 14px;
  font-size: 24px;
  text-transform: uppercase;
}
.product-info-tabs p {
  max-width: none;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.product-spec-table-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-spec-table-wide .product-spec-row:nth-last-child(2) {
  border-bottom: 0;
}
.product-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.product-terms-grid div {
  display: grid;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  background: #f4ecdd;
  border: 1px solid #d8ceb8;
}
.product-terms-grid b {
  color: var(--ink);
  text-transform: uppercase;
}
.product-terms-grid span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.steps { padding-top: 96px; }
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-grid div {
  min-height: 260px;
  padding: 30px;
  background: #fff8ec;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.step-grid span { color: var(--muted); }
.step-number {
  color: var(--olive) !important;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}
.step-grid b { font-size: 22px; }
.step-grid div > span:last-child { font-size: 16px; line-height: 1.55; }

.assortment-advice {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 6vw, 96px);
  align-items: center;
  background: linear-gradient(135deg, #121914, #2a3222);
  color: #fff;
}
.assortment-advice-copy h2 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(36px, 3vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
}
.assortment-advice-copy > p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 0 30px;
  color: #d5d8d0;
  font-size: 18px;
  line-height: 1.65;
}
.assortment-advice .section-kicker { color: #d7ce7c; }
.assortment-advice-grid { display: grid; gap: 14px; }
.assortment-advice-grid article {
  display: grid;
  gap: 8px;
  padding: 24px 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(215,206,124,.28);
}
.assortment-advice-grid b { font-size: 21px; text-transform: uppercase; }
.assortment-advice-grid span { color: #d5d8d0; font-size: 16px; line-height: 1.55; }

.faq-section {
  padding-top: 8px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.faq-grid details {
  background: #fff8ec;
  border: 1px solid var(--line);
}
.faq-grid summary {
  min-height: 64px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 900;
  cursor: pointer;
}
.faq-grid summary::after {
  content: "+";
  color: var(--olive-dark);
  font-size: 22px;
}
.faq-grid details[open] summary::after {
  content: "-";
}
.faq-grid p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.55;
}

.lead-section {
  margin: 20px 0 0;
  padding: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  background: linear-gradient(90deg, #121914, #2b3323 54%, #101713);
  color: #fff;
}
.lead-section h2 { margin: 0 0 10px; text-transform: uppercase; }
.lead-section p { margin: 0; color: #d5d8d0; }

.footer {
  padding: 36px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  background: var(--dark);
  color: #fff;
}
.footer p { color: #c7ccc3; line-height: 1.6; }
.admin-link { color: #c7bd73; font-weight: 900; }

.drawer,
.order-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background: rgba(0,0,0,.58);
  backdrop-filter: blur(5px);
}
.drawer.open,
.order-modal.open {
  display: flex;
  animation: modalFade .18s ease both;
}
.drawer-panel,
.order-modal-panel {
  width: min(760px, 100%);
  max-height: min(820px, calc(100svh - 48px));
  overflow: auto;
  padding: 28px;
  background: #f7f1e6;
  border: 1px solid rgba(199,189,115,.42);
  box-shadow: 0 32px 80px rgba(0,0,0,.42);
  animation: modalLift .22s ease both;
}
.drawer-head,
.order-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-head h2,
.order-modal-head h2 { margin: 0; text-transform: uppercase; }
.icon-button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}
.cart-items {
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  background: #fffaf1;
  border: 1px solid var(--line);
}
.cart-row img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #eee6d7;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
}
.cart-total {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}
.order-progress {
  padding: 14px;
  border: 1px solid #c9bd9f;
  background: #f4ecdd;
  color: var(--olive-dark);
  font-weight: 800;
  line-height: 1.45;
}
.order-progress[data-reached="true"] {
  border-color: var(--ok);
  color: #315b3c;
  background: #edf4e9;
}
.order-minimum-hint {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.btn:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .55;
  transform: none;
  box-shadow: none;
}
.order-form, .admin-form, .admin-login form {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
input, textarea, select {
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid #cfc5ae;
  background: #fffaf1;
  color: var(--ink);
}
textarea { min-height: 96px; resize: vertical; }
.form-message { min-height: 20px; color: var(--ok); font-weight: 800; }
.form-message.error { color: var(--danger); }

.product-dialog {
  width: min(1120px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: #f7f1e6;
  color: var(--ink);
}
.product-dialog::backdrop { background: rgba(0,0,0,.62); }
.photo-viewer {
  width: min(1320px, calc(100vw - 32px));
  height: min(900px, calc(100vh - 32px));
  padding: 24px 76px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  background: #111612;
  color: #fff;
}
.photo-viewer::backdrop { background: rgba(5,8,6,.88); }
.photo-viewer-stage {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}
.photo-viewer-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-viewer-stage figcaption {
  align-self: end;
  color: #d9ddd6;
  font-size: 13px;
}
.photo-viewer-close,
.photo-viewer-nav {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(16,23,19,.86);
  color: #fff;
  font-size: 28px;
}
.photo-viewer-close { right: 16px; top: 16px; }
.photo-viewer-nav { top: 50%; transform: translateY(-50%); }
.photo-viewer-prev { left: 16px; }
.photo-viewer-next { right: 16px; }
.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #f7f1e6;
}
.dialog-product {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 560px;
}
.dialog-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 560px;
  background: var(--product-stage);
}
.dialog-product .image {
  position: relative;
  min-height: 560px;
  padding: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, var(--product-stage-light) 0 32%, transparent 68%),
    linear-gradient(145deg, #e4dac6, var(--product-stage));
}
.dialog-product .image::before {
  content: "";
  position: absolute;
  inset: 18px;
  pointer-events: none;
  border: 1px solid rgba(89,87,47,.16);
  box-shadow:
    inset 0 0 52px rgba(45,42,31,.09),
    inset 0 -44px 70px rgba(89,87,47,.08);
}
.dialog-product .image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid rgba(0,0,0,.08);
}
.gallery-thumbs button {
  width: 62px;
  height: 50px;
  padding: 0;
  border: 2px solid transparent;
  background: var(--product-stage);
  cursor: pointer;
}
.gallery-thumbs button.active {
  border-color: var(--olive);
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.dialog-product .copy {
  padding: 34px;
  display: grid;
  gap: 14px;
}
.dialog-product h2 { margin: 0; font-size: 32px; }

.admin-body { background: #eee7d8; }
[hidden] { display: none !important; }
.admin-header { position: static; }
.admin-shell {
  width: min(1420px, 100%);
  margin: 0 auto;
  padding: 30px 24px 60px;
}
.admin-login {
  width: min(430px, 100%);
  margin: 70px auto;
  padding: 26px;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.admin-login h1 { margin: 0 0 14px; }
.muted { color: var(--muted); }
.admin-tabs {
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}
.tab {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff8ec;
  font-weight: 900;
  text-transform: uppercase;
}
.tab.active {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}
.admin-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 24px;
  align-items: start;
}
.admin-form {
  margin: 0;
  padding: 22px;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.admin-form h2 { margin: 0; }
.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check-line {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check-line input { width: auto; min-height: auto; }
.form-actions {
  display: flex;
  gap: 10px;
}
.admin-list, .order-list {
  display: grid;
  gap: 12px;
}
.admin-product, .admin-order {
  padding: 14px;
  display: grid;
  grid-template-columns: 86px minmax(260px, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.admin-product.inactive { opacity: .55; }
.admin-product img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  background: #eee6d7;
}
.admin-product h3, .admin-order h3 {
  max-width: 320px;
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.2;
}
.admin-product p, .admin-order p { margin: 0; color: var(--muted); line-height: 1.5; }
.code-field {
  min-height: 150px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
}
.cart-variant {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  max-width: 250px;
}
.mini-btn {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--olive);
  background: transparent;
  color: var(--olive-dark);
  font-size: 12px;
  font-weight: 900;
}
.danger { border-color: var(--danger); color: var(--danger); }
.danger-action {
  flex-basis: 100%;
  margin-top: 4px;
  border-style: dashed;
}
.status {
  width: 160px;
  min-height: 36px;
  padding: 0 8px;
}
.admin-order {
  grid-template-columns: 1fr auto;
}

.admin-workspace {
  display: grid;
  gap: 16px;
}
.admin-toolbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) 180px 160px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
#ordersTab .admin-toolbar {
  grid-template-columns: minmax(260px, 1fr) 190px auto;
}
.admin-summary {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 800;
}

.import-workspace { display: grid; gap: 18px; }
.import-intro,
.import-progress,
.ozon-session-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper, #fff8ec);
}
.import-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); gap: 24px; align-items: end; }
.import-intro > .form-message { grid-column: 1 / -1; }
.import-form { display: grid; gap: 10px; }
.import-form label { display: grid; gap: 7px; }
.import-form input { width: 100%; }
.ozon-session-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.ozon-session-panel p { margin-bottom: 0; }
.session-result {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  min-height: 92px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  background: #211f19;
  color: #f5ecd9;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.import-actions { justify-content: flex-end; }
.import-items { display: grid; gap: 8px; margin-top: 16px; }
.import-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, .6fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-left: 5px solid #8a7d63;
  background: #fffaf1;
}
.import-item.status-completed { border-left-color: #4f7048; }
.import-item.status-failed { border-left-color: #a94332; }
.import-item.status-processing { border-left-color: #aa7a22; }
.import-item > div:first-child { min-width: 0; display: grid; gap: 4px; }
.import-item a { overflow-wrap: anywhere; color: inherit; font-size: .82rem; }
.import-item p { margin: 0; color: var(--muted); }

@media (max-width: 720px) {
  .import-intro { grid-template-columns: 1fr; padding: 18px; }
  .ozon-session-panel { grid-template-columns: 1fr; padding: 18px; }
  .session-result { grid-column: 1; }
  .import-progress { padding: 16px; }
  .import-item { grid-template-columns: 1fr; align-items: start; }
  .import-actions { justify-content: flex-start; }
}
.admin-split {
  display: grid;
  grid-template-columns: minmax(620px, 1.08fr) minmax(420px, .82fr);
  gap: 16px;
  align-items: start;
}
.orders-split {
  grid-template-columns: minmax(420px, .82fr) minmax(560px, 1.18fr);
}
.admin-list-panel,
.admin-editor-panel {
  min-width: 0;
}
.admin-editor-panel {
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 16px;
  background: #fff8ec;
  border: 1px solid var(--line);
}
.empty-panel {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #cfc5ae;
  background: #f7f1e6;
}
.admin-empty-state {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: #fff8ec;
  border: 1px dashed #cfc5ae;
}
.admin-product.selected,
.admin-order.selected {
  border-color: var(--olive);
  box-shadow: 0 10px 24px rgba(45,42,31,.1);
}
.product-editor label,
.order-detail label {
  display: grid;
  gap: 6px;
}
.product-editor label span,
.order-detail label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.editor-head,
.editor-section-head,
.variant-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.editor-head h2,
.editor-section-head h3 {
  margin: 0;
}
.variant-editor-list {
  display: grid;
  gap: 12px;
}
.variant-editor {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #f7f1e6;
  border: 1px solid #d8ceb8;
}
.variant-chip {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swatch);
  border: 2px solid #fff;
  outline: 1px solid #c7bda8;
}
.variant-editor-head {
  justify-content: flex-start;
}
.variant-editor-head .danger {
  margin-left: auto;
}
.variant-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
}
.variant-image,
.upload-slot {
  min-height: 110px;
  display: grid;
  gap: 6px;
  place-items: center;
  padding: 8px;
  background: #fff8ec;
  border: 1px solid #d8ceb8;
}
.variant-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #eee6d7;
}
.upload-slot {
  cursor: pointer;
  color: var(--olive-dark);
  font-weight: 900;
  text-align: center;
  border-style: dashed;
}
.upload-slot input {
  display: none;
}
.status-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.status-counter,
.status-pill {
  padding: 6px 9px;
  border: 1px solid #cfc5ae;
  background: #fff8ec;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}
.status-counter {
  cursor: pointer;
}
.status-counter.active,
.status-pill.processing,
.status-pill.agreed {
  border-color: var(--olive);
  background: #ebe3c4;
}
.status-pill.new { background: #e8efe1; border-color: #a9bd97; }
.status-pill.shipped { background: #e2ebef; border-color: #9fb4bf; }
.status-pill.done { background: #e1efe8; border-color: #93b49f; }
.status-pill.cancelled { background: #f2e1dd; border-color: #c5968d; }
.order-detail {
  display: grid;
  gap: 16px;
}
.order-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.order-contact-grid p,
.client-comment,
.order-items,
.note-row {
  margin: 0;
  padding: 10px;
  background: #f7f1e6;
  border: 1px solid #d8ceb8;
}
.order-contact-grid b,
.client-comment b {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.order-items h3,
.notes-list h3 {
  margin: 0 0 10px;
}
.order-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #d8ceb8;
}
.order-product-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  background: #eee6d7;
  border: 1px solid #d8ceb8;
}
.order-product-card b,
.order-product-card p {
  margin: 0;
}
.order-product-card p,
.order-product-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.order-product-qty {
  white-space: nowrap;
  font-weight: 900;
}
.order-total {
  margin-top: 10px;
  text-align: right;
  font-size: 18px;
}
.note-form,
.notes-list {
  display: grid;
  gap: 10px;
}
.note-row time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}
.note-row p {
  margin: 6px 0 0;
}

.reveal-in {
  opacity: 1;
  transform: none;
  animation: sectionRise .62s ease both;
}
.reveal-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes modalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalLift {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes sectionRise {
  from { opacity: .01; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cartPulse {
  0% { transform: scale(1); }
  42% { transform: scale(1.045); box-shadow: 0 0 0 4px rgba(138,132,70,.18); }
  100% { transform: scale(1); }
}

@media (max-width: 1100px) {
  .site-header {
    position: static;
    padding: 16px 24px;
    flex-wrap: wrap;
  }
  .main-nav { order: 3; width: 100%; justify-content: center; }
  .phone { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-strip {
    grid-template-columns: none;
    grid-auto-columns: minmax(250px, 35vw);
  }
  .catalog-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .hits-grid {
    grid-auto-columns: minmax(220px, 31vw);
  }
  .hit-prev { left: 8px; }
  .hit-next { right: 8px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .product-detail {
    grid-template-columns: 1fr;
  }
  .product-commerce-column {
    position: static;
    order: 1;
  }
  .product-gallery-column { order: 2; }
  .product-page {
    padding-top: 40px;
  }
  .product-purchase-panel {
    position: static;
  }
  .product-spec-table-wide {
    grid-template-columns: 1fr;
  }
  .product-spec-table-wide .product-spec-row:nth-last-child(2) {
    border-bottom: 1px solid #e0d5bd;
  }
  .product-terms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1400px) and (min-width: 1101px) {
  .category-card { min-height: 0; }
}

@media (max-width: 760px) {
  .site-header, .admin-header { padding: 14px 16px; }
  .brand { min-width: auto; }
  .main-nav { display: none; }
  .header-actions { width: 100%; justify-content: space-between; }
  .hero { min-height: calc(100svh - 132px); padding: 44px 20px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(6,10,8,.76), rgba(6,10,8,.88));
  }
  .hero-media { object-position: center; }
  .hero p { font-size: 15px; }
  .hero-kicker { font-size: 10px; line-height: 1.35; }
  .hero-benefits, .category-grid, .step-grid, .footer, .dialog-product, .faq-grid {
    grid-template-columns: 1fr;
  }
  .catalog-search-row { grid-template-columns: 1fr auto; }
  .catalog-filter-toggle { display: block; }
  .catalog-tools { grid-template-columns: 1fr; }
  .catalog-tools[data-expanded="false"] { display: none; }
  .active-filter-chips { margin-bottom: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-strip {
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    overflow: visible;
    scroll-snap-type: none;
    gap: 14px;
  }
  .hits-grid {
    grid-auto-columns: minmax(220px, 78vw);
    gap: 14px;
    padding-bottom: 4px;
  }
  .hit-nav { display: none; }
  .section { padding: 42px 16px; }
  .product-page {
    padding: 18px 16px 42px;
  }
  .breadcrumbs { margin-bottom: 12px; }
  .product-detail-stage {
    width: min(100%, calc(72vh * 3 / 4));
    min-height: 0;
    justify-self: center;
    padding: 12px;
  }
  .product-detail-gallery {
    display: grid;
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .product-detail-thumbs {
    position: static;
    inset: auto;
    width: auto;
    order: 2;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: none;
    padding-right: 0;
    overflow-y: visible;
  }
  .product-detail-stage img {
    width: 100%;
    height: 100%;
  }
  .product-detail-copy {
    gap: 12px;
    padding: 16px 16px 10px;
  }
  .product-title-block { gap: 10px; }
  .product-commerce { gap: 10px; padding: 10px 16px 16px; }
  .product-variant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail-gallery { order: 2; }
  .product-detail-copy h1 {
    font-size: 30px;
  }
  .product-page-actions {
    grid-template-columns: 44px 1fr 44px;
  }
  .product-info-tablist {
    margin: 0 -16px;
    padding: 0 16px;
    scrollbar-width: none;
  }
  .product-info-tablist::-webkit-scrollbar { display: none; }
  .product-info-tablist [role="tab"] { padding: 0 14px; }
  .photo-viewer { padding: 64px 12px 52px; }
  .photo-viewer-nav { top: auto; bottom: 8px; transform: none; }
  .photo-viewer-prev { left: calc(50% - 64px); }
  .photo-viewer-next { right: calc(50% - 64px); }
  .category-section { padding-top: 48px; padding-bottom: 50px; }
  .category-section .section-head { align-items: center; margin-bottom: 20px; }
  .category-section .section-head a { position: static; }
  .category-section .category-card { box-shadow: 0 14px 34px rgba(0,0,0,.22); }
  .section-head { align-items: flex-start; flex-direction: column; }
  .category-card { min-height: 0; }
  .why-band, .lead-section { padding: 36px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .client-grid article { min-height: 520px; transform: none; }
  .client-card-copy { padding: 24px 22px; }
  .client-card-copy h3 { font-size: 25px; }
  .client-card-copy > p:not(.client-pick) { font-size: 16px; }
  .client-pick { max-height: none; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.28); opacity: 1; }
  .assortment-advice { grid-template-columns: 1fr; gap: 34px; }
  .assortment-advice-copy h2 { font-size: 32px; }
  .lead-section { align-items: flex-start; flex-direction: column; }
  .product-card h3 { min-height: auto; font-size: 15px; }
  .specs { font-size: 12px; }
  .card-actions { grid-template-columns: 1fr; }
  .details-btn { display: inline-grid; }
  .cart-row { grid-template-columns: 54px 1fr; }
  .cart-row .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .two-cols { grid-template-columns: 1fr; }
  .admin-product { grid-template-columns: 70px 1fr; }
  .admin-product .row-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .admin-toolbar,
  #ordersTab .admin-toolbar,
  .admin-split,
  .orders-split,
  .order-contact-grid {
    grid-template-columns: 1fr;
  }
  .admin-editor-panel {
    position: static;
    max-height: none;
  }
  .order-product-card {
    grid-template-columns: 64px 1fr;
  }
  .order-product-card strong,
  .order-product-qty {
    grid-column: 2;
  }
  .product-dialog { width: calc(100% - 20px); }
  .order-modal { padding: 12px; align-items: flex-start; }
  .order-modal-panel {
    max-height: calc(100svh - 24px);
    padding: 20px;
  }
  .dialog-product { min-height: 0; }
  .dialog-product .image { min-height: 300px; }
  .dialog-product .copy { padding: 24px; }
}

@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-strip { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .hero-benefits { margin-top: 28px; gap: 10px; }
  .hero-benefits > span { min-height: 0; padding-top: 12px; }
  .btn { width: 100%; }
  .header-actions .btn { display: none; }
  .cart-button { margin-left: auto; }
  .cart-feedback {
    right: 16px;
    bottom: 16px;
    left: 16px;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal-in {
    opacity: 1;
    transform: none;
  }
  .hero-media,
  .hero-kicker,
  .hero h1,
  .hero p,
  .hero-benefits,
  .hero-actions {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}
