/* ═══════════════════════════════════════════════════════════
   BALLOON EXPRESS — MAIN STYLES
   Цветовая схема: розово-белая, как у оригинала
═══════════════════════════════════════════════════════════ */

/* ── ПЕРЕМЕННЫЕ ── */
:root {
  --pink: #e91e8c;
  --pink-light: #f48fb1;
  --pink-pale: #fce4ec;
  --pink-bg: #fdf0f5;
  --dark-navy: #1a1f36;
  --dark-navy-2: #252b49;
  --text-dark: #2c2c2c;
  --text-muted: #777;
  --border: #f0d0e0;
  --white: #fff;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(233, 30, 140, 0.12);
  --shadow-hover: 0 8px 30px rgba(233, 30, 140, 0.2);
  --transition: 0.25s ease;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fef0f7; }
::-webkit-scrollbar-thumb { background: var(--pink-light); border-radius: 3px; }

/* ══════════════════════════════════════
   УТИЛИТЫ
══════════════════════════════════════ */
.text-pink { color: var(--pink) !important; }
.bg-pink { background-color: var(--pink) !important; }
.bg-light-pink { background-color: var(--pink-bg) !important; }
.btn-pink {
  background: var(--pink);
  color: white !important;
  border: 2px solid var(--pink);
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 28px;
  transition: all var(--transition);
  font-size: 14px;
}
.btn-pink:hover {
  background: #c9156d;
  border-color: #c9156d;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}
.btn-outline-pink {
  background: transparent;
  color: var(--pink) !important;
  border: 2px solid var(--pink);
  border-radius: 50px;
  font-weight: 600;
  padding: 10px 28px;
  transition: all var(--transition);
  font-size: 14px;
}
.btn-outline-pink:hover {
  background: var(--pink);
  color: white !important;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   ШАПКА
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}
.header-topbar {
  background: var(--pink-bg);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.topbar-info { color: var(--text-muted); }
.topbar-info i { color: var(--pink); }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--pink-pale);
  border-radius: 50%;
  color: var(--pink);
  margin-left: 6px;
  font-size: 13px;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--pink); color: white; }

/* Logo */
.logo-link:hover .logo { transform: scale(1.02); }
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition);
}
.logo-balloon { font-size: 36px; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}
.logo-sub {
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Search */
.search-input {
  border-radius: 50px 0 0 50px !important;
  border-right: none;
  border-color: var(--border);
  padding: 10px 20px;
  font-size: 14px;
}
.search-input:focus {
  border-color: var(--pink-light);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}
.btn-search {
  background: var(--pink);
  color: white;
  border-radius: 0 50px 50px 0 !important;
  border-color: var(--pink);
  padding: 10px 20px;
}
.btn-search:hover { background: #c9156d; }

/* Phone */
.phone-block { text-align: right; }
.phone-label { font-size: 11px; color: var(--text-muted); }
.phone-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}
.phone-number:hover { color: var(--pink); }

/* Call button */
.btn-call {
  background: linear-gradient(135deg, var(--pink), #c9156d);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
  color: white !important;
}

/* Cart */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pink-pale);
  border-radius: 50%;
  color: var(--pink);
  font-size: 18px;
  transition: all var(--transition);
}
.cart-btn:hover { background: var(--pink); color: white; transform: scale(1.05); }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--pink);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.btn-mobile-menu { background: none; border: none; font-size: 22px; color: var(--text-dark); }

/* Navigation */
.header-nav {
  background: var(--dark-navy);
  padding: 0;
}
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.nav-item { position: relative; }
.nav-link-item {
  display: block;
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link-item:hover { color: var(--pink-light); }
.nav-item:hover .mega-dropdown,
.nav-item:hover .simple-dropdown { display: block; }

/* Mega dropdown */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -50px;
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-top: 3px solid var(--pink);
  z-index: 999;
  min-width: 600px;
  animation: dropDown 0.2s ease;
}
.simple-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-top: 3px solid var(--pink);
  z-index: 999;
  min-width: 200px;
  animation: dropDown 0.2s ease;
  padding: 8px 0;
}
@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 8px;
  padding: 0 16px;
}
.dropdown-item-link {
  display: block;
  padding: 6px 16px;
  color: var(--text-dark);
  font-size: 13px;
  transition: all var(--transition);
}
.dropdown-item-link:hover { color: var(--pink); background: var(--pink-pale); padding-left: 22px; }

