/* ==========================================================================
   SWEETSAAS — STOLLE + FLOWWOW E-COMMERCE THEME
   Strict, High-Conversion White Commercial Storefront Architecture
   ========================================================================== */

/* 1. MASTER CSS VARIABLES */
:root, [data-theme="vintage_plum"] {
  --cream: #F8F9FA;             /* Чистый светло-серый фон страницы (алиас для тестов) */
  --accent: #D95D39;            /* Алиас для тестов */
  --bg-page: #F8F9FA;           /* Чистый светло-серый фон страницы */
  --bg-card: #FFFFFF;           /* Кристально белые карточки */
  --bg-subtle: #F3F4F6;         /* Вторичные плашки и теги */
  --primary: #D95D39;           /* Фирменный теплый терракотово-карамельный акцент */
  --primary-hover: color-mix(in srgb, var(--primary) 85%, #000000);
  --primary-light: color-mix(in srgb, var(--primary) 10%, transparent);
  --ink: #111827;               /* Глубокий коммерческий угольный текст */
  --ink-secondary: #4B5563;     /* Вторичный серый текст */
  --ink-muted: #9CA3AF;         /* Приглушенные подписи и плейсхолдеры */
  --border: #E5E7EB;            /* Четкие легкие разделители */
  --border-focus: var(--primary);
  --success: #10B981;           /* Зеленый для бесплатной доставки */
  --gold: #D97706;              /* Золотой для подарков и рейтинга */
  --danger: #EF4444;            /* Красный для ошибок */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-hover: 0 10px 30px rgba(0,0,0,0.09);
  --shadow-drawer: -12px 0 40px rgba(0,0,0,0.16);
  --font-base: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="matcha_pistachio"] {
  --primary: #4B6336;
  --accent: #4B6336;
}

[data-theme="dark_truffle"] {
  --primary: #D4AF37;
  --accent: #D4AF37;
}

[data-theme="berry_rose"] {
  --primary: #A3284B;
  --accent: #A3284B;
}

/* 2. BASE RESET & TYPOGRAPHY */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
p { line-height: 1.55; }
img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }

/* 3. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md); font-weight: 700; font-size: 14px;
  transition: all 0.2s var(--ease); white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: var(--primary); color: #FFFFFF; border: 1.5px solid var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}
.btn-primary:hover {
  background: var(--primary-hover); border-color: var(--primary-hover);
  transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-outline {
  background: #FFFFFF; color: var(--ink); border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-light);
  transform: translateY(-1px);
}
.btn-block { width: 100%; }
.btn-lg { padding: 15px 28px; font-size: 15.5px; border-radius: 16px; }

/* ==========================================================================
   4. MAIN NAVBAR & BRANDING (ШТОЛЛЕ STYLE)
   ========================================================================== */
.main-nav, .stolle-nav {
  position: sticky; top: 0; z-index: 500;
  background: #FFFFFF; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand-block, .logo-link {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.brand-monogram {
  width: 36px; height: 36px; border-radius: 10px; background: var(--primary);
  color: #FFFFFF; font-weight: 900; font-size: 19px; display: grid; place-items: center;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--primary) 30%, transparent);
}
.brand-text-col { display: flex; flex-direction: column; }
.brand-title, .logo-name {
  font-size: 20px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1;
}
.brand-desc, .logo-sub {
  font-size: 11px; font-weight: 600; color: var(--ink-secondary); line-height: 1.2;
}

.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; }
.nav-link, .nav-link-item { color: var(--ink-secondary); transition: color 0.2s ease; position: relative; }
.nav-link:hover, .nav-link-item:hover, .nav-link.active, .nav-link-item.active { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* КОРЗИНА В ШАПКЕ ШТОЛЛЕ (ДЕСКТОП) */
.stolle-cart-btn {
  display: flex; align-items: center; gap: 12px;
  background: #FFFFFF; border: 1.5px solid var(--border); padding: 8px 16px;
  border-radius: 100px; transition: all 0.2s var(--ease); cursor: pointer;
}
.stolle-cart-btn:hover {
  border-color: var(--primary); background: var(--primary-light);
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
.cart-btn-icon { position: relative; color: var(--primary); display: flex; align-items: center; }
.cart-badge-pill {
  position: absolute; top: -6px; right: -8px; background: var(--primary);
  color: #FFFFFF; font-size: 10px; font-weight: 800; padding: 1px 5px;
  border-radius: 999px; min-width: 16px; text-align: center;
}
.cart-btn-details { display: flex; flex-direction: column; text-align: left; }
.cart-btn-title { font-size: 11px; text-transform: uppercase; font-weight: 700; color: var(--ink-muted); line-height: 1; }
.cart-btn-sum { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.2; margin-top: 2px; }

/* КНОПКА БУРГЕРА ДЛЯ МОБИЛКИ */
.mobile-burger-btn {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--bg-subtle);
  color: var(--ink); border: 1px solid var(--border); cursor: pointer; transition: all 0.2s ease;
}
.mobile-burger-btn:hover { background: #E5E7EB; color: var(--primary); }

/* ==========================================================================
   4.1. МОБИЛЬНОЕ ВЫДВИЖНОЕ МЕНЮ (BLUR BACKDROP)
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 1050;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-nav-sheet {
  position: absolute; top: 0; left: 0; right: 0;
  background: #FFFFFF; border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transform: translateY(-100%); transition: transform 0.3s var(--ease);
  padding: 18px 20px 24px; border-radius: 0 0 24px 24px;
}
.mobile-nav-overlay.active .mobile-nav-sheet { transform: translateY(0); }

.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.mobile-nav-title { font-size: 16px; font-weight: 800; color: var(--ink); }
.mobile-nav-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-subtle);
  display: grid; place-items: center; font-size: 15px; cursor: pointer; color: var(--ink);
  border: none;
}
.mobile-nav-close:hover { background: #E5E7EB; }
.mobile-nav-list { display: flex; flex-direction: column; padding: 12px 0 8px; }
.mobile-nav-item {
  padding: 12px 14px; font-size: 15px; font-weight: 700; color: var(--ink);
  border-radius: 12px; transition: background 0.15s ease;
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.mobile-nav-item:hover, .mobile-nav-item:active {
  background: var(--primary-light); color: var(--primary);
}
.mobile-nav-bottom {
  display: flex; gap: 10px; margin-top: 10px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.mobile-nav-phone-btn, .mobile-nav-tg-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 700; text-decoration: none;
}
.mobile-nav-phone-btn { background: var(--bg-subtle); color: var(--ink); border: 1px solid var(--border); }
.mobile-nav-tg-btn { background: #2AABEE; color: #FFFFFF; }

/* ==========================================================================
   6. FLOWWOW STORY CIRCLES BAR (ИКОНКИ КАТЕГОРИЙ ВНУТРИ КАТАЛОГА)
   ========================================================================== */
.inline-ico { vertical-align: -2px; margin-right: 4px; display: inline-block; }

.flowwow-catalog-stories-wrap {
  margin: 14px 0 22px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}
.stories-scroll {
  display: flex; gap: 18px; align-items: flex-start; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px;
}
.stories-scroll::-webkit-scrollbar { display: none; }

.story-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; flex: none; width: 84px; text-align: center; transition: transform 0.2s;
}
.story-item:hover { transform: translateY(-2px); }
.story-avatar {
  width: 66px; height: 66px; border-radius: 50%; padding: 2.5px;
  background: var(--border); display: grid; place-items: center; transition: all 0.25s var(--ease);
}
.story-avatar-img {
  width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #FFFFFF;
}
.story-avatar-img img { width: 100%; height: 100%; object-fit: cover; }
.story-name { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.25; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Активная сторис-иконка Flowwow */
.story-item.active .story-avatar {
  background: linear-gradient(135deg, var(--primary), #F59E0B);
  box-shadow: 0 4px 14px rgba(217, 93, 57, 0.35);
}
.story-item.active .story-name { color: var(--primary); font-weight: 800; }

/* Сторис конструктора */
.story-item.special .story-avatar {
  background: linear-gradient(135deg, #F59E0B, var(--primary));
}

/* ==========================================================================
   7. PREMIUM BENTO HERO (VARIANT A — MODERN FOOD-APPEAL)
   ========================================================================== */
.bento-hero-section {
  padding: 36px 0 28px;
  position: relative;
}

.bento-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.bento-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bento-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.bento-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(250, 111, 55, 0.7);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 111, 55, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(250, 111, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(250, 111, 55, 0); }
}

.bento-hero-title {
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-main);
  margin-bottom: 16px;
}

.bento-hero-title .accent {
  color: var(--primary);
  font-style: italic;
  font-family: inherit;
}

.bento-hero-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-secondary);
  max-width: 52ch;
  margin-bottom: 28px;
}

