/* ==========================================================================
   Rabbit Bouquet — Цветочная мастерская в Сургуте
   Цветовая палитра: Нежный белый + контрастная фуксия (по фото 2)
   Логотип и каллиграфия: по фото 1
   ========================================================================== */

:root {
  /* Палитра "Нежный белый" */
  --bg-primary: #FAF8F5;
  --bg-secondary: #FFFDFD;
  --bg-subtle: #F5EFEB;
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(25, 18, 22, 0.65);
  
  /* Контрастный ягодно-фуксиевый акцент (с вывески "ЦВЕТЫ" на фото 2) */
  --accent-pink: #E01A68;
  --accent-pink-hover: #C21356;
  --accent-pink-light: #FFF0F5;
  --accent-pink-glow: rgba(224, 26, 104, 0.32);
  --accent-neon: #FF2D85;

  /* Дополнительные пастельные тона */
  --blush: #FCE8EE;
  --sage-green: #5A7E64;
  --sage-light: #EBF2EC;
  --gold-accent: #C49E65;

  /* Текстовые цвета */
  --text-dark: #1E1A1D;
  --text-muted: #62595D;
  --text-light: #8E8286;
  --text-white: #FFFFFF;

  /* Границы и тени */
  --border-light: rgba(224, 26, 104, 0.12);
  --border-subtle: #EFE7E9;
  --shadow-sm: 0 4px 16px rgba(110, 60, 80, 0.06);
  --shadow-md: 0 10px 30px rgba(110, 60, 80, 0.08);
  --shadow-lg: 0 18px 45px rgba(110, 60, 80, 0.12);
  --shadow-accent: 0 8px 25px var(--accent-pink-glow);

  /* Шрифты */
  --font-logo: 'Alex Brush', 'Brush Script MT', 'Great Vibes', cursive;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-subheading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Переходы */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Радиусы скругления */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Сброс и базовые настройки */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  outline: none;
  transition: all var(--transition-normal);
}

/* Контейнеры */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 960px;
}

/* Типографика с защитой от висячих строк */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  text-wrap: balance;
  text-rendering: optimizeLegibility;
}

p, li, .hero-description, .section-subtitle {
  text-wrap: pretty;
  text-rendering: optimizeLegibility;
}

.script-font {
  font-family: var(--font-logo);
  font-weight: 400;
}

.text-accent {
  color: var(--accent-pink);
}

/* Верхняя полоса анонса */
.delivery-announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 9px 16px;
  background: #fff0f5;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-dark);
  font-size: .76rem;
  line-height: 1.6;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}
.delivery-announcement strong { font-weight: 700; }
.delivery-announcement:hover { color: var(--accent-pink); }
.delivery-announcement:focus-visible { outline: 3px solid var(--accent-pink); outline-offset: -3px; }

.top-bar {
  background: #1C1619;
  color: #E2D7DA;
  font-size: 0.8rem;
  padding: 8px 0;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(224, 26, 104, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-pink);
  flex-shrink: 0;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: rgba(90, 126, 100, 0.2);
  color: #88D39E;
  font-weight: 500;
  font-size: 0.78rem;
}

.live-indicator.is-open .status-dot {
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.live-indicator.is-closed {
  background: rgba(220, 38, 38, 0.15);
  color: #F87171;
}

.live-indicator.is-closed .status-dot {
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Шапка сайта (Header / Navbar) — БЕЗ НАЛОЖЕНИЙ
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(224, 26, 104, 0.1);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.channel-shortcuts {
  background: #fff2f7;
  border-bottom: 1px solid rgba(224, 26, 104, .12);
}
.channel-shortcuts-inner {
  min-height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
}
.channel-shortcuts a {
  color: var(--accent-pink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.channel-shortcuts a:hover { color: var(--accent-pink-hover); }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 18px;
}

/* Фирменный логотип по фото 1 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  user-select: none;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid rgba(224, 26, 104, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(224, 26, 104, 0.15);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.brand-logo:hover .brand-icon-wrap {
  transform: rotate(-6deg) scale(1.06);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-subtext {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 2px;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-logo);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.brand-logo:hover .brand-title {
  color: var(--accent-pink);
}

/* Меню навигации — строго в одну строку */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--accent-pink);
}

.nav-link:hover::after {
  width: 100%;
}

/* Правый блок шапки: телефон и корзина */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-phone-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  line-height: 1.25;
}