/* Mobile nav */
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dark);
}
.mobile-nav-link:hover { color: var(--pink); }

/* Messages */
.messages-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  max-width: 380px;
}
.custom-alert {
  border-radius: var(--radius);
  font-size: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-section { overflow: hidden; }
.hero-swiper, .hero-fallback { height: 520px; }
.hero-slide {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.92) 50%, rgba(255,255,255,0.3));
}
.min-vh-hero { min-height: 520px; }
.hero-fallback {
  background: linear-gradient(135deg, #fff5f9 0%, #fce4ec 60%, #fdf0f5 100%);
  display: flex;
  align-items: center;
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--pink), var(--pink-light));
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 32px;
}
.btn-hero {
  background: linear-gradient(135deg, var(--pink), #c9156d);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.35);
}
.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(233, 30, 140, 0.45);
}
.btn-hero-outline {
  background: transparent;
  color: var(--pink) !important;
  border: 2px solid var(--pink);
  border-radius: 50px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-hero-outline:hover {
  background: var(--pink-pale);
}
.hero-image-placeholder {
  width: 380px;
  height: 380px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 3px dashed var(--pink-light);
}
.hero-placeholder-text { text-align: center; color: var(--pink-light); font-size: 14px; }
.balloon-float { position: absolute; font-size: 40px; animation: float 3s ease-in-out infinite; }
.balloon-1 { top: 10%; left: 20%; animation-delay: 0s; }
.balloon-2 { top: 30%; right: 10%; animation-delay: 0.5s; }
.balloon-3 { bottom: 20%; left: 30%; animation-delay: 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* Swiper nav arrows */
.hero-prev, .hero-next { color: var(--pink) !important; }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 20px !important; }
.hero-pagination .swiper-pagination-bullet-active { background: var(--pink) !important; }

/* Hero advantages */
.hero-advantages { background: white; border-top: 1px solid var(--border); }
.advantage-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  border-right: 1px solid var(--border);
}
.advantage-item:last-child { border-right: none; }
.advantage-item i { color: var(--pink); font-size: 18px; flex-shrink: 0; }

/* ══════════════════════════════════════
   СЕКЦИИ
══════════════════════════════════════ */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-link {
  color: var(--pink);
  font-size: 14px;
  font-weight: 600;
}
.section-link:hover { text-decoration: underline; }
.faq-divider {
  width: 50px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
}

/* ══════════════════════════════════════
   КАРТОЧКИ КАТЕГОРИЙ
══════════════════════════════════════ */
.category-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all var(--transition);
  color: inherit;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--pink);
}
.category-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pink-pale);
}
.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card:hover .category-card-img img { transform: scale(1.05); }
.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pink-light);
  gap: 8px;
  font-size: 13px;
}
.category-card-name {
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition);
}
.category-card:hover .category-card-name { color: var(--pink); }

/* Small category cards */
.category-card-sm {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  color: inherit;
}
.category-card-sm:hover { transform: translateY(-3px); color: var(--pink); }
.category-card-sm-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--pink-pale);
  margin-bottom: 8px;
}
.category-card-sm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.category-card-sm:hover .category-card-sm-img img { transform: scale(1.06); }
.category-placeholder-sm {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--pink-light);
}
.category-card-sm-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}
.category-card-sm:hover .category-card-sm-name { color: var(--pink); }

/* ══════════════════════════════════════
   КАК ЗАКАЗАТЬ
══════════════════════════════════════ */
.how-to-order-section { background: var(--dark-navy); }
.how-to-order-section .section-title { color: white; }
.how-step {
  text-align: center;
  padding: 20px;
  position: relative;
}
.how-step-num {
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 60px;
  font-weight: 900;
  color: rgba(255,255,255,0.05);
  line-height: 1;
}
.how-step-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--pink), #c9156d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
  color: white;
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
  position: relative;
}
.how-step p { color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.6; }

/* ══════════════════════════════════════
   ПРЕИМУЩЕСТВА
══════════════════════════════════════ */
.benefit-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: transform var(--transition);
  height: 100%;
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--pink-pale), #fce4ec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--pink);
}
.benefit-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.benefit-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ══════════════════════════════════════
   КАРТОЧКИ ТОВАРОВ