.bento-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-hero-primary {
  background: var(--primary);
  color: #FFFFFF;
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(250, 111, 55, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(250, 111, 55, 0.45);
}

.btn-hero-secondary {
  background: var(--bg-card);
  color: var(--ink-main);
  padding: 13px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.bento-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
}

.bento-avatar-stack {
  display: flex;
  align-items: center;
}

.bento-avatar-stack img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  object-fit: cover;
  margin-left: -10px;
}

.bento-avatar-stack img:first-child {
  margin-left: 0;
}

.avatar-count {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  border: 2.5px solid #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-left: -10px;
}

.bento-trust-text {
  display: flex;
  flex-direction: column;
}

.bento-stars {
  font-size: 14px;
  color: #F59E0B;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.bento-stars b {
  color: var(--ink-main);
  font-weight: 800;
}

.bento-rating-sub {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

/* Правая визуальная часть Bento Hero */
.bento-hero-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bento-hero-ambient-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 111, 55, 0.22) 0%, rgba(250, 111, 55, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.bento-hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-img-container {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border: 4px solid rgba(255, 255, 255, 0.9);
  position: relative;
  transition: transform 0.4s ease;
}

.bento-img-container:hover {
  transform: scale(1.02);
}

.bento-main-cake-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Парящие стеклянные плашки (Glassmorphism) */
.floating-glass-badge {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 10px 16px;
  animation: float-badge 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float-badge {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.badge-top-left {
  top: 18px;
  left: -24px;
  animation-delay: 0s;
}

.badge-bottom-right {
  bottom: 24px;
  right: -20px;
  animation-delay: 1.8s;
}

.badge-gift {
  top: 45%;
  right: -28px;
  transform: translateY(-50%);
  animation-delay: 2.7s;
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--bg-subtle, #F8F9FA);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.badge-text-wrap {
  display: flex;
  flex-direction: column;
}

.badge-main-txt {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink-main);
  line-height: 1.25;
}

.badge-sub-txt {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.2;
}

/* Резервные стили старого баннера */
.promo-banner-section { padding: 24px 0; }
.promo-banner-card {
  background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 36px 44px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px;
  align-items: center; box-shadow: var(--shadow-card); position: relative; overflow: hidden;
}

/* ==========================================================================
   8. КАТАЛОГ FLOWWOW (ИКОНКИ КАТЕГОРИЙ И БЫСТРЫЕ ФИЛЬТРЫ)
   ========================================================================== */
.catalog-section { padding: 24px 0 48px; }

/* Хлебные крошки Flowwow */
.flowwow-top-crumbs {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6B7280;
  margin-bottom: 12px;
}
.flowwow-top-crumbs .crumb-link {
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: #4B5563;
  font-weight: 500; transition: color 0.15s;
}
.flowwow-top-crumbs .crumb-link:hover { color: #111827; }
.flowwow-top-crumbs .crumb-sep { color: #D1D5DB; }

/* Главный заголовок + Переключатель */
.flowwow-head-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 14px;
}
.flowwow-main-title {
  font-size: 32px; font-weight: 800; color: #111827; letter-spacing: -0.02em;
}
.flowwow-view-toggle {
  display: inline-flex; background: #F3F4F6; padding: 3px; border-radius: 100px;
}
.fw-toggle-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px;
  border-radius: 100px; font-size: 13.5px; font-weight: 700; border: none;
  background: transparent; color: #6B7280; cursor: pointer; transition: all 0.2s ease;
}
.fw-toggle-btn.active {
  background: #111827; color: #FFFFFF; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* FLOWWOW ИКОНКИ КАТЕГОРИЙ (1 В 1 ПО РЕФЕРЕНСУ FLOWWOW) */
.flowwow-categories-wrapper {
  width: 100%; overflow-x: auto; scrollbar-width: none;
  margin-bottom: 24px; padding: 4px 0 6px;
}
.flowwow-categories-wrapper::-webkit-scrollbar { display: none; }
.flowwow-categories-row {
  display: flex; gap: 16px; align-items: flex-start; justify-content: center;
}
@media (max-width: 860px) {
  .flowwow-categories-row {
    justify-content: flex-start; padding: 0 8px;
  }
}
.fw-cat-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; min-width: 66px; padding: 2px 4px 6px; border-radius: 18px;
  transition: all 0.2s ease; user-select: none; flex-shrink: 0;
}
.fw-cat-icon-wrap {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 18px; transition: all 0.2s ease; position: relative;
}
/* Неровный органический бабл Flowwow сзади иконки */
.fw-cat-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: 46% 54% 63% 37% / 40% 48% 52% 60%;
  opacity: 0;
  transform: scale(0.68) rotate(-10deg);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  z-index: 0;
}
.fw-cat-icon-wrap img {
  width: 42px; height: 42px; object-fit: contain;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative; z-index: 1;
}

/* Ховер: появление неровного акцентного бабла */
.fw-cat-item:hover .fw-cat-icon-wrap::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  background: color-mix(in srgb, var(--primary) 22%, transparent);
}
.fw-cat-item:hover .fw-cat-icon-wrap img {
  transform: translateY(-2px) scale(1.08);
}
.fw-cat-item:hover .fw-cat-name {
  color: var(--primary);
}

