/* ===== Design tokens ===== */
:root {
  --green-deep: #1a2e1a;
  --green-mid: #243824;
  --green-soft: #2f4a2f;
  --gold: #d4a54a;
  --gold-light: #e8c078;
  --gold-dim: rgba(212, 165, 74, 0.35);
  --beige: #f5efe6;
  --beige-muted: rgba(245, 239, 230, 0.65);
  --ink: #f5efe6;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.25);
  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --header-h: 64px;
  --topbar-h: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--green-deep);
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Top bar ===== */
.topbar {
  position: relative;
  z-index: 110;
  background: rgba(212, 165, 74, 0.12);
  border-bottom: 1px solid var(--gold-dim);
}

.topbar p {
  padding: 6px 12px;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 130;
  background: rgba(26, 46, 26, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-dim);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled { box-shadow: var(--shadow-soft); }

body.nav-open .header {
  background: rgba(26, 46, 26, 0.98);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.logo__mark {
  width: 32px;
  height: 32px;
  color: var(--gold);
  flex-shrink: 0;
}

.logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }

.logo__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 600;
  color: var(--beige);
  letter-spacing: 0.02em;
}

.logo__tagline {
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.8vw, 22px);
  min-width: 0;
}

.nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--beige-muted);
  transition: color 0.25s var(--ease);
  position: relative;
  white-space: nowrap;
  padding: 4px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav__link:hover { color: var(--beige); }
.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  line-height: 1.2;
}

.header__phone {
  font-size: 0.72rem;
  color: var(--beige-muted);
  white-space: nowrap;
  transition: color 0.25s;
}

.header__phone:hover { color: var(--gold); }

.header__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s, transform 0.3s var(--ease-spring), border-color 0.3s;
}

.header__social:hover {
  background: rgba(212, 165, 74, 0.14);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.cart-btn:hover {
  background: rgba(212, 165, 74, 0.12);
  transform: scale(1.05);
}

.cart-btn svg { width: 20px; height: 20px; }

.cart-btn__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  color: var(--green-deep);
  background: var(--gold);
  border-radius: 999px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-spring), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn--primary {
  color: var(--green-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 4px 20px rgba(212, 165, 74, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 165, 74, 0.4);
}

.btn--outline {
  color: var(--beige);
  border: 1px solid var(--gold-dim);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn--ghost {
  color: var(--beige);
  border: 1px solid var(--gold-dim);
  background: rgba(212, 165, 74, 0.06);
}

.btn--ghost:hover { background: rgba(212, 165, 74, 0.14); }

.btn--sm { padding: 10px 18px; font-size: 0.65rem; }
.btn--full { width: 100%; }

/* ===== Typography helpers ===== */
.eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-head { text-align: center; margin-bottom: 40px; }

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-style: italic;
  font-weight: 600;
  color: var(--beige);
  margin: 10px 0 12px;
}

.section-head__text {
  max-width: 520px;
  margin: 0 auto;
  color: var(--beige-muted);
  font-size: 0.95rem;
}

.divider {
  width: 80px;
  height: 1px;
  margin: 20px 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 32px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 78% 42%, rgba(212, 165, 74, 0.14), transparent 62%),
    radial-gradient(ellipse 45% 50% at 12% 78%, rgba(47, 74, 47, 0.55), transparent),
    radial-gradient(ellipse 70% 40% at 40% 0%, rgba(36, 56, 36, 0.9), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.trust__item {
  transition: transform 0.4s var(--ease-spring), border-color 0.3s;
}

.trust__item:hover {
  transform: translateY(-4px);
}

.hero__frame {
  position: relative;
  padding: 40px 44px;
  background:
    linear-gradient(145deg, rgba(47, 74, 47, 0.35), transparent 42%),
    linear-gradient(160deg, rgba(36, 56, 36, 0.92), rgba(26, 46, 26, 0.98));
  border: 1px solid rgba(212, 165, 74, 0.22);
  border-radius: calc(var(--radius) + 4px);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(232, 192, 120, 0.08);
  overflow: hidden;
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: auto -8% -30% 48%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(212, 165, 74, 0.18), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 340px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero__content {
  min-width: 0;
  animation: heroIn 0.9s var(--ease) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.45rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.02;
  color: var(--beige);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero__script {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-style: italic;
  color: var(--gold-light);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.hero__text {
  color: var(--beige-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 460px;
}

.hero__text strong { color: var(--beige); font-weight: 500; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero__note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--beige-muted);
  letter-spacing: 0.01em;
}

.hero__photo {
  margin: 0;
  width: 100%;
  max-width: 380px;
  justify-self: center;
  text-align: center;
  background: none;
  overflow: visible;
  box-shadow: none;
  animation: heroIn 1s var(--ease) 0.12s both;
}

.hero__photo-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  max-height: 460px;
  display: grid;
  place-items: center;
  background: transparent;
  overflow: visible;
  isolation: isolate;
}

.hero__photo-frame::before {
  content: "";
  position: absolute;
  inset: 14% 8% 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(232, 192, 120, 0.22), transparent 62%),
    radial-gradient(circle at 50% 58%, rgba(0, 0, 0, 0.22), transparent 72%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
  animation: heroGlow 5.5s ease-in-out infinite;
}

.hero__photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.35));
  animation: heroFloat 6.5s ease-in-out infinite;
}

.hero__photo-caption {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  opacity: 0.92;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Trust ===== */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
  align-items: stretch;
}

.trust__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 16px 18px;
  background: rgba(36, 56, 36, 0.55);
  border: 1px solid rgba(212, 165, 74, 0.16);
  border-radius: 12px;
}

