:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --bg: #f5f5f7;
  --paper: #ffffff;
  --brand: #1d1d1f;
  --accent: #00664f;
  --accent-hover: #004d3b;
  --soft: #f5f5f7;
  --danger: #bf4800;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --w: min(980px, calc(100% - 40px));
  --w-wide: min(1120px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: #d6ebe4; }

.container { width: var(--w-wide); margin: 0 auto; }
.section { padding: 100px 0; }
.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  max-width: none;
}
.section-head h2,
.page-hero h1,
.buybox h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-head p, .lede {
  margin-top: 12px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.4211;
  letter-spacing: 0.012em;
  font-weight: 400;
}
.section-head.left p { margin-top: 0; max-width: 340px; text-align: right; font-size: 15px; }
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Header — quiet Apple bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.topbar { display: none; }
.topbar-inner, .head-inner, .nav-inner { width: var(--w-wide); margin: 0 auto; }
.head-inner {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
}
.logo-mark svg { width: 12px; height: 12px; }
.logo strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo small { display: none; }

.catalog-btn { display: none; }
.search {
  display: flex;
  align-items: center;
  height: 32px;
  max-width: 280px;
  margin-left: auto;
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  border-radius: 8px;
  padding: 0 4px 0 10px;
}
.search:focus-within { background: rgba(0, 0, 0, 0.06); }
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  min-width: 0;
  font-size: 14px;
}
.search input::placeholder { color: #86868b; }
.search button, .icon-btn, .burger { border: 0; background: transparent; }
.search button {
  width: 28px;
  height: 28px;
  color: #86868b;
  display: grid;
  place-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  border-radius: 980px;
  border: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.022em;
  white-space: nowrap;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease), color 0.2s;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-line {
  background: transparent;
  color: var(--accent);
  padding: 0;
  height: auto;
}
.btn-line:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-white { background: white; color: var(--ink); }
.btn-white:hover { opacity: 0.92; }
.btn-ghost {
  background: transparent;
  color: white;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  position: relative;
  color: var(--ink);
}
.icon-btn:hover, .burger:hover { background: rgba(0, 0, 0, 0.04); }
.icon-btn svg { width: 18px; height: 18px; }
.head-actions { display: flex; align-items: center; gap: 4px; }
.head-actions .search { margin-left: 0; margin-right: 4px; }
.phone-block { display: none; }
[hidden] { display: none !important; }
.badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.burger { display: none; width: 36px; height: 36px; border-radius: 50%; }

.mainnav { border-top: 0; justify-self: center; }
.nav-inner {
  display: flex;
  gap: 24px;
  min-height: 0;
  padding: 0;
  align-items: center;
  overflow: auto;
  width: auto;
  margin: 0;
}
.nav-inner a {
  text-decoration: none;
  color: #424245;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: -0.01em;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  background: none !important;
}
.nav-inner a:hover, .nav-inner a.is-active { color: var(--ink); opacity: 1; }

.mega, .drawer, .modal { display: none; }
.mega.is-open, .drawer.is-open, .modal.is-open { display: block; }
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fbfbfd;
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.mega-grid {
  width: var(--w-wide);
  margin: 0 auto;
  padding: 24px 0 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.mega a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #424245;
}
.mega a:hover { color: var(--ink); }
.mega img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #eee;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.4);
}
.drawer-panel {
  margin-left: auto;
  width: min(360px, 100%);
  height: 100%;
  background: #fbfbfd;
  padding: 20px;
  overflow: auto;
}
.drawer a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-soft);
}
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