.fw-cat-name {
  font-size: 11.5px; font-weight: 600; color: #374151; margin-top: 5px;
  text-align: center; white-space: normal; line-height: 1.22; max-width: 82px;
  transition: color 0.2s ease; position: relative; z-index: 1;
}

/* Активное состояние иконки: яркий бабл + акцентный текст */
.fw-cat-item.active .fw-cat-icon-wrap::before {
  opacity: 1;
  transform: scale(1.06) rotate(3deg);
  background: color-mix(in srgb, var(--primary) 26%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 25%, transparent);
}
.fw-cat-item.active .fw-cat-icon-wrap img {
  transform: translateY(-1px) scale(1.05);
}
.fw-cat-item.active .fw-cat-name {
  color: var(--primary); font-weight: 700;
}

/* БЫСТРЫЕ ФИЛЬТРЫ-ТАБЛЕТКИ */
.flowwow-filter-pills-bar {
  display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none;
  margin-bottom: 24px; padding-bottom: 4px;
}
.flowwow-filter-pills-bar::-webkit-scrollbar { display: none; }
.fw-pill-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 15px;
  border-radius: 100px; font-size: 13px; font-weight: 600; background: #FFFFFF;
  border: 1.5px solid #E5E7EB; color: #374151; cursor: pointer; white-space: nowrap;
  transition: all 0.18s ease; flex-shrink: 0;
}
.fw-pill-btn:hover { border-color: #D1D5DB; background: #F9FAFB; }
.fw-pill-btn.active {
  background: var(--primary); color: #FFFFFF; border-color: var(--primary);
}

/* СЕТКА ТОВАРОВ И КАРТОЧКА FLOWWOW */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: #FFFFFF; border: 1px solid #F3F4F6; border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03); position: relative;
}
.product-card:hover {
  transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  border-color: #E5E7EB;
}
.card-media {
  aspect-ratio: 1/1; position: relative; overflow: hidden; background: #F9FAFB;
  cursor: pointer;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover .card-media img { transform: scale(1.04); }

.card-badge {
  position: absolute; top: 10px; left: 10px;
  background: #DEF7EC; color: #03543F; font-size: 11px; font-weight: 800;
  padding: 3px 8px; border-radius: 100px; z-index: 2;
}
.card-fav-btn {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.9); border: none;
  display: grid; place-items: center; cursor: pointer; color: #9CA3AF;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); z-index: 2; transition: all 0.2s ease;
}
.card-fav-btn:hover { color: #EF4444; }
.card-fav-btn.active { color: #EF4444; background: #FFFFFF; }
.card-fav-btn.active svg { fill: #EF4444; }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-size: 15.5px; font-weight: 700; color: #111827; margin-bottom: 4px;
  cursor: pointer; transition: color 0.15s; line-height: 1.35;
}
.card-title:hover { color: var(--primary); }
.card-weight { font-size: 12px; color: #6B7280; margin-bottom: 6px; font-weight: 500; }
.card-desc-snippet { font-size: 12.5px; color: #4B5563; line-height: 1.4; margin-bottom: 12px; flex: 1; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 10px; border-top: 1px solid #F3F4F6;
}
.card-price { font-size: 17px; font-weight: 800; color: #111827; }

.card-buy-btn {
  background: var(--primary); color: #FFFFFF; font-weight: 700; font-size: 13px;
  padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--primary); cursor: pointer;
  transition: all 0.2s ease;
}
.card-buy-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); }

.card-stepper {
  display: flex; align-items: center; gap: 6px; background: var(--bg-subtle);
  border: 1.5px solid var(--primary); border-radius: 10px; padding: 2px 6px;
}
.card-stepper-btn {
  width: 24px; height: 24px; border-radius: 6px; background: #FFFFFF; color: var(--primary);
  font-weight: 800; font-size: 14px; display: grid; place-items: center; border: none; cursor: pointer;
  transition: all 0.15s ease;
}
.card-stepper-btn:hover { background: var(--primary); color: #FFFFFF; }
.card-stepper-qty { font-family: var(--font-mono); font-weight: 700; font-size: 13px; min-width: 18px; text-align: center; color: #111827; }

/* ==========================================================================
   9. КОНСТРУКТОР ТОРТОВ (КОМПАКТНЫЙ СТИЛЬ С СБАЛАНСИРОВАННЫМ ЧЕКОМ)
   ========================================================================== */
.constructor-section {
  background: #201318;
  color: #FFFFFF;
  padding: 48px 0 42px; /* Увеличенная высота на 20% с комфортным пространством */
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.constructor-heading { margin-bottom: 20px; }
.constructor-heading h2 {
  color: #FFFFFF;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.constructor-heading .section-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 4px;
}
.constructor-badge-tag {
  color: #E2687F;
  background: rgba(226, 104, 127, 0.15);
  border: 1px solid rgba(226, 104, 127, 0.3);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 8px;
}

.constructor-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: center; /* Выравнивает шаги и чек по вертикали */
}
.constructor-steps { display: flex; flex-direction: column; gap: 24px; }

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 24px 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}
.step-title h3 {
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 700;
}

/* Weight chips */
.weight-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.chip b { display: block; font-size: 13.5px; color: #FFFFFF; }
.chip span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.chip.active {
  background: #E5A84B;
  border-color: #E5A84B;
  box-shadow: 0 4px 12px rgba(229, 168, 75, 0.35);
}
.chip.active b, .chip.active span { color: #1A1014; }

/* Filling cards */
.fillings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.filling-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.filling-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.filling-card.active {
  border-color: #E5A84B;
  box-shadow: 0 0 0 2px rgba(229, 168, 75, 0.5), 0 6px 20px rgba(0, 0, 0, 0.3);
}
.fill-photo {
  height: 74px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}
.fill-photo img { width: 100%; height: 100%; object-fit: cover; }
.filling-card p {
  padding: 6px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

/* Decor inputs */
.decor-inputs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-col label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}
.input-col input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #FFFFFF;
  font-family: inherit;
  transition: border-color 0.2s;
}
.input-col input::placeholder { color: rgba(255, 255, 255, 0.35); }
.input-col input:focus {
  outline: none;
  border-color: #E5A84B;
  background: rgba(255, 255, 255, 0.08);
}

/* RECEIPT TAG */
.constructor-sidebar { width: 100%; }
.summary-receipt-card {
  background: #FAF7F2;
  color: #1A1014;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  position: relative;
}
.receipt-punch-hole {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #201318;
  margin: 0 auto 12px;
}
.receipt-header { text-align: center; margin-bottom: 14px; }
.receipt-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: rgba(26, 16, 20, 0.5);
}
.receipt-store {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #1A1014;
  margin-top: 2px;
}
.receipt-divider {
  border-top: 1.5px dashed rgba(26, 16, 20, 0.15);
  margin: 12px 0;
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 0;
}
.receipt-row .k { color: rgba(26, 16, 20, 0.6); }
.receipt-row .v { font-weight: 700; color: #1A1014; text-align: right; }
.receipt-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 12px 0 16px;
}
.receipt-total-row span { font-size: 15.5px; font-weight: 700; }
.receipt-price { font-size: 25px; font-weight: 900; color: #1A1014; }
.btn-receipt-buy {
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 15px;
  font-size: 15px;
  font-weight: 800;
  transition: all 0.2s ease;
  width: 100%;
  cursor: pointer;
  border: none;
}
.btn-receipt-buy:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.receipt-hint {
  font-size: 10.5px;
  color: rgba(26, 16, 20, 0.5);
  text-align: center;
  margin-top: 8px;
}

/* ==========================================================================
   10. ПРОЦЕСС И СРОКИ ЗАКАЗА (ФОТО 2)
   ========================================================================== */
.process-section { padding: 56px 0 44px; background: #FFFFFF; }
.process-head-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 34px; flex-wrap: gap; gap: 12px;
}
.process-main-title {
  font-size: 28px; font-weight: 800; color: #1E1218; letter-spacing: -0.02em;
}
.process-sub-title {
  font-size: 13.5px; color: #6B7280; font-weight: 500;
}

.process-timeline {
  display: flex; flex-direction: column; max-width: 760px;
}
.timeline-step {
  display: flex; gap: 18px; align-items: stretch; position: relative;
}
.step-num-col {
  display: flex; flex-direction: column; align-items: center; width: 36px; flex: none;
}
.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--primary) 35%, transparent);
  background: var(--primary-light); color: var(--primary);
  font-weight: 800; font-size: 13.5px; display: grid; place-items: center; flex: none;
}
.step-line {
  width: 2px; flex: 1; border-left: 2px dashed color-mix(in srgb, var(--primary) 25%, transparent); margin: 4px 0; min-height: 36px;
}
.step-card-info {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex: 1; padding-bottom: 26px; gap: 16px;
}
.step-card-text h4 {
  font-size: 16px; font-weight: 800; color: #1E1218; margin-bottom: 4px;
}
.step-card-text p {
  font-size: 13.5px; color: #4B5563; line-height: 1.5;
}
.step-time-pill {
  font-size: 11.5px; font-weight: 700; color: #92400E; background: #FEF3C7;
  padding: 4px 12px; border-radius: 100px; white-space: nowrap; flex: none; align-self: flex-start;
}