.trust__thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  max-width: 56px;
  max-height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(212, 165, 74, 0.24);
  background: #eceae6;
}

.trust__thumb img {
  display: block;
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.trust__body { min-width: 0; flex: 1 1 auto; }

.trust__item h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-style: italic;
  color: var(--beige);
  margin-bottom: 2px;
}

.trust__item p {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--beige-muted);
}

.badge {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 10px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.badge--stock {
  color: var(--green-deep);
  background: var(--gold-light);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}

.badge--order {
  color: var(--beige-muted);
  background: rgba(245, 239, 230, 0.12);
  border: 1px solid rgba(245, 239, 230, 0.2);
}

.badge--soon {
  color: var(--green-deep);
  background: linear-gradient(135deg, #f0d7a0, var(--gold));
  border: 1px solid rgba(255, 236, 190, 0.55);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* ===== Catalog ===== */
.catalog {
  padding: 80px 0;
  background: var(--green-mid);
}

.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--beige-muted);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover { color: var(--beige); border-color: var(--gold); }

.filter-btn.is-active {
  color: var(--green-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--green-deep);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s, border-color 0.35s;
  animation: fadeUp 0.6s var(--ease) both;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(212, 165, 74, 0.45);
}

.product-card__image {
  position: relative;
  z-index: 0;
  padding: 28px 20px 20px;
  background: linear-gradient(180deg, rgba(245, 239, 230, 0.04), transparent);
  display: flex;
  justify-content: center;
  overflow: visible;
}

.product-card__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease-spring);
}

.product-card:hover .product-card__image img { transform: scale(1.04); }

.product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  pointer-events: none;
}

.product-card__body { padding: 20px 22px 24px; }

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--beige);
  margin-bottom: 4px;
}

.product-card__subtitle {
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.product-card__weight {
  font-size: 0.78rem;
  color: var(--beige-muted);
  margin-bottom: 16px;
  line-height: 1.45;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-card__link:hover .product-card__name {
  color: var(--gold-light);
}

.product-card__more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  transition: color 0.25s;
}

.product-card__more:hover {
  color: var(--gold-light);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.product-card__price small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--beige-muted);
}

.product-card__status {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
}

.product-card.is-hidden { display: none; }

/* ===== Coming soon rail ===== */
.soon-rail {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
  border-top: 1px solid var(--gold-dim);
  background:
    linear-gradient(180deg, rgba(18, 28, 18, 0.92), rgba(26, 46, 26, 0.98));
}