/* Hero — atelier blueprint, no photo */
.hero {
  padding: 0;
  min-height: calc(100svh - 48px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fbfbfc 0%, #f5f5f7 100%);
}
.hero-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  display: flex;
  flex-direction: column;
}
.hero-atmos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-blob { display: none; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29, 29, 31, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 31, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 60% at 50% 40%, #000 15%, transparent 72%);
  opacity: 0.9;
}
.hero-blueprint {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(680px, 88vw);
  transform: translate(-50%, -58%);
  color: rgba(29, 29, 31, 0.28);
}
.hero-blueprint svg {
  width: 100%;
  height: auto;
  display: block;
}
.bp-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: bp-draw 2.4s var(--ease) forwards;
}
.bp-line:nth-child(1) { animation-delay: 0.05s; }
.bp-line:nth-child(2) { animation-delay: 0.18s; }
.bp-line:nth-child(3) { animation-delay: 0.28s; }
.bp-line:nth-child(4) { animation-delay: 0.34s; }
.bp-line:nth-child(5) { animation-delay: 0.42s; }
.bp-line:nth-child(6) { animation-delay: 0.5s; }
.bp-line:nth-child(7) { animation-delay: 0.56s; }
.bp-line:nth-child(n+8) { animation-delay: 0.68s; }
.bp-labels {
  opacity: 0;
  animation: bp-fade 0.8s var(--ease) 1.5s forwards;
}
.bp-tag { fill: rgba(29, 29, 31, 0.42); font-size: 12px; }
.hero-copy {
  position: relative;
  z-index: 1;
  width: var(--w);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  padding: 32px 0 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 100%);
  height: 280px;
  transform: translate(-50%, -48%);
  background: radial-gradient(ellipse at center, rgba(247, 246, 242, 0.88) 0%, rgba(247, 246, 242, 0.55) 45%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.brand-signal,
.hero-copy h1.brand-signal {
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 0;
  color: var(--ink);
  max-width: none;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 0.9s var(--ease) 0.2s forwards;
}
.brand-signal span {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--muted);
}
.hero-copy .lede-hero {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.47059;
  color: var(--muted);
  max-width: 460px;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 0.9s var(--ease) 0.4s forwards;
}
.hero-scroll {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 4px auto 18px;
  padding: 0;
  color: var(--muted);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  animation: hero-rise 0.9s var(--ease) 0.55s forwards;
}
.hero-scroll svg {
  animation: scroll-nudge 1.8s var(--ease) 1.4s infinite;
}
@keyframes scroll-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes bp-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes bp-fade {
  to { opacity: 1; }
}
@keyframes hero-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(18px, -22px, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .bp-line, .bp-labels, .brand-signal, .hero-copy .lede-hero, .hero-scroll, .hero-scroll svg, .hero-blob {
    animation: none !important;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
}

.hero .promise-wrap {
  flex: 0 0 auto;
  background: transparent;
}
.promise-wrap,
.invite-wrap {
  background: var(--bg);
}
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: var(--w-wide);
  margin: 0 auto;
  padding: 8px 0 4px;
}
.hero .promise {
  padding: 0 0 4px;
}
.promise div { padding: 0; border: 0; }
.promise strong {
  display: block;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.promise span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.invite-wrap { padding: 0 0 24px; }
.invite {
  width: var(--w-wide);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.invite > div {
  background: var(--paper);
  border-radius: 28px;
  padding: 48px 40px;
}
.invite h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 4px 0 10px;
}
.invite p {
  color: var(--muted);
  font-size: 17px;
  max-width: 380px;
}
.invite-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 22px; }

.panel, .card, .review, .buybox, .filter, .request-item, .note, .side-card {
  background: var(--paper);
  border: 0;
  border-radius: 18px;
}
.muted { color: var(--muted); }

.cat-grid, .product-grid, .adv-grid, .review-grid, .stats, .step-grid {
  display: grid;
  gap: 16px;
}
.cat-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-tile {
  position: relative;
  text-decoration: none;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #e8e8ed;
  aspect-ratio: 3 / 4;
}
.cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.cat-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.cat-tile span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  color: white;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cat-tile:hover img { transform: scale(1.03); }