.header-phone-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: inline-block;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.header-phone-link:hover {
  color: var(--accent-pink);
}

.header-phone-caption {
  font-size: 0.72rem;
  color: var(--text-light);
  white-space: nowrap;
}

.cart-toggle-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.cart-toggle-btn:hover {
  background: var(--accent-pink);
  color: var(--text-white);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

.cart-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Мобильный гамбургер */
.mobile-burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
  flex-shrink: 0;
}

.mobile-burger span {
  width: 100%;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* ==========================================================================
   Кнопки
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-pink) 0%, #F52D80 100%);
  color: var(--text-white);
  box-shadow: 0 6px 20px var(--accent-pink-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #C21356 0%, var(--accent-pink) 100%);
  box-shadow: 0 10px 28px rgba(224, 26, 104, 0.45);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

/* Official MAX palette and symbol: https://go.max.ru/brandbook */
.btn.btn-max {
  background: linear-gradient(115deg, #471aff 0%, #6e1aff 55%, #9500ff 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(71, 26, 255, .24);
}

.btn.btn-max:hover {
  background: linear-gradient(115deg, #3914d9 0%, #5d12de 55%, #7d00d9 100%);
  color: #fff;
  box-shadow: 0 9px 26px rgba(71, 26, 255, .32);
  transform: translateY(-2px);
}

.btn.btn-max:focus-visible {
  outline: 3px solid #471aff;
  outline-offset: 4px;
}

.max-icon { width: 20px; height: 20px; flex: none; object-fit: contain; }

.btn.btn-telegram {
  background: linear-gradient(115deg, #007dbb 0%, #00699e 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(0, 125, 187, .28);
}

.btn.btn-telegram:hover {
  background: linear-gradient(115deg, #006ba1 0%, #005782 100%);
  color: #fff;
  box-shadow: 0 9px 26px rgba(0, 125, 187, .38);
  transform: translateY(-2px);
}

.btn.btn-telegram:focus-visible { outline: 3px solid #007dbb; outline-offset: 4px; }

.btn.btn-call {
  background: linear-gradient(115deg, #3d2c36 0%, #1c1619 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(44, 29, 38, .24);
}

.btn.btn-call:hover {
  background: linear-gradient(115deg, #503743 0%, #302129 100%);
  color: #fff;
  box-shadow: 0 9px 26px rgba(44, 29, 38, .34);
  transform: translateY(-2px);
}

.btn.btn-call:focus-visible { outline: 3px solid #503743; outline-offset: 4px; }

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Hero Секция — Идеально выверенная типографика
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 45px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 20%, #FFF0F5 0%, rgba(255, 255, 255, 0) 65%),
              radial-gradient(circle at 10% 80%, #FFF5F7 0%, rgba(255, 255, 255, 0) 50%),
              var(--bg-primary);
}

.hero-bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 26, 104, 0.08) 0%, rgba(255, 240, 245, 0) 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.blob-2 {
  position: absolute;
  bottom: 5%;
  left: -8%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 158, 101, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(35px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 8px;
  white-space: nowrap;
  color: var(--accent-pink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0 auto 20px;
}

.hero-eyebrow .eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(224, 26, 104, 0.13);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.hero-title-lockup {
  display: block;
  width: max-content;
  max-width: 100%;
}

.hero-title-main { display: block; }

.hero-title .brand-calligraphy {
  font-family: var(--font-logo);
  font-size: 1.22em;
  font-weight: 400;
  color: var(--accent-pink);
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  text-shadow: 0 4px 18px rgba(224, 26, 104, 0.22);
}

.hero-subtitle-line {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68em;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.35;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

/* Траст-бейджы */
.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  border: 1px solid rgba(224, 26, 104, 0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink);
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-badge-text h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero-badge-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

/* Визуальный блок Hero */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(70, 30, 50, 0.16);
  border: 6px solid #FFFFFF;
  background: #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-smooth), opacity 0.2s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-image-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(224, 26, 104, 0.92);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(224, 26, 104, 0.35);
  z-index: 2;
  backdrop-filter: blur(4px);
}

.hero-thumbs-strip {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  z-index: 3;
}

.hero-thumb-btn {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  opacity: 0.65;
  background: #FFFFFF;
}

.hero-thumb-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: var(--accent-pink);
}

.hero-thumb-btn.active {
  opacity: 1;
  border-color: var(--accent-pink);
  box-shadow: 0 4px 12px var(--accent-pink-glow);
  transform: scale(1.05);
}

.hero-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Плавающие карточки */
.floating-card-promo {
  position: absolute;
  top: 24px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(224, 26, 104, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: floatPromo 4s infinite ease-in-out;
}

@keyframes floatPromo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.floating-promo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-pink-light);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-promo-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-dark);
}

.floating-promo-sub {
  font-size: 0.74rem;
  color: var(--accent-pink);
  font-weight: 600;
}

.floating-card-delivery {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: #1C1619;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(224, 26, 104, 0.3);
  animation: floatDelivery 4.5s infinite ease-in-out;
}

@keyframes floatDelivery {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.floating-delivery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  flex-shrink: 0;
}

.floating-delivery-text h5 {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

.floating-delivery-text p {
  font-size: 0.72rem;
  color: #D1C5C8;
}

/* ==========================================================================
   Секция Каталога Букетов
   ========================================================================== */
.catalog-section {
  padding: 80px 0;
  background: #FFFFFF;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
}

.category-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.category-tab {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.category-tab:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.category-tab.active {
  background: var(--accent-pink);
  color: #fff;
  border-color: var(--accent-pink);
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.catalog-sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .9rem;
}

.catalog-sort {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  padding: 10px 14px;
  color: var(--text-dark);
}

.quiz-result-heading { margin: 0 0 14px; font-family: var(--font-heading); font-size: 1.25rem; }
.quiz-results-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quiz-result-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: #fff; }
.quiz-result-card img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 10px; }
.quiz-result-card span { color: var(--accent-pink); font-weight: 700; }
.quiz-result-card .btn { width: 100%; margin-top: auto; white-space: nowrap; }

/* Сетка карточек: идеально ровные высоты */
.bouquets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.bouquet-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
  position: relative;
}

.bouquet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 26, 104, 0.25);
}

.bouquet-card-image-wrap {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #F8F3F1;
  cursor: pointer;
  flex-shrink: 0;
}

.bouquet-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.bouquet-availability {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .96);
  color: #29402e;
  font: 600 .5625rem/1.3 var(--font-body);
  box-shadow: 0 3px 12px rgba(28, 22, 25, .09);
  pointer-events: none;
}
.bouquet-availability::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: #648c44;
  box-shadow: 0 0 0 1px #edf3e8;
}

.bouquet-card:hover .bouquet-card-image {
  transform: scale(1.06);
}

.bouquet-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-hit { background: var(--accent-pink); color: #fff; }
.badge-featured { background: #1C1619; color: #FFE6EE; border: 1px solid rgba(224, 26, 104, 0.4); }
.badge-new { background: var(--sage-green); color: #fff; }
.badge-fast { background: #2563EB; color: #fff; }
.badge-premium { background: linear-gradient(135deg, #B8860B 0%, #E5C158 100%); color: #fff; }

.zoom-preview-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bouquet-card:hover .zoom-preview-btn {
  opacity: 1;
  transform: scale(1);
}

.zoom-preview-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.bouquet-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bouquet-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.76rem;
  color: var(--text-light);
}

.bouquet-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #EAB308;
  font-weight: 600;
}

.bouquet-card-rating svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.bouquet-card-delivery {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sage-green);
  font-weight: 500;
}

.bouquet-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bouquet-card-composition {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bouquet-card-size {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}

.bouquet-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.bouquet-price-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bouquet-price-current {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
  white-space: nowrap;
}

.bouquet-price-old {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: 3px;
}

.bouquet-card-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.btn-add-cart {
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  background: #FFF0F5;
  color: var(--accent-pink);
  border: 1px solid rgba(224, 26, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 600;
}

.btn-add-cart:hover {
  background: var(--accent-pink);
  color: #fff;
  box-shadow: 0 4px 12px var(--accent-pink-glow);
}

.btn-add-cart svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.btn-quick-order {
  width: 100%;
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: var(--text-dark);
  color: #fff;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-quick-order:hover {
  background: var(--accent-pink);
  box-shadow: 0 4px 12px var(--accent-pink-glow);
}

/* ==========================================================================
   Баннер обновления каталога (пустое состояние до выгрузки из админ-панели)
   ========================================================================== */
.catalog-empty-banner {
  grid-column: 1 / -1;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 26, 104, 0.16);
  padding: 38px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-top: 10px;
}

.catalog-empty-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  background: #F8F1F3;
}

.catalog-empty-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.catalog-empty-banner:hover .catalog-empty-img {
  transform: scale(1.03);
}

.catalog-empty-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #FFF0F5;
  color: var(--accent-pink);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border: 1px solid rgba(224, 26, 104, 0.2);
}

.catalog-empty-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.catalog-empty-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.catalog-empty-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Баннер обновления витрины в каталоге */
.catalog-updating-banner {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(224, 26, 104, 0.16);
  padding: 50px 36px;
  text-align: center;
  max-width: 780px;
  margin: 10px auto 0;
  box-shadow: var(--shadow-md);
}

.updating-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #FFF0F5;
  color: var(--accent-pink);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  border: 1px solid rgba(224, 26, 104, 0.2);
}

.updating-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.updating-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.updating-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   Секция Живой Витрины / Фотогалерея букетов из rabbit-damp
   ========================================================================== */
.gallery-section {
  padding: 85px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF7F9 100%);
  position: relative;
}

.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}

.gallery-tab {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-tab:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.gallery-tab.active {
  background: var(--accent-pink);
  color: #FFFFFF;
  border-color: var(--accent-pink);
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #F0E6E9;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 26, 104, 0.25);
}

.gallery-card-img-wrap {
  position: relative;
  height: 330px;
  overflow: hidden;
  cursor: pointer;
  background: #F8F1F3;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.05);
}

.gallery-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--accent-pink);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 25, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-card:hover .gallery-card-hover-overlay {
  opacity: 1;
}

.gallery-zoom-icon svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.gallery-hover-text {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.gallery-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

.gallery-order-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-pink);
  transition: all var(--transition-fast);
}

.gallery-order-btn:hover {
  color: #BE1250;
  transform: translateX(3px);
}

.gallery-footer-action {
  text-align: center;
  margin-top: 45px;
}

/* ==========================================================================
   Квиз / Конфигуратор
   ========================================================================== */
.quiz-section {
  padding: 75px 0;
  background: linear-gradient(135deg, #FFF0F5 0%, #FFFDFD 50%, #FAF7F5 100%);
  position: relative;
}

.quiz-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(224, 26, 104, 0.15);
}

.quiz-step-title {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-pink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-opt-btn {
  flex: 1 1 auto;
  min-width: fit-content;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-primary);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.quiz-opt-btn .icons8-inline-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.quiz-opt-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-1px);
}