/* ==========================================================================
   11. ОТЗЫВЫ НАШИХ КЛИЕНТОВ (EDITORIAL РЕФЕРЕНС ФОТО 1)
   ========================================================================== */
.reviews-editorial-section {
  padding: 40px 0 60px;
  background: transparent;
}
.reviews-editorial-box {
  background: #B67341;
  background: linear-gradient(145deg, #A86535 0%, #BA7746 50%, #9E5B2B 100%);
  border-radius: 32px;
  padding: 44px 40px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(78, 38, 14, 0.16);
}
@media (max-width: 768px) {
  .reviews-editorial-box {
    padding: 28px 18px 32px;
    border-radius: 24px;
  }
}
.reviews-editorial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  gap: 16px;
  flex-wrap: wrap;
}
.reviews-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reviews-badge-sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  width: fit-content;
}
.reviews-editorial-title {
  font-size: 36px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  font-family: 'Plus Jakarta Sans', var(--font-heading), sans-serif;
}
@media (max-width: 640px) {
  .reviews-editorial-title {
    font-size: 26px;
  }
}
.reviews-editorial-viewport {
  width: 100%;
  overflow: hidden;
}
.reviews-editorial-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  align-items: stretch;
}

/* Карточка отзыва */
.editorial-review-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 290px;
  border-radius: 26px;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.editorial-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
@media (max-width: 1024px) {
  .editorial-review-card {
    flex: 0 0 calc(50% - 10px);
  }
}
@media (max-width: 680px) {
  .editorial-review-card {
    flex: 0 0 100%;
    min-width: unset;
  }
}