.soon-rail__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 15% 40%, rgba(120, 72, 40, 0.22), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 60%, rgba(212, 165, 74, 0.1), transparent 65%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(245, 239, 230, 0.015) 18px,
      rgba(245, 239, 230, 0.015) 19px
    );
}

.soon-rail .section-head {
  position: relative;
  z-index: 1;
}

.soon-rail__viewport {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.soon-rail__viewport::-webkit-scrollbar { display: none; }

.soon-rail__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 max(20px, calc((100vw - 1140px) / 2 + 20px));
}

.soon-card {
  position: relative;
  flex: 0 0 min(78vw, 280px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 165, 74, 0.28);
  background: rgba(10, 16, 10, 0.72);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s var(--ease-spring), border-color 0.3s;
}

.soon-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  border-color: rgba(232, 192, 120, 0.55);
}

.soon-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.soon-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
  transform: scale(1.04);
  transition: transform 0.7s var(--ease);
}

.soon-card:hover .soon-card__media img {
  transform: scale(1.1);
}

.soon-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 12, 8, 0.92) 100%);
  pointer-events: none;
}

.soon-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--gold-light);
  border-radius: 999px;
}

.soon-card__body {
  position: relative;
  z-index: 1;
  margin-top: -48px;
  padding: 0 20px 22px;
}

.soon-card__line {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.soon-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  color: var(--beige);
  margin-bottom: 8px;
  line-height: 1.15;
}

.soon-card__blurb {
  font-size: 0.88rem;
  color: var(--beige-muted);
  margin-bottom: 16px;
  min-height: 2.6em;
}

.soon-card--cocoa { --soon-accent: #8b5a2b; }
.soon-card--coffee { --soon-accent: #5c3d2e; }
.soon-card--pepper { --soon-accent: #2a2a2a; }
.soon-card--pepper-light {
  --soon-accent: #d8cfc2;
}
.soon-card--paste { --soon-accent: #c4a574; }

.soon-card--cocoa .soon-card__media::before,
.soon-card--coffee .soon-card__media::before,
.soon-card--pepper .soon-card__media::before,
.soon-card--pepper-light .soon-card__media::before,
.soon-card--paste .soon-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, color-mix(in srgb, var(--soon-accent) 35%, transparent), transparent 55%);
  pointer-events: none;
}

.soon-card--pepper-light .soon-card__media img {
  filter: brightness(1.15) saturate(0.7) sepia(0.15);
}

.soon-rail__footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.soon-rail__controls {
  display: flex;
  gap: 10px;
}

.soon-rail__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  color: var(--beige);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.4rem;
  line-height: 1;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
}

.soon-rail__arrow:hover {
  background: rgba(212, 165, 74, 0.2);
  border-color: var(--gold);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .soon-card {
    flex-basis: min(84vw, 260px);
  }

  .soon-rail__footer {
    justify-content: center;
  }
}

/* ===== Wholesale ===== */
.wholesale {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(212, 165, 74, 0.07), transparent),
    var(--green-deep);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}

.wholesale__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.wholesale-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: 40px;
  padding: 28px 32px;
  background: var(--green-mid);
  border: 1px solid rgba(212, 165, 74, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(212, 165, 74, 0.08);
}

.wholesale-download__copy {
  flex: 1 1 240px;
  max-width: 520px;
}

.wholesale-download__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  color: var(--cream);
}

.wholesale-download__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.78);
}

.wholesale-download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 1 auto;
}

.wholesale-download__actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.wholesale-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px 28px;
  background: var(--green-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-spring), border-color 0.35s, box-shadow 0.35s;
}

.wholesale-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 74, 0.45);
  box-shadow: var(--shadow-soft);
}

.wholesale-card--highlight {
  border-color: rgba(212, 165, 74, 0.5);
  background: linear-gradient(160deg, rgba(36, 56, 36, 0.98), rgba(26, 46, 26, 0.95));
  box-shadow: 0 0 40px rgba(212, 165, 74, 0.1);
}

.wholesale-card--custom {
  justify-content: center;
  min-height: 100%;
}

.wholesale-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--gold-light);
  border-radius: 999px;
}

.wholesale-card__volume {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.wholesale-card__price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--beige);
}

.wholesale-card__price--text {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 600;
}