.quiz-opt-btn.selected {
  border-color: var(--accent-pink);
  background: #FFF0F5;
  color: var(--accent-pink);
  box-shadow: 0 4px 14px var(--accent-pink-glow);
}

.quiz-result-area {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #FFFDFD;
  border: 1.5px solid rgba(224, 26, 104, 0.2);
  box-shadow: 0 6px 20px rgba(224, 26, 104, 0.06);
  display: none;
}

.quiz-consult-banner {
  background: #FFFDFD;
  border-radius: var(--radius-md);
  padding: 6px;
}

.quiz-consult-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #FFF0F5;
  color: var(--accent-pink);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(224, 26, 104, 0.2);
}

.quiz-consult-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.quiz-summary-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.quiz-chip {
  background: #FDF2F5;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-dark);
  border: 1px solid rgba(224, 26, 104, 0.15);
}

.quiz-chip strong {
  color: var(--accent-pink);
}

.quiz-consult-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.quiz-consult-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ==========================================================================
   Отзывы
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 26, 104, 0.2);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-author h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-dark);
}

.review-date {
  font-size: 0.74rem;
  color: var(--text-light);
}

.review-source-badge {
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: #F4EFEB;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: #EAB308;
  margin-bottom: 12px;
}

.review-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Контакты и Карта
   ========================================================================== */
