/* ============================================================
   Pavilion Four — Tile Care Storefront
   Design system + components + responsive
   ============================================================ */

:root {
  --ink: #17251f;
  --ink-soft: #3f4f47;
  --ink-mute: #6d7a72;
  --jade: #14302a;
  --jade-700: #1d4238;
  --sage: #7d9070;
  --sage-light: #dfe6d8;
  --ivory: #fbf7f0;
  --ivory-2: #f4ede1;
  --ivory-3: #ece3d4;
  --paper: #ffffff;
  --brass: #b4874e;
  --brass-soft: #d9c3a1;
  --clay: #a6402f;
  --line: rgba(23, 37, 31, 0.12);
  --line-strong: rgba(23, 37, 31, 0.24);
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(23, 37, 31, 0.06), 0 8px 24px -16px rgba(23, 37, 31, 0.3);
  --shadow-md: 0 2px 6px rgba(23, 37, 31, 0.07), 0 24px 48px -28px rgba(23, 37, 31, 0.38);
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Songti SC", "Noto Serif SC", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { font-size: clamp(34px, 5vw, 62px); }
h2 { font-size: clamp(26px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 2vw, 24px); }
h4 { font-size: 17px; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

::selection { background: var(--sage-light); }

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--jade);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

.wrap-narrow { max-width: 820px; }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-paper { background: var(--paper); }
.section-ivory2 { background: var(--ivory-2); }
.section-jade { background: var(--jade); color: #f3efe6; }
.section-jade h1, .section-jade h2, .section-jade h3 { color: #f7f4ec; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
.section-jade .eyebrow { color: var(--brass-soft); }
.section-jade .eyebrow::before { background: var(--brass-soft); }

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 62ch;
}
.section-jade .lede { color: rgba(243, 239, 230, 0.78); }

.text-mute { color: var(--ink-mute); }
.text-sm { font-size: 13.5px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lede { margin-top: 14px; }
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--jade);
  --btn-fg: #fdfaf3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  text-align: center;
}
.btn:hover { background: var(--jade-700); border-color: var(--jade-700); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--jade); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--jade); border-color: var(--jade); color: #fdfaf3; }
.btn-light { --btn-bg: #f7f3ea; --btn-fg: var(--jade); border-color: #f7f3ea; }
.btn-light:hover { background: #fff; border-color: #fff; }
.btn-line-light { --btn-bg: transparent; --btn-fg: #f4efe4; border-color: rgba(244, 239, 228, 0.5); }
.btn-line-light:hover { background: rgba(244, 239, 228, 0.12); border-color: #f4efe4; }
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-block { width: 100%; }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
}
.btn-link:hover { color: var(--brass); }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.btn-icon:hover { border-color: var(--line-strong); background: rgba(23, 37, 31, 0.04); }

/* ---------- announcement ---------- */
.announce {
  background: var(--jade);
  color: #efeadd;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.announce strong { color: var(--brass-soft); font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-serif);
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--jade);
  white-space: nowrap;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-self: center;
}
.brand small {
  font-family: var(--font-sans);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.main-nav { display: flex; gap: 30px; justify-content: center; }
.main-nav a {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--jade); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-count[hidden] { display: none; }

.nav-toggle { display: none; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ivory);
  padding: 8px 0 18px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 13px 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--jade);
  color: #f7f4ec;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  min-height: 560px;
}
.hero-copy {
  padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
}
.hero-copy h1 { color: #fbf7ef; margin-bottom: 20px; }
.hero-copy h1 em {
  font-style: italic;
  color: var(--brass-soft);
}
.hero-copy .lede { color: rgba(247, 244, 236, 0.8); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-facts {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.62);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts b { color: #f7f4ec; font-weight: 600; letter-spacing: 0; font-size: 12px; }
.hero-media { position: relative; min-height: 380px; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 48, 42, 0.5), rgba(20, 48, 42, 0) 42%);
}

/* ---------- marquee / trust strip ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust-list li {
  padding: 26px 22px;
  border-left: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.trust-list li:first-child { border-left: 0; padding-left: 0; }
.trust-list svg { flex: 0 0 22px; margin-top: 2px; color: var(--jade); }
.trust-list b { display: block; color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 2px; letter-spacing: 0.01em; }

/* ---------- product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 34px);
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card-product {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.card-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(23, 37, 31, 0.18); }
.card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ivory-2);
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card-product:hover .card-media img { transform: scale(1.04); }
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(251, 247, 240, 0.94);
  color: var(--jade);
  border: 1px solid rgba(23, 37, 31, 0.1);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-clay { background: var(--clay); color: #fff; border-color: var(--clay); }
.badge-jade { background: var(--jade); color: #f7f3ea; border-color: var(--jade); }

.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-kicker { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.card-title { font-family: var(--font-serif); font-size: 20px; line-height: 1.25; }
.card-sub { font-size: 13px; color: var(--ink-mute); line-height: 1.5; min-height: 38px; }
.card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-size: 15px; font-weight: 600; letter-spacing: 0.01em; }
.price s { color: var(--ink-mute); font-weight: 400; margin-left: 7px; font-size: 13px; }
.stock-flag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage); }
.stock-flag.low { color: var(--clay); }

/* ---------- split feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media-tall img { aspect-ratio: 3 / 4; }
.media-note {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 11px 15px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--jade);
  max-width: 78%;
}

.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}
.do-dont > div {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--paper);
}
.do-dont h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.do-dont ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.do-dont .ok h4 { color: var(--jade); }
.do-dont .no h4 { color: var(--clay); }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 40px);
  counter-reset: step;
}
.step {
  padding-top: 22px;
  border-top: 1px solid rgba(247, 244, 236, 0.24);
  position: relative;
}
.section-paper .step, .section-ivory2 .step { border-top-color: var(--line); }
.step-num {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--brass);
  display: block;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 10px; font-size: clamp(19px, 1.8vw, 23px); }
.step p { font-size: 14px; color: var(--ink-soft); }
.section-jade .step p { color: rgba(243, 239, 230, 0.72); }

/* ---------- quote / editorial ---------- */
.quote-block {
  border-left: 2px solid var(--brass);
  padding-left: 26px;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.55;
  max-width: 40ch;
}
.quote-block cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.stat b { display: block; font-family: var(--font-serif); font-size: clamp(28px, 3vw, 38px); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- newsletter ---------- */
.subscribe {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-top: 22px;
}
.subscribe input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(247, 244, 236, 0.32);
  background: rgba(247, 244, 236, 0.06);
  color: #f7f4ec;
  border-radius: var(--radius);
  font-size: 14px;
}
.subscribe input::placeholder { color: rgba(247, 244, 236, 0.5); }
.subscribe input:focus { outline: 2px solid var(--brass-soft); outline-offset: 1px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--jade);
  color: rgba(243, 239, 230, 0.74);
  padding: clamp(48px, 6vw, 76px) 0 28px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.site-footer h4 {
  color: #f7f4ec;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .brand { color: #f7f4ec; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; font-size: 13px; line-height: 1.7; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 239, 230, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(243, 239, 230, 0.55);
}
.pay-row { display: flex; gap: 8px; align-items: center; }
.pay-row span {
  border: 1px solid rgba(243, 239, 230, 0.28);
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- page head ---------- */
.page-head {
  background: var(--ivory-2);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 5vw, 60px) 0;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--line-strong); }

/* ---------- shop layout ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 232px 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}
.filter-panel { position: sticky; top: 96px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
  font-weight: 600;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-option input { accent-color: var(--jade); width: 15px; height: 15px; }
.filter-option:hover { color: var(--ink); }
.filter-clear { margin-top: 16px; }

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.toolbar-count { font-size: 13px; color: var(--ink-mute); }
.select {
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2317251f' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
}
.search-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 13.5px;
  color: var(--ink);
}
.search-input:focus { outline: 2px solid var(--jade); outline-offset: 1px; }

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
}
.empty-state h3 { color: var(--ink); margin-bottom: 10px; }

/* ---------- PDP ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ivory-2);
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--jade); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info .card-kicker { margin-bottom: 10px; }
.pdp-title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 6px; font-size: 22px; font-weight: 600; }
.pdp-price s { font-size: 16px; color: var(--ink-mute); font-weight: 400; }
.pdp-price .save { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.pdp-desc { color: var(--ink-soft); font-size: 15px; margin: 16px 0 22px; }

.option-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; font-weight: 600; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--jade); }
.chip[aria-pressed="true"] { background: var(--jade); border-color: var(--jade); color: #f7f3ea; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  height: 50px;
}
.qty button {
  width: 42px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  color: var(--ink-soft);
}
.qty button:hover { background: rgba(23, 37, 31, 0.05); }
.qty input {
  width: 46px;
  height: 100%;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
}
.buy-row { display: flex; gap: 12px; margin: 20px 0 18px; }
.buy-row .btn { flex: 1; }
.pdp-meta { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-soft); }
.pdp-meta div { display: flex; gap: 10px; align-items: flex-start; }
.pdp-meta svg { flex: 0 0 17px; margin-top: 3px; color: var(--sage); }

.accordion { border-top: 1px solid var(--line); margin-top: 26px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  padding: 17px 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; color: var(--ink-mute); font-weight: 400; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { padding: 0 0 20px; font-size: 14px; color: var(--ink-soft); }
.accordion .acc-body ul { padding-left: 18px; margin: 0; }
.accordion .acc-body li { margin-bottom: 7px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { color: var(--ink-mute); font-weight: 500; width: 42%; }

/* ---------- reviews ---------- */
.review { border-bottom: 1px solid var(--line); padding: 20px 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-stars { color: var(--brass); letter-spacing: 0.12em; font-size: 13px; }
.review-meta { font-size: 12px; color: var(--ink-mute); }
.review-body { font-size: 14px; color: var(--ink-soft); }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-line-media { border-radius: var(--radius); overflow: hidden; background: var(--ivory-2); aspect-ratio: 1/1; }
.cart-line-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-title { font-family: var(--font-serif); font-size: 18px; margin-bottom: 4px; }
.cart-line-sub { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 12px; }
.cart-line-controls { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty-sm { height: 36px; }
.qty-sm button { width: 32px; font-size: 15px; }
.qty-sm input { width: 36px; font-size: 13px; }
.link-remove {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  color: var(--ink-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-remove:hover { color: var(--clay); }
.cart-line-price { text-align: right; font-weight: 600; font-size: 15px; white-space: nowrap; }

.summary-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.summary-box h3 { font-size: 20px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 13.5px; color: var(--ink-soft); }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-serif);
}
.summary-note { font-size: 12px; color: var(--ink-mute); margin-top: 14px; line-height: 1.6; }
.coupon-row { display: flex; gap: 8px; margin: 16px 0 6px; }
.coupon-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  background: var(--ivory);
  color: var(--ink);
}

/* ---------- checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.stepper { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.stepper-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.stepper-item b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
}
.stepper-item.is-active { color: var(--jade); }
.stepper-item.is-active b { background: var(--jade); border-color: var(--jade); color: #f7f3ea; }
.stepper-item.is-done b { background: var(--sage); border-color: var(--sage); color: #fff; }
.stepper-sep { width: 22px; height: 1px; background: var(--line); align-self: center; }

.form-block { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 24px; margin-bottom: 18px; }
.form-block h3 { font-size: 19px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 7px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--jade); outline-offset: 1px; background: var(--paper); }
.field .err { color: var(--clay); font-size: 12px; margin-top: 5px; display: none; }
.field.has-error input, .field.has-error select { border-color: var(--clay); }
.field.has-error .err { display: block; }
.field-hint { font-size: 12px; color: var(--ink-mute); margin-top: 5px; }

.radio-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.radio-card:hover { border-color: var(--line-strong); }
.radio-card input { margin-top: 3px; accent-color: var(--jade); }
.radio-card.is-selected { border-color: var(--jade); background: rgba(20, 48, 42, 0.035); }
.radio-card b { display: block; font-size: 13.5px; font-weight: 600; }
.radio-card span { font-size: 12.5px; color: var(--ink-mute); }
.radio-card .price-tag { margin-left: auto; font-size: 13px; font-weight: 600; }

.pay-fields { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-mute); margin-top: 12px; }

.mini-line { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-line:last-of-type { border-bottom: 0; }
.mini-line img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius); }
.mini-line-info { flex: 1; font-size: 13px; }
.mini-line-info b { display: block; font-weight: 600; font-size: 13px; }
.mini-line-info span { color: var(--ink-mute); font-size: 12px; }
.mini-line-price { font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- confirmation ---------- */
.confirm-hero { text-align: center; max-width: 640px; margin: 0 auto; }
.confirm-mark {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--jade);
  color: #f7f3ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.order-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 26px; }
.order-card + .order-card { margin-top: 16px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; font-size: 13.5px; }
.kv dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px; }
.kv dd { margin: 0; color: var(--ink); }

/* ---------- account ---------- */
.auth-shell { max-width: 440px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(24px, 4vw, 38px); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab {
  padding: 11px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.tab[aria-selected="true"] { color: var(--jade); border-bottom-color: var(--jade); }

.account-layout { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow: hidden; }
.account-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
}
.account-nav button:last-child { border-bottom: 0; }
.account-nav button[aria-current="true"] { background: var(--ivory-2); color: var(--jade); font-weight: 600; }

.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: clamp(20px, 3vw, 30px); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { font-size: 21px; }

.order-row { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.order-row-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; font-size: 13px; }
.order-row-top b { font-size: 13.5px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--ivory-3);
  color: var(--ink-soft);
}
.status-paid { background: #e6efe4; color: #2f5a3f; }
.status-fulfilled { background: #e4ecf3; color: #2c4f6b; }
.status-shipped { background: var(--jade); color: #f0ece2; }
.status-cancelled { background: #f4e5e2; color: var(--clay); }
.status-pending { background: #f5eddd; color: #8a6420; }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; background: var(--ivory-2); }
.admin-side {
  background: var(--jade);
  color: rgba(243, 239, 230, 0.75);
  padding: 24px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-side .brand { color: #f7f4ec; margin-bottom: 20px; font-size: 18px; }
.admin-side button {
  text-align: left;
  padding: 11px 13px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
}
.admin-side button:hover { background: rgba(247, 244, 236, 0.09); color: #fff; }
.admin-side button[aria-current="true"] { background: rgba(247, 244, 236, 0.14); color: #fff; font-weight: 600; }
.admin-side .side-foot { margin-top: auto; font-size: 11.5px; color: rgba(243, 239, 230, 0.5); display: grid; gap: 10px; }
.admin-main { padding: clamp(20px, 3vw, 34px); min-width: 0; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-head h1 { font-size: clamp(24px, 3vw, 32px); }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.kpi span { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-bottom: 10px; }
.kpi b { font-family: var(--font-serif); font-size: clamp(22px, 2.4vw, 29px); font-weight: 400; display: block; line-height: 1.1; }
.kpi small { font-size: 11.5px; color: var(--ink-mute); }

.data-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 13px; }
.data-table th, .data-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table th { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); background: var(--ivory); font-weight: 600; white-space: nowrap; }
.data-table tbody tr:hover { background: rgba(20, 48, 42, 0.025); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.table-thumb { width: 40px; height: 40px; border-radius: 3px; object-fit: cover; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-btn {
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  font-size: 11.5px;
  cursor: pointer;
  white-space: nowrap;
}
.mini-btn:hover { background: var(--jade); color: #f7f3ea; border-color: var(--jade); }
.mini-btn.danger:hover { background: var(--clay); border-color: var(--clay); }

.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 12px 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bar {
  width: 100%;
  background: linear-gradient(180deg, var(--jade-700), var(--jade));
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  transition: opacity 0.2s;
}
.bar-col span { font-size: 10px; color: var(--ink-mute); letter-spacing: 0.04em; }
.bar-col em { font-size: 10.5px; font-style: normal; color: var(--ink-soft); }

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 21, 0.55);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  overflow: auto;
  padding: 26px;
  transform: translateY(10px);
  transition: transform 0.25s var(--ease);
}
.modal-backdrop.is-open .modal { transform: translateY(0); }
.modal h3 { margin-bottom: 18px; }

/* ---------- drawer / cart ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 25, 21, 0.5);
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--ivory);
  z-index: 111;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px 22px; background: var(--paper); }
.drawer-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.drawer-line img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); }
.drawer-line-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.drawer-line-meta { font-size: 12px; color: var(--ink-mute); margin-top: 3px; }
.drawer-empty { padding: 56px 0; text-align: center; color: var(--ink-mute); font-size: 14px; }

/* ---------- toast ---------- */
.toast-stack {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 160;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100% - 32px));
}
.toast {
  background: var(--jade);
  color: #f7f3ea;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  animation: toast-in 0.3s var(--ease);
  display: flex;
  gap: 10px;
  align-items: center;
}
.toast.is-error { background: var(--clay); }
.toast.is-out { animation: toast-out 0.25s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px); } }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.note-band {
  border: 1px solid var(--brass-soft);
  background: #faf3e6;
  border-radius: var(--radius);
  padding: 12px 15px;
  font-size: 12.5px;
  color: #7a5a24;
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.prose { max-width: 70ch; }

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.admin-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.prose h2 { margin: 40px 0 16px; font-size: clamp(24px, 2.6vw, 32px); }
.prose h3 { margin: 30px 0 12px; }
.prose p { color: var(--ink-soft); font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 9px; }
.prose blockquote {
  margin: 26px 0;
  padding: 18px 22px;
  background: var(--ivory-2);
  border-left: 2px solid var(--brass);
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 22px 0; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--ivory-2); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-mute); }

.faq-list { margin-top: 8px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 18px 0; cursor: pointer; font-size: 15px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--ink-mute); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 18px; color: var(--ink-soft); font-size: 14px; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { min-height: 340px; order: -1; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20, 48, 42, 0.15), rgba(20, 48, 42, 0) 40%); }
  .hero-copy { max-width: none; padding: 42px 24px 48px; }
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .trust-list li:nth-child(1), .trust-list li:nth-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-box { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; background: var(--paper); }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: flex; overflow-x: auto; }
  .account-nav button { border-bottom: 0; border-right: 1px solid var(--line); white-space: nowrap; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side .brand { margin: 0 12px 0 0; }
  .admin-side .side-foot { margin: 0 0 0 auto; }
  .guide-layout { grid-template-columns: 1fr; }
  .admin-split { grid-template-columns: 1fr; }
  .guide-layout aside { position: static !important; }
}

@media (max-width: 760px) {
  .product-grid, .product-grid.cols-2, .product-grid.cols-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .do-dont { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 76px 1fr; }
  .cart-line-price { grid-column: 2; text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .brand { font-size: 17px; gap: 7px; }
  .brand-mark { width: 25px; height: 25px; flex: 0 0 25px; }
  .brand small { display: none; }
  .header-inner { gap: 8px; height: 64px; }
  .header-actions { gap: 4px; }
  .btn-icon { width: 36px; height: 36px; }
  .btn-icon svg { width: 15px; height: 15px; }
  .cart-count { font-size: 9px; min-width: 15px; height: 15px; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
  .trust-list li:last-child { border-bottom: 0; }
  .gallery-thumbs button { width: 62px; height: 62px; }
  .announce { font-size: 10px; letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .announce, .drawer, .drawer-backdrop { display: none !important; }
}