.product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--paper);
  border-radius: 28px;
  padding: 0 0 24px;
}
.card:hover { transform: none; box-shadow: none; }
.card-media {
  position: relative;
  background: #eeeef2;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.card-media a { display: block; overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.card:hover .card-media img { transform: scale(1.03); }
.fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
}
.fav svg { width: 16px; height: 16px; }
.fav.is-on { color: var(--danger); }
.card-body {
  padding: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-cat {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-transform: none;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.card h3 a { text-decoration: none; }
.card-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 20px 0;
  flex-wrap: wrap;
  border-top: 0;
}
.price {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.band { background: transparent; border: 0; }

.adv-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv, .step, .review, .stat {
  padding: 28px;
  background: var(--paper);
  border: 0;
  border-radius: 28px;
}
.adv h3, .step h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}
.adv p, .step p, .review p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.num {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.step-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border: 0;
}
.stat {
  padding: 40px 28px;
  border: 0;
  text-align: center;
}
.stat b {
  display: block;
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.review-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { padding: 28px; border-radius: 28px; }
.review header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.review strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.review em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.stars { color: var(--ink); letter-spacing: 1px; font-size: 11px; opacity: 0.35; }

.cta {
  position: relative;
  overflow: hidden;
  background: #000;
  color: white;
  border-radius: 28px;
  padding: 72px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/tild3739.png") center/cover;
  opacity: 0.35;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 640px;
}
.cta p {
  color: rgba(255,255,255,0.72);
  margin-top: 12px;
  max-width: 460px;
  font-size: 17px;
}
.cta-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}

.page-hero { padding: 56px 0 8px; }
.page-hero .section-head,
.page-hero > .lede { max-width: 680px; }
.crumbs {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
  justify-content: flex-start;
}
.crumbs a { color: var(--accent); text-decoration: none; }
.layout {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 80px;
}
.catalog-page {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 48px;
  width: var(--w-wide);
  margin: 0 auto;
  padding: 28px 0 96px;
  align-items: start;
}
.catalog-side {
  position: sticky;
  top: 64px;
  align-self: start;
  max-height: calc(100svh - 80px);
}
.catalog-main { min-width: 0; }
.catalog-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.catalog-top h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.filter {
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.filter-block { margin: 0 0 14px; }
.filter-block:last-of-type { margin-bottom: 10px; }
.filter-label {
  display: block;
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.filter-cats {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.filter-cat {
  position: relative;
  display: block;
  margin: 0;
  padding: 4px 0;
  font-size: 13px;
  line-height: 1.3;
  color: #6e6e73;
  cursor: pointer;
}
.filter-cat input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-cat:hover { color: var(--ink); }
.filter-cat.is-active {
  color: var(--ink);
  font-weight: 600;
}
.filter select {
  width: 100%;
  height: 32px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 0 18px 0 0;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236e6e73' stroke-width='1.6'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}
.filter select:focus { border-bottom-color: var(--accent); }
.filter-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 2px 0 0;
  font-size: 13px;
  color: #6e6e73;
  cursor: pointer;
}
.filter-fav input {
  width: 14px;
  height: 14px;
  accent-color: var(--accent);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.toolbar select, .field input, .field textarea, .field select {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 14px;
  outline: none;
  width: 100%;
}
.toolbar select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--accent);
}
.field textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 24px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 28px;
  background: #eeeef2;
}
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button {
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  opacity: 0.55;
}
.thumbs .is-on { opacity: 1; outline: 2px solid var(--ink); outline-offset: 2px; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; }
.buybox {
  padding: 8px 0 0;
  position: sticky;
  top: 72px;
  background: transparent;
  border-radius: 0;
}
.buybox h1 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 8px 0 12px;
}
.specs { width: 100%; border-collapse: collapse; margin: 24px 0; }
.specs th, .specs td {
  text-align: left;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 400;
  vertical-align: top;
  font-size: 14px;
}
.specs th {
  color: var(--muted);
  width: 42%;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; align-items: center; }

.prose { max-width: 680px; margin: 0 auto; }
.prose p + p, .stack > * + * { margin-top: 14px; }
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
  width: var(--w-wide);
  margin: 0 auto;
}
.note {
  background: var(--paper);
  border-radius: 28px;
  padding: 32px;
}
.materials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
  background: var(--bg);
  color: var(--ink);
  border: 0;
  border-radius: 980px;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0;
}