.contacts-section {
  padding: 85px 0 100px;
  background: #FFFFFF;
  position: relative;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 45px;
  align-items: stretch;
}

.contacts-info-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.contacts-info-card h2 {
  font-size: 2.2rem;
  margin-bottom: 22px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(224, 26, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-text h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-text p, .contact-text a {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-sub {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-text a:hover {
  color: var(--accent-pink);
}

.contact-phones-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.social-pill-btn:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-2px);
}

.contacts-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #FFFFFF;
  min-height: 460px;
}

.contacts-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
}

.map-quick-buttons {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.map-link-btn {
  flex: 1;
  padding: 11px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.map-link-btn:hover {
  background: var(--accent-pink);
  color: #fff;
}

.map-link-btn .icons8-inline-icon {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

/* ==========================================================================
   Подвал сайта
   ========================================================================== */
.footer {
  background: #140F12;
  color: #ECE0E3;
  padding: 65px 0 28px;
  border-top: 2px solid rgba(224, 26, 104, 0.3);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-title {
  color: #fff;
  font-size: 2.2rem;
}

.footer-brand .brand-subtext {
  color: #BCAE8F;
}

.footer-desc {
  font-size: 0.86rem;
  color: #A39699;
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 0.86rem;
  color: #A39699;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-pink);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #7A6F72;
}

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
}

/* ==========================================================================
   Корзина и Модальные окна
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cart-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1001;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
}

.cart-drawer-backdrop.active .cart-drawer {
  right: 0;
}

.cart-drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 {
  font-size: 1.4rem;
}

.close-drawer-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.close-drawer-btn:hover {
  background: var(--accent-pink);
  color: #fff;
}

.cart-drawer-items {
  padding: 18px 24px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.cart-empty-state svg {
  width: 56px;
  height: 56px;
  fill: var(--border-light);
  margin-bottom: 14px;
}

.cart-item-row {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.cart-item-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-pink);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--accent-pink);
  color: #fff;
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 1.2rem;
  padding: 6px;
}

.cart-item-remove:hover {
  color: #EF4444;
}

.cart-drawer-footer {
  padding: 22px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-subtotal-label {
  font-size: 1rem;
  color: var(--text-muted);
}

.cart-subtotal-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Модальное окно */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(224, 26, 104, 0.15);
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: all var(--transition-smooth);
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-primary);
}

.modal-header h3 {
  font-size: 1.45rem;
}

.modal-body {
  padding: 24px 26px;
  max-height: 80vh;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-subtle);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: #FFFFFF;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(224, 26, 104, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 75px;
}

