:root {
  --bg: #FBF7EF;
  --bg-alt: #FFFFFF;
  --cream: #F5EFE3;
  --ink: #211A13;
  --ink-soft: #6E5D48;
  --accent: #A8391F;
  --accent-dark: #7E2A16;
  --accent-soft: #F5E9D6;
  --gold: #A9812E;
  --line: #ECE7DC;
  --radius-lg: 4px;
  --radius-md: 3px;
  --shadow: 0 6px 20px rgba(33, 26, 19, 0.10);
  --shadow-soft: 0 10px 30px rgba(60, 44, 24, .10);
  --shadow-lift: 0 18px 44px rgba(60, 44, 24, .16);
  --container: 1180px;
}

* { box-sizing: border-box; }

/* 🔴 Атрибут hidden должен прятать ЛЮБОЙ блок. Без этого правила display:flex у .form-field/.row
   перебивал hidden, и на «Самовывозе» были видны пустая карта СДЭК и поле адреса (найдено 22.08.2026). */
[hidden] { display: none !important; }

/* Никакой синей подсветки и выделения текста при нажатии на кнопки и ссылки */
a, button, .btn, .icon-btn, .qty-btn, .scroll-btn, .burger, select, summary {
  -webkit-tap-highlight-color: transparent;
}
button, .btn, .icon-btn, .qty-btn, .scroll-btn, .burger {
  -webkit-user-select: none;
  user-select: none;
}
button:focus, .btn:focus, .icon-btn:focus, .qty-btn:focus, .scroll-btn:focus, .burger:focus, a:focus { outline: none; }
/* Обводка остаётся только для навигации с клавиатуры */
button:focus-visible, .btn:focus-visible, .icon-btn:focus-visible, .qty-btn:focus-visible,
.scroll-btn:focus-visible, .burger:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

body {
  margin: 0;
  font-family: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  position: relative;
}
/* Подложка под весь скролл: тёплая кремовая основа + очень мягкое фото мастерской.
   Просьба клиента (голосовое 19.08.2026): «чтобы не просто белый фон, а фотография
   с производством, и на её фоне весь скроллинг». Фон стоит на месте, контент едет поверх. */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -3;
  background:
    linear-gradient(180deg, rgba(251,247,239,.965) 0%, rgba(248,243,233,.975) 45%, rgba(245,239,227,.985) 100%),
    url('../img/design2026/page-bg.jpg') center top / cover no-repeat;
  pointer-events: none;
}

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

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

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

h1, h2, h3 {
  font-family: 'Old Standard TT', 'PT Serif', Georgia, serif;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}

p { margin: 0 0 12px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-kicker {
  display: block;
  font-family: 'Golos Text', Arial, sans-serif;
  font-style: italic;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}

/* ORNAMENT DIVIDER — отключён (редизайн) */
.ornament-strip {
  display: none;
}
.ornament-strip-dark {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 2px;
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #FBF5E7;
  box-shadow: 0 8px 18px rgba(168, 57, 31, 0.35);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg-alt); }
.btn-sm { padding: 10px 18px; font-size: 14px; width: 100%; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.logo-text {
  font-family: 'Old Standard TT', serif;
  font-size: 23px;
  color: var(--ink);
  letter-spacing: 0.06em;
  font-weight: 700;
  position: relative;
  /* Тёплый градиент по буквам + бегущий блик — надпись выглядит тиснёной, а не «как в документе» */
  background-image: linear-gradient(92deg,
    #3B2A18 0%, #6E4A1E 18%, #A9812E 34%, #E7C46A 44%, #FFF3D2 50%,
    #E7C46A 56%, #A9812E 66%, #6E4A1E 82%, #3B2A18 100%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: logo-shine 7s ease-in-out infinite;
  text-shadow: 0 1px 0 rgba(255,255,255,.35);
}
@keyframes logo-shine {
  0%, 62% { background-position: 130% 0; }
  100%    { background-position: -30% 0; }
}
.logo:hover .logo-text { animation-duration: 1.6s; }
/* Солнце в бейдже медленно поворачивается и «дышит» тёплым свечением */
.logo-badge {
  position: relative;
  transition: transform .6s cubic-bezier(.2,.7,.3,1), box-shadow .6s ease;
}
.logo-badge::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,.42), rgba(217,164,65,0) 70%);
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.logo-badge img { transition: transform 1.2s cubic-bezier(.2,.7,.3,1); }
.logo:hover .logo-badge { transform: rotate(8deg); }
.logo:hover .logo-badge img { transform: rotate(180deg); }
.logo:hover .logo-badge::after { opacity: 1; }
/* Подпись под названием — как на этикетке */
.logo-sub {
  display: block;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 8.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
  -webkit-text-fill-color: currentColor;
}
.logo-lockup { display: flex; flex-direction: column; line-height: 1.05; }
@media (max-width: 560px) {
  .logo-text { font-size: 20px; letter-spacing: .05em; }
  .logo-sub { font-size: 7.5px; letter-spacing: .22em; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-text { animation: none; background-position: 50% 0; }
}
.logo-wordmark {
  height: 64px;
  width: auto;
  mix-blend-mode: multiply;
}
.logo-wordmark-dark {
  height: 84px;
  filter: invert(1);
  mix-blend-mode: screen;
}
.main-nav {
  display: flex;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--accent); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-phone {
  font-weight: 700;
  font-size: 15px;
  margin-right: 6px;
  white-space: nowrap;
}
.icon-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  transition: background .15s ease;
}
.icon-btn:hover { background: var(--accent-soft); color: var(--accent-dark); }
.cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 100px;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* HERO */
.hero { padding: 56px 0 40px; overflow: hidden; }