.wholesale-card__unit {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--beige-muted);
}

.wholesale-card__note {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--beige-muted);
}

.wholesale__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 32px;
  background: var(--green-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
}

.wholesale__list {
  list-style: none;
}

.wholesale__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--beige-muted);
}

.wholesale__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.wholesale__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}

.wholesale__actions .btn { width: 100%; white-space: nowrap; }

@media (max-width: 768px) {
  .wholesale__footer {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .wholesale__actions { min-width: 0; }
}

/* ===== Reviews (Instagram Stories) ===== */
.reviews {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 165, 74, 0.06), transparent),
    var(--green-deep);
  overflow-x: clip;
  overflow-y: visible;
}

.reviews__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.reviews__instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--beige);
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-spring);
}

.reviews__instagram:hover {
  background: rgba(212, 165, 74, 0.1);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.reviews__nav { display: flex; gap: 8px; }

.reviews__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--beige);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  transition: background 0.25s, border-color 0.25s;
}

.reviews__arrow:hover {
  background: rgba(212, 165, 74, 0.12);
  border-color: var(--gold);
}

.reviews__carousel-wrap {
  position: relative;
  margin: 0 -20px;
  padding: 12px 20px 8px;
  overflow: hidden;
  touch-action: pan-y;
}

.reviews__stage {
  position: relative;
  height: clamp(320px, 54vw, 420px);
  perspective: 1200px;
  perspective-origin: 50% 45%;
  overflow: hidden;
  touch-action: pan-y;
  transform-style: preserve-3d;
}

.reviews__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 0;
  width: 58%;
  height: 36px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(212, 165, 74, 0.28), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.reviews__cylinder {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 0.85, 0.28, 1);
  will-change: transform;
}

.reviews__swipe-hint {
  margin-top: 18px;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--beige-muted);
}

.story-card-3d {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: var(--story-card-w, 96px);
  margin-left: calc(var(--story-card-w, 96px) / -2);
  margin-top: calc(var(--story-card-h, 170px) / -2);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: opacity 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.story-card-3d:not(.is-active) {
  opacity: 0.55;
  pointer-events: auto;
}

.story-card-3d:not(.is-active) .story-card-3d__frame {
  opacity: 0.88;
}

.story-card-3d.is-active {
  opacity: 1;
  z-index: 2;
}

.story-card-3d__frame {
  position: relative;
  width: var(--story-card-w, 96px);
  height: var(--story-card-h, 170px);
  padding: 2px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(212, 165, 74, 0.95), rgba(168, 120, 48, 0.75), rgba(212, 165, 74, 0.55));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease);
}

.story-card-3d.is-active .story-card-3d__frame {
  transform: scale(1.1) translateZ(24px);
  box-shadow:
    0 0 0 1px rgba(212, 165, 74, 0.5),
    0 0 28px rgba(212, 165, 74, 0.22),
    0 24px 48px rgba(0, 0, 0, 0.5);
}

.story-card-3d__frame.is-seen {
  background: rgba(245, 239, 230, 0.35);
}

.story-card-3d__inner {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
  border: 2px solid rgba(26, 46, 26, 0.85);
}

.story-card-3d__inner img,
.story-card-3d__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.story-card-3d__inner-video {
  position: relative;
  width: 100%;
  height: 100%;
}

.story-card-3d__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
}

.story-card-3d__preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(160deg, var(--green-soft), var(--green-mid));
}

.story-card-3d__name {
  max-width: calc(var(--story-card-w, 96px) + 28px);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--beige);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateZ(12px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.story-card-3d.is-active .story-card-3d__name {
  color: var(--gold-light);
}

/* Legacy ring styles kept for fallback */
.reviews__carousel {
  display: none;
}

.story-ring {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 108px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring);
}

.story-ring:hover { transform: scale(1.05); }

.story-ring__frame {
  position: relative;
  width: 88px;
  height: 88px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.story-ring__frame.is-seen {
  background: rgba(245, 239, 230, 0.25);
}

.story-ring__inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green-deep);
  background: var(--green-mid);
}