.modal-footer {
  padding: 18px 26px 22px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-note {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.5;
  text-align: center;
}

.checkout-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  cursor: pointer;
}

.checkout-check input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--accent-pink);
}

.checkout-check a { color: var(--accent-pink); text-decoration: underline; }
.checkout-terms { margin: 0; font-size: 0.76rem; line-height: 1.5; color: var(--text-muted); }
.checkout-terms a { color: var(--accent-pink); text-decoration: underline; }
.checkout-check.checkout-outside { margin-top: -4px; margin-bottom: 17px; }
.checkout-check.checkout-outside[hidden] { display: none; }
.checkout-destination { margin-top: -5px; }
.checkout-destination[hidden] { display: none; }

.checkout-total {
  padding: 13px 16px;
  margin: 8px 0 14px;
  border: 1px solid #f6cede;
  border-radius: 12px;
  background: #fff7fa;
  font-size: 0.86rem;
  line-height: 1.7;
}

.checkout-total strong { color: var(--accent-pink); font-size: 1rem; }

/* Окно подтверждения отправки заказа в Telegram */
.modal-success-window {
  text-align: center;
  padding: 36px 30px;
  max-width: 480px;
}

.modal-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF0F5 0%, #FFE4ED 100%);
  border: 2px solid var(--accent-pink);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(224, 26, 104, 0.25);
}

.modal-success-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.modal-success-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.payment-result-card .icon-credit {
  margin: 18px auto 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.icon-credit a {
  color: inherit;
  text-decoration: underline;
}

.modal-success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.modal-success-order-num {
  font-size: 0.95rem;
  color: var(--accent-pink);
  margin-bottom: 14px;
}

.modal-success-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-success-summary {
  width: 100%;
}

.success-order-details {
  background: #FFFDFD;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  text-align: left;
  font-size: 0.88rem;
  border: 1px solid rgba(224, 26, 104, 0.16);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.success-order-details strong .icons8-inline-icon {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}

.modal-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Лайтбокс */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 13, 0.92);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 4px solid #fff;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #1C1619;
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-left: 4px solid var(--accent-pink);
  transform: translateY(20px);
  opacity: 0;
  animation: toastIn 0.35s forwards ease-out;
}

@keyframes toastIn {
  to { transform: translateY(0); opacity: 1; }
}