/* ===== HERO с фотографией мастерской (макет дизайнера, 31.08.2026) ===== */
.hero--photo {
  position: relative;
  padding: 0;
  min-height: min(86vh, 720px);
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero--photo .hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background: #EFE6D6 url('../img/design2026/hero-bg.jpg') 88% center / cover no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-out forwards;
}
@keyframes hero-zoom { from { transform: scale(1.10); } to { transform: scale(1.0); } }
.hero--photo .hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(94deg, rgba(20,13,8,.86) 0%, rgba(20,13,8,.84) 30%, rgba(20,13,8,.74) 48%, rgba(20,13,8,.42) 66%, rgba(20,13,8,.12) 86%, rgba(20,13,8,0) 100%),
    radial-gradient(120% 90% at 22% 50%, rgba(20,13,8,.55) 0%, rgba(20,13,8,0) 60%),
    linear-gradient(180deg, rgba(20,13,8,.45) 0%, rgba(20,13,8,.02) 28%, rgba(20,13,8,.28) 100%);
}
.hero--photo .hero-inner { display: block; padding-block: 72px; }
.hero--photo .hero-text { max-width: 560px; }
.hero--photo .eyebrow {
  color: #E9C88A; background: transparent; padding: 0; border: 0;
  letter-spacing: .1em; text-transform: uppercase; font-size: 11.5px; font-style: normal; white-space: nowrap;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
  display: block; margin-bottom: 18px; text-shadow: 0 1px 10px rgba(0,0,0,.6);
}
.hero--photo .hero-text h1 {
  color: #FFF8EC;
  max-width: 9.5em;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
  margin-bottom: 18px;
}
.hero--photo .hero-lead { color: rgba(255,248,236,.90); font-size: 17px; max-width: 500px; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero--photo .hero-badges span {
  background: rgba(255,248,236,.12);
  border-color: rgba(255,248,236,.32);
  color: #FFF8EC;
  backdrop-filter: blur(3px);
}
.hero--photo .btn-outline { border-color: rgba(255,248,236,.75); color: #FFF8EC; background: rgba(255,248,236,.06); }
.hero--photo .btn-outline:hover { background: rgba(255,248,236,.16); border-color: #FFF8EC; }
.hero--photo .btn-primary { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero--photo .btn { padding: 15px 28px; font-size: 15px; }
/* элементы первого экрана всплывают по очереди */
.hero--photo .eyebrow,
.hero--photo .hero-text h1,
.hero--photo .hero-lead,
.hero--photo .hero-cta,
.hero--photo .hero-badges { animation: hero-rise .9s cubic-bezier(.2,.7,.3,1) backwards; }
.hero--photo .eyebrow { animation-delay: .05s; }
.hero--photo .hero-text h1 { animation-delay: .18s; }
.hero--photo .hero-lead { animation-delay: .34s; }
.hero--photo .hero-cta { animation-delay: .48s; }
.hero--photo .hero-badges { animation-delay: .60s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero--photo { min-height: 0; }
  .hero--photo .hero-photo { background-position: 62% center; }
  .hero--photo .hero-veil {
    background:
      linear-gradient(180deg, rgba(28,20,12,.30) 0%, rgba(28,20,12,.10) 22%, rgba(28,20,12,.72) 58%, rgba(28,20,12,.94) 100%);
  }
  .hero--photo .hero-inner { padding-block: 230px 44px; }
  .hero--photo .hero-text h1 { font-size: clamp(27px, 7.4vw, 36px); max-width: none; }
  .hero--photo .eyebrow { white-space: normal; overflow: visible; text-overflow: clip; font-size: 10.5px; letter-spacing: .06em; }
  .hero--photo .hero-lead { font-size: 15.5px; max-width: none; }
  .hero--photo .hero-cta { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero--photo .btn { width: 100%; text-align: center; }
  .hero--photo .hero-badges { gap: 8px; }
  .hero--photo .hero-badges span { font-size: 12px; }
}

/* ===== Плашки преимуществ (готовые макеты дизайнера) ===== */
.usp--art { padding: 56px 0 24px; }
.usp-art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.usp-art { margin: 0; }
.usp-art img {
  display: block; width: 100%; height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.usp-art:hover img { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
/* На телефоне картинка-плашка нечитаема (текст вшит в неё и уезжает в 10 px),
   поэтому там показываем те же четыре пункта живым текстом в стиле макета. */
.usp-cards-mob { display: none; }
@media (max-width: 760px) {
  .usp-art-grid { display: none; }
  .usp-cards-mob { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .usp-mob {
    background: linear-gradient(180deg, #FFFDF8, var(--cream));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 18px 22px;
    box-shadow: var(--shadow-soft);
  }
  .usp-mob-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 50%;
    background: #241C15; margin-bottom: 14px;
  }
  .usp-mob-icon svg { width: 26px; height: 26px; }
  .usp-mob h3 { font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
  .usp-mob p { font-size: 15px; margin: 0; color: var(--ink-soft); }
}

/* ===== Блок «Сыродавленный отжим» ===== */
.press-art { padding: 20px 0 44px; }
.press-art-figure { margin: 0; }
.press-art-figure img {
  display: block; width: 100%; height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
/* Телефон: широкий макет отжима не читается — фото + живой текст в том же стиле */
.press-mob { display: none; }
@media (max-width: 760px) {
  .press-art-figure { display: none; }
  .press-mob {
    display: block;
    background: linear-gradient(180deg, #FFFDF8, var(--cream));
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  .press-mob img { display: block; width: 100%; height: auto; }
  .press-mob-text { padding: 20px 18px 24px; }
  .press-mob-text h2 { font-size: 26px; margin: 0 0 12px; }
  .press-mob-text p { font-size: 15px; color: var(--ink-soft); margin: 0 0 12px; }
  .press-mob-text p:last-child { margin: 0; }
}

/* ===== Орнамент-разделитель ===== */
.ornament-divider { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 26px 0; }
.ornament-divider::before, .ornament-divider::after {
  content: ''; height: 1px; width: min(180px, 22vw);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-divider img { opacity: .55; height: 18px; width: auto; }

/* ===== Текст только для скринридеров и поиска ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Плавное появление секций при прокрутке ===== */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .hero--photo .hero-photo { animation: none; transform: none; }
  .hero--photo .eyebrow, .hero--photo .hero-text h1, .hero--photo .hero-lead,
  .hero--photo .hero-cta, .hero--photo .hero-badges { animation: none; }
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-lead { font-size: 17px; max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
}
.hero-badges span {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 100px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.hero-sun-mark {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translate(-50%, -50%);
  background-image: url('../img/logo-mark-gold.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.14;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(239,218,184,0) 70%);
  z-index: 0;
}
.bottle-cluster {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.bottle { filter: drop-shadow(0 16px 18px rgba(33,26,19,0.28)); }
.bottle-center { width: 190px; z-index: 5; }
.bottle-side { width: 148px; margin-bottom: 12px; z-index: 4; }
.bottle-side.left { margin-right: -36px; transform: rotate(-9deg); }
.bottle-side.right { margin-left: -36px; transform: rotate(9deg); }
.bottle-far { width: 114px; margin-bottom: 2px; z-index: 3; opacity: 0.94; }
.bottle-far.left { margin-right: -30px; transform: rotate(-17deg); }
.bottle-far.right { margin-left: -30px; transform: rotate(17deg); }
/* USP */
.usp { padding: 40px 0; }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.usp-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.usp-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.usp-card h3 { font-size: 18px; margin-bottom: 8px; }
.usp-card p { font-size: 14px; margin: 0; }

/* SECTION generic */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.section-head h2 { font-size: 30px; }
.section-cta { text-align: center; margin-top: 32px; }

/* CATEGORIES */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.category-icon {
  height: 68px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 14px;
}
.category-icon img { max-height: 68px; width: auto; }
.category-icon-glyph { font-size: 36px; align-items: center; }
.category-card h3 { font-size: 19px; margin-bottom: 6px; }
.category-card p { font-size: 14px; margin-bottom: 16px; }
.cat-link { margin-top: auto; padding-top: 16px; font-family: 'Golos Text', Arial, sans-serif; font-weight: 700; font-style: italic; color: var(--accent-dark); font-size: 14px; }
.category-card.soon { opacity: 0.8; }

/* PRODUCTS */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}
.product-card .btn-sm { margin-top: auto; }
.product-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  /* Светлая подложка-рамка под фото — по мокапу клиента 19.08.2026 («масло в такой рамочке — поинтереснее») */
  background: linear-gradient(180deg, #FFFDF7 0%, #F6EFE1 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-card h3 { font-size: 16px; margin-bottom: 6px; font-family: 'Golos Text', Arial, sans-serif; font-weight: 700; }
.product-price { font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 16px; font-family: 'Golos Text', Arial, sans-serif; }

/* ABOUT TEASER */
.about-teaser { background: rgba(255,255,255,.72); backdrop-filter: blur(2px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-text h2 { font-size: 30px; }
.link-arrow { font-family: 'Golos Text', Arial, sans-serif; font-weight: 700; font-style: italic; color: var(--accent-dark); }

/* NEWSLETTER */
.newsletter { background: var(--ink); color: var(--bg-alt); padding: 48px 0; }
.newsletter h2 { color: var(--bg-alt); font-size: 26px; margin-bottom: 6px; }
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter p { color: rgba(251,245,231,0.72); margin: 0; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 18px;
  border-radius: 2px;
  border: none;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 15px;
  min-width: 240px;
}

/* FOOTER */
.site-footer { background: var(--ink); color: var(--bg-alt); padding-top: 40px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 40px 0;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-family: 'Golos Text', Arial, sans-serif; font-size: 15px; margin-bottom: 4px; color: var(--bg-alt); }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(251,245,231,0.65); }
.footer-col a:hover { color: var(--accent-soft); }
.footer-brand p { font-size: 14px; margin-top: 6px; }
.social-links { display: flex; gap: 10px; margin-top: 6px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 100px;
  background: rgba(251,245,231,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.footer-bottom {
  border-top: 1px solid rgba(251,245,231,0.15);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(251,245,231,0.5);
}
/* 🔴 На айфоне подвал упирался в нижний край экрана (замечание клиента 19.08.2026):
   добавляем безопасную зону под home-индикатор и запас по бокам. */
.site-footer {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.site-footer .container {
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 860px) {
  .footer-inner { padding: 32px 0 28px; }
  .footer-bottom { padding: 18px 0 calc(24px + env(safe-area-inset-bottom, 0px)); text-align: center; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .usp-grid, .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .recipes-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .header-inner { gap: 10px; height: 64px; }
  .header-actions { gap: 4px; }
  .logo { gap: 8px; }
  .logo-badge { width: 38px; height: 38px; padding: 6px; }
  .logo-text { font-size: 19px; }
  .icon-btn { width: 38px; height: 38px; }
  /* На узких экранах прячем кнопку «личный кабинет», оставляем корзину + бургер */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 300px; }
  .hero-text h1 { font-size: 32px; }
  .bottle-center { width: 150px; }
  .bottle-side { width: 118px; }
  .bottle-far { width: 92px; }
}

@media (max-width: 480px) {
  /* На самых узких экранах убираем иконку кабинета из шапки */
  .header-actions .icon-btn[aria-label="Личный кабинет"] { display: none; }
}

@media (max-width: 560px) {
  .usp-grid, .category-grid, .product-grid { grid-template-columns: 1fr; }
  .recipes-nav-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .section-head h2 { font-size: 26px; }
  .bottle-far { display: none; }
  .bottle-center { width: 140px; }
  .bottle-side { width: 110px; }
  .hero-sun-mark { width: 320px; height: 320px; }
}

/* PAGE HEADER (inner pages) */
.page-head { padding: 48px 0 32px; text-align: center; }
.breadcrumbs {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: 38px; margin-bottom: 10px; }
.page-head p { max-width: 560px; margin: 0 auto; }
.main-nav a.active { color: var(--accent-dark); }

/* CATEGORY QUICK NAV */
.cat-nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.cat-nav-inner { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 14px 24px; }
.cat-nav-link {
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 100px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cat-nav-link:hover { color: var(--accent-dark); }
.cat-nav-link.is-active { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-soft); }

/* CATALOG GRID */
.catalog-section { scroll-margin-top: 106px; }
.catalog-grid { margin-bottom: 18px; }
.product-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.product-thumb.is-muted img { opacity: 0.5; }
.product-volume { font-size: 13px; margin-bottom: 2px; }
.price-old {
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 400;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 13px;
  margin-left: 6px;
}
.table-note { font-size: 13px; font-style: italic; margin-top: 14px; text-align: center; }

/* RECIPES PAGE */
.recipes-nav-grid { grid-template-columns: repeat(3, 1fr); }
/* Отзывчивость сетки рецептов: правило стоит ПОСЛЕ базового, иначе медиа-запросы выше по файлу проигрывают */
@media (max-width: 1024px) { .recipes-nav-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .recipes-nav-grid { grid-template-columns: 1fr; } }
.recipe-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}
.recipe-content .product-block:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.recipe-block .about-photo img { object-position: center; }

@media (max-width: 860px) {
  .recipe-block { grid-template-columns: 1fr; }
}

/* RECIPE MODAL */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 26, 19, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 300;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  position: relative;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  max-width: 1180px;
  width: 100%;
  max-height: 94vh;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.modal-scroll {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 0;
  max-height: 94vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.modal-photo { min-height: 100%; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.modal-content {
  padding: 28px 32px;
  overflow-y: auto;
  max-height: 94vh;
  font-size: 14px;
}
.modal-content h2 { font-size: 24px; margin-bottom: 4px; }
.modal-content .product-tagline { margin-bottom: 12px; }
.modal-content .product-block { margin-top: 16px; padding-top: 14px; }
.modal-content .product-block h3 { font-size: 16px; margin-bottom: 6px; }
.modal-content .product-usage-list { font-size: 14px; }
.modal-content .product-usage-list li { margin-bottom: 3px; }
.modal-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.modal-first-block { margin-top: 0; padding-top: 0; border-top: none; }
.modal-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 160px; width: auto; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: var(--bg-alt);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

@media (max-width: 720px) {
  .modal-scroll { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-photo { aspect-ratio: 16 / 9; }
  .modal-content { max-height: none; overflow-y: visible; }
  .modal-columns { grid-template-columns: 1fr; }
}

/* PRODUCT DETAIL */
.product-page-head { padding: 24px 0 0; text-align: left; }
.product-detail { padding-top: 24px; }
.product-detail-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.product-detail-photo {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 360px;
}
.product-detail-photo img { max-height: 380px; width: auto; }
.product-detail-photo img.is-muted { opacity: 0.5; }
.product-detail-info h1 { font-size: 30px; margin-bottom: 8px; }
.product-tagline { font-style: italic; color: var(--accent-dark); margin-bottom: 18px; }
.product-detail-meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.product-detail-meta .product-volume { font-size: 15px; }
.product-detail-meta .product-price { font-size: 24px; margin: 0; }
.product-block { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.product-block h3 { font-size: 19px; margin-bottom: 10px; }
.product-usage-list { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.product-usage-list li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .product-detail-inner { grid-template-columns: 1fr; }
}

/* MOBILE NAV OPEN STATE */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 84px;
  left: 0;
  right: 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 20px 24px;
  gap: 16px;
  z-index: 99;
}

/* =========================================================================
   CART — счётчик, drawer, toast, карточки-действия
   ========================================================================= */

/* Счётчик корзины: скрываем, когда 0 */
.cart-count[hidden] { display: none; }

/* ---------- Карточка товара: блок действий (валидная вёрстка) ---------- */
.product-card .product-card-top {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;
}

/* Контролы каталога: объём + количество + кнопки */
.product-card-controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.card-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.card-field-volume-only {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.card-volume-text {
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
}

/* Селектор объёма */
.volume-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E5D48' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.volume-select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Объём — кнопками-пилюлями (мокап клиента 19.08.2026; выпадающий список убран: «чтобы не клацать бегунок») */
.vol-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vol-pill {
  flex: 1 1 0;
  min-width: 64px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--bg);
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.1;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.vol-pill:hover { border-color: var(--gold); }
.vol-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFF9EC;
  font-weight: 700;
}
.vol-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Карточка-заготовка: цены ещё нет */
.price-ask { font-size: 15px; font-weight: 400; color: var(--ink-soft); font-style: italic; }

/* Степпер количества */
.quantity-stepper {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  width: fit-content;
  margin: 0 auto;
}
.qty-btn {
  width: 38px;
  border: none;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s ease;
}
.qty-btn:hover { background: var(--accent-soft); }
.qty-input {
  width: 46px;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-input:focus { outline: none; background: var(--bg-alt); }

/* Ряд кнопок */
.card-actions-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 4px;
}
/* Обе кнопки одной высоты и в одну строку: «В корзину» не переносится и не «вырастает» над «Подробнее» */
.card-actions-row .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

/* ---------- Toast «Добавлено в корзину» ---------- */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 24px);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--bg-alt);
  padding: 12px 16px 12px 14px;
  border-radius: 100px;
  box-shadow: 0 14px 30px rgba(33,26,19,0.3);
  font-size: 14px;
  font-family: 'Golos Text', Arial, sans-serif;
  opacity: 0;
  transition: transform .28s ease, opacity .28s ease;
  z-index: 320;
  max-width: calc(100% - 32px);
}
.cart-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cart-toast[hidden] { display: none; }
.cart-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}
.cart-toast-text { color: var(--bg-alt); }
.cart-toast-link {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .15s ease;
}
.cart-toast-link:hover { background: var(--accent-dark); }

/* ---------- Drawer (выезжающая панель) ---------- */
body.cart-open { overflow: hidden; }
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 26, 19, 0.55);
  opacity: 0;
  transition: opacity .26s ease;
  z-index: 300;
}
.cart-drawer-overlay.is-visible { opacity: 1; }
.cart-drawer-overlay[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  z-index: 310;
  box-shadow: -16px 0 40px rgba(33,26,19,0.22);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.cart-drawer-head h2 { font-size: 22px; margin: 0; }
.cart-drawer-close {
  width: 38px; height: 38px;
  border: none;
  background: none;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.cart-drawer-close:hover { background: var(--accent-soft); color: var(--accent-dark); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px;
}

/* Позиция в корзине */
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-thumb {
  width: 64px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cart-item-thumb img { max-height: 68px; width: auto; }
.cart-item-thumb img.is-muted { opacity: 0.5; }
.cart-item-info { display: flex; flex-direction: column; }
.cart-item-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.cart-item-name:hover { color: var(--accent); }
.cart-item-volume { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; }
.cart-item-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item-line-total { font-weight: 700; font-size: 14px; color: var(--ink); }

/* Степпер +/− */
.cart-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  background: var(--bg);
}
.cart-step {
  width: 30px; height: 30px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.cart-step:hover { background: var(--accent-soft); color: var(--accent-dark); }
.cart-step-qty {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  font-family: 'Golos Text', Arial, sans-serif;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.cart-item-remove:hover { background: var(--accent-soft); color: var(--accent-dark); }

/* Пустое состояние */
.cart-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--ink-soft);
}
.cart-empty-icon { color: var(--ink-soft); margin-bottom: 14px; }
.cart-empty p { margin-bottom: 16px; }
.cart-empty .btn { width: auto; display: inline-flex; }

/* Подвал drawer */
.cart-drawer-foot {
  border-top: 1px solid var(--line);
  padding: 18px 22px;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.cart-drawer-foot[hidden] { display: none; }
.cart-drawer-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  font-family: 'Golos Text', Arial, sans-serif;
}
.cart-drawer-total > span:first-child { font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.cart-drawer-total > span:last-child { font-family: 'Old Standard TT', serif; font-size: 24px; color: var(--ink); }
.cart-checkout-btn { width: 100%; }

/* Адаптив drawer */
@media (max-width: 480px) {
  .cart-toast { flex-wrap: wrap; border-radius: 14px; padding: 12px; }
  .cart-toast-text { width: 100%; order: -1; }
}

/* =========================================================================
   CHECKOUT — страница оформления заказа
   ========================================================================= */
.checkout-section { padding: 32px 0 64px; }
.checkout-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Форма */
.order-form { display: flex; flex-direction: column; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.label-like {
  font-family: 'Golos Text', Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  display: block;
}
.form-field label .req { color: var(--accent); margin-left: 2px; }
.form-field input,
.form-field textarea,
.form-field select {
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 57, 31, 0.12);
}
.form-field input.invalid,
.form-field textarea.invalid,
.form-field select.invalid { border-color: var(--accent); }
.field-error {
  font-size: 12px;
  color: var(--accent);
  font-style: italic;
  min-height: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Радио доставки */
.delivery-options { display: flex; flex-direction: column; gap: 10px; }
.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--bg-alt);
  transition: border-color .15s ease, background .15s ease;
}
.delivery-option:hover { border-color: var(--accent-soft); }
.delivery-option input {
  margin-top: 3px;
  accent-color: var(--accent);
  width: auto;
  flex-shrink: 0;
}
.delivery-option input:checked + .delivery-option-body { color: var(--ink); }
.delivery-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.delivery-option-body { display: flex; flex-direction: column; }
.delivery-option-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.delivery-option-desc { font-size: 13px; color: var(--ink-soft); }

.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.form-consent input { margin-top: 3px; accent-color: var(--accent); width: auto; flex-shrink: 0; }
.form-consent a { color: var(--accent-dark); text-decoration: underline; }

.order-submit { width: 100%; font-size: 16px; padding: 16px; }

/* Сводка заказа */
.order-summary {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 108px;
}
.order-summary h2 { font-size: 20px; margin-bottom: 16px; }
.summary-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.summary-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.summary-item:last-child { border-bottom: none; }
.summary-item-thumb {
  width: 48px; height: 56px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.summary-item-thumb img { max-height: 48px; width: auto; }
.summary-item-thumb img.is-muted { opacity: 0.5; }
.summary-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.summary-item-name { font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.25; }
.summary-item-meta { font-size: 12px; color: var(--ink-soft); }
.summary-item-price { font-weight: 700; font-size: 14px; color: var(--ink); text-align: right; white-space: nowrap; }
.summary-item-remove {
  grid-column: 1 / -1;
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); font-size: 12px; font-family: inherit;
  text-align: left; padding: 4px 0; text-decoration: underline;
}
.summary-item-remove:hover { color: var(--accent); }
.summary-totals { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.summary-totals .row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.summary-totals .row.grand {
  font-size: 18px; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px;
}
.summary-totals .row.grand > span:last-child { font-family: 'Old Standard TT', serif; }

@media (max-width: 860px) {
  .checkout-inner { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
  .form-row { grid-template-columns: 1fr; }
}

/* Экран успеха */
.checkout-success { text-align: center; padding: 48px 0; }
.checkout-success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.checkout-success h1 { font-size: 30px; margin-bottom: 10px; }
.checkout-success .order-number {
  display: inline-block;
  font-family: 'Old Standard TT', serif;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 20px;
  margin: 8px 0 20px;
  font-size: 16px;
  color: var(--accent-dark);
}
.checkout-success .success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Пустая корзина (на checkout) */
.checkout-empty { text-align: center; padding: 64px 0; }
.checkout-empty-icon { color: var(--ink-soft); margin-bottom: 16px; }
.checkout-empty h1 { font-size: 26px; margin-bottom: 8px; }

/* =========================================================================
   404
   ========================================================================= */
.error-page { text-align: center; padding: 80px 0 100px; }
.error-page .error-code {
  font-family: 'Old Standard TT', serif;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.error-page h1 { font-size: 28px; margin-bottom: 12px; }
.error-page p { max-width: 460px; margin: 0 auto 24px; }
.error-page .error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ИНФОРМАЦИОННЫЕ / ТЕКСТОВЫЕ СТРАНИЦЫ
   (about, contacts, delivery, returns, offer, privacy, requisites)
   ============================================================ */

.info-page { padding-bottom: 72px; }
.info-content { max-width: 920px; margin: 0 auto; }

/* Блок «текст + фото» (about) */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
.info-block-reverse .info-text { order: 2; }
.info-block-reverse .info-photo { order: 1; }
.info-block-narrow {
  display: block;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.info-text h2 { font-size: 28px; margin-bottom: 14px; }
.info-text p { margin-bottom: 14px; line-height: 1.7; }
.info-text strong { color: var(--ink); }

.info-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.info-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Заголовок по центру секции */
.info-center-title {
  text-align: center;
  font-size: 30px;
  margin-bottom: 36px;
}

/* Сетка ценностей / вариантов доставки (переиспользуем .values-grid) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.value-card .value-price {
  font-family: 'Old Standard TT', serif;
  font-size: 22px;
  color: var(--accent);
  margin: 6px 0 10px;
}
.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 129, 46, 0.12);
  color: var(--gold);
}

/* CTA-блок в конце страницы */
.info-cta {
  text-align: center;
  padding: 56px 24px;
  margin-top: 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.info-cta h2 { font-size: 28px; margin-bottom: 12px; }
.info-cta p { max-width: 520px; margin: 0 auto 24px; color: var(--ink-soft); }

/* Списки и шаги */
.info-list { margin: 0 0 16px; padding-left: 0; list-style: none; }
.info-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.info-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.info-steps { margin: 0 0 16px; padding-left: 22px; counter-reset: step; list-style: none; }
.info-steps li {
  position: relative;
  padding-left: 8px;
  margin-bottom: 14px;
  line-height: 1.6;
  counter-increment: step;
}
.info-steps li::before {
  content: counter(step) '.';
  position: absolute;
  left: -22px;
  top: 0;
  font-family: 'Old Standard TT', serif;
  color: var(--accent);
}

.info-note {
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 18px;
}

/* Выделенная плашка-заметка */
.info-callout {
  background: rgba(168, 129, 46, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 24px 0;
}
.info-callout h3 { font-size: 18px; margin-bottom: 10px; }
.info-callout .info-list { margin-bottom: 0; }

/* Документальные страницы (правовые) */
.info-doc { max-width: 760px; }
.info-doc h2 { font-size: 22px; margin: 32px 0 12px; }
.info-doc h2:first-of-type { margin-top: 0; }
.info-doc p { margin-bottom: 12px; line-height: 1.7; }
.info-doc a { color: var(--accent-dark); text-decoration: underline; }
.info-updated {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 24px;
}
.info-doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* Реквизиты */
.requisites-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
}
.requisites-card h2 { font-size: 26px; margin-bottom: 18px; }
.requisites-list { margin: 0; }
.req-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.req-row:last-child { border-bottom: none; }
.req-row dt { font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.req-row dd { margin: 0; }
.req-row dd a { color: var(--accent-dark); }

/* Контакты: сетка карточек + форма */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.contacts-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.contact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(168, 129, 46, 0.12);
  color: var(--gold);
}
.contact-body { display: flex; flex-direction: column; gap: 4px; }
.contact-body h3 { font-size: 16px; margin: 0; }
.contact-body a { color: var(--ink); font-weight: 700; }
.contact-body a:hover { color: var(--accent); }
.contact-socials { display: flex; flex-direction: column; gap: 2px; }
.contact-socials a { font-weight: 700; }
.contact-note { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

.contacts-form-wrap h2 { font-size: 26px; margin-bottom: 6px; }
.contacts-lead { color: var(--ink-soft); margin-bottom: 22px; }
.contacts-success { text-align: center; padding: 32px 16px; }
.contacts-success h3 { font-size: 22px; color: var(--accent); margin-bottom: 8px; }
.contacts-success p { color: var(--ink-soft); margin: 0; }

/* Карта */
.info-map { margin-top: 16px; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- Адаптив для информационных страниц ---- */
@media (max-width: 860px) {
  .info-block { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .info-block-reverse .info-text { order: 1; }
  .info-block-reverse .info-photo { order: 2; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .info-center-title,
  .info-text h2,
  .info-cta h2 { font-size: 24px; }
  .info-doc h2 { font-size: 20px; }
  .req-row { grid-template-columns: 1fr; gap: 2px; }
  .req-row dt { font-size: 13px; }
  .info-doc-footer { flex-direction: column; align-items: stretch; }
  .info-doc-footer .btn { text-align: center; }
  .requisites-card { padding: 22px; }
  .map-wrap { aspect-ratio: 4 / 3; }
}

/* ============================================================
   РЕДИЗАЙН: ГОРИЗОНТАЛЬНАЯ ПРОКРУТКА (КАТАЛОГ / РЕЦЕПТЫ)
   ============================================================ */

/* Заголовок секции со стрелками прокрутки */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 32px;
  max-width: var(--container);
  padding: 0 20px;
}
.section-head-row .section-head {
  text-align: left;
  margin: 0;
}
.scroll-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.scroll-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
  flex-shrink: 0;
}
.scroll-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.scroll-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
/* Если прокрутка не нужна (контент помещается) — прячем блок стрелок */
.no-scroll .scroll-nav { display: none; }

/* Горизонтальный скролл-контейнер */
.h-scroll-wrap {
  position: relative;
  overflow: hidden;
}
.h-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  /* Лента начинается по левому краю контейнера, а вправо уезжает за экран — видно, что есть продолжение */
  padding: 8px max(20px, calc((100vw - var(--container)) / 2 + 24px)) 24px;
  /* без scroll-padding снап «съедает» левый отступ и лента прилипает к краю экрана */
  scroll-padding-left: max(20px, calc((100vw - var(--container)) / 2 + 24px));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.h-scroll::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.h-scroll > * {
  flex: 0 0 auto;
  scroll-snap-align: start;
}
/* Карточки в горизонтальной ленте фиксированной ширины */
.h-scroll .product-card {
  width: 260px;
}
.h-scroll .recipe-card {
  width: 300px;
}
/* Лёгкие градиентные края, показывающие что есть ещё контент */
.h-scroll-wrap::before,
.h-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s;
}
.h-scroll-wrap.has-left::before {
  opacity: 1;
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.h-scroll-wrap.has-right::after {
  opacity: 1;
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

/* ============================================================
   БЛОК «РУЧНОЙ ТРУД» — единая дорожка производства с анимацией
   ============================================================ */
.craft {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, rgba(255,253,248,.86), rgba(245,239,227,.72));
  overflow: hidden;
}
.craft-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 24px;
  padding: 0 20px;
}
.craft-head h2 { font-size: 34px; margin-bottom: 12px; }
.craft-head p { color: var(--ink-soft); font-size: 17px; }

/* Дорожка: шаги расставлены зигзагом по одному экрану */
.craft-flow {
  position: relative;
  max-width: 1240px;
  height: 470px;
  margin: 0 auto;
  padding: 0 20px;
}
.craft-path, .craft-path-m {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.craft-path-m { display: none; }
/* Каждый отрезок пунктира прорисовывается ровно между своими двумя этапами */
.craft-seg {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .75s ease var(--d, 0s);
  opacity: .9;
}
/* отрезок, который идёт справа налево, и прорисовываться должен справа налево */
.craft-seg--rtl { clip-path: inset(0 0 0 100%); }
.craft.is-visible .craft-seg { clip-path: inset(0 0 0 0); }

/* ---- частицы, которые едут по пунктиру между этапами: семена → пресс, масло → воронка, бутылки → короб.
   Движение и прозрачность — на SMIL (animateMotion + animate), CSS только показывает группу
   после того, как «свой» отрезок пунктира дорисовался (--pd = задержка отрезка + время прорисовки) ---- */
.craft-path .cr-parts, .craft-path-m .cr-parts { opacity: 0; }
.craft.is-visible .craft-path .cr-parts,
.craft.is-visible .craft-path-m .cr-parts { opacity: 1; transition: opacity .55s ease var(--pd, 0s); }
.craft-path .cr-seed-wob, .craft-path-m .cr-seed-wob {
  transform-box: fill-box; transform-origin: center;
  animation: cr-seed-roll 1.9s linear infinite;      /* семечко катится по дорожке */
}
@keyframes cr-seed-roll { to { transform: rotate(360deg); } }

/* ---- живые детали иллюстраций: включаются, когда этап уже появился ---- */
.craft-step-art [class^="cr-"] { transform-box: fill-box; transform-origin: center; }
.craft-step-art .cr-leg { transform-origin: 50% 0; }
.craft-step-art .cr-oil, .craft-step-art .cr-press { transform-box: view-box; }
.craft-step-art .cr-needle { transform-box: view-box; transform-origin: 134px 36px; }
.craft.is-visible .craft-step .cr-bag { animation: craft-bag 4.5s ease-in-out var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-seed { animation: craft-seed 2.6s ease-in-out infinite; }
.craft.is-visible .craft-step .cr-seed-2 { animation-delay: .35s; }
.craft.is-visible .craft-step .cr-seed-3 { animation-delay: .7s; }
.craft.is-visible .craft-step .cr-seed-4 { animation-delay: 1.05s; }
.craft.is-visible .craft-step .cr-seed-5 { animation-delay: .5s; }
.craft.is-visible .craft-step .cr-seed-6 { animation-delay: .9s; }
.craft.is-visible .craft-step .cr-press { animation: craft-press 2.6s cubic-bezier(.5,0,.5,1) var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-needle { animation: craft-needle 2.6s cubic-bezier(.5,0,.5,1) var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-barrel { animation: craft-barrel 2.6s cubic-bezier(.5,0,.5,1) var(--d, 0s) infinite; transform-origin: 50% 100%; }
.craft.is-visible .craft-step .cr-drop { animation: craft-drop 2.6s ease-in var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-drop-2 { animation-delay: calc(var(--d, 0s) + 1.3s); }
.craft.is-visible .craft-step .cr-stream { animation: craft-stream 3.4s ease-in-out var(--d, 0s) infinite; transform-origin: 50% 0; }
.craft.is-visible .craft-step .cr-oil { animation: craft-fill 3.4s ease-in-out var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-sun { animation: craft-sun 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-route { animation: craft-route 1.8s linear var(--d, 0s) infinite; }

/* ---- шаг 04: курьер с усилием поднимает короб, закидывает на плечо и несёт к точке ----
   один общий таймлайн 9s: 0-16% подход и захват, 16-24% первый рывок и просадка,
   24-37% заброс на плечо, 38-78% ходьба с грузом, 78-86% ставит короб, 86-98% возврат налегке */
.craft-step-art .cr-hero-body { transform-origin: 50% 100%; }
.craft-step-art .cr-arm-hold { transform-origin: 0% 100%; }
.craft-step-art .cr-arm-sw { transform-origin: 100% 0%; }
.craft.is-visible .craft-step .cr-walk { animation: cr4-walk 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-hero-body { animation: cr4-body 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-bob { animation: cr4-bob 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-shake { animation: cr4-shake 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-leg-a { animation: cr4-leg-a 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-leg-b { animation: cr4-leg-b 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-arm-hold { animation: cr4-arm-hold 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-arm-sw { animation: cr4-arm-sw 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-crate-carry { animation: cr4-crate 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-crate-ground { animation: cr4-crate-ground 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-crate-drop { animation: cr4-crate-drop 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-strain { animation: cr4-strain 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-sweat-1 { animation: cr4-sweat 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-sweat-2 { animation: cr4-sweat-2 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-pin { animation: cr4-pin 9s ease-in-out var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-ring { animation: cr4-ring 9s linear var(--d, 0s) infinite; }
.craft.is-visible .craft-step .cr-check { animation: cr4-check 9s linear var(--d, 0s) infinite; }
.craft-step .cr-hero { color: var(--ink-soft); }

@keyframes craft-press {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(9px); }
  60% { transform: translateY(9px); }
}
@keyframes craft-barrel {
  0%, 100% { transform: scaleY(1); }
  35% { transform: scaleY(.94); }
  60% { transform: scaleY(.94); }
}
@keyframes craft-fill {
  0% { transform: translateY(72px); }
  12% { transform: translateY(72px); }
  62% { transform: translateY(6px); }
  99% { transform: translateY(6px); }
  100% { transform: translateY(72px); }
}
@keyframes craft-bag { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03, .985); } }
@keyframes craft-seed { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(6deg); } }
@keyframes craft-needle { 0%, 100% { transform: rotate(-38deg); } 35% { transform: rotate(52deg); } 60% { transform: rotate(46deg); } 75% { transform: rotate(-30deg); } }
@keyframes craft-drop {
  0% { transform: translateY(-6px) scale(.7); opacity: 0; }
  25% { opacity: 1; }
  70% { transform: translateY(10px) scale(1); opacity: 1; }
  100% { transform: translateY(20px) scale(.85); opacity: 0; }
}
@keyframes craft-stream {
  0% { transform: scaleY(0); opacity: 0; }
  12% { transform: scaleY(1); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  80% { transform: scaleY(0); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}
@keyframes craft-sun { to { transform: rotate(360deg); } }
@keyframes craft-route { to { stroke-dashoffset: -24; } }

/* --- таймлайн курьера (шаг 04), общий цикл 9s ---
   движение вдоль маршрута тоже на CSS: SMIL стартовал бы при загрузке страницы,
   а фазы подъёма — при появлении блока, и у посетителя они разъехались бы */
@keyframes cr4-walk {
  0%, 38%   { transform: translateX(0); }
  78%, 86%  { transform: translateX(86px); }
  98%, 100% { transform: translateX(0); }
}
@keyframes cr4-body {
  0%, 4%    { transform: rotate(0deg) translateY(0); }
  10%       { transform: rotate(-24deg) translateY(6px); }
  16%       { transform: rotate(-27deg) translateY(7px); }
  20%       { transform: rotate(-17deg) translateY(3px); }
  24%       { transform: rotate(-22deg) translateY(6px); }
  29%       { transform: rotate(-8deg) translateY(2px); }
  33%       { transform: rotate(8deg) translateY(-1px); }
  36%       { transform: rotate(5deg) translateY(0); }
  38%, 76%  { transform: rotate(8deg) translateY(0); }
  80%       { transform: rotate(-24deg) translateY(6px); }
  84%       { transform: rotate(-18deg) translateY(4px); }
  86%, 88%  { transform: rotate(0deg) translateY(0); }
  92%       { transform: rotate(-3deg) translateY(0); }
  100%      { transform: rotate(0deg) translateY(0); }
}
@keyframes cr4-crate {
  0%, 15.9% { opacity: 0; transform: translate(-22px, -13px) rotate(0deg); }
  16%       { opacity: 1; transform: translate(-22px, -13px) rotate(0deg); }
  20%       { opacity: 1; transform: translate(-21px, -21px) rotate(-4deg); }
  24%       { opacity: 1; transform: translate(-20px, -17px) rotate(3deg); }
  29%       { opacity: 1; transform: translate(-14px, -34px) rotate(-8deg); }
  33%       { opacity: 1; transform: translate(-2px, -52px) rotate(-14deg); }
  35%       { opacity: 1; transform: translate(16px, -60px) rotate(8deg); }
  37%       { opacity: 1; transform: translate(21px, -50px) rotate(4deg); }
  38%       { opacity: 1; transform: translate(21px, -53px) rotate(6deg); }
  46%       { opacity: 1; transform: translate(21px, -52px) rotate(9deg); }
  54%       { opacity: 1; transform: translate(21px, -53px) rotate(5deg); }
  62%       { opacity: 1; transform: translate(21px, -52px) rotate(9deg); }
  70%       { opacity: 1; transform: translate(21px, -53px) rotate(5deg); }
  78%       { opacity: 1; transform: translate(21px, -53px) rotate(6deg); }
  80%       { opacity: 1; transform: translate(-2px, -36px) rotate(-4deg); }
  83.5%, 83.9% { opacity: 1; transform: translate(-22px, -13px) rotate(0deg); }
  84%, 100% { opacity: 0; transform: translate(-22px, -13px) rotate(0deg); }
}
/* короб на земле не пустует: курьер забрал — на его место сразу ставят следующий,
   иначе бутылки, приезжающие по пунктиру, едут в никуда */
@keyframes cr4-crate-ground {
  0%, 15.9% { opacity: 1; }
  16%, 19%  { opacity: 0; }
  20%, 100% { opacity: 1; }
}
@keyframes cr4-crate-drop {
  0%, 83.9% { opacity: 0; }
  84%, 95%  { opacity: 1; }
  98%, 100% { opacity: 0; }
}
@keyframes cr4-bob {
  0%, 38% { transform: translateY(0); }
  40% { transform: translateY(-1.8px); }  42% { transform: translateY(0); }
  44% { transform: translateY(-1.8px); }  46% { transform: translateY(0); }
  48% { transform: translateY(-1.8px); }  50% { transform: translateY(0); }
  52% { transform: translateY(-1.8px); }  54% { transform: translateY(0); }
  56% { transform: translateY(-1.8px); }  58% { transform: translateY(0); }
  60% { transform: translateY(-1.8px); }  62% { transform: translateY(0); }
  64% { transform: translateY(-1.8px); }  66% { transform: translateY(0); }
  68% { transform: translateY(-1.8px); }  70% { transform: translateY(0); }
  72% { transform: translateY(-1.8px); }  74% { transform: translateY(0); }
  76% { transform: translateY(-1.8px); }
  78%, 86% { transform: translateY(0); }
  88% { transform: translateY(-1.2px); }  90% { transform: translateY(0); }
  92% { transform: translateY(-1.2px); }  94% { transform: translateY(0); }
  96% { transform: translateY(-1.2px); }
  98%, 100% { transform: translateY(0); }
}
@keyframes cr4-shake {
  0%, 19%   { transform: translateX(0); }
  20%       { transform: translateX(.9px); }
  20.8%     { transform: translateX(-.9px); }
  21.6%     { transform: translateX(.7px); }
  22.4%     { transform: translateX(-.7px); }
  23.2%     { transform: translateX(.5px); }
  24%       { transform: translateX(-.5px); }
  25%       { transform: translateX(.3px); }
  26%, 30%  { transform: translateX(0); }
  31%       { transform: translateX(-.6px); }
  32%       { transform: translateX(.6px); }
  33%, 100% { transform: translateX(0); }
}
@keyframes cr4-leg-a {
  0%, 6%    { transform: rotate(0deg); }
  12%, 36%  { transform: rotate(14deg); }
  38%       { transform: rotate(0deg); }
  42% { transform: rotate(20deg); }   46% { transform: rotate(-20deg); }
  50% { transform: rotate(20deg); }   54% { transform: rotate(-20deg); }
  58% { transform: rotate(20deg); }   62% { transform: rotate(-20deg); }
  66% { transform: rotate(20deg); }   70% { transform: rotate(-20deg); }
  74% { transform: rotate(20deg); }
  78%, 86%  { transform: rotate(0deg); }
  88% { transform: rotate(-24deg); }  90% { transform: rotate(24deg); }
  92% { transform: rotate(-24deg); }  94% { transform: rotate(24deg); }
  96% { transform: rotate(-24deg); }
  98%, 100% { transform: rotate(0deg); }
}
@keyframes cr4-leg-b {
  0%, 6%    { transform: rotate(0deg); }
  12%, 36%  { transform: rotate(-14deg); }
  38%       { transform: rotate(0deg); }
  42% { transform: rotate(-20deg); }  46% { transform: rotate(20deg); }
  50% { transform: rotate(-20deg); }  54% { transform: rotate(20deg); }
  58% { transform: rotate(-20deg); }  62% { transform: rotate(20deg); }
  66% { transform: rotate(-20deg); }  70% { transform: rotate(20deg); }
  74% { transform: rotate(-20deg); }
  78%, 86%  { transform: rotate(0deg); }
  88% { transform: rotate(24deg); }   90% { transform: rotate(-24deg); }
  92% { transform: rotate(24deg); }   94% { transform: rotate(-24deg); }
  96% { transform: rotate(24deg); }
  98%, 100% { transform: rotate(0deg); }
}
@keyframes cr4-arm-hold {
  0%, 8%    { transform: rotate(110deg); }
  13%, 17%  { transform: rotate(145deg); }
  20%       { transform: rotate(128deg); }
  24%       { transform: rotate(136deg); }
  29%       { transform: rotate(88deg); }
  33%       { transform: rotate(-25deg); }
  36%, 78%  { transform: rotate(0deg); }
  81%       { transform: rotate(100deg); }
  84%       { transform: rotate(146deg); }
  86%       { transform: rotate(105deg); }
  89%       { transform: rotate(92deg); }
  93%       { transform: rotate(118deg); }
  97%       { transform: rotate(96deg); }
  100%      { transform: rotate(110deg); }
}
@keyframes cr4-arm-sw {
  0%, 6%    { transform: rotate(0deg); }
  13%, 17%  { transform: rotate(-45deg); }
  20%       { transform: rotate(-24deg); }
  24%       { transform: rotate(-34deg); }
  29%       { transform: rotate(-12deg); }
  33%       { transform: rotate(12deg); }
  36%, 38%  { transform: rotate(0deg); }
  42% { transform: rotate(-22deg); }  46% { transform: rotate(22deg); }
  50% { transform: rotate(-22deg); }  54% { transform: rotate(22deg); }
  58% { transform: rotate(-22deg); }  62% { transform: rotate(22deg); }
  66% { transform: rotate(-22deg); }  70% { transform: rotate(22deg); }
  74% { transform: rotate(-22deg); }
  78%       { transform: rotate(0deg); }
  81%       { transform: rotate(-42deg); }
  84%       { transform: rotate(-30deg); }
  86%       { transform: rotate(0deg); }
  88% { transform: rotate(26deg); }   90% { transform: rotate(-26deg); }
  92% { transform: rotate(26deg); }   94% { transform: rotate(-26deg); }
  96% { transform: rotate(26deg); }
  98%, 100% { transform: rotate(0deg); }
}
@keyframes cr4-strain {
  0%, 18%   { opacity: 0; transform: scale(.7); }
  20%       { opacity: 1; transform: scale(1.05); }
  23%       { opacity: 0; transform: scale(1.2); }
  28%       { opacity: 0; transform: scale(.7); }
  31%       { opacity: 1; transform: scale(1.05); }
  35%       { opacity: 0; transform: scale(1.25); }
  36%, 100% { opacity: 0; transform: scale(.7); }
}
@keyframes cr4-sweat {
  0%, 25%   { opacity: 0; transform: translate(0,0) scale(.6); }
  27%       { opacity: .9; transform: translate(0,0) scale(1); }
  32%       { opacity: 0; transform: translate(1px,8px) scale(.8); }
  33%, 47%  { opacity: 0; transform: translate(0,0) scale(.6); }
  49%       { opacity: .85; transform: translate(0,0) scale(1); }
  54%       { opacity: 0; transform: translate(1px,8px) scale(.8); }
  55%, 65%  { opacity: 0; transform: translate(0,0) scale(.6); }
  67%       { opacity: .85; transform: translate(0,0) scale(1); }
  72%       { opacity: 0; transform: translate(1px,8px) scale(.8); }
  73%, 100% { opacity: 0; transform: translate(0,0) scale(.6); }
}
@keyframes cr4-sweat-2 {
  0%, 29%   { opacity: 0; transform: translate(0,0) scale(.6); }
  31%       { opacity: .85; transform: translate(0,0) scale(1); }
  36%       { opacity: 0; transform: translate(-1px,8px) scale(.8); }
  37%, 56%  { opacity: 0; transform: translate(0,0) scale(.6); }
  58%       { opacity: .8; transform: translate(0,0) scale(1); }
  63%       { opacity: 0; transform: translate(-1px,8px) scale(.8); }
  64%, 100% { opacity: 0; transform: translate(0,0) scale(.6); }
}
@keyframes cr4-pin {
  0%, 100% { transform: translateY(0); }
  20% { transform: translateY(-3px); }
  40% { transform: translateY(0); }
  60% { transform: translateY(-3px); }
  80% { transform: translateY(0); }
  85% { transform: translateY(-9px); }
  88% { transform: translateY(0); }
  91% { transform: translateY(-4px); }
  94% { transform: translateY(0); }
}
@keyframes cr4-ring {
  0%, 84%   { opacity: 0; transform: scale(.8); }
  85%       { opacity: .85; transform: scale(.9); }
  93%       { opacity: 0; transform: scale(2.4); }
  94%, 100% { opacity: 0; transform: scale(.8); }
}
@keyframes cr4-check {
  0%, 83.9% { opacity: 0; transform: scale(.4); }
  85%       { opacity: 1; transform: scale(1.15); }
  87%, 96%  { opacity: 1; transform: scale(1); }
  99%, 100% { opacity: 0; transform: scale(.9); }
}

.craft-step {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 230px;
  transform: translate(-50%, -50%) translateY(26px) scale(.96);
  text-align: center;
  opacity: 0;
  transition: opacity .6s ease var(--d, 0s), transform .8s cubic-bezier(.22,.85,.3,1) var(--d, 0s);
}
.craft.is-visible .craft-step {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.craft-step-art {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 8px;
  color: var(--ink-soft);
}
.craft-step-art svg { width: 100%; height: auto; display: block; }
.craft-step-art .craft-accent { stroke: var(--accent); }

.craft-step-num {
  font-family: 'Old Standard TT', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.craft-step h3 { font-size: 18px; margin-bottom: 6px; }
.craft-step p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }

/* Планшет: дорожка ниже и шаги уже */
@media (max-width: 1024px) {
  .craft-flow { height: 420px; }
  .craft-step { width: 190px; }
  .craft-step-art { max-width: 130px; }
  .craft-step p { font-size: 13px; }
}

/* Телефон: та же дорожка — сетка 2×2 и извилистый пунктир змейкой между картинками */
@media (max-width: 760px) {
  .craft { padding: 56px 0 64px; }
  .craft-head h2 { font-size: 26px; }
  .craft-head { margin-bottom: 14px; }
  .craft-flow {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 30px;
    padding: 16px 16px 0;
  }
  .craft-path { display: none; }
  .craft-path-m { display: block; }
  .craft-step {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    text-align: center;
    transform: translateY(20px) scale(.96);
  }
  .craft.is-visible .craft-step { transform: none; }
  .craft-step-art { max-width: 132px; margin: 0 auto 8px; }
  .craft-step-num { font-size: 12px; margin-bottom: 2px; }
  .craft-step h3 { font-size: 17px; margin-bottom: 5px; }
  .craft-step p { font-size: 13px; line-height: 1.45; }
}

@media (max-width: 380px) {
  .craft-step-art { max-width: 112px; }
  .craft-step p { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .craft-step, .craft-seg { transition: none; }
  .craft-step-art [class^="cr-"] { animation: none !important; }
  .craft-path .cr-parts, .craft-path-m .cr-parts { display: none; }
}


/* Промокод в корзине (задача 22.08.2026) */
.promo-box { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.promo-label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; }
.promo-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--ink);
  font-family: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.promo-input::placeholder { text-transform: none; letter-spacing: 0; color: var(--ink-soft); opacity: .75; }
.promo-input:focus { outline: none; border-color: var(--gold); }
.promo-btn {
  flex: 0 0 auto;
  padding: 11px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #FFF9EC;
  font-family: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.promo-btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.promo-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.promo-applied {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  background: rgba(169, 129, 46, .12);
  font-size: 14px;
  line-height: 1.35;
}
.promo-applied-code b { letter-spacing: .5px; }
.promo-cancel {
  flex: 0 0 auto;
  background: none; border: none; padding: 0;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: inherit; font-size: 13px;
  text-decoration: underline;
}
.promo-cancel:hover { color: var(--accent); }
.promo-msg { margin: 8px 0 0; font-size: 13px; line-height: 1.4; }
.promo-msg.is-error { color: var(--accent); }
.promo-msg.is-ok { color: #2E6B3B; }
.summary-totals .row.discount { color: var(--accent); }
.summary-totals .row.discount > span:last-child { font-weight: 700; }

/* Виджет ПВЗ СДЭК на оформлении заказа (19.08.2026) */
.cdek-map {
  width: 100%;
  height: 520px;                 /* без явной высоты виджет схлопывается в 0 */
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.cdek-chosen {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(206, 145, 48, .10);
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 640px) { .cdek-map { height: 420px; } }


/* ===== Полировка 31.08.2026: тени, подъём карточек, золотая нить у заголовков ===== */
.product-card, .cat-card, .recipe-card {
  box-shadow: var(--shadow-soft);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease, border-color .4s ease;
}
.product-card:hover, .cat-card:hover, .recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(169,129,46,.45);
}
.product-card .product-thumb img, .product-card img.product-photo {
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.section-head h2, .section-title {
  position: relative;
}
.section-head { position: relative; }
.section-head h2::after {
  content: '';
  display: block;
  width: 64px; height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Пилюли объёма на странице товара */
.prod-volume-pills { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 22px; max-width: 420px; }
.prod-volume-pills .vol-pill { flex: 0 1 auto; min-width: 92px; }

/* В подвале надпись остаётся светлой — золотой градиент только в шапке */
.logo-text-light {
  background-image: none !important;
  -webkit-text-fill-color: #F5EFE3 !important;
  animation: none !important;
  text-shadow: none;
}

/* ===== Читаемость текста на фотографии первого экрана (правка 31.08.2026 16:55 МСК,
   замечание владельца: белые буквы ложились на светлые этикетки бутылок) ===== */
.hero--photo .hero-text {
  position: relative;
  z-index: 1;
}
.hero--photo .hero-text::before {
  content: '';
  position: absolute;
  inset: -40px -220px -34px -50vw;
  z-index: -1;
  /* Мягкое «облако» темноты: слева плотное, вправо растворяется — без видимой рамки-плашки */
  background:
    linear-gradient(100deg, rgba(16,11,6,.82) 0%, rgba(16,11,6,.78) 55%, rgba(16,11,6,.42) 78%, rgba(16,11,6,0) 100%);
  filter: blur(6px);
}
@media (max-width: 860px) {
  .hero--photo .hero-text::before {
    inset: -26px -26px -30px -26px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(16,11,6,.74), rgba(16,11,6,.86));
    filter: blur(10px);
  }
}


/* ===== КНОПКИ: мягкие, элегантные (замечание владельца 31.08.2026 16:52 МСК — «слишком грубые») ===== */
.btn {
  border-radius: 999px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  border-width: 1px;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, background .35s ease,
              border-color .35s ease, color .35s ease;
  will-change: transform;
}
.btn-primary {
  background-image: linear-gradient(180deg, #C4522C 0%, #A8391F 55%, #93301A 100%);
  border-color: rgba(255, 236, 210, .18);
  color: #FFF6E9;
  box-shadow: 0 10px 24px rgba(140, 46, 28, .28), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover {
  background-image: linear-gradient(180deg, #D05B33 0%, #B33F22 55%, #9C351C 100%);
  box-shadow: 0 16px 34px rgba(140, 46, 28, .34), inset 0 1px 0 rgba(255,255,255,.28);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 6px 14px rgba(140,46,28,.30) inset; }
.btn-outline {
  border-color: rgba(33, 26, 19, .28);
  color: var(--ink);
  background: rgba(255, 253, 248, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(60, 44, 24, .08);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(255, 253, 248, .85);
  box-shadow: 0 12px 26px rgba(60, 44, 24, .14);
  transform: translateY(-2px);
}
/* На фотографии первого экрана — стеклянная кнопка, а не жёсткая рамка */
.hero--photo .btn-outline {
  background: rgba(255, 248, 236, .10);
  border-color: rgba(255, 248, 236, .45);
  color: #FFF8EC;
  box-shadow: 0 10px 26px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.16);
}
.hero--photo .btn-outline:hover {
  background: rgba(255, 248, 236, .20);
  border-color: rgba(255, 248, 236, .75);
  box-shadow: 0 16px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.22);
}
/* Метки под кнопками — тоньше и спокойнее */
.hero--photo .hero-badges span {
  background: rgba(255,248,236,.10);
  border: 1px solid rgba(255,248,236,.26);
  color: rgba(255,248,236,.94);
  font-style: normal;
  font-weight: 500;
  font-size: 12.5px;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
/* Мелкие кнопки карточек — та же мягкая пластика */
.product-card .btn, .card-actions .btn, .btn-small {
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
}
.qty-btn, .vol-pill {
  border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), background .25s ease, border-color .25s ease, color .25s ease;
}
.qty-btn:hover, .vol-pill:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .qty-btn, .vol-pill { transition: none; }
  .btn:hover, .btn-primary:hover, .btn-outline:hover { transform: none; }
}


/* ===== КАТЕГОРИИ: компактные и наполненные (замечание владельца 31.08.2026 16:58 МСК —
   «иконочки маленькие, а весь экран пустой») ===== */
.category-card {
  align-items: center;
  text-align: center;
  padding: 26px 18px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFDF8 0%, var(--cream) 100%);
  box-shadow: var(--shadow-soft);
}
.category-card:hover { box-shadow: var(--shadow-lift); border-color: rgba(169,129,46,.5); }
/* Иконка — крупная, в тёплом круге с золотым кольцом */
.category-icon {
  height: auto;
  width: 86px; height: 86px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #F3E9D6 70%, #EADCC2 100%);
  box-shadow: inset 0 0 0 1px rgba(169,129,46,.28), 0 8px 20px rgba(60,44,24,.10);
  transition: transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .45s ease;
}
.category-card:hover .category-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: inset 0 0 0 1px rgba(169,129,46,.5), 0 14px 28px rgba(60,44,24,.16);
}
.category-icon img { max-height: 62px; width: auto; }
.category-icon-glyph { font-size: 40px; line-height: 1; }
.category-card h3 { font-size: 20px; margin-bottom: 5px; }
.category-card p { font-size: 13.5px; margin-bottom: 12px; color: var(--ink-soft); }
.cat-link {
  margin-top: auto; padding-top: 8px;
  font-style: normal; font-weight: 600; font-size: 13.5px;
  color: var(--accent-dark);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .3s ease;
}
.category-card:hover .cat-link { gap: 11px; }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 760px) {
  /* на телефоне — две колонки вместо одной длинной простыни */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { padding: 20px 12px 18px; border-radius: 16px; }
  .category-icon { width: 68px; height: 68px; margin-bottom: 12px; }
  .category-icon img { max-height: 48px; }
  .category-icon-glyph { font-size: 32px; }
  .category-card h3 { font-size: 17px; }
  .category-card p { font-size: 12.5px; margin-bottom: 10px; }
  .cat-link { font-size: 12.5px; padding-top: 4px; }
}


/* ===== Плавные переходы и фото рецептов (замечания владельца 31.08.2026 17:13 МСК) ===== */

/* 1. Резкая граница «тёмный первый экран → светлая страница» — растворяем градиентом */
.hero--photo::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(251,247,239,0) 0%,
    rgba(251,247,239,.22) 38%,
    rgba(251,247,239,.62) 68%,
    rgba(251,247,239,.90) 86%,
    #FBF7EF 100%);
}
.hero--photo .hero-inner { position: relative; z-index: 2; }
@media (max-width: 860px) { .hero--photo::after { height: 120px; } }

/* Мягкие стыки между соседними секциями — вместо жёстких линий */
.usp--art { padding-top: 34px; }
.about-teaser { border-top-color: transparent; border-bottom-color: transparent; }
.section { position: relative; }

/* 2. Фото блюда в карточке рецепта: во всю ширину, без полей, со скруглением */
.recipe-card .product-thumb {
  height: 250px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 16px;
}
.recipe-card .product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.recipe-card:hover .product-thumb img { transform: scale(1.06); }
.recipe-card h3 { font-size: 17px; line-height: 1.3; margin-bottom: 14px; }
.recipe-card { border-radius: 18px; overflow: hidden; }
@media (max-width: 760px) {
  .recipe-card .product-thumb { height: 230px; border-radius: 14px; }
}

/* Карточки товара тоже мягче по углам — единая пластика */
.product-card { border-radius: 18px; }
.product-card .product-thumb { border-radius: 14px; }

/* Тёмная секция подписки и подвал — входить плавно, а не резкой линией */
.newsletter { position: relative; }
.newsletter::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -1px;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245,239,227,.95) 0%, rgba(60,44,30,.35) 55%, rgba(0,0,0,0) 100%);
  opacity: .55;
}
.newsletter > * { position: relative; z-index: 1; }


/* ===== Орнаментальные границы между секциями (идея владельца 31.08.2026 17:23 МСК) =====
   Раньше в разделителе стоял ЧЁРНЫЙ орнамент — читался как наклейка на кремовом фоне.
   Теперь фирменный узор перекрашен в золото (ornament-gold.svg), ниже и мягче. */
.ornament-divider { padding: 34px 0 30px; gap: 20px; }
.ornament-divider img { height: 14px; opacity: .75; }
.ornament-divider::before, .ornament-divider::after {
  width: min(220px, 26vw);
  background: linear-gradient(90deg, transparent, rgba(169,129,46,.55), transparent);
}
@media (max-width: 760px) {
  .ornament-divider { padding: 26px 0 22px; gap: 12px; }
  .ornament-divider img { height: 12px; }
  .ornament-divider::before, .ornament-divider::after { width: min(120px, 22vw); }
}
