/* ==========================================================================
   Rabbit Bouquet — Цветочная компания в Сургуте
   Цветовая палитра: Нежный белый + контрастная фуксия (по фото 2)
   Логотип и каллиграфия: по фото 1
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&display=swap');

: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, .about-text {
  text-wrap: pretty;
  text-rendering: optimizeLegibility;
}

.script-font {
  font-family: var(--font-logo);
  font-weight: 400;
}

.text-accent {
  color: var(--accent-pink);
}

/* Верхняя полоса анонса */
.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);
}

.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;
}

.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: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  background: #FFF0F5;
  border: 1px solid rgba(224, 26, 104, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-pink);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.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 .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: 34px;
}

/* Траст-бейджы */
.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(auto-fit, minmax(170px, 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%; height: 130px; object-fit: cover; border-radius: 10px; }
.quiz-result-card span { color: var(--accent-pink); font-weight: 700; }

/* Сетка карточек: идеально ровные высоты */
.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-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;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bouquet-price-block {
  display: flex;
  flex-direction: column;
}

.bouquet-price-current {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.bouquet-price-old {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: 3px;
}

.bouquet-card-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-add-cart {
  width: 38px;
  height: 38px;
  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);
  flex-shrink: 0;
}

.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 {
  padding: 8px 14px;
  font-size: 0.82rem;
  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;
}

/* ==========================================================================
   Секция "О студии"
   ========================================================================== */
.about-section {
  padding: 85px 0;
  background: var(--bg-primary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 50px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.storefront-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #FFFFFF;
}

.storefront-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.storefront-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(28, 22, 25, 0.9);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-pink);
}

.storefront-tag h5 {
  font-size: 0.95rem;
  margin-bottom: 3px;
  color: #fff;
}

.storefront-tag p {
  font-size: 0.8rem;
  color: #DDD2D5;
}

.about-badge-card {
  position: absolute;
  top: -14px;
  left: 16px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(224, 26, 104, 0.15);
  z-index: 3;
}

.about-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(224, 26, 104, 0.2);
}

.about-badge-caption {
  display: flex;
  flex-direction: column;
}

.about-badge-caption strong {
  font-family: var(--font-logo);
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--text-dark);
}

.about-badge-caption span {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--accent-pink);
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 32px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.about-feature-box {
  background: #FFFFFF;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.about-feature-box h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.about-feature-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Квиз / Конфигуратор
   ========================================================================== */
.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: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;
}

/* ==========================================================================
   Доставка и Оплата — ВЫРАВНЕННЫЕ КАРТОЧКИ
   ========================================================================== */
.delivery-section {
  padding: 85px 0;
  background: #FFFFFF;
}

.delivery-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 45px;
  align-items: stretch;
}

.delivery-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.delivery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 26, 104, 0.2);
}

.delivery-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(224, 26, 104, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-pink);
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.delivery-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.delivery-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  min-height: 1.3em;
}

.delivery-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* Плашка гарантии свежести */
.freshness-banner {
  background: linear-gradient(135deg, #1C1619 0%, #2D1E25 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(224, 26, 104, 0.3);
  position: relative;
  overflow: hidden;
}

.freshness-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(224, 26, 104, 0.25);
  color: #FFB3D1;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(224, 26, 104, 0.4);
}

.freshness-text h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.freshness-text p {
  color: #DDD2D5;
  font-size: 0.92rem;
  max-width: 620px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.freshness-visual {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #2A1D23;
}

.freshness-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.freshness-banner:hover .freshness-visual img {
  transform: scale(1.04);
}

/* ==========================================================================
   Отзывы
   ========================================================================== */
.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;
}

/* ==========================================================================
   Подвал сайта
   ========================================================================== */
.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 1fr 1fr 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;
}

/* ==========================================================================
   Корзина и Модальные окна
   ========================================================================== */
.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;
}

/* Окно подтверждения отправки заказа в 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-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;
}

.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; }
}