.catalog-contact-actions {
  position: relative;
  z-index: 1;
  margin: 16px 0 28px;
}
.catalog-contact-actions .btn { white-space: nowrap; padding-inline: 20px; }

/* Заказ авторского букета по индивидуальному запросу */
.custom-order-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid rgba(224, 26, 104, 0.2);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff5f8 0%, #fff 72%);
  box-shadow: 0 12px 30px rgba(224, 26, 104, 0.08);
}
.custom-order-panel-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent-pink), #b70d62);
  box-shadow: 0 8px 18px rgba(224, 26, 104, 0.22);
}
.custom-order-panel-icon img { width: 32px; height: 32px; display: block; }
.icons8-icon { width: 28px; height: 28px; display: block; }
.icons8-inline-icon { width: 1em; height: 1em; display: inline-block; object-fit: contain; vertical-align: middle; }
.top-bar-item .icons8-inline-icon { width: 16px; height: 16px; }
.hero-badge-icon .icons8-inline-icon, .contact-icon .icons8-inline-icon { width: 24px; height: 24px; }
.cart-toggle-btn .icons8-inline-icon { width: 26px; height: 26px; }
.btn .icons8-inline-icon { width: 18px; height: 18px; }
.review-stars .icons8-inline-icon { width: 16px; height: 16px; }
.btn-icon { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; margin-right: 7px; }
.custom-order-panel-copy { flex: 1 1 320px; min-width: 0; }
.custom-order-panel-copy .section-eyebrow { margin-bottom: 4px; }
.custom-order-panel-copy h3 {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-dark);
}
.custom-order-panel-copy p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.custom-order-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.custom-order-panel-actions .btn { white-space: nowrap; }

.author-catalog-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff8fb 0%, #fff 100%);
  border-top: 1px solid rgba(224, 26, 104, 0.08);
}
.author-catalog-layout { display: grid; gap: 28px; }
.author-catalog-layout .custom-order-panel { margin: 0; }
.author-bouquets-grid:empty::before {
  content: 'Авторские работы пока готовятся к публикации';
  grid-column: 1 / -1;
  padding: 36px;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed rgba(224, 26, 104, 0.25);
  border-radius: var(--radius-lg);
  background: #fff;
}
.author-bouquet-card .bouquet-card-meta { color: var(--accent-pink); }
.author-bouquet-duration { margin: 0 0 14px; color: var(--text-muted); font-size: .84rem; }
.author-bouquet-card .bouquet-card-footer { align-items: stretch; }
.author-bouquet-contact { width: 100%; justify-content: center; white-space: nowrap; }

.studio-benefits {
  padding: 30px 0;
  background: linear-gradient(110deg, #fff8fb, #fff2f7);
  border-block: 1px solid rgba(224, 26, 104, .10);
}
.studio-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.studio-benefit { display: flex; align-items: center; gap: 14px; min-width: 0; }
.studio-benefit-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  color: var(--accent-pink);
  border: 1px solid rgba(224, 26, 104, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(224, 26, 104, .05);
}
.studio-benefit-icon svg { width: 29px; height: 29px; }
.studio-benefit h3 { margin: 0 0 6px; font: 600 .85rem/1.45 var(--font-body); color: var(--text-primary); }
.studio-benefit p { margin: 0; font-size: .75rem; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 1000px) {
  .studio-benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
}
@media (max-width: 600px) {
  .studio-benefits { padding: 36px 0; }
  .studio-benefits-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .studio-benefit { flex-direction: row; align-items: flex-start; gap: 16px; }
  .studio-benefit-icon { width: 44px; height: 44px; border-radius: 50%; }
  .studio-benefit-icon svg { width: 27px; height: 27px; }
  .studio-benefit h3 { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
  .studio-benefit p { font-size: .875rem; line-height: 1.6; }
}

.live-showcase-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid rgba(224, 26, 104, .08);
}
.channel-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 34px;
  margin-bottom: 62px;
  border: 1px solid rgba(224, 26, 104, .2);
  border-radius: var(--radius-lg);
  background: linear-gradient(115deg, #fff2f7, #fff);
  box-shadow: var(--shadow-md);
}
.channel-invite-copy { max-width: 650px; }
.channel-invite-copy .section-eyebrow { margin-bottom: 4px; }
.channel-invite h2 { font-family: var(--font-heading); font-size: 1.7rem; margin: 0 0 8px; }
.channel-invite p { color: var(--text-muted); }
.channel-invite-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.channel-invite-actions .btn { padding: 11px 18px; font-size: .84rem; }
.showcase-catalog-controls { display: flex; justify-content: flex-end; margin-bottom: 24px; }
.live-showcase-heading { position: relative; margin-bottom: 24px; }
.live-showcase-heading .section-header { margin-bottom: 12px; }
.live-showcase-heading > .showcase-link { display: block; width: fit-content; margin-inline: auto; padding: 10px 0; }
.showcase-empty-state,
.bouquets-grid > .cart-empty-state {
  grid-column: 1 / -1;
}
.showcase-empty-state {
  padding: 34px;
  color: var(--text-muted);
  text-align: center;
  border: 1px dashed rgba(224, 26, 104, .26);
  border-radius: var(--radius-lg);
  background: #fff9fb;
}

.payment-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 16px;
  background: var(--bg-primary);
}
.payment-result-card {
  width: min(520px, 100%);
  padding: 42px 34px;
  text-align: center;
  border: 1px solid rgba(224, 26, 104, 0.16);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(76, 29, 52, 0.1);
}
.payment-result-card h1 { margin: 12px 0 10px; font-family: var(--font-heading); }
.payment-result-card p { margin: 0 auto 24px; max-width: 420px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-content { max-width: none; }
  .hero-visual { margin-top: 8px; }
  .hero-image-card { max-width: min(440px, 100%); }
}