/* 3 Темы карточек в стиле референса */
.editorial-review-card.theme-chocolate {
  background: #3B2117;
  color: #FFFFFF;
}
.editorial-review-card.theme-chocolate .editorial-review-text {
  color: rgba(255, 255, 255, 0.92);
}
.editorial-review-card.theme-chocolate .editorial-author-pill {
  background: #2E1911;
  color: #FFFFFF;
}
.editorial-review-card.theme-chocolate .author-pill-city {
  color: rgba(255, 255, 255, 0.65);
}

.editorial-review-card.theme-cream {
  background: #F4EAE0;
  color: #2D1A12;
}
.editorial-review-card.theme-cream .editorial-review-text {
  color: #38241A;
}
.editorial-review-card.theme-cream .editorial-author-pill {
  background: #D8C3B0;
  color: #26160F;
}
.editorial-review-card.theme-cream .author-pill-city {
  color: #6C5143;
}

.editorial-review-card.theme-caramel {
  background: #E09F67;
  color: #25130A;
}
.editorial-review-card.theme-caramel .editorial-review-text {
  color: #2A170D;
}
.editorial-review-card.theme-caramel .editorial-author-pill {
  background: #C48249;
  color: #1F0F07;
}
.editorial-review-card.theme-caramel .author-pill-city {
  color: #552E15;
}

/* Внутренние элементы карточки */
.editorial-review-media {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: rgba(0, 0, 0, 0.08);
}
.editorial-review-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.editorial-review-card:hover .editorial-review-media img {
  transform: scale(1.05);
}

.editorial-review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #FA6F37;
}
.star-rounded-svg {
  width: 17px;
  height: 17px;
  display: inline-block;
  flex-shrink: 0;
}
.editorial-review-card.theme-cream .editorial-review-stars {
  color: #C25B1E;
}
.editorial-review-card.theme-caramel .editorial-review-stars {
  color: #5C270A;
}

.editorial-review-text {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 20px;
  flex: 1;
}

/* Плашка автора внизу (pill) */
.editorial-author-pill {
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.author-avatar-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  position: relative;
  flex-shrink: 0;
}
.editorial-review-card.theme-cream .author-avatar-monogram {
  background: #50372A;
  color: #FFF;
}
.monogram-heart {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #EF4444;
  color: #FFF;
  font-size: 8.5px;
  display: grid;
  place-items: center;
  border: 1.5px solid #FFFFFF;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.author-pill-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.author-pill-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.author-pill-city {
  font-size: 11.5px;
  font-weight: 600;
}

/* ==========================================================================
   12. ВОПРОСЫ, ОПЛАТА И ДОСТАВКА (ФОТО 2)
   ========================================================================== */