.story-ring__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-ring__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.story-ring__inner-video {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.story-ring__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.story-ring__preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(160deg, var(--green-soft), var(--green-mid));
}

.story-ring__name {
  max-width: 100%;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--beige-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviews__note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--beige-muted);
}

/* Story viewer (fullscreen) */
.story-viewer {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  /* центрируем относительно визуального viewport на мобилках */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.story-viewer.is-open {
  opacity: 1;
  visibility: visible;
}

.story-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.story-viewer__shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

.story-viewer__nav {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transition: background 0.25s, transform 0.25s var(--ease-spring), border-color 0.25s, opacity 0.25s;
  cursor: pointer;
}

.story-viewer__nav:hover {
  background: rgba(212, 165, 74, 0.35);
  border-color: rgba(212, 165, 74, 0.55);
  transform: scale(1.06);
}

.story-viewer__nav:active {
  transform: scale(0.96);
}

.story-viewer__nav:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Стрелки только на широком десктопе с мышью — на телефонах не занимают место */
@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .story-viewer__nav {
    display: inline-flex;
  }

  .story-viewer__frame {
    cursor: default;
  }

  .story-viewer__tap {
    cursor: pointer;
  }

  .reviews__swipe-hint--touch { display: none; }
  .reviews__swipe-hint--desktop { display: block; }
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .story-viewer__nav {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden;
    position: absolute;
    pointer-events: none;
  }

  .story-viewer__shell {
    width: 100%;
    max-width: 100%;
    gap: 0;
    justify-content: center;
  }

  .reviews__swipe-hint--touch { display: block; }
  .reviews__swipe-hint--desktop { display: none; }
}

.reviews__swipe-hint--desktop { display: none; }

.story-viewer__frame {
  position: relative;
  flex: 0 0 auto;
  width: min(300px, 78vw);
  height: auto;
  max-height: min(88vh, 680px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(212, 165, 74, 0.42);
  box-shadow:
    0 0 0 1px rgba(212, 165, 74, 0.12),
    0 0 48px rgba(212, 165, 74, 0.16),
    0 32px 90px rgba(0, 0, 0, 0.72);
  transform: scale(0.9);
  transition: transform 0.45s var(--ease-spring), box-shadow 0.45s var(--ease);
  touch-action: none;
  --story-drag-x: 0px;
  margin-inline: auto;
}

.story-viewer.is-open .story-viewer__frame {
  transform: scale(1) translate3d(var(--story-drag-x), 0, 0);
  box-shadow:
    0 0 0 1px rgba(212, 165, 74, 0.2),
    0 0 64px rgba(212, 165, 74, 0.22),
    0 40px 100px rgba(0, 0, 0, 0.78);
}

.story-viewer.is-open .story-viewer__frame.is-dragging {
  transition: none;
}

.story-viewer__progress {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 5;
  display: flex;
  gap: 4px;
}

.story-viewer__bar {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}

.story-viewer__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.story-viewer__bar.is-done .story-viewer__bar-fill { width: 100%; }
.story-viewer__bar.is-active .story-viewer__bar-fill { width: 100%; transition-duration: 5s; }

.story-viewer__head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 24px 12px 12px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent);
}

.story-viewer__head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.story-viewer__sound {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.story-viewer__sound:hover {
  background: rgba(212, 165, 74, 0.35);
  transform: scale(1.06);
}

.story-viewer__sound-icon--off { display: none; }
.story-viewer__sound.is-muted .story-viewer__sound-icon--on { display: none; }
.story-viewer__sound.is-muted .story-viewer__sound-icon--off { display: block; }

.story-viewer__close {
  font-size: 1.8rem;
  color: #fff;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.9;
  flex-shrink: 0;
}

.story-viewer__profile {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.story-viewer__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  overflow: hidden;
}

.story-viewer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-viewer__username {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
}

.story-viewer__time {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
}

.story-viewer__content {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.story-viewer__content::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.story-viewer__content:has(.story-slide__video)::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 25%, transparent 85%, rgba(0, 0, 0, 0.2) 100%);
}

.story-slide__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.story-slide__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

.story-viewer__content.is-media::after {
  display: none;
}