@media (max-width: 760px) {
  .navbar { height: 68px; position: relative; }
  .mobile-burger { display: flex; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 16px 28px 20px; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-md); }
  .nav-menu.active { display: flex; }
  .nav-link { display: block; padding: 10px 0; }
  .hero-section { padding: 32px 0 44px; }
  .hero-title { font-size: 2.15rem; }
  .hero-description { font-size: .95rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; align-items: stretch; gap: 10px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-badges { grid-template-columns: 1fr; gap: 12px; }
  .floating-card-promo { left: 8px; max-width: calc(100% - 16px); }
  .floating-card-delivery { right: 8px; }
  .hero-image-tag { display: none; }
  .quiz-results-grid { grid-template-columns: 1fr; }
  .bouquet-card-buttons { width: 100%; }
  .catalog-contact-actions .btn { white-space: normal; text-align: center; }
  .custom-order-panel { align-items: flex-start; flex-wrap: wrap; padding: 18px; }
  .custom-order-panel-actions { width: 100%; justify-content: flex-start; }
  .custom-order-panel-actions .btn { flex: 1 1 220px; text-align: center; }
}

/* Непрерывная витрина по образцу ленты Loft Flowers. */
.showcase-section {
  padding: 68px 0 64px;
  background: linear-gradient(180deg, #fff 0%, #fff7fa 100%);
  overflow: hidden;
}
.showcase-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.showcase-heading .section-title { margin-bottom: 8px; }
.showcase-heading .section-subtitle { margin: 0; }
.showcase-link {
  flex: none;
  color: var(--accent-pink);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 7px;
}
.showcase-link:hover { text-decoration: underline; }
.showcase-viewport { width: 100%; overflow: hidden; padding: 8px 0 20px; }
.showcase-track {
  display: flex;
  width: max-content;
  animation: showcase-scroll 42s linear infinite;
}
.showcase-group { display: flex; flex: none; gap: 18px; padding-right: 18px; }
.showcase-group img {
  display: block;
  width: 270px;
  height: 350px;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(91, 54, 70, .12);
}
@keyframes showcase-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.showcase-track:hover { animation-play-state: paused; }
@media (max-width: 760px) {
  .showcase-section { padding: 48px 0 44px; }
  .showcase-heading { display: block; }
  .showcase-heading .section-title { font-size: 2rem; }
  .showcase-link { display: inline-block; margin-top: 12px; }
  .showcase-group img { width: 170px; height: 230px; border-width: 4px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-viewport { overflow-x: auto; }
  .showcase-track { animation: none; }
  .showcase-group[aria-hidden="true"] { display: none; }
}

.collection-card-placeholder{aspect-ratio:3/4;display:grid;place-items:center;background:linear-gradient(135deg,#fff0f6,#f9e8ef)}
.collection-card-placeholder img{width:48px;height:48px;opacity:.65}
