:root {
  --bg: #fffdf7;
  --surface: #ffffff;
  --text: #4a3520;
  --muted: #8a7355;
  --amber: #f0a500;
  --amber-dark: #b87200;
  --gold: #e8b04a;
  --dark: #24160c;
  --dark-2: #3a2413;
  --line: #f0e3c4;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --script: 'Marck Script', 'Lora', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--serif);
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main.wrap { padding-block: 28px 40px; }
a { color: var(--amber-dark); }
img { max-width: 100%; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.4em 0; font-weight: 600; }
h2 { font-size: 1.35rem; margin: 1.6em 0 0.5em; font-weight: 600; }
h3 { font-size: 1.05rem; margin: 0.6em 0 0.2em; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); font-size: 0.95rem; }
.script { font-family: var(--script); font-weight: 400; font-size: 2.6rem; line-height: 1.15; text-align: center; color: var(--dark-2); margin: 0 0 0.4em; }
.section-title { text-align: center; }

/* ---------- верхняя зона ---------- */
.top-zone {
  position: relative;
  color: #fff;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'><path d='M28 2 54 17v30L28 62 2 47V17zM0 63l28 16 28-16M28 79v19' fill='none' stroke='%23ffcf6a' stroke-opacity='.07' stroke-width='1.5'/></svg>"),
    radial-gradient(circle at 78% 45%, rgba(240,165,0,.38), transparent 46%),
    radial-gradient(circle at 12% 15%, rgba(255,214,130,.16), transparent 36%),
    linear-gradient(165deg, #3d2615 0%, #24160c 60%, #1a0f07 100%);
  padding-bottom: 44px;
}
.top-home {
  padding-bottom: 96px;
  background:
    linear-gradient(180deg, rgba(28,14,6,.35) 0%, rgba(28,14,6,.22) 45%, rgba(28,14,6,.5) 100%),
    url("/img/hero-bg.jpg") center 74% / cover no-repeat,
    #24160c;
}
.top-home .hero-frame { background: rgba(20,10,4,.4); }
.top-home .hero { grid-template-columns: minmax(0, 660px); justify-content: center; padding-top: 70px; padding-bottom: 20px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 64px; display: block; }
.top-home .wave { height: 110px; }

.site-header { padding-top: 20px; }
.pill {
  display: flex; align-items: center; justify-content: center; gap: 12px 30px;
  max-width: 720px; margin: 0 auto; padding: 8px 34px;
  background: #fff; border-radius: 999px; box-shadow: 0 6px 22px rgba(0,0,0,.28);
}
.pill a { text-decoration: none; color: var(--text); font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.pill a:hover { color: var(--amber-dark); }
.pill .oval {
  display: inline-flex; align-items: center; justify-content: center;
  margin: -16px 4px; padding: 8px 30px;
  background: linear-gradient(180deg, #ffd25a 0%, #f0a500 55%, #d98500 100%);
  border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  color: var(--dark); text-transform: uppercase; letter-spacing: 0.12em;
  font-family: var(--serif); font-weight: 600; font-size: 0.95rem; line-height: 1.1;
}
.pill .oval:hover { color: #fff; transform: translateY(-1px); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: 48px; }
.hero-frame { border: 2px solid rgba(255,255,255,.85); padding: 38px 34px; text-align: center; background: rgba(20,10,4,.28); backdrop-filter: blur(1px); }
.hero-frame h1 { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: clamp(1.8rem, 5vw, 3.1rem); margin: 0; line-height: 1.15; }
.hero-frame p { margin: 12px 0 22px; font-size: 1.1rem; color: #ffe9b9; }
.hero-art { width: 100%; max-height: 460px; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.4)); }

/* ---------- средняя светлая зона ---------- */
.welcome { max-width: 760px; margin: 0 auto; text-align: center; }
.welcome p { color: var(--muted); }

.hexes { padding-top: 24px; }
.hex-cluster {
  --w: clamp(140px, 34vw, 290px);
  list-style: none; padding: 0; margin: 28px auto 20px;
  position: relative;
  width: calc(var(--w) * 2.08);
  height: calc(var(--w) * (0.9 * (var(--rows) - 1) + 1.1547));
}
.hex-item { position: absolute; width: var(--w); left: calc(var(--x) * var(--w) * 0.52); top: calc(var(--r) * var(--w) * 0.9); }
.hex, .hex-in { display: block; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hex { aspect-ratio: 1 / 1.1547; background: linear-gradient(160deg, #ffd25a, #c98200); padding: 4px; transition: transform .2s ease, filter .2s ease; }
.hex-in { position: relative; width: 100%; height: 100%; background: #3a2413; overflow: hidden; }
.hex-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hex-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 22px;
  background: linear-gradient(180deg, transparent, rgba(20,10,4,.82));
  color: #fff; text-align: center; font-weight: 600; font-size: 0.95rem;
}
.hex-label small { display: block; font-weight: 400; font-size: 0.8rem; opacity: .9; }
.hex-info {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 22% 15%; text-align: center; color: #fff;
  background: rgba(28,14,6,.88);
  opacity: 0; transition: opacity .25s ease;
}
.hex-info-title { font-weight: 600; font-size: 1.02rem; line-height: 1.25; color: var(--gold); }
.hex-info-text { font-size: 0.82rem; line-height: 1.35; }
.hex-info-list { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; font-weight: 600; }
.hex:hover { transform: scale(1.05); filter: brightness(1.06); }
@media (hover: hover) {
  .hex:hover .hex-info, .hex:focus-visible .hex-info { opacity: 1; }
}
@media (hover: none) {
  .hex-info { display: none; }
}

.assort-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.assort { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px 20px 14px; }
.assort ul { padding-left: 1.2em; }
.assort p, .assort li { font-size: 0.95rem; }

/* ---------- карточки товаров ---------- */
.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 4px 14px rgba(120,80,10,.06); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(120,80,10,.16); }
.card a { text-decoration: none; color: inherit; }
.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; display: block; }
.card h3 { min-height: 3.1em; }
.price { font-weight: 700; margin: 0.3em 0 0; color: var(--amber-dark); }
.price.big { font-size: 2rem; }

.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 8px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.gallery-main { grid-column: 1 / -1; }
.gallery-thumb img { aspect-ratio: 1; object-fit: cover; }
.buy { background: #fff7e2; border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: 12px; padding: 4px 20px 16px; margin: 20px 0; }
.buy h2 { margin-top: 0.8em; }
.features { padding-left: 1.2em; }
.legal { max-width: 800px; }
.legal h2 { font-size: 1.1rem; }

.btn { display: inline-block; background: linear-gradient(180deg, #ffbd2e, #f0a500); color: #3a2200; padding: 10px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; margin: 4px 8px 4px 0; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.btn:hover { filter: brightness(1.06); }
.btn-alt { background: var(--dark-2); color: #fff; }

/* ---------- нижняя тёмная зона ---------- */
.footer-wave { margin-top: 24px; line-height: 0; }
.wave-up { display: block; width: 100%; height: 70px; }
.site-footer { background: var(--dark); color: #d9c7a3; padding-block: 8px 40px; margin-top: -1px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.footer-title { font-family: var(--script); font-weight: 400; font-size: 1.7rem; color: var(--gold); margin: 0 0 8px; }
.footer-title.brand { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 1.15rem; }
.site-footer a { color: var(--gold); }
.site-footer p { margin: 0 0 10px; }
.footer-list { list-style: none; padding: 0; margin: 10px 0 0; }
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--gold); text-decoration: underline; cursor: pointer; text-align: left; }

.cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 10; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.28); color: var(--text); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 10px; font-size: 0.92rem; line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .product { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pill { flex-wrap: wrap; border-radius: 28px; padding: 8px 18px; gap: 6px 18px; }
  .pill .oval { order: -1; flex-basis: 100%; margin: -22px 30% 2px; padding: 8px 12px; }
  h1 { font-size: 1.6rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { padding: 8px; }
  .card h3 { font-size: 0.9rem; }
  .script { font-size: 2.1rem; }
  .top-home .wave { height: 80px; }
}