══════════════════════════════════════ */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-badge--new { background: var(--dark-navy); color: white; }
.product-badge--sale { background: #f44336; color: white; }
.product-badge--hit { background: var(--pink); color: white; }
.product-badge--popular { background: #ff9800; color: white; }
.product-badge--lg { font-size: 13px; padding: 6px 14px; }

.product-card-img-wrap {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pink-pale);
}
.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img { transform: scale(1.06); }
.product-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pink-light);
  gap: 8px;
  font-size: 13px;
}
.product-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  flex: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-name:hover { color: var(--pink); }
.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
}
.product-old-price {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
}
.btn-add-cart {
  background: var(--pink);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--transition);
}
.btn-add-cart:hover {
  background: #c9156d;
  transform: scale(1.05);
}

/* ══════════════════════════════════════
   СТРАНИЦА ТОВАРА
══════════════════════════════════════ */
.product-main-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pink-pale);
  aspect-ratio: 1;
  position: relative;
}
.product-main-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pink-light);
  gap: 10px;
  min-height: 300px;
}
.product-main-img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.product-thumb.active,
.product-thumb:hover { border-color: var(--pink); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-category-link {
  font-size: 13px;
  color: var(--pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  margin: 8px 0;
}
.product-sku { font-size: 13px; }
.stock-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 12px;
}
.in-stock { background: #e8f5e9; color: #2e7d32; }
.out-of-stock { background: #ffebee; color: #c62828; }
.product-detail-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
}
.product-detail-old-price {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 12px;
}
.product-discount-badge {
  background: #f44336;
  color: white;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 8px;
}
.product-short-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* Quantity */
.quantity-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
}
.quantity-control--sm {
  border-radius: 8px;
}
.qty-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  color: var(--pink);
  font-size: 12px;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--pink-pale); }
.qty-input {
  border: none;
  text-align: center;
  width: 50px;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Fast actions */
.product-fast-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.fast-action-link {
  color: var(--text-muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}
.fast-action-link i { color: var(--pink); }
.fast-action-link:hover { color: var(--pink); }

/* Delivery info */
.product-delivery-info {
  background: var(--pink-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.delivery-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}

/* Product tabs */
.product-tabs .nav-link {
  color: var(--text-muted);
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.product-tabs .nav-link.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
  background: none;
}
.product-tab-content {
  padding: 24px 0;
  border-top: 2px solid var(--border);
}
.product-description { font-size: 15px; line-height: 1.8; color: var(--text-dark); }

/* ══════════════════════════════════════
   КОРЗИНА
══════════════════════════════════════ */
.cart-table { vertical-align: middle; }
.cart-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
  padding: 12px;
}
.cart-item-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-img-placeholder { font-size: 32px; text-align: center; }
.cart-item-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.cart-item-name:hover { color: var(--pink); }
.cart-item-price { color: var(--text-muted); font-size: 14px; }
.cart-item-total { color: var(--pink); font-size: 16px; }
.btn-remove-cart { background: none; border: none; color: var(--text-muted); padding: 4px 8px; }
.btn-remove-cart:hover { color: #f44336; }
.cart-table-wrap { background: white; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 0 16px; }
.promo-section {
  background: white;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.cart-summary {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 120px;
}
.cart-summary-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  padding: 8px 0;
}
.cart-total-amount { color: var(--pink); font-size: 28px; }
.empty-cart { padding: 60px 0; }
.empty-cart-icon { font-size: 80px; margin-bottom: 20px; }

/* ══════════════════════════════════════
   ОФОРМЛЕНИЕ ЗАКАЗА
══════════════════════════════════════ */
.checkout-form-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.checkout-cart-preview {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}
.checkout-cart-table th { font-size: 12px; color: var(--text-muted); }
.checkout-summary {
  background: var(--pink-bg);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
}
.checkout-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 16px;
}
.checkout-info-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.checkout-info-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ══════════════════════════════════════
   УСПЕШНЫЙ ЗАКАЗ
══════════════════════════════════════ */
.success-icon { font-size: 80px; margin-bottom: 16px; animation: bounce 1s ease; }
@keyframes bounce {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.success-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.success-subtitle { color: var(--text-muted); font-size: 16px; margin-bottom: 32px; }
.order-summary-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  text-align: left;
}
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.order-summary-row:last-child { border-bottom: none; }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-item {
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.faq-btn {
  background: transparent !important;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 18px 0;
  box-shadow: none !important;
}
.faq-btn:not(.collapsed) { color: var(--pink) !important; }
.faq-arrow { transition: transform var(--transition); font-size: 12px; color: var(--pink); }
.faq-btn:not(.collapsed) .faq-arrow { transform: rotate(90deg); }
.faq-answer { padding: 0 0 18px 28px; color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* ══════════════════════════════════════
   ОТЗЫВЫ
══════════════════════════════════════ */
.review-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  height: 100%;
}
.review-stars { margin-bottom: 12px; }
.review-text { font-size: 14px; color: var(--text-dark); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink-pale);
}
.review-avatar-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink-pale), var(--pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--pink);
}
.review-name { font-weight: 700; font-size: 14px; }
.reviews-pagination .swiper-pagination-bullet-active { background: var(--pink) !important; }