.story-viewer__content.is-media + .story-viewer__head,
.story-viewer__frame:has(.is-media) .story-viewer__head {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
}

.story-slide__sticker {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translateX(-50%);
  max-width: 85%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.story-slide__sticker--top { top: 22%; }
.story-slide__sticker--mid { top: 50%; transform: translate(-50%, -50%); }
.story-slide__sticker--bottom { bottom: 18%; }

.story-slide__tag {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 14px;
  padding: 6px 12px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--gold-light);
  border-radius: 999px;
}

.story-slide__product {
  position: absolute;
  z-index: 2;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.story-slide__emoji {
  position: absolute;
  z-index: 2;
  font-size: 2.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.story-slide__emoji--tl { top: 28%; left: 12%; }
.story-slide__emoji--br { bottom: 28%; right: 12%; font-size: 2rem; }

.story-viewer__tap {
  position: absolute;
  top: 58px;
  bottom: 0;
  z-index: 3;
  width: 50%;
  background: transparent;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.story-viewer__tap--prev { left: 0; }
.story-viewer__tap--next { right: 0; }

@media (hover: hover) and (pointer: fine) {
  .story-viewer__tap--prev:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent);
  }

  .story-viewer__tap--next:hover {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.06), transparent);
  }
}

@media (min-width: 769px) {
  .reviews__stage {
    height: 400px;
    --story-card-w: 108px;
    --story-card-h: 192px;
  }
}

@media (max-width: 768px) {
  .reviews__stage {
    --story-card-w: 88px;
    --story-card-h: 156px;
  }

  .story-viewer {
    padding: max(10px, env(safe-area-inset-top, 0px))
      max(10px, env(safe-area-inset-right, 0px))
      max(10px, env(safe-area-inset-bottom, 0px))
      max(10px, env(safe-area-inset-left, 0px));
  }

  .story-viewer__frame {
    width: min(92vw, 340px);
    height: auto;
    max-height: min(86dvh, calc(100dvh - 20px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews__cylinder,
  .story-card-3d__frame {
    transition: none !important;
  }
}

/* ===== Blog teaser (main page) ===== */
.blog-teaser {
  padding: 80px 0;
  background: var(--green-deep);
}

.blog-teaser__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.blog-cat {
  display: block;
  padding: 28px 24px;
  text-align: center;
  background: var(--green-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-spring), border-color 0.25s, box-shadow 0.3s;
}

.blog-cat:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 74, 0.5);
  box-shadow: var(--shadow-soft);
}

.blog-cat__icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.blog-cat__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--beige);
  margin-bottom: 8px;
}

.blog-cat__text {
  font-size: 0.85rem;
  color: var(--beige-muted);
}

.blog-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  background: var(--green-mid);
  margin-bottom: 32px;
}

.blog-feature__media {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(61, 41, 20, 0.9), rgba(26, 46, 26, 0.95)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(212, 165, 74, 0.04) 12px, rgba(212, 165, 74, 0.04) 24px);
  color: var(--beige-muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.blog-feature__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-style: italic;
  color: var(--beige);
  margin: 10px 0 14px;
  line-height: 1.25;
}

.blog-feature__text {
  color: var(--beige-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.blog-teaser__all {
  text-align: center;
}

/* ===== Blog carousel ===== */
.blog-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 165, 74, 0.28);
  margin-bottom: 28px;
  min-height: 360px;
  background: var(--green-mid);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.blog-carousel__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.blog-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s var(--ease);
  pointer-events: none;
}

.blog-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.blog-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-carousel__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px 72px;
  background: linear-gradient(180deg, rgba(26, 46, 26, 0.05) 0%, rgba(26, 46, 26, 0.55) 45%, rgba(26, 46, 26, 0.92) 100%);
  pointer-events: none;
}

.blog-carousel__overlay .btn {
  pointer-events: auto;
  align-self: flex-start;
}

.blog-carousel__eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.blog-carousel__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-style: italic;
  font-weight: 600;
  color: var(--beige);
  line-height: 1.25;
  margin-bottom: 8px;
  max-width: 640px;
}

