:root {
  --pine: #143328;
  --pine-2: #1f4a38;
  --moss: #4a8a5c;
  --lake: #1a4552;
  --gold: #c9a35a;
  --gold-2: #ead7a8;
  --cream: #f3eee3;
  --paper: #f7f2e8;
  --ink: #171511;
  --muted: #6a6458;
  --line: rgba(23, 21, 17, .1);
  --card: #fffcf6;
  --shadow: 0 24px 60px rgba(20, 51, 40, .12);
  --radius: 28px;
  --max: 1240px;
  --header: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
::selection { background: #c9a35a; color: #171511; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -8%, rgba(201,163,90,.16), transparent 55%),
    radial-gradient(700px 380px at 110% 8%, rgba(26,69,82,.1), transparent 50%),
    var(--paper);
  line-height: 1.55;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 99; }
.skip-link:focus { left: 8px; }

.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 80; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); z-index: 60;
  transform: scaleX(0); transform-origin: 0 50%;
}

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,242,232,.55);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
}
.site-header.is-compact {
  background: rgba(247,242,232,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(20,51,40,.06);
}
.header-top {
  background:
    linear-gradient(90deg, #0f241c 0%, #16382c 42%, #1a4552 100%);
  color: #f4efe4; font-size: 12px; position: relative; overflow: hidden;
}
.header-top::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7;
}
.header-top-inner { display: flex; justify-content: space-between; gap: 18px; padding: 8px 0; align-items: center; }
.header-top-rail { display: flex; align-items: center; gap: 12px; min-width: 0; white-space: nowrap; overflow: hidden; }
.ht-kicker {
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 14px;
  color: var(--gold-2); letter-spacing: .12em;
}
.ht-sep {
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold); opacity: .85; flex: 0 0 auto;
}
.header-top-links { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
.ht-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid rgba(234, 215, 168, .28); color: #ead7a8; text-decoration: none; letter-spacing: .04em;
  background: rgba(255,255,255,.05);
}
.ht-phone {
  color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}