/* ══════════════════════════════════════
   ЦИТАТА
══════════════════════════════════════ */
.quote-text {
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 20px;
}
.quote-author { color: var(--text-muted); font-size: 14px; }

/* ══════════════════════════════════════
   КОНСУЛЬТАЦИЯ
══════════════════════════════════════ */
.consultation-section { background: var(--dark-navy); }
.consultation-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}
.consultation-divider {
  width: 50px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  margin-bottom: 20px;
}
.consultation-desc { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.consultation-note { color: rgba(255,255,255,0.7); font-size: 13px; }
.consultation-form .form-control {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
  border-radius: 8px;
  padding: 12px 16px;
}
.consultation-form .form-control::placeholder { color: rgba(255,255,255,0.5); }
.consultation-form .form-control:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--pink-light);
  color: white;
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.2);
}
.form-note { font-size: 12px; color: rgba(255,255,255,0.5); text-align: center; }
.form-note a { color: var(--pink-light); }

/* ══════════════════════════════════════
   КАТАЛОГ
══════════════════════════════════════ */
.catalog-title { font-family: var(--font-heading); font-size: 28px; font-weight: 700; }
.catalog-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 120px;
}
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.sidebar-categories { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dark);
  transition: color var(--transition);
}
.sidebar-cat-link:hover,
.sidebar-cat-link.active { color: var(--pink); }
.sidebar-cat-link.active { font-weight: 700; }
.sidebar-cat-count { font-size: 12px; color: var(--text-muted); }
.empty-catalog { }
.empty-icon { font-size: 60px; margin-bottom: 20px; }

/* Pagination */
.custom-pagination .page-link {
  border-color: var(--border);
  color: var(--text-dark);
  border-radius: 8px !important;
  margin: 0 3px;
  padding: 8px 14px;
}
.custom-pagination .page-item.active .page-link {
  background: var(--pink);
  border-color: var(--pink);
}
.custom-pagination .page-link:hover { background: var(--pink-pale); color: var(--pink); }

/* Breadcrumb */
.custom-breadcrumb { font-size: 13px; }
.custom-breadcrumb a { color: var(--pink); }
.custom-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* Page title */
.page-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
}