.blog-carousel__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--beige-muted);
  max-width: 520px;
  margin-bottom: 16px;
}

.blog-carousel__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(26, 46, 26, 0.85));
}

.blog-carousel__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 165, 74, 0.45);
  color: var(--gold-light);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}

.blog-carousel__arrow:hover {
  background: rgba(212, 165, 74, 0.15);
  border-color: var(--gold);
}

.blog-carousel__dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 200px;
}

.blog-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(245, 239, 230, 0.35);
  transition: transform 0.25s, background 0.25s;
}

.blog-carousel__dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .blog-carousel {
    min-height: 300px;
  }

  .blog-carousel__overlay {
    padding: 20px 16px 64px;
  }

  .blog-carousel__title {
    font-size: 1.15rem;
  }

  .blog-carousel__text {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .blog-teaser__cats {
    grid-template-columns: 1fr;
  }
}

/* ===== About ===== */
.about { padding: 80px 0; }

.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.about__content p {
  color: var(--beige-muted);
  margin-bottom: 14px;
}

.about__content .section-head__title {
  text-align: left;
  margin: 10px 0 20px;
}

.about__list {
  list-style: none;
  margin-top: 24px;
}

.about__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--beige);
  font-size: 0.9rem;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  padding: 28px 24px;
  text-align: center;
  background: var(--green-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-spring);
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card__label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.stat-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--beige);
  line-height: 1.1;
}

.stat-card__desc {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--beige-muted);
}

/* ===== Contacts ===== */
.contacts {
  padding: 80px 0 100px;
  background: var(--green-mid);
}

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.contact-card {
  padding: 24px;
  background: var(--green-deep);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  transition: border-color 0.25s, transform 0.25s var(--ease-spring);
}

.contact-card:hover {
  border-color: rgba(212, 165, 74, 0.4);
  transform: translateY(-2px);
}

.contact-card--cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card__label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-card__value {
  font-size: 0.95rem;
  color: var(--beige);
  transition: color 0.25s;
}

a.contact-card__value:hover { color: var(--gold-light); }

/* ===== Footer ===== */
.footer {
  padding: 32px 0 90px;
  border-top: 1px solid var(--gold-dim);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
}

.footer__brand { display: flex; flex-direction: column; gap: 4px; }

.footer__tagline {
  font-size: 0.72rem;
  color: var(--beige-muted);
  letter-spacing: 0.06em;
}

.footer__legal {
  max-width: 560px;
  text-align: right;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--beige-muted);
}

.footer__requisites {
  margin-top: 8px;
  font-size: 0.68rem;
  line-height: 1.55;
  color: rgba(245, 239, 230, 0.48);
}

@media (max-width: 768px) {
  .footer__legal { text-align: left; max-width: none; }
}