.faq-delivery-section { padding: 36px 0 64px; background: #FFFFFF; }
.faq-del-head-row {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px; flex-wrap: wrap; gap: 12px;
}
.faq-del-title {
  font-size: 28px; font-weight: 800; color: #1E1218; letter-spacing: -0.02em;
}
.faq-del-sub {
  font-size: 13.5px; color: #6B7280; font-weight: 500;
}
.faq-del-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: flex-start;
}
@media (max-width: 860px) {
  .faq-del-grid { grid-template-columns: 1fr; }
}
.faq-accordion-col { display: flex; flex-direction: column; }
.faq-del-item { border-bottom: 1px solid #EFEAE4; }
.faq-del-q-btn {
  width: 100%; text-align: left; padding: 18px 0; display: flex;
  justify-content: space-between; align-items: center; font-size: 15.5px;
  font-weight: 700; color: #1E1218; cursor: pointer; border: none;
  background: transparent; gap: 16px; font-family: inherit;
}
.faq-del-icon {
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary-light);
  color: var(--primary); font-size: 13px; font-weight: 800; display: grid;
  place-items: center; flex: none; transition: all 0.2s ease;
}
.faq-del-item.open .faq-del-icon {
  background: var(--primary); color: #FFFFFF;
}
.faq-del-a-wrap {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-del-a-wrap p {
  padding: 0 0 16px; font-size: 13.5px; color: #4B5563; line-height: 1.6;
}

.faq-cards-col { display: flex; flex-direction: column; gap: 16px; }
.info-pink-card {
  background: color-mix(in srgb, var(--primary) 5%, #FFFFFF);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 18px; padding: 22px 24px;
}
.pink-card-header {
  display: flex; align-items: center; gap: 8px; color: #1E1218; margin-bottom: 14px;
}
.pink-card-header h4 { font-size: 16px; font-weight: 800; }
.pink-card-list {
  display: flex; flex-direction: column; gap: 10px; font-size: 13.5px;
}
.pink-row {
  display: flex; align-items: baseline; gap: 8px; justify-content: space-between;
}
.pink-k { color: #4B5563; }
.pink-dots { flex: 1; border-bottom: 1.5px dotted color-mix(in srgb, var(--primary) 25%, transparent); margin: 0 4px; }
.pink-v { font-weight: 700; color: #1E1218; text-align: right; }

/* ==========================================================================
   13. ПРЕМИАЛЬНЫЙ ФУТЕР
   ========================================================================== */
.main-footer { background: #191014; color: #FFFFFF; padding: 48px 0 24px; margin: 0; }
@media (max-width: 640px) {
  .main-footer { padding-bottom: 96px; }
}
.footer-top-status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; flex-wrap: wrap; gap: 12px;
}
.status-indicator { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  display: inline-block; box-shadow: 0 0 8px #10B981;
}
.status-hours { color: rgba(255,255,255,0.6); }

.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-size: 26px; font-weight: 900; letter-spacing: 0.05em; color: #FFFFFF;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-bottom: 12px;
}
.footer-addr { font-size: 12.5px; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  font-size: 12.5px; text-transform: uppercase; font-weight: 800;
  color: rgba(255,255,255,0.4); margin-bottom: 14px; letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a {
  font-size: 13.5px; color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col li a:hover { color: #FFFFFF; }
.foot-phone a {
  font-size: 20px; font-weight: 800; color: #FFFFFF; text-decoration: none;
  transition: color 0.15s;
}
.foot-phone a:hover { color: #E5A84B; }
.foot-tg-hint { font-size: 12.5px; color: rgba(255,255,255,0.5); margin: 8px 0; }
.footer-tg-action-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #2AABEE;
  color: #FFFFFF; padding: 10px 18px; border-radius: 12px; font-size: 13px;
  font-weight: 700; text-decoration: none; transition: all 0.2s ease;
}
.footer-tg-action-btn:hover { background: #229ED9; transform: translateY(-1px); }
.footer-bottom-line {
  padding-top: 24px; display: flex; justify-content: space-between;
  font-size: 12.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px;
}
.footer-bottom-line b { color: rgba(255,255,255,0.8); }

/* ==========================================================================
   11. МОДАЛКА ТОВАРА (ФОТО 1 И 3 ШТОЛЛЕ)
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(17, 24, 39, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }

.product-modal-window {
  background: #FFFFFF; border-radius: var(--radius-xl); width: 100%; max-width: 820px;
  max-height: 88vh; box-shadow: 0 25px 65px rgba(0,0,0,0.22);
  position: relative; transform: scale(0.96); transition: transform 0.25s var(--ease);
  display: flex; flex-direction: column; overflow: hidden;
}
.modal-overlay.active .product-modal-window { transform: scale(1); }

.product-modal-top-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0; background: #FFFFFF;
}
.modal-top-title {
  font-size: 16px; font-weight: 800; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 12px;
}
.modal-close-btn {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-subtle);
  display: grid; place-items: center; font-size: 15px; cursor: pointer; color: var(--ink);
  flex-shrink: 0; transition: background 0.15s ease; border: none;
}
.modal-close-btn:hover { background: #E5E7EB; }

.product-modal-scroll-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.15) transparent;
}
.product-modal-grid {
  display: grid; grid-template-columns: 1.05fr 1.15fr; min-height: 100%;
}
.product-modal-media {
  background: var(--bg-subtle); position: relative; min-height: 360px;
}
.product-modal-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.product-modal-info {
  padding: 24px 26px; display: flex; flex-direction: column;
}
.detail-category-badge {
  display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 800;
  text-transform: uppercase; color: var(--primary); background: var(--primary-light);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 8px;
}
.detail-title {
  font-size: 22px; font-weight: 800; margin-bottom: 6px; line-height: 1.25;
}
.detail-weight-row {
  display: flex; gap: 12px; font-size: 13px; color: var(--ink-muted); margin-bottom: 12px; align-items: center;
}
.detail-status {
  color: var(--success); font-weight: 700; display: inline-flex; align-items: center; gap: 4px;
}
.detail-status::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success);
}
.detail-desc {
  font-size: 13.5px; color: var(--ink-secondary); line-height: 1.5; margin-bottom: 16px;
}
.detail-composition-block {
  background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; margin-bottom: 14px;
}
.detail-composition-block h5 {
  font-size: 11.5px; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px;
}
.detail-composition-block p {
  font-size: 12.5px; color: var(--ink-secondary); line-height: 1.45;
}
.detail-nutrition-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px;
}
.nutr-item {
  background: var(--bg-subtle); padding: 6px 8px; border-radius: 8px; text-align: center;
}
.nutr-item span {
  display: block; font-size: 10.5px; color: var(--ink-muted);
}
.nutr-item b {
  font-size: 12px; color: var(--ink);
}

.product-modal-sticky-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 24px; border-top: 1px solid var(--border); background: #FFFFFF; flex-shrink: 0;
}
.product-modal-sticky-footer .detail-stepper {
  display: flex; align-items: center; gap: 6px; background: var(--bg-subtle);
  border: 1.5px solid var(--border); border-radius: 100px; padding: 4px 8px;
}
.product-modal-sticky-footer .step-btn {
  width: 30px; height: 30px; border-radius: 50%; background: #FFFFFF; font-weight: 800;
  display: grid; place-items: center; font-size: 16px; color: var(--ink); cursor: pointer;
  transition: all 0.15s ease; border: none;
}
.product-modal-sticky-footer .step-btn:hover {
  background: var(--primary); color: #FFFFFF;
}
.product-modal-sticky-footer .step-val {
  font-size: 14.5px; font-weight: 800; min-width: 24px; text-align: center;
}
.product-modal-sticky-footer .detail-add-btn {
  flex: 1; padding: 13px 20px; font-size: 14.5px; border-radius: var(--radius-md);
}

/* ==========================================================================
   12. МОДАЛКА ВЫБОРА АДРЕСА (ФОТО 4 ШТОЛЛЕ)
   ========================================================================== */
.address-modal-window {
  background: #FFFFFF; border-radius: var(--radius-xl); width: 100%; max-width: 500px;
  padding: 32px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); position: relative;
}
.address-modal-header h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.address-modal-header p { font-size: 13.5px; color: var(--ink-secondary); margin-bottom: 20px; }

.delivery-type-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--bg-subtle);
  padding: 4px; border-radius: 12px; margin-bottom: 16px;
}
.del-toggle-btn {
  padding: 10px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: var(--ink-secondary);
  transition: all 0.2s; text-align: center;
}
.del-toggle-btn.active {
  background: #FFFFFF; color: var(--ink); box-shadow: var(--shadow-sm);
}

.delivery-conditions-card {
  background: var(--bg-page); border: 1px solid var(--border); border-radius: 14px; padding: 16px;
}
.cond-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; }
.cond-row span { color: var(--ink-secondary); }
.cond-val { font-weight: 700; color: var(--ink); }
.cond-val.green { color: var(--success); }

.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--ink-secondary); margin-bottom: 6px; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border);
  font-size: 14px; color: var(--ink); font-family: inherit; background: #FFFFFF;
}
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.pickup-info-box {
  background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; padding: 14px; font-size: 13px;
}