/* ══════════════════════════════════════
   КОНТАКТЫ
══════════════════════════════════════ */
.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  text-align: center;
  height: 100%;
  transition: transform var(--transition);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--pink-pale), #fce4ec);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--pink);
}
.contact-value { font-size: 18px; font-weight: 700; color: var(--text-dark); display: block; margin-bottom: 4px; }
.contact-value:hover { color: var(--pink); }
.messenger-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  color: white !important;
}
.messenger-whatsapp { background: #25d366; }
.messenger-telegram { background: #0088cc; }
.messenger-vk { background: #0077ff; }
.messenger-btn:hover { opacity: 0.9; transform: translateY(-2px); }

/* ══════════════════════════════════════
   ПОДВАЛ
══════════════════════════════════════ */
.site-footer {
  background: var(--dark-navy);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.8);
  margin-top: 0;
}
.footer-about { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--pink-light); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.footer-contact-item i { color: var(--pink-light); margin-top: 2px; font-size: 14px; flex-shrink: 0; }
.footer-contact-label { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-phone { font-size: 18px; font-weight: 700; color: white; }
.footer-phone:hover { color: var(--pink-light); }
.footer-contact-link { font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-contact-link:hover { color: var(--pink-light); }
.footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.7); }
.payment-icons { display: flex; gap: 6px; flex-wrap: wrap; }
.payment-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.footer-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.footer-city {
  color: var(--pink-light);
  font-size: 13px;
  cursor: default;
}
.footer-city::after { content: ','; color: rgba(255,255,255,0.3); }
.footer-city:last-child::after { content: ''; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 20px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.4); margin: 0; }
.footer-admin-link { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-admin-link:hover { color: var(--pink-light); }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}
.footer-social-btn:hover { background: var(--pink); color: white; }

/* ══════════════════════════════════════
   ПЛАВАЮЩИЕ КНОПКИ
══════════════════════════════════════ */
.floating-buttons {
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { background: var(--pink); }
.float-whatsapp { background: #25d366; }
.float-telegram { background: #0088cc; }
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  transition: all var(--transition);
  display: none;
  z-index: 998;
}
.scroll-top-btn.visible { display: flex; align-items: center; justify-content: center; }
.scroll-top-btn:hover { background: #c9156d; transform: translateY(-2px); }

/* ══════════════════════════════════════
   ФОРМЫ (общие)
══════════════════════════════════════ */
.form-control, .form-select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
}
.form-select {
  padding-right: 2.5rem;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}
.form-select-sm {
  padding-right: 2.25rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--pink-light);
  box-shadow: 0 0 0 3px rgba(233, 30, 140, 0.1);
}

/* ══════════════════════════════════════
   АДАПТИВНОСТЬ
══════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-swiper, .hero-fallback { height: 420px; }
  .min-vh-hero { min-height: 420px; }
}
@media (max-width: 768px) {
  .hero-swiper, .hero-fallback { height: auto; padding: 60px 0; }
  .min-vh-hero { min-height: auto; }
  .hero-title { font-size: 26px; }
  .advantage-item { padding: 10px 8px; font-size: 11px; }
  .how-step-icon { width: 56px; height: 56px; font-size: 22px; }
  .product-detail-price { font-size: 28px; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 22px; }
  .cart-table { font-size: 13px; }
  .cart-item-img { width: 60px; height: 60px; }
  .product-card-name { font-size: 12px; }
  .product-price { font-size: 16px; }
}

/* ══════════════════════════════════════
   МОБИЛЬНЫЕ УЛУЧШЕНИЯ
══════════════════════════════════════ */
.btn-mobile-icon {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-dark);
  padding: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-mobile-icon:hover { background: var(--pink-pale); color: var(--pink); }

/* Mobile nav groups */
.mobile-nav-group {
  margin: 4px 0;
}
.mobile-nav-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--pink);
  font-weight: 700;
  padding: 10px 0 4px;
}
.mobile-nav-sub {
  padding-left: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Messages responsive */
@media (max-width: 576px) {
  .messages-container {
    top: auto;
    bottom: 80px;
    left: 12px;
    right: 12px;
    max-width: 100%;
  }
}

/* ══════════════════════════════════════
   АДАПТИВНОСТЬ — РАСШИРЕННАЯ
══════════════════════════════════════ */

/* Catalogue sidebar on mobile */
@media (max-width: 992px) {
  .catalog-sidebar {
    position: static;
    margin-bottom: 20px;
  }
}

/* Cart responsive */
@media (max-width: 576px) {
  .cart-table th:nth-child(2),
  .cart-table td:nth-child(2) { display: none; }
  .checkout-form-card { padding: 20px 16px; }
  .cart-summary { position: static; }
}

/* Product detail on mobile */
@media (max-width: 768px) {
  .product-title { font-size: 22px; }
  .product-detail-price { font-size: 30px; }
  .product-thumbs { gap: 6px; }
  .product-thumb { width: 60px; height: 60px; }
}

/* Footer responsive */
@media (max-width: 576px) {
  .site-footer { padding-top: 40px; }
  .footer-title { font-size: 13px; }
  .footer-cities { gap: 4px; }
  .footer-city { font-size: 12px; }
  .payment-icons { gap: 4px; }
}

/* Floating buttons on small screens */
@media (max-width: 576px) {
  .floating-buttons { bottom: 20px; right: 12px; gap: 8px; }
  .float-btn { width: 44px; height: 44px; font-size: 18px; }
  .scroll-top-btn { display: none !important; }
}

/* Advantage items on small screens */
@media (max-width: 480px) {
  .advantage-item span { display: none; }
  .advantage-item { justify-content: center; }
}

/* Hero on very small screens */
@media (max-width: 400px) {
  .hero-title { font-size: 20px; }
  .btn-hero { padding: 12px 24px; font-size: 14px; }
}

/* Product cards grid */
@media (max-width: 576px) {
  .product-card-body { padding: 10px; }
  .btn-add-cart { padding: 5px 10px; font-size: 11px; }
}

/* Category page heading */
@media (max-width: 576px) {
  .page-title { font-size: 22px; }
  .catalog-title { font-size: 22px; }
}

/* Checkout page */
@media (max-width: 768px) {
  .checkout-form-card { padding: 20px; }
  .checkout-cart-preview { padding: 16px; }
}

/* Contact cards */
@media (max-width: 576px) {
  .contact-card { padding: 20px; }
  .contact-value { font-size: 15px; }
}

/* Section headers */
@media (max-width: 576px) {
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 22px; }
}