/* ===== Mobile bar ===== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(26, 46, 26, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--gold-dim);
  gap: 10px;
}

.mobile-bar__btn {
  flex: 1;
  padding: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 999px;
}

.mobile-bar__btn--call {
  color: var(--beige);
  border: 1px solid var(--gold-dim);
}

.mobile-bar__btn--cart {
  color: var(--green-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

/* ===== Overlay & drawers ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.overlay.is-visible { opacity: 1; visibility: visible; }

.overlay--nav {
  z-index: 125;
  top: calc(var(--header-h) + var(--topbar-h));
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 160;
  width: min(420px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--green-mid);
  border-left: 1px solid var(--gold-dim);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}

.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--gold-dim);
}

.cart-drawer__head h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
}

.cart-drawer__close {
  font-size: 1.8rem;
  color: var(--beige-muted);
  line-height: 1;
  transition: color 0.25s;
}

.cart-drawer__close:hover { color: var(--gold); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--beige-muted);
  padding: 40px 0;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(212, 165, 74, 0.12);
}

.cart-item__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--beige);
  margin-bottom: 4px;
}

.cart-item__meta {
  font-size: 0.75rem;
  color: var(--beige-muted);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--beige);
  border: 1px solid var(--gold-dim);
  border-radius: 6px;
  transition: background 0.2s;
}

.qty-btn:hover { background: rgba(212, 165, 74, 0.12); }

.cart-item__qty {
  min-width: 24px;
  text-align: center;
  font-size: 0.85rem;
}

.cart-item__price {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.cart-drawer__foot {
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--gold-dim);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.cart-drawer__total span:last-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal[open] {
  opacity: 1;
  visibility: visible;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.modal__inner {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  padding: 36px 28px;
  background: var(--green-mid);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease-spring);
}

.modal[open] .modal__inner {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.6rem;
  color: var(--beige-muted);
  line-height: 1;
}

.modal__close:hover { color: var(--gold); }

.modal__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--beige);
  margin: 8px 0 10px;
}

.modal__text {
  font-size: 0.88rem;
  color: var(--beige-muted);
  margin-bottom: 20px;
}

.field {
  display: block;
  margin-bottom: 14px;
}

.field span {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--beige);
  background: var(--green-deep);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.25s;
}

.field input:focus,
.field textarea:focus { border-color: var(--gold); }

.field textarea { resize: vertical; min-height: 80px; }

.field--honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field--consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
}

.field--consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.field--consent > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
  color: var(--beige-muted);
  margin-bottom: 0;
}

.field--consent a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.footer__links a,
.footer__cookie-btn {
  font-size: 0.78rem;
  color: var(--gold-light);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.footer__links a:hover,
.footer__cookie-btn:hover {
  color: var(--beige);
  text-decoration: underline;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--green-deep);
  background: var(--beige);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(120px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-spring), opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__inner { gap: 14px; }

  .nav__link { font-size: 0.68rem; }

  .header__phones { display: none; }

  .logo__tagline { display: none; }
}

@media (max-width: 960px) {
  .header__actions .btn--ghost { display: none; }

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    width: 100%;
    z-index: 140;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(26, 46, 26, 0.98);
    border-bottom: 1px solid var(--gold-dim);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), visibility 0.35s;
  }

  .nav.is-open {
    max-height: min(70vh, calc(100vh - var(--header-h) - var(--topbar-h) - 80px));
    padding: 8px 0 16px;
    visibility: visible;
    pointer-events: auto;
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .nav__link {
    display: block;
    padding: 14px 20px;
    text-align: left;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(212, 165, 74, 0.08);
  }

  .nav__link:last-child { border-bottom: none; }

  .nav__link::after { display: none; }

  .burger { display: flex; }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__frame { padding: 28px 22px; }

  .hero__photo {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
    justify-self: center;
  }

  .hero__photo-frame {
    max-height: 340px;
  }

  .hero__content { text-align: center; }

  .hero__text { margin: 0 auto; }

  .hero__actions { justify-content: center; }

  .divider { margin-left: auto; margin-right: auto; }

  .trust { grid-template-columns: 1fr; }

  .about__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .mobile-bar { display: flex; }

  .footer { padding-bottom: 100px; }

  .toast { bottom: 88px; }

  .hero { padding: 20px 0 28px; }

  .hero__frame { padding: 20px 16px; }

  .hero__photo { max-width: 240px; }

  .hero__photo-frame {
    max-height: 300px;
  }

  .product-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card__footer .btn { width: 100%; }

  /* Не даём 3D-карусели раздувать ширину экрана */
  .reviews__carousel-wrap {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .reviews__stage {
    overflow: hidden;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .topbar p { font-size: 0.55rem; letter-spacing: 0.08em; }

  .catalog__grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }

  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }

  .hero__photo-frame img,
  .hero__photo-frame::before,
  .hero__content,
  .hero__photo {
    animation: none !important;
  }
}

/* ===== Audit 2027 additions ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order-steps {
  margin-top: 36px;
  padding: 22px 24px;
  border: 1px solid rgba(212, 165, 74, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(36, 56, 36, 0.55), rgba(20, 34, 20, 0.75));
}

.order-steps__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--beige);
}

.order-steps__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--beige-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.order-steps__list strong {
  color: var(--gold-light);
  font-weight: 600;
}

.product-card--soon {
  opacity: 0.92;
}

.product-card--soon .product-card__footer {
  flex-direction: column;
  align-items: stretch;
}

.blog-cat__icon {
  display: none;
}