/* ==========================================================================
   13. ВЫДВИЖНАЯ КОРЗИНА ШТОЛЛЕ (ФОТО 5 ШТОЛЛЕ)
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(17, 24, 39, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.cart-drawer-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw;
  background: #FFFFFF; box-shadow: var(--shadow-drawer); transform: translateX(100%);
  transition: transform 0.35s var(--ease); display: flex; flex-direction: column; z-index: 1001;
}
.cart-drawer-overlay.active .cart-drawer { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border); flex: none;
}
.drawer-header-left { display: flex; align-items: center; gap: 10px; }
.drawer-header-left h3 { font-size: 22px; font-weight: 800; }
.drawer-badge {
  background: var(--primary); color: #FFFFFF; font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
}
.drawer-close {
  width: 32px; height: 32px; border-radius: 50%; background: var(--bg-subtle);
  display: grid; place-items: center; font-size: 16px; cursor: pointer; color: var(--ink);
}
.drawer-close:hover { background: #E5E7EB; }

/* ПРОГРЕСС-БАР ШТОЛЛЕ */
.delivery-progress-widget {
  background: var(--bg-page); border-bottom: 1px solid var(--border); padding: 12px 24px; flex: none;
}
.progress-info-line { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.progress-bar-track { width: 100%; height: 6px; background: #E5E7EB; border-radius: 100px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--primary); border-radius: 100px; transition: width 0.4s ease; }
.delivery-progress-widget.achieved .progress-bar-fill { background: var(--success); }
.delivery-progress-widget.achieved .progress-info-line { color: var(--success); }

.drawer-view { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
.drawer-items-list { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }

.drawer-item {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center;
  background: #FFFFFF; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px;
}
.drawer-item-img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; background: var(--bg-subtle); flex: none; }
.drawer-item-img img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item-info h5 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.drawer-item-specs { font-size: 11.5px; color: var(--ink-muted); margin-bottom: 4px; }
.drawer-item-price { font-size: 14px; font-weight: 800; color: var(--ink); }

.drawer-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.drawer-remove-btn { color: var(--ink-muted); font-size: 15px; cursor: pointer; }
.drawer-remove-btn:hover { color: var(--danger); }

.drawer-empty-state { text-align: center; padding: 60px 24px; margin: auto 0; }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.drawer-empty-state h4 { font-size: 18px; margin-bottom: 4px; }
.drawer-empty-state p { font-size: 13.5px; color: var(--ink-muted); margin-bottom: 18px; }

.drawer-footer {
  background: #FFFFFF; border-top: 1px solid var(--border); padding: 18px 24px; flex: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.04);
}
.cart-promo-row { display: flex; gap: 8px; margin-bottom: 12px; }
.cart-promo-row input {
  flex: 1; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border);
  font-size: 12.5px; font-family: var(--font-mono); text-transform: uppercase;
}
.btn-promo-apply {
  padding: 10px 14px; border-radius: 8px; background: var(--bg-subtle); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 700; color: var(--ink); cursor: pointer;
}
.btn-promo-apply:hover { background: var(--primary); color: #FFFFFF; border-color: var(--primary); }
.promo-msg { font-size: 11.5px; font-weight: 700; margin-top: -6px; margin-bottom: 8px; }

.cart-totals-table { margin-bottom: 16px; font-size: 13.5px; }
.tot-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--ink-secondary); }
.tot-row.discount { color: var(--success); }
.tot-row.total {
  font-size: 18px; font-weight: 800; color: var(--ink); border-top: 1.5px dashed var(--border);
  padding-top: 8px; margin-top: 6px;
}
.tot-row.total .mono { color: var(--primary); }

/* ШАГ 2: CHECKOUT ФОРМА */
.checkout-back-nav { padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--bg-page); }
.btn-back-link { font-size: 13px; font-weight: 700; color: var(--ink-secondary); display: inline-flex; align-items: center; gap: 6px; }
.btn-back-link:hover { color: var(--primary); }
.checkout-form-scroll { flex: 1; overflow-y: auto; padding: 20px 24px; }
.checkout-summary-bar { background: var(--bg-page); padding: 12px; border-radius: 10px; margin-bottom: 16px; font-size: 13.5px; }
.checkout-summary-bar div { display: flex; justify-content: space-between; }
.checkout-summary-bar small { color: var(--ink-muted); }

.form-group.has-error input { border-color: var(--danger) !important; background: rgba(239, 68, 68, 0.04); }
.field-error-msg { font-size: 11px; color: var(--danger); font-weight: 700; margin-top: 3px; display: none; }
.form-group.has-error .field-error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ШАГ 3: SUCCESS SCREEN */
.success-screen { padding: 48px 24px; text-align: center; }
.success-checkmark {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(16, 185, 129, 0.12);
  color: var(--success); font-size: 28px; font-weight: 900; display: grid; place-items: center; margin: 0 auto 16px;
}
.success-screen h3 { font-size: 22px; margin-bottom: 6px; }
.success-text { font-size: 14px; color: var(--ink-secondary); margin-bottom: 24px; }
.success-btn-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.success-notice { font-size: 12px; color: var(--ink-muted); background: var(--bg-subtle); padding: 12px; border-radius: 10px; }

/* ==========================================================================
   14. APPLE / TMA FLOATING BOTTOM BAR
   ========================================================================== */
.apple-mobile-bar {
  position: fixed; bottom: max(14px, env(safe-area-inset-bottom)); left: 16px; right: 16px; z-index: 800;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(229, 231, 235, 0.8); box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: 20px; padding: 10px 16px; cursor: pointer; transition: transform 0.2s ease;
}
.apple-mobile-bar:active { transform: scale(0.98); }
.mobile-bar-content { display: flex; align-items: center; justify-content: space-between; }
.mobile-bar-left { display: flex; align-items: center; gap: 12px; }
.mobile-bar-cart-icon { position: relative; color: var(--primary); display: grid; place-items: center; }
.mobile-bar-badge {
  position: absolute; top: -6px; right: -8px; background: var(--primary); color: #FFFFFF;
  font-family: var(--font-mono); font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 999px;
}
.mobile-bar-heading { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.2; }
.mobile-bar-caption { font-size: 11px; color: var(--ink-muted); }
.mobile-bar-sum {
  background: var(--primary); color: #FFFFFF; font-weight: 800; font-size: 14px;
  padding: 8px 14px; border-radius: 100px;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 641px) {
  .apple-mobile-bar { display: none !important; }
}