/* Benefit cards */
@media (max-width: 768px) {
  .benefit-card { padding: 24px 16px; }
  .benefit-icon { width: 56px; height: 56px; font-size: 22px; }
}

/* Review cards */
@media (max-width: 576px) {
  .review-card { padding: 16px; }
  .review-text { font-size: 13px; }
}

/* ══════════════════════════════════════
   СТРАНИЦА ЗАКАЗА
══════════════════════════════════════ */
.order-detail-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}
.order-status-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 10px 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
  position: relative;
}
.timeline-step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: #eee;
  z-index: 0;
}
.timeline-step:last-child::before { display: none; }
.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.timeline-step.active .timeline-dot { background: var(--pink); color: white; }
.timeline-step.done .timeline-dot { background: #4caf50; color: white; }
.timeline-label { font-size: 11px; text-align: center; color: var(--text-muted); }
.timeline-step.active .timeline-label { color: var(--pink); font-weight: 700; }

/* ══════════════════════════════════════
   ПОИСК
══════════════════════════════════════ */
.search-result-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 12px;
  transition: all var(--transition);
}
.search-result-item:hover { box-shadow: var(--shadow-hover); }
.search-result-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ══════════════════════════════════════
   СПИННЕР ЗАГРУЗКИ
══════════════════════════════════════ */
.page-loader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-balloon { font-size: 50px; animation: float 0.8s ease-in-out infinite; }

/* ══════════════════════════════════════
   BADGE УТИЛИТЫ
══════════════════════════════════════ */
.badge-pink { background: var(--pink); color: white; border-radius: 50px; padding: 3px 10px; font-size: 12px; }
.badge-success { background: #e8f5e9; color: #2e7d32; border-radius: 50px; padding: 3px 10px; font-size: 12px; }
.badge-warning { background: #fff3e0; color: #e65100; border-radius: 50px; padding: 3px 10px; font-size: 12px; }
.badge-danger { background: #ffebee; color: #b71c1c; border-radius: 50px; padding: 3px 10px; font-size: 12px; }

/* ══════════════════════════════════════
   УЛУЧШЕНИЯ ШАПКИ
══════════════════════════════════════ */
@media (max-width: 768px) {
  .logo-balloon { font-size: 28px; }
  .logo-name { font-size: 18px; }
  .logo-sub { font-size: 11px; }
  .cart-btn { width: 42px; height: 42px; font-size: 16px; }
  .cart-count { width: 18px; height: 18px; font-size: 10px; }
}

@media (max-width: 400px) {
  .logo-text { display: none; }
  .logo-balloon { font-size: 32px; }
}

/* ══════════════════════════════════════
   GROUP SECTIONS (главная)
══════════════════════════════════════ */
.group-section-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
}

/* ══════════════════════════════════════
   PRINT СТИЛИ
══════════════════════════════════════ */
@media print {
  .site-header, .site-footer, .floating-buttons, .scroll-top-btn { display: none !important; }
  .order-detail-card { box-shadow: none; border: 1px solid #ddd; }
}