.header-top a { color: var(--gold-2); text-decoration: none; }
.header-main {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: var(--header);
}
.header-consult { white-space: nowrap; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 56px; width: auto; display: block; }
.logo-img-footer { height: 68px; filter: brightness(1.2); }
.header-search, .catalog-search {
  position: relative; display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 999px;
  padding-left: 14px; box-shadow: 0 10px 30px rgba(20,51,40,.04);
}
.header-search:focus-within, .catalog-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,163,90,.16); }
.search-ico { color: var(--muted); flex: 0 0 auto; }
.header-search input, .catalog-search input { flex: 1; border: 0; padding: 12px 10px; background: transparent; outline: none; min-width: 0; }
.header-search button, .catalog-search button {
  border: 0; background: var(--pine); color: #fff; padding: 10px 16px; cursor: pointer;
  border-radius: 999px; margin: 4px; font-weight: 700;
}
.catalog-search { margin-bottom: 16px; background: #fff; }
.search-drop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50;
  background: #fffcf6; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20,51,40,.16); padding: 10px; max-height: 70vh; overflow: auto;
}
.search-label {
  margin: 8px 8px 4px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.search-hit {
  display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center;
  padding: 8px; border-radius: 14px; text-decoration: none;
}
.search-hit:hover, .search-hit.is-on { background: rgba(20,51,40,.06); }
.search-hit img { width: 44px; height: 44px; object-fit: cover; border-radius: 12px; background: #efe8d8; }
.search-hit-guide img { object-fit: contain; background: #fff; }
.search-hit b { display: block; font-size: 14px; }
.search-hit small { color: var(--muted); font-size: 12px; }
.search-hit mark { background: rgba(201,163,90,.35); color: inherit; padding: 0 1px; }
.search-all, .search-empty { display: block; padding: 10px 8px; font-size: 13px; color: var(--muted); text-decoration: none; }
.search-all { font-weight: 700; color: var(--pine); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; text-align: right; }
.header-phone span { font-weight: 700; }
.header-phone small { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.cart-link {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; text-decoration: none; background: #fff;
  transition: transform .3s var(--ease), background .3s;
}
.cart-link:hover { transform: rotate(-8deg) scale(1.06); background: var(--gold-2); }
.cart-count, .fav-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--pine); color: #f6f1e6; border-radius: 999px; font-size: 11px;
  display: grid; place-items: center; font-weight: 700;
}
.icon-link {
  position: relative; width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; text-decoration: none; background: #fff;
  transition: transform .3s var(--ease), background .3s; color: var(--ink);
}
.icon-link:hover { transform: rotate(-8deg) scale(1.06); background: var(--gold-2); }
.fav-count[data-fav-count="0"], .fav-count:empty { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 10px; }
.site-nav { border-top: 1px solid rgba(23,21,17,.06); }
.nav-inner { display: flex; gap: 4px; overflow: auto; }
.nav-inner a {
  text-decoration: none; padding: 11px 12px; color: var(--muted); white-space: nowrap; font-weight: 600; font-size: 13px;
  letter-spacing: .02em; position: relative;
}
.nav-inner a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav-inner a.is-active, .nav-inner a:hover { color: var(--pine); }
.nav-inner a.is-active::after, .nav-inner a:hover::after { transform: scaleX(1); }

.hero {
  position: relative; min-height: 92vh; display: grid; align-items: end;
  color: #f7f3ea; overflow: hidden; background: #10241c;
}
.hero-media { position: absolute; inset: -4%; transition: transform .6s var(--ease); }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,20,16,.78) 0%, rgba(10,20,16,.2) 52%, rgba(10,20,16,.08) 100%),
    linear-gradient(180deg, rgba(10,20,16,.15), rgba(10,20,16,.62));
}
.hero-inner { position: relative; z-index: 1; padding: 140px 0 88px; max-width: 820px; }
.hero-vert {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%) rotate(90deg);
  transform-origin: center; letter-spacing: .42em; text-transform: uppercase; font-size: 11px;
  color: rgba(247,243,234,.55); z-index: 1; white-space: nowrap;
}
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center; letter-spacing: .22em;
  text-transform: uppercase; font-size: 11px; color: var(--gold-2); font-weight: 700;
}
.hero h1, .section-head h2, .page-hero h1, .product-info h1, .nature-copy h2, .handbook-hero-card h1, .status-page h1 {
  font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.03em;
}
.hero h1 {
  font-size: clamp(56px, 10vw, 118px); line-height: .88; margin: 16px 0 20px;
}
.hero h1 em, .nature-copy h2 em { font-style: italic; font-weight: 500; color: var(--gold-2); }
.hero p { max-width: 46ch; font-size: 18px; color: #ebe3d3; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-facts { display: flex; gap: 18px; margin-top: 48px; flex-wrap: wrap; }
.hero-facts div {
  min-width: 140px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; background: rgba(255,255,255,.06); backdrop-filter: blur(10px);
}
.hero-facts b { display: block; font-size: 28px; font-family: "Cormorant Garamond", serif; }
.hero-facts span { color: #d9d0bf; font-size: 12px; }
.scroll-hint {
  position: absolute; bottom: 22px; right: 8%; z-index: 1; display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,234,.7);
}
.scroll-hint::after {
  content: ""; width: 1px; height: 42px; background: linear-gradient(#ead7a8, transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--pine); color: var(--gold-2); }
.marquee-track { display: flex; width: max-content; animation: slide 48s linear infinite; }
.marquee-track span { padding: 12px 0; font-family: "Cormorant Garamond", serif; font-size: 22px; font-style: italic; white-space: nowrap; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 22px; text-decoration: none; font-weight: 700;
  transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.btn-primary { background: var(--gold); color: #171511; box-shadow: 0 8px 24px rgba(201,163,90,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(201,163,90,.38); }
.btn-light { background: #fff; color: var(--pine); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .55; }

.section { padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); margin: 0; line-height: .95; }
.muted { color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat-card {
  position: relative; background: var(--card); border-radius: 32px 12px 32px 12px; padding: 0; text-decoration: none;
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; min-height: 280px;
  transition: transform .45s var(--ease);
}
.cat-card:nth-child(even) { border-radius: 12px 32px 12px 32px; }
.cat-card img { width: 100%; height: 170px; object-fit: cover; transition: transform .7s var(--ease); }
.cat-card:hover { transform: translateY(-8px) rotate(-.6deg); }
.cat-card:hover img { transform: scale(1.08); }
.cat-num {
  position: absolute; top: 12px; right: 14px; z-index: 1; font-family: "Cormorant Garamond", serif;
  font-size: 28px; color: #fff; text-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.cat-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.cat-card small { color: var(--muted); font-size: 13px; }
.cat-card strong { font-size: 19px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: transparent; border-radius: 0; box-shadow: none; display: flex; flex-direction: column;
}
.product-card-media-wrap { position: relative; }
.product-card-media {
  position: relative; display: block; aspect-ratio: .92; background: #efe8d8; overflow: hidden;
  border-radius: 40% 12px 28px 12px / 12px 28px 12px 40%;
}
.product-card:nth-child(2n) .product-card-media { border-radius: 12px 40% 12px 28px / 28px 12px 40% 12px; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.08); }
.chip {
  position: absolute; left: 14px; top: 14px; background: rgba(255,252,246,.92);
  border-radius: 999px; padding: 5px 11px; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.product-card-body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card-body h3 { margin: 0; font-size: 20px; font-family: "Cormorant Garamond", serif; font-weight: 600; }
.product-card-body h3 a { text-decoration: none; }
.product-card-body p {
  margin: 0; color: var(--muted); font-size: 13px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; }
.product-card-price { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: .01em; }
.product-card-meta span:not(.product-card-price) { color: var(--muted); font-size: 13px; }
.product-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.lazy-img {
  opacity: 0; filter: blur(10px); transition: opacity .4s, filter .4s;
}
.lazy-img.is-loaded { opacity: 1; filter: none; }

.fav-btn {
  position: absolute; right: 10px; top: 10px; width: 36px; height: 36px;
  border-radius: 50%; border: none; background: rgba(255,252,246,.92);
  display: grid; place-items: center; cursor: pointer; color: var(--muted);
  transition: all .2s; z-index: 2; padding: 0;
}
.fav-btn:hover { background: #fff; color: var(--gold); transform: scale(1.1); }
.fav-btn.is-fav { color: #e74c3c; }
.fav-btn.is-fav svg { fill: #e74c3c; }

.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adv {
  background: var(--pine); color: #f4efe4; border-radius: 28px; padding: 28px 24px 26px;
  position: relative; overflow: hidden;
}
.adv:nth-child(2) { background: var(--lake); transform: translateY(18px); }
.adv span { font-family: "Cormorant Garamond", serif; font-size: 42px; color: var(--gold); line-height: 1; }
.adv h3 { margin: 10px 0 8px; font-family: "Cormorant Garamond", serif; font-size: 28px; }
.adv p { margin: 0; color: #d9d0bf; }

.band {
  position: relative; overflow: hidden; color: #f6f1e6; border-radius: 36px; padding: 42px;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  background: #10241c;
}
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("../images/generated/pines.jpg") center/cover; opacity: .32; mix-blend-mode: luminosity;
}
.band > * { position: relative; z-index: 1; }
.nature-split { padding-top: 0; }
.nature-split-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.nature-photo { position: relative; }
.nature-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: 40% 12px 40% 12px / 12px 40% 12px 40%; box-shadow: var(--shadow); }
.nature-stamp {
  position: absolute; right: -8px; bottom: 28px; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; padding: 12px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; border: 1px dashed var(--gold); background: var(--paper); transform: rotate(12deg);
}
.nature-copy h2 { font-size: clamp(36px, 5vw, 58px); margin: 8px 0 16px; line-height: .92; }
.page-hero { padding: 56px 0 16px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); margin: 0 0 10px; line-height: .92; }
.crumbs { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.crumbs a { text-decoration: none; }

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding-bottom: 72px; }
.filters {
  background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  position: sticky; top: 110px; align-self: start;
}
.filters h3 { margin: 0 0 12px; font-size: 15px; }
.filter-group { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.filter-group label, .check { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: 14px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button, .sort select {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer;
}
.chips button.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input, .field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
}
.catalog-toolbar { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.empty { padding: 48px; text-align: center; background: var(--card); border-radius: var(--radius); }

.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; padding: 20px 0 64px; }
.gallery { background: #efe8d8; border-radius: 38% 14px 32px 14px / 14px 32px 14px 38%; overflow: hidden; min-height: 460px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { border: 0; padding: 0; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; cursor: pointer; opacity: .7; }
.thumbs button.is-on { opacity: 1; outline: 2px solid var(--gold); }
.product-info h1 { font-size: clamp(34px, 5vw, 58px); margin: 8px 0 12px; line-height: .95; }
.price-lg { font-size: 36px; font-weight: 700; font-family: "Cormorant Garamond", serif; }
.volumes { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.volumes button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.volumes button.is-on { background: var(--pine); color: #fff; border-color: var(--pine); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.buy-row { display: flex; gap: 10px; margin: 20px 0; flex-wrap: wrap; }
.tabs { display: flex; gap: 8px; margin: 28px 0 12px; }
.tabs button { border: 0; background: transparent; padding: 8px 4px; border-bottom: 2px solid transparent; cursor: pointer; font-weight: 700; }
.tabs button.is-on { border-color: var(--gold); }
.prose { white-space: pre-wrap; color: var(--muted); }
.notice { background: #fff6e5; border-radius: 16px; padding: 14px 16px; font-size: 13px; color: #6a5420; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 24px; padding-bottom: 72px; }
.cart-item, .panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.cart-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 14px; margin-bottom: 12px; align-items: center; }
.cart-item img { width: 92px; height: 92px; object-fit: cover; border-radius: 16px; background: #efe8d8; }
.summary-row { display: flex; justify-content: space-between; margin: 8px 0; }
.field { margin-bottom: 12px; }
.field span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.delivery-options label { border: 1px solid var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: #fff; }
.delivery-options input { accent-color: var(--pine); }
#cdek-map { width: 100%; height: 420px; border-radius: 18px; overflow: hidden; background: #e8efe9; }
.status-page { min-height: 50vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card {
  background: var(--card); border-radius: 24px; overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card span { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.blog-card small { letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-size: 11px; }
.blog-card strong { font-family: "Cormorant Garamond", serif; font-size: 24px; font-weight: 600; }
.blog-card em { font-style: normal; color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.handbook-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.handbook-bento { grid-template-columns: repeat(4, 1fr); }
.handbook-card.is-featured { grid-column: span 2; grid-row: span 2; }
.handbook-card {
  background: var(--card); border-radius: 28px; overflow: hidden; text-decoration: none;
  box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid transparent;
  transition: transform .4s var(--ease);
}
.handbook-card:hover { transform: translateY(-6px) rotate(-.4deg); border-color: var(--gold); }
.handbook-card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 10px; }
.handbook-card.is-featured img { aspect-ratio: 1.15; }
.handbook-card span { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.handbook-card small { color: var(--muted); font-size: 13px; }
.handbook-hero-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: center;
  background: var(--card); border-radius: 32px; padding: 20px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.handbook-hero-card img { width: 100%; background: #fff; border-radius: 50%; }
.handbook-hero-card h1 { margin: 6px 0 12px; font-size: clamp(36px, 5vw, 60px); }
.handbook-hero-card .lead { font-size: 18px; margin: 0; }
.handbook-body { white-space: normal; max-width: 74ch; font-size: 17px; line-height: 1.7; margin: 8px 0 20px; }
.handbook-note { margin: 10px 0 0; max-width: 62ch; font-size: 13px; line-height: 1.5; color: var(--muted); }
.article-body { max-width: 74ch; }
.article-body h2 { margin: 32px 0 12px; font-size: 28px; font-family: "Cormorant Garamond", serif; font-weight: 600; color: var(--ink); }
.article-body p { margin: 0 0 14px; }
.article-body ul { margin: 0 0 16px; padding-left: 1.2em; }
.article-body li { margin: 0 0 6px; }
.article-body a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { width: 100%; height: auto; border-radius: 22px; margin: 8px 0 20px; }
.article-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 28px; margin: 16px 0 24px; }
.article-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; }
.article-share a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 13px; font-weight: 600;
}
.article-share a:hover { border-color: var(--gold); }
.article-cta { margin: 28px 0 8px; }
.article-date { color: var(--gold); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; font-weight: 700; }
.handbook-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.handbook-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: 13px; font-weight: 600; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

.site-footer { position: relative; background: #0d1f18; color: #e8e0d0; padding: 72px 0 24px; margin-top: 20px; overflow: hidden; }
.footer-watermark {
  position: absolute; left: -2%; right: -2%; bottom: -18px; margin: 0; text-align: center;
  font-family: "Cormorant Garamond", serif; font-size: clamp(64px, 16vw, 220px); line-height: .8;
  color: rgba(232,224,208,.05); pointer-events: none; white-space: nowrap;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.site-footer a { display: block; color: #e8e0d0; text-decoration: none; margin: 6px 0; }
.footer-lead { color: #c9c1b1; max-width: 36ch; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #b9b1a2; }
.footer-bottom div { display: flex; gap: 16px; }
.wa-link { color: var(--gold-2) !important; font-weight: 700; }
.toast {
  position: fixed; right: 16px; bottom: 16px; background: var(--pine); color: #fff;
  padding: 12px 16px; border-radius: 14px; z-index: 70; box-shadow: var(--shadow);
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cats, .handbook-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .handbook-card.is-featured { grid-column: span 3; }
  .cat-card:nth-child(even) { margin-top: 0; }
  .hero-vert { display: none; }
}
@media (max-width: 900px) {
  .header-main { display: flex; }
  .logo-img { height: 44px; }
  .header-phone { display: none; }
  .header-consult { font-size: 13px; padding: 10px 12px; }
  .header-top-rail span:not(.ht-kicker):not(.ht-sep) { display: none; }
  .header-top-rail .ht-kicker { display: inline; }
  .ht-pill { display: none; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .nav-inner { flex-direction: column; padding: 8px 0 16px; }
  .product-grid, .cats, .advantages, .handbook-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .handbook-card.is-featured { grid-column: span 2; }
  .handbook-hero-card { grid-template-columns: 1fr; }
  .catalog-layout, .product-page, .cart-layout, .checkout-layout, .contact-grid, .footer-grid, .nature-split-inner, .home-intro-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .header-top-inner { flex-direction: column; }
  .nature-photo img, .home-intro-photo img { height: 320px; }
  .adv:nth-child(2) { transform: none; }
  .grain { display: none; }
  .perk-cards { grid-template-columns: 1fr; }
  .wb-card-head { grid-template-columns: auto 1fr; }
  .wb-card-meta { grid-column: 2; text-align: left; }
}
@media (max-width: 640px) {
  .header-main { flex-wrap: wrap; }
  .header-consult { flex: 1 1 auto; }
  .product-grid, .cats, .advantages, .delivery-options, .handbook-grid, .blog-grid, .perk-cards { grid-template-columns: 1fr; }
  .handbook-card.is-featured { grid-column: auto; }
  .hero-inner { padding: 96px 0 56px; }
  .hero h1 { font-size: 56px; }
  .nature-split-inner img, .nature-photo img, .home-intro-photo img { height: 240px; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item .qty { grid-column: 1 / -1; }
  .product-card-media { border-radius: 24px !important; }
}

.home-intro { padding: 56px 0 40px; }
.home-intro-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center; margin-bottom: 36px;
}
.home-intro-photo { position: relative; }
.home-intro-photo img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: 40% 12px 40% 12px / 12px 40% 12px 40%;
  box-shadow: var(--shadow);
}
.home-intro-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 5vw, 56px); margin: 8px 0 16px;
}
.home-intro-copy p { font-size: 18px; color: var(--muted); margin: 0; line-height: 1.65; }
.perk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perk-cards article {
  min-width: 0; padding: 18px 20px; border: 1px solid var(--line);
  border-radius: 18px; background: rgba(255,252,246,.72); backdrop-filter: blur(10px);
}
.perk-cards b {
  display: block; font-family: "Cormorant Garamond", serif; font-size: 26px;
  font-weight: 600; line-height: 1.15; margin-bottom: 8px;
}
.perk-cards span { color: var(--muted); font-size: 14px; display: block; line-height: 1.5; }
.wb-score { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.wb-score strong {
  font-family: "Cormorant Garamond", serif; font-size: 52px; font-weight: 600; line-height: 1;
  color: var(--pine);
}
.wb-score p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.wb-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; line-height: 1; }
.wb-list { display: grid; gap: 14px; max-width: 860px; }
.wb-card {
  background: var(--card); border-radius: 24px; padding: 22px 24px;
  box-shadow: var(--shadow);
}
.wb-card-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  margin-bottom: 12px;
}
.wb-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #efe8d8; color: var(--pine);
  display: grid; place-items: center; font-weight: 700; font-family: "Cormorant Garamond", serif;
  font-size: 22px;
}
.wb-card-head strong { display: block; font-size: 16px; }
.wb-bought {
  display: inline-flex; align-items: center; gap: 6px; color: #2f7a45; font-size: 12px; font-weight: 600;
}
.wb-bought::before { content: "✓"; font-size: 12px; font-weight: 800; }
.wb-card-meta { text-align: right; }
.wb-card-meta time { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.wb-card-body p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.wb-card-body p:last-child { margin-bottom: 0; }
.wb-card-body b { font-weight: 700; }
.wb-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.wb-photos img {
  width: 92px; height: 92px; object-fit: cover; border-radius: 14px; background: #efe8d8;
}
.delivery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 72px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.review-text { font-size: 16px; line-height: 1.6; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-list h2 { font-family: "Cormorant Garamond", serif; font-size: 26px; margin: 0 0 8px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; overflow: hidden; }
.footer-consult { margin-top: 12px; color: #171511 !important; }
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px;
}
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(16, 36, 28, .55); }
.modal-card {
  position: relative; width: min(480px, 100%); background: var(--card); border-radius: 28px;
  padding: 28px 24px 24px; box-shadow: var(--shadow); z-index: 1;
}
.modal-card h2 { font-family: "Cormorant Garamond", serif; margin: 0 0 8px; }
.modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 28px; cursor: pointer; line-height: 1;
}
.consult-ok { background: #eef6ea; border-radius: 16px; padding: 14px 16px; color: #1f4a38; }
@media (max-width: 800px) {
  .delivery-grid, .reviews-grid { grid-template-columns: 1fr; }
}

.error-page {
  min-height: 60vh; display: flex; align-items: center; padding: 40px 0;
}
.error-page-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.error-code {
  font-family: "Cormorant Garamond", serif; font-size: clamp(80px, 15vw, 140px);
  font-weight: 700; line-height: 1; color: var(--gold); opacity: .4;
  margin-bottom: 8px;
}
.error-page h1 {
  font-family: "Cormorant Garamond", serif; font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}
.error-page .muted { font-size: 16px; margin-bottom: 24px; }
.error-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.error-search form {
  display: flex; gap: 8px; justify-content: center;
}
.error-search input {
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  background: var(--card); min-width: 240px; font-size: 14px;
}

.promo-row {
  display: flex; gap: 8px; margin: 8px 0;
}
.promo-row input {
  flex: 1; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px;
  background: var(--card); font-size: 14px;
}
.promo-discount { color: #215c32; }
.promo-discount strong { color: #215c32; }

.account-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; padding-bottom: 40px; }
.account-layout aside a { display: block; padding: 8px 0; color: inherit; text-decoration: none; }
.account-layout aside a:hover { color: var(--gold); }
@media (max-width: 800px) { .account-layout { grid-template-columns: 1fr; } }

.gallery-zoom-overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  cursor: zoom-out;
}
.gallery-zoom-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
}
.gallery-zoom-inner img {
  max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px;
}
.gallery-zoom-close {
  position: absolute; top: -40px; right: 0; width: 36px; height: 36px;
  border: none; background: rgba(255,255,255,.2); color: #fff; font-size: 24px;
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}
.gallery-zoom-close:hover { background: rgba(255,255,255,.3); }

.gallery-video { position: relative; }
.gallery-video video {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; background: #000;
}
.gallery-video-toggle {
  position: absolute; bottom: 12px; right: 12px; padding: 8px 14px;
  background: rgba(255,252,246,.92); border: none; border-radius: 999px;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.gallery-video-toggle:hover { background: #fff; }
.thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
  width: 64px; height: 64px; border: 2px solid transparent; border-radius: 14px;
  overflow: hidden; cursor: pointer; background: var(--card); padding: 0;
  display: grid; place-items: center;
}
.thumbs button.is-on { border-color: var(--gold); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button svg { color: var(--muted); }

html { overflow-x: hidden; }
.marquee { max-width: 100%; }

@media (max-width: 900px) {
  .site-header { background: rgba(247, 242, 232, .96); }
  .site-header.is-compact { background: #f7f2e8; }
  .header-top-rail span:not(.ht-kicker) { display: none; }
  .header-top-inner { flex-direction: row; }
  .header-main { gap: 10px; min-height: 56px; flex-wrap: nowrap; }
  .header-actions { gap: 8px; }
  .icon-link, .nav-toggle { width: 42px; height: 42px; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 0; }
  .hero-inner { padding: 36px 0 40px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero p { font-size: 16px; }
  .hero .eyebrow { letter-spacing: .14em; font-size: 10px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .home-intro { padding: 40px 0 24px; }
  .home-intro-grid { grid-template-columns: 1fr; gap: 24px; margin-bottom: 20px; }
  .home-intro-photo img {
    height: 260px;
    border-radius: 28px 12px 28px 12px / 12px 28px 12px 28px;
  }
  .perk-cards { grid-template-columns: 1fr; }
  .wb-card { padding: 16px; }
  .wb-card-head { grid-template-columns: auto 1fr; }
  .wb-card-meta { grid-column: 2; text-align: left; }
  .wb-score strong { font-size: 40px; }
  .wb-photos img { width: 76px; height: 76px; }
  .band { flex-direction: column; align-items: stretch; padding: 24px; gap: 16px; }
  .band .btn { width: 100%; }
  .gallery, .gallery img { min-height: 280px; border-radius: 24px; }
  .product-page, .product-info, .gallery { min-width: 0; }
  .tabs { flex-wrap: wrap; }
  .tabs button { white-space: normal; max-width: 100%; }
  .buy-row { flex-direction: column; align-items: stretch; }
  .buy-row .btn { width: 100%; }
  .qty { justify-content: center; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-consult { color: #171511 !important; }
  .catalog-search { flex-wrap: wrap; }
  .error-search form { flex-wrap: wrap; }
  .error-search input { min-width: 0; width: 100%; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .product-card-actions { grid-template-columns: 1fr; }
  .product-card-actions .btn { width: 100%; }
  .page-hero { padding: 28px 0 12px; }
  .page-hero h1 { font-size: clamp(32px, 10vw, 48px); }
}