@media (max-width: 980px) {
  .top-work-hours { display: none; }
  .promo-banner-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
  .banner-media { max-width: 280px; margin: 0 auto; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .constructor-layout { grid-template-columns: 1fr; }
  .constructor-sidebar { position: static; margin-top: 24px; }
  .fillings-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-cards-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .product-modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-inner { padding: 12px 16px; }
  .stolle-cart-btn { display: none !important; }
  .mobile-burger-btn { display: inline-flex; }

  /* 1 ТОВАР В СТРОКУ НА МОБИЛКЕ (ШТОЛЛЕ STYLE С ФОТО 2) */
  .catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .product-card {
    flex-direction: row;
    align-items: stretch;
    border-radius: 16px;
    padding: 10px;
    gap: 12px;
  }
  .product-card:hover { transform: none; }
  .card-media {
    width: 104px;
    height: 104px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    flex-shrink: 0;
  }
  .card-body {
    padding: 2px 2px 2px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
  }
  .card-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card-weight {
    font-size: 11.5px;
    color: var(--ink-muted);
    margin-bottom: 4px;
  }
  .card-desc-snippet {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11.5px;
    color: var(--ink-secondary);
    margin-bottom: 6px;
  }
  .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 6px;
    border-top: none;
  }
  .card-price {
    font-size: 15.5px;
    font-weight: 800;
  }
  .card-buy-btn {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 8px;
  }
  .card-stepper {
    padding: 2px 4px;
    gap: 4px;
  }
  .card-stepper-btn {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .card-stepper-qty {
    font-size: 12px;
    min-width: 14px;
  }

  /* МОДАЛКА ТОВАРА НА МОБИЛКЕ (ФОТО 1 ШТОЛЛЕ - ФИКСИРОВАННАЯ ШАПКА И ФУТЕР) */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .product-modal-window {
    width: 100%;
    max-width: 100vw;
    height: 92vh;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
  }
  .modal-overlay.active .product-modal-window {
    transform: translateY(0);
  }
  .product-modal-top-bar {
    padding: 14px 18px;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-media {
    aspect-ratio: 4/3;
    min-height: auto;
    max-height: 240px;
  }
  .product-modal-info {
    padding: 16px 18px 20px;
  }
  .product-modal-sticky-footer {
    padding: 12px 16px max(14px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  }

  .stories-section { padding: 10px 0; }
  .story-avatar { width: 56px; height: 56px; }
  .story-name { font-size: 11px; }
  .decor-inputs-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cart-drawer {
    width: 100%; top: auto; bottom: 0; max-height: 90vh;
    border-radius: 24px 24px 0 0; transform: translateY(100%);
  }
  .cart-drawer-overlay.active .cart-drawer { transform: translateY(0); }
}

/* ==========================================================================
   HERO VARIANT B: DARK EDITORIAL BANNER (РЕФЕРЕНС 1-В-1)
   ========================================================================== */
.editorial-banner-hero-section {
  padding: 16px 0 28px;
  position: relative;
  width: 100%;
}

.editorial-hero-island {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background-color: #170E0C;
  min-height: 520px;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12);
}

.editorial-hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.editorial-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.editorial-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 13, 11, 0.97) 0%,
    rgba(22, 13, 11, 0.92) 36%,
    rgba(22, 13, 11, 0.55) 60%,
    rgba(22, 13, 11, 0.15) 85%,
    rgba(22, 13, 11, 0.05) 100%
  );
  pointer-events: none;
}

.editorial-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 68px 56px;
  color: #F8EFE8;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.editorial-tag-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.editorial-tag-text {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 239, 232, 0.72);
}

.editorial-tag-line {
  display: inline-block;
  width: 44px;
  height: 1.5px;
  background: rgba(248, 239, 232, 0.35);
}

.editorial-title {
  margin: 2px 0 0;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.editorial-title-grotesk {
  display: block;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  color: #FFFFFF;
}

.editorial-title-serif {
  display: block;
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: #F8EDE4;
  letter-spacing: -0.01em;
}

.editorial-subtitle {
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.62;
  color: rgba(248, 239, 232, 0.76);
  max-width: 490px;
  margin: 2px 0 6px;
  font-weight: 400;
}

.editorial-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-editorial-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F7EFE7;
  color: #1A110F;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13.5px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn-editorial-primary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #1A110F;
}

.btn-editorial-primary:active {
  transform: translateY(0);
}

.btn-editorial-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #F7EFE7;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(247, 239, 231, 0.38);
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.btn-editorial-secondary:hover {
  background: rgba(247, 239, 231, 0.12);
  border-color: rgba(247, 239, 231, 0.7);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-editorial-secondary:active {
  transform: translateY(0);
}

.editorial-perk-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(248, 239, 232, 0.7);
  margin-top: 8px;
  font-weight: 500;
}

.editorial-perk-row svg {
  stroke: #FA6F37;
  flex-shrink: 0;
}

.editorial-cake-pointer {
  position: absolute;
  right: 52px;
  bottom: 38px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(18, 10, 8, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, background 0.22s ease;
}

.editorial-cake-pointer:hover {
  transform: translateY(-2px);
  background: rgba(18, 10, 8, 0.7);
}

.pointer-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5px;
}

.pointer-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F7EFE7;
  box-shadow: 0 0 0 3px rgba(247, 239, 231, 0.3);
}

.pointer-line {
  width: 1.5px;
  height: 26px;
  background: rgba(247, 239, 231, 0.4);
  margin-top: 4px;
}

.pointer-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pointer-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 239, 232, 0.65);
  font-weight: 600;
}

.pointer-title {
  font-size: 13.5px;
  color: #FFFFFF;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

@media (max-width: 900px) {
  .editorial-hero-island {
    min-height: 520px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .editorial-hero-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    order: unset;
    z-index: 1;
  }

  .editorial-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 40%;
  }

  .editorial-hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(22, 13, 11, 0.35) 0%,
      rgba(22, 13, 11, 0.72) 40%,
      rgba(22, 13, 11, 0.96) 90%
    );
    z-index: 2;
  }

  .editorial-hero-content {
    position: relative;
    z-index: 3;
    padding: 40px 22px 32px;
    max-width: 100%;
    gap: 16px;
  }

  .editorial-title {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.15;
  }

  .editorial-subtitle {
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
  }

  .editorial-cake-pointer {
    display: none;
  }

  .editorial-actions-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 6px;
  }

  .btn-editorial-primary,
  .btn-editorial-secondary {
    justify-content: center;
    width: 100%;
    padding: 15px 22px;
    font-size: 14.5px;
  }
}

