:root {
  --bg: #FFFFFF;
  --bg-alt: #FFFFFF;
  --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);
  --container: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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: 'Yeseva One', '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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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: 'Yeseva One', serif;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.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: 'PT Serif', 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-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: 'PT Serif', 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;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-card h3 { font-size: 16px; margin-bottom: 6px; font-family: 'PT Serif', serif; font-weight: 700; }
.product-price { font-weight: 700; color: var(--ink); font-size: 17px; margin-bottom: 16px; font-family: 'PT Serif', serif; }

/* ABOUT TEASER */
.about-teaser { background: var(--bg-alt); 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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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);
}

/* 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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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);
}

/* Степпер количества */
.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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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: 'PT Serif', 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: 'Yeseva One', 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: 'PT Serif', serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.label-like {
  font-family: 'PT Serif', 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: 'PT Serif', 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: 'Yeseva One', 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: 'Yeseva One', 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: 'Yeseva One', 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: 'Yeseva One', 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: 'Yeseva One', 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;
  background: var(--bg-alt);
}
.craft-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 20px;
}
.craft-head h2 {
  font-size: 34px;
  margin-bottom: 12px;
}
.craft-head p {
  color: var(--ink-soft);
  font-size: 17px;
}
.craft-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.craft-step {
  text-align: center;
  position: relative;
}
/* Соединительная линия между шагами */
.craft-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 58px;
  right: -22px;
  width: 44px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--gold) 0 6px, transparent 6px 12px);
  opacity: .6;
}
/* Рисованные иллюстрации этапов */
.craft-step-art {
  width: 100%;
  max-width: 210px;
  margin: 0 auto 14px;
  color: var(--ink-soft);
}
.craft-step-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.craft-step-art .craft-accent { stroke: var(--accent); }

.craft-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--accent);
}
.craft-step-num {
  font-family: 'Yeseva One', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.craft-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.craft-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 860px) {
  .craft-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .craft-step:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .craft-steps { grid-template-columns: 1fr; gap: 24px; }
  .craft-step::after { display: none; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