.request-list { display: grid; gap: 12px; }
.request-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 16px;
  padding: 12px;
  align-items: center;
  border-radius: 18px;
}
.request-item img { width: 96px; height: 96px; object-fit: cover; border-radius: 12px; }
.linkish { border: 0; background: none; color: var(--accent); text-decoration: none; padding: 0; font-size: 14px; }
.linkish:hover { text-decoration: underline; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
.modal-card {
  width: min(560px, calc(100% - 28px));
  margin: 8vh auto;
  background: #fbfbfd;
  border-radius: 28px;
  padding: 28px;
  max-height: 84vh;
  overflow: auto;
}
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal-top strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.progress {
  height: 2px;
  background: var(--line-soft);
  border-radius: 99px;
  margin: 18px 0 22px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; background: var(--ink); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice {
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 14px;
  font-weight: 500;
  font-size: 14px;
}
.choice:hover { border-color: #86868b; }
.choice.is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}
.choice.is-on::after {
  content: "✓";
  float: right;
  opacity: 0.7;
  font-size: 12px;
}
.modal-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 20px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(29,29,31,0.92);
  color: white;
  border-radius: 980px;
  padding: 12px 18px;
  z-index: 70;
  font-size: 14px;
  font-weight: 500;
}

.site-footer {
  background: #f5f5f7;
  color: #6e6e73;
  margin-top: 0;
  padding: 56px 0 28px;
  border-top: 1px solid var(--line-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  width: var(--w-wide);
  margin: 0 auto;
}
.site-footer a { color: #424245; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 {
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; font-size: 12px; }
.foot-bottom {
  width: var(--w-wide);
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: #86868b;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.empty { padding: 40px; text-align: center; }
.filter-toggle { display: none; }

.page-hero h1 { text-align: left; }
.page-hero .lede { text-align: left; margin-top: 10px; }

@media (max-width: 1020px) {
  .invite, .layout, .product-layout, .split, .foot-grid { grid-template-columns: 1fr; }
  .catalog-page { grid-template-columns: 168px minmax(0, 1fr); gap: 28px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid.cols-3, .adv-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .promise, .stats, .step-grid { grid-template-columns: 1fr 1fr; }
  .mega-grid { grid-template-columns: 1fr 1fr; }
  .buybox { position: static; }
  .cta { padding: 48px 28px; }
  .section-head h2, .page-hero h1, .buybox h1, .cta h2 { font-size: 32px; }
  .brand-signal { font-size: 44px; }
}

@media (max-width: 760px) {
  :root {
    --w: min(980px, calc(100% - 28px));
    --w-wide: min(1120px, calc(100% - 28px));
  }
  .mainnav { display: none; }
  .burger { display: grid; place-items: center; }
  .head-inner {
    grid-template-columns: auto 1fr;
    min-height: 48px;
  }
  .head-actions { justify-self: end; }
  .head-actions .search { display: none; }
  .hero { min-height: auto; }
  .hero-copy { padding: 56px 0 32px; min-height: 52vh; }
  .brand-signal { font-size: 36px; }
  .brand-signal span { font-size: 18px; }
  .hero-blueprint { top: 42%; width: min(520px, 94vw); }
  .hero .promise { grid-template-columns: 1fr 1fr; gap: 16px; padding: 8px 0; }
  .catalog-page { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .catalog-side {
    position: static;
    max-height: none;
  }
  .catalog-top h1 { font-size: 24px; }
  .cat-grid, .product-grid, .product-grid.cols-3, .review-grid, .promise, .stats { grid-template-columns: 1fr 1fr; }
  .adv-grid, .step-grid, .choices, .invite { grid-template-columns: 1fr; }
  .invite > div { padding: 32px 24px; border-radius: 22px; }
  .request-item { grid-template-columns: 72px 1fr; }
  .request-item .remove { grid-column: 2; }
  .filter-toggle { display: inline-flex; margin-bottom: 10px; }
  .filter.is-collapsed { display: none; }
  .section { padding: 64px 0; }
  .section-head.left { flex-direction: column; align-items: flex-start; }
  .section-head.left p { text-align: left; }
  .foot-bottom { flex-direction: column; }
  .card, .adv, .step, .review, .stat, .note, .cta { border-radius: 22px; }
  .card-media { border-radius: 22px 22px 0 0; }
}
