
/* SCROLL MARGIN ДЛЯ ТОЧНОГО СКРОЛУ З УРАХУВАННЯМ STICKY-ШАПКИ */
#promoSetsSection,
#catalogSection,
#featuresSection,
#contactsSection {
  scroll-margin-top: 84px;
}

/* ============================================================
   САДОВИЙ СВІТ — ORGANIC BOTANICAL EDITORIAL DESIGN SYSTEM
   UI Polish & Epic Redesign · Преміальний e-commerce ($1000+)
   Повна оптимізація під Apple iPhone (iOS Safari, Safe Areas, Apple HIG)
   ============================================================ */

:root {
  /* ============================================================
     ORGANIC PASTEL EDITORIAL PALETTE (LIGHT PREMIUM BOTANICAL)
     ============================================================ */
  --bg-page: #FAF7F2;              /* Теплий кремово-молочний фон */
  --surface-card: #FFFFFF;         /* Чистий білий для карток та модалок */
  --border-card: #E6E0D4;          /* Тонка тепла рамка 1px */
  --border-subtle: #EFE9DF;
  --border-strong: #D5CDC0;

  /* Пастельні акцентні поверхні */
  --surface-sage: #E7EFE6;         /* М'який шавлієвий (Hero, футер, бейджі) */
  --surface-sand: #F2EBE1;         /* Ніжний пісочно-бежевий */
  --surface-peach: #F9EAE1;        /* Пастельно-персиковий для акцій та наборів */
  --surface-subtle: #F2EBE1;

  /* Максимальний контраст тексту (WCAG AAA) */
  --text-headline: #1A2E22;        /* Глибокий хвойно-графітовий (> 11:1) */
  --text-body: #1A2E22;            /* Основний текст */
  --text-muted: #4A5D52;           /* Вторинний текст і підписи (> 6.5:1) */
  --text-light: #FFFFFF;

  /* Кнопки */
  --cta-primary: #C85A32;          /* Насичена приглушена теракота */
  --cta-primary-hover: #B04A25;
  --btn-secondary: #234632;        /* Глибокий хвойний */
  --btn-secondary-hover: #183324;
  --btn-secondary-border: #234632;

  --viber: #665CAC;
  --viber-hover: #544996;

  /* Категорійні акцентні лінії */
  --cat-ruby: #B83A30;
  --cat-amber: #C97216;
  --cat-plum: #743481;
  --cat-emerald: #1B7A4C;
  --cat-rose: #C85A32;

  /* М'які органічні тіні */
  --shadow-sm: 0 2px 10px rgba(26, 46, 34, 0.05);
  --shadow-md: 0 8px 24px rgba(26, 46, 34, 0.07);
  --shadow-lg: 0 16px 36px rgba(26, 46, 34, 0.10);
  --shadow-sheet: 0 -10px 40px rgba(26, 46, 34, 0.16);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Типографіка Google Fonts */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family: var(--font-sans);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}


/* ================= ТИПОГРАФІКА ORGANIC PASTEL EDITORIAL ================= */
h1, h2, h3, h4,
.hero-title,
.section-title,
.set-title,
.category-banner-title,
.contacts-headline,
.order-form-title,
.modal-title,
.feature-box-title,
.logo-title,
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
}

body, button, input, select, textarea,
.cat-tab-btn, .product-desc, .hero-subtitle,
.cat-name, .feature-box-desc, .footer-text {
  max-width: 520px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Tabular numbers для цін і лічильників */
.product-price-val,
.price-main,
.price-old,
.cart-item-price,
#cartTotalSum,
.metric-num,
.cat-count,
.cat-pill-count,
.cart-count-badge,
.badge-count,
.stepper-val,
.card-qty-val,
.total-sum-val {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-weight: 700;
}

.ui-icon {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 1.75;
  flex-shrink: 0;
}

/* ================= БАЗОВІ НАЛАШТУВАННЯ ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  overflow-x: clip;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-body);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.55;
  color: var(--text-body);
  background-color: var(--bg-page);
  padding-bottom: calc(76px + var(--safe-bottom));
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Захист від авто-зуму в iOS Safari (мінімум 16px) */
input, select, textarea, button {
  font-family: var(--font-family);
  font-size: 16px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ================= ВЕРХНЯ ДЕСКТОПНА СМУГА ================= */
.top-bar {
  background: var(--surface-sand);
  color: var(--text-headline);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-card);
  padding: 6px 0;
  display: none;
}

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

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.top-badge {
  background: var(--surface-sage);
  color: var(--btn-secondary);
  border: 1px solid #D5E1D4;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}

.top-link {
  color: var(--text-headline);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  transition: color 0.2s;
}

.top-link:hover {
  color: var(--cta-primary);
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ================= ГОЛОВНИЙ ХЕДЕР (STICKY WITH BACKDROP BLUR) ================= */
.main-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background: rgba(250, 247, 242, 0.92) !important;
  border-bottom: 1px solid #E6E0D4 !important;
  transition: all 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-sage);
  border: 1.5px solid #D5E1D4;
  color: var(--btn-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.brand-wrapper:hover .brand-logo-emblem {
  background: var(--btn-secondary);
  color: #FFFFFF;
  border-color: var(--btn-secondary);
  transform: scale(1.04);
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ЯКІРНІ ПОСИЛАННЯ НА ДЕСКТОПІ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto 0 28px;
}

.nav-link {
  color: var(--text-headline);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--cta-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cta-primary);
  transition: width 0.2s ease;
  border-radius: 2px;
}

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

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

.desktop-only {
  display: inline-flex;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--btn-secondary);
  color: var(--btn-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-header-call:hover {
  background: var(--btn-secondary);
  color: #FFFFFF;
}

.btn-header-viber {
  align-items: center;
  gap: 8px;
  background: var(--viber);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s;
  min-height: 44px;
}

.btn-header-viber:hover {
  background: var(--viber-hover);
  transform: translateY(-1px);
}

.cart-btn-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--cta-primary);
  border: none;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.3);
  transition: all 0.2s;
}

.cart-btn-header:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(200, 90, 50, 0.4);
}

.cart-icon {
  font-size: 1.15rem;
}

.cart-count-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  min-width: 22px;
  text-align: center;
}

/* ================= 1. HERO-БЛОК (ORGANIC PASTEL EDITORIAL) ================= */
.hero-section {
  position: relative;
  background: linear-gradient(155deg, #E7EFE6 0%, #F2EBE1 48%, #FAF7F2 100%);
  color: var(--text-headline);
  padding: 60px 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-card);
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 82% 20%, rgba(200, 90, 50, 0.08) 0%, transparent 55%),
              radial-gradient(circle at 15% 75%, rgba(35, 70, 50, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.95fr;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--btn-secondary);
  box-shadow: var(--shadow-sm);
}

.hero-pill-leaf {
  font-size: 1.1rem;
}

/* Крупний, сміливий H1 */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.14;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--text-headline);
}

.hero-title span, .hero-title-accent {
  color: var(--cta-primary);
  font-style: italic;
}

.nowrap {
  white-space: nowrap !important;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 620px;
  line-height: 1.6;
  font-weight: 500;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 32px;
}

.hero-trust-tag {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-headline);
  box-shadow: var(--shadow-sm);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 600px) {
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
  background: #FFFFFF;
  border: 1.5px solid var(--btn-secondary);
  color: var(--btn-secondary);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  box-shadow: var(--shadow-sm);
}
}

.btn-hero-primary {
  background: var(--cta-primary);
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(200, 90, 50, 0.35);
  transition: all 0.2s;
  min-height: 48px;
}

.btn-hero-primary:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 90, 50, 0.45);
}

.btn-hero-secondary {
  background: #FFFFFF;
  border: 1.5px solid var(--btn-secondary);
  color: var(--btn-secondary);
  padding: 16px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
  background: var(--btn-secondary);
  color: #FFFFFF;
}

/* ================= BENTO-ВІТРИНА HERO ================= */
.hero-bento-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-rows: 155px 155px;
  gap: 14px;
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 140px;
  }
  .bento-sub-bottom {
    display: none; /* Компактна висота на мобільних, щоб CTA був вище */
  }
}

.bento-cell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  background: #FFFFFF;
}

.bento-main {
  grid-row: 1 / span 2;
}

@media (max-width: 600px) {
  .bento-main {
    grid-row: 1;
  }
}

.bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bento-cell:hover .bento-img {
  transform: scale(1.05);
}

.bento-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(11, 36, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

/* СКЛЯНА СТАТИСТИЧНА КАРТКА */
.hero-glass-stats-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.glass-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.glass-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #F8C346;
  flex-shrink: 0;
}

.glass-brand-text {
  display: flex;
  flex-direction: column;
}

.glass-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.2;
}

.glass-brand-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.glass-metrics-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--surface-sand);
  border: 1px solid var(--border-card);
  padding: 10px 6px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.glass-metric {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.metric-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cta-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.metric-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.metric-sep {
  width: 1px;
  height: 26px;
  background: var(--border-card);
}

/* ================= СЕКЦІЇ ================= */
.section {
  padding: 58px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  background: var(--surface-subtle);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  border: 1px solid var(--border-subtle);
}

/* Крупніші заголовки секцій */
.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ================= 3. АКЦІЙНІ НАБОРИ ================= */
.promo-section {
  padding: 60px 0;
  background: var(--surface-peach);
  border-bottom: 1px solid var(--border-card);
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

@media (max-width: 580px) {
  .sets-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.set-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.set-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.set-card-media {
  position: relative;
  background: #EFF3F0;
  cursor: pointer;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.set-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.set-card:hover .set-card-media img {
  transform: scale(1.04);
}

/* Кнопка збільшення перенесена в ПРАВИЙ НИЖНІЙ КУТ */
.set-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  top: auto;
  background: rgba(14, 31, 21, 0.82);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.set-badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cta-primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.set-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.set-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-headline);
  margin-bottom: 8px;
  line-height: 1.3;
}

.set-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.55;
  flex-grow: 1;
}

.set-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-card);
}

.price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cta-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.price-old {
  font-size: 1.05rem;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 600;
}

.set-badge-stock {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  border: 1px solid #D5E1D4;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-buy-set {
  background: var(--cta-primary);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.3);
  transition: all 0.2s;
  min-height: 48px;
  width: 100%;
}

.btn-buy-set:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 90, 50, 0.4);
}

/* ================= 2. КАТАЛОГ СОРТІВ (3 ПРОСТОРІ КОЛОНКИ) ================= */
.catalog-section {
  background: var(--bg-page);
}

.catalog-controls {
  margin-bottom: 28px;
}

.search-box-wrap {
  position: relative;
  margin-bottom: 20px;
}

.search-input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  font-size: 1.05rem;
  color: var(--text-headline);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 52px;
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 55, 34, 0.15);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.25rem;
}

.search-clear-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #E5ECE7;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-headline);
}

/* ============================================================
   РЯДОК 1 КАТЕГОРІЙ: ГОЛОВНІ РЕЖИМИ (ВСІ САДЖАНЦІ ТА АКЦІЙНІ НАБОРИ)
   ============================================================ */
.category-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

@media (min-width: 769px) {
  .category-main-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
  }
  .cat-pill-main {
    min-width: 220px;
  }
}

.cat-pill-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  min-height: 50px;
  border-radius: var(--radius-md, 14px);
  border: 1.5px solid var(--border-card, #D4DED7);
  background: #FFFFFF;
  color: var(--primary, #123722);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.cat-pill-main .cat-pill-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.cat-pill-main .cat-pill-title {
  white-space: nowrap;
}

.cat-pill-main .cat-pill-count {
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  background: #E8F0EB;
  color: #1A5C35;
  transition: all 0.2s;
}

.cat-pill-main.cat-pill-sets .cat-pill-count {
  background: #FFE8E0;
  color: #C0392B;
}

.cat-pill-main:hover {
  border-color: #2A7D4F;
  transform: translateY(-1px);
}

.cat-pill-main.active {
  background: var(--btn-secondary);
  color: #FFFFFF;
  border-color: var(--btn-secondary);
  box-shadow: 0 4px 16px rgba(35, 70, 50, 0.25);
}

.cat-pill-main.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

.cat-pill-main.cat-pill-sets.active {
  background: var(--cta-primary);
  color: #FFFFFF;
  border-color: var(--cta-primary);
  box-shadow: 0 4px 16px rgba(200, 90, 50, 0.25);
}

.cat-pill-main.cat-pill-sets.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.category-tabs-wrapper {
  position: relative;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
}

.category-tabs-scroll {
  flex: 1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 14px 12px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}

.category-tabs-scroll.grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

/* КНОПКИ-СТРІЛКИ ДЛЯ ПК ВЕРСІЇ (СКРОЛЛ КАТЕГОРІЙ МИШКОЮ) */
.cat-nav-arrow {
  position: absolute;
  top: calc(50% - 3px);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(18, 55, 34, 0.16);
  cursor: pointer;
  z-index: 15;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.4, 1);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.cat-nav-arrow.visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cat-nav-left {
  left: -12px;
}

.cat-nav-right {
  right: -12px;
}

@media (max-width: 768px) {
  .cat-nav-left {
    left: 2px;
  }
  .cat-nav-right {
    right: 2px;
  }
  .cat-nav-arrow {
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
}

.cat-nav-arrow:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(18, 55, 34, 0.28);
}

.cat-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.cat-nav-arrow svg {
  display: block;
}

/* Градієнтні напівпрозорі краї-підказки */
.scroll-edge-hint {
  position: absolute;
  top: 0;
  bottom: 12px;
  width: 50px;
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  transition: opacity 0.25s;
}

.scroll-edge-hint.left {
  left: 0;
  background: linear-gradient(90deg, rgba(246, 244, 238, 0.98) 15%, rgba(246, 244, 238, 0) 100%);
}

.scroll-edge-hint.right {
  right: 0;
  background: linear-gradient(270deg, rgba(246, 244, 238, 0.98) 15%, rgba(246, 244, 238, 0) 100%);
}

.scroll-edge-hint.visible {
  opacity: 1;
}

.cat-tab-btn {
  white-space: nowrap;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-headline);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.4, 1);
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 44px;
}

.cat-tab-btn span.cat-icon {
  font-size: 1.15rem;
}

.cat-tab-btn span.cat-count {
  background: var(--surface-subtle);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.cat-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-tab-btn.active {
  background: var(--btn-secondary);
  color: #FFFFFF;
  border-color: var(--btn-secondary);
}

.cat-tab-btn.active span.cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.catalog-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 2px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.catalog-count-text {
  font-weight: 700;
  color: var(--text-headline);
}

.catalog-stock-badge {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}

/* ============================================================
   ВІЗУАЛЬНИЙ БАНЕР ОБРАНОЇ КАТЕГОРІЇ (SHOWCASE BANNER)
   Між вкладками категорій та сіткою карток товарів
   ============================================================ */
.category-showcase-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--surface-sage) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 0 0 24px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.category-banner-media {
  flex: 0 0 320px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.category-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.category-showcase-banner:hover .category-banner-media img {
  transform: scale(1.03);
}

.category-banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-banner-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--surface-sage);
  color: var(--btn-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid #D5E1D4;
  letter-spacing: 0.01em;
}

.category-banner-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.category-banner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 720px;
}

/* 3 ПРОСТОРІ КОЛОНКИ НА ДЕСКТОПІ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

@media (max-width: 580px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.product-card {
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ТОНКА ВЕРХНЯ КОЛЬОРОВА ЛІНІЯ 4PX ЗА КАТЕГОРІЯМИ */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.product-card.cat-apples::before,
.product-card.cat-cherries::before {
  background: var(--cat-ruby);
}

.product-card.cat-pears::before,
.product-card.cat-apricots::before {
  background: var(--cat-amber);
}

.product-card.cat-plums::before,
.product-card.cat-grapes::before {
  background: var(--cat-plum);
}

.product-card.cat-exotics::before,
.product-card.cat-berries::before {
  background: var(--cat-emerald);
}

.product-card.cat-flowers::before,
.product-card.cat-sets::before {
  background: var(--cat-rose);
}

.product-card.has-in-cart {
  border-color: var(--primary);
  box-shadow: 0 4px 18px rgba(18, 55, 34, 0.12);
}

.product-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
}

.product-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid #D5E1D4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.product-season-badge {
  font-size: 0.78rem;
  color: #7A4B1A;
  background: var(--surface-sand);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-card);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Великий контрастний заголовок сорту */
.product-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.25;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.product-in-cart-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  border: 1px solid #D5E1D4;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}

/* ЧИСТИЙ ДВОРЯДНИЙ НИЖНІЙ БЛОК (БЕЗ ЗЛАМАНИХ ПЕРЕНОСІВ) */
.product-bottom-block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-card);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.product-price-val {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-headline);
  white-space: nowrap;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.product-price-unit {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-qty-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  height: 46px;
  flex-shrink: 0;
}

.card-qty-btn {
  background: transparent;
  border: none;
  width: 38px;
  height: 46px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.card-qty-btn:active {
  background: #DCE8E0;
}

.card-qty-val {
  width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-headline);
}

.btn-add-cart {
  flex: 1;
  height: 46px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
  background: var(--cta-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
  transition: all 0.2s;
}

.btn-add-cart:hover {
  background: var(--cta-primary-hover);
  box-shadow: 0 6px 16px rgba(200, 90, 50, 0.35);
  transform: translateY(-1px);
}

.btn-add-cart:active {
  transform: scale(0.97);
}

.btn-add-cart.added {
  background: #1F7A46 !important;
}

/* ================= ПАГІНАЦІЯ ================= */
.catalog-pagination-wrap {
  text-align: center;
  margin-top: 38px;
}

.btn-load-more {
  background: #FFFFFF;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 14px 34px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  min-height: 48px;
}

.btn-load-more:hover {
  background: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.load-more-icon {
  font-size: 1.2rem;
  font-weight: 800;
}

/* ================= СЕКЦІЯ ПЕРЕВАГ З SVG-КРУЖЕЧКАМИ ================= */
.features-section {
  background: var(--surface-sand);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.feature-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-card);
  text-align: center;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}

.feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--btn-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid #D5E1D4;
}

.feature-box-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.feature-box-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================= КОНТАКТИ ================= */
.contacts-section {
  background: var(--bg-page);
}

.contacts-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (max-width: 600px) {
  .contacts-card {
    padding: 24px 16px;
    gap: 22px;
  }
}

@media (min-width: 860px) {
  .contacts-card {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 46px 40px;
  }
}

.contacts-headline {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.contacts-subheadline {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.55;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: var(--surface-subtle);
  border: 1px solid var(--border-card);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-icon-bubble.viber {
  background: var(--viber);
  color: #fff;
  border-color: var(--viber);
}

.contact-icon-bubble.tiktok {
  background: #000;
  color: #fff;
  border-color: #000;
}

.contact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.contacts-action-box {
  background: var(--surface-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.action-box-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.action-box-desc {
  font-size: 0.95rem;
  color: var(--text-body);
}

.btn-viber-large {
  background: var(--viber);
  color: #fff;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(115, 96, 242, 0.3);
  min-height: 48px;
  transition: all 0.2s;
}

.btn-viber-large:hover {
  background: var(--viber-hover);
  transform: translateY(-2px);
}

.btn-phone-large {
  background: var(--primary);
  color: #fff;
  padding: 15px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(18, 55, 34, 0.3);
  min-height: 48px;
  transition: all 0.2s;
}

.btn-phone-large:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ================= ПІДВАЛ (ORGANIC PASTEL EDITORIAL) ================= */
.site-footer {
  background: var(--surface-sage);
  color: var(--text-headline);
  padding: 48px 0 32px;
  font-size: 0.92rem;
  border-top: 1px solid #D8E2D6;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--btn-secondary);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
}

.footer-text {
  max-width: 520px;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid #D8E2D6;
  padding-top: 18px;
  width: 100%;
}

/* ================= ПЛАВАЮЧА КНОПКА «ВГОРУ» ================= */
.back-to-top-btn {
  position: fixed;
  right: 18px;
  bottom: calc(88px + var(--safe-bottom));
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-secondary);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 992px) {
  .back-to-top-btn {
    bottom: 28px;
  }
}

@media (min-width: 992px) {
  .back-to-top-btn {
  position: fixed;
  right: 18px;
  bottom: calc(88px + var(--safe-bottom));
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--btn-secondary);
  color: #FFFFFF;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 992px) {
  .back-to-top-btn {
    bottom: 28px;
  }
}
}

.back-to-top-btn.visible {
  display: flex;
}

.back-to-top-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ================= 4. ФІКСОВАНА ПАНЕЛЬ APPLE IPHONE ================= */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border-card);
  box-shadow: 0 -4px 16px rgba(18, 55, 34, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 12px calc(8px + var(--safe-bottom));
  z-index: 99;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 992px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  flex: 1;
  min-height: 44px;
  justify-content: center;
}

.mobile-bar-btn .icon {
  font-size: 1.3rem;
}

.mobile-bar-btn:active {
  color: var(--primary);
}

.mobile-bar-btn.cart-highlight {
  color: var(--accent);
}

.mobile-cart-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 18px);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ================= МОДАЛЬНІ ВІКНА ТА NATIVE IOS BOTTOM SHEET ================= */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(14, 31, 21, 0.65);
  z-index: 200;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

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

.modal-window {
  background: #FFFFFF;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

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

.sheet-pull-handle {
  display: none;
  width: 38px;
  height: 5px;
  background: #D1D8D2;
  border-radius: 4px;
  margin: 10px auto 4px;
}

@media (max-width: 640px) {
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-window {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    box-shadow: var(--shadow-sheet);
    transform: translateY(100%);
    padding-bottom: var(--safe-bottom);
  }

  .modal-backdrop.open .modal-window {
    transform: translateY(0);
  }

  .sheet-pull-handle {
    display: block;
  }
}

.modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: var(--surface-sand);
  border: 1px solid var(--border-card);
  color: var(--text-headline);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: var(--surface-sage);
  color: var(--btn-secondary);
}

.modal-body {
  padding: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex-grow: 1;
}

@media (max-width: 480px) {
  .modal-header {
    padding: 14px 16px;
  }
  .modal-body {
    padding: 18px 14px;
  }
}

/* ================= КОШИК ТА ФОРМА ================= */
.cart-empty-state {
  text-align: center;
  padding: 40px 16px;
}

.cart-empty-icon {
  font-size: 3.8rem;
  margin-bottom: 12px;
  opacity: 0.7;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  gap: 10px;
}

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

.cart-item-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-headline);
  margin-bottom: 3px;
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.cart-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.12rem;
  white-space: nowrap;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: var(--cat-ruby);
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.cart-item-remove:hover {
  background: var(--surface-peach);
  color: #932219;
}

.cart-total-box {
  background: var(--surface-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 22px;
}

.cart-total-box .total-sum-val {
  color: var(--accent);
  font-size: 1.45rem;
}

.order-form-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-headline);
}

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

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18, 55, 34, 0.12);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.checkout-btn-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  padding-bottom: calc(10px + var(--safe-bottom));
}

.btn-submit-order {
  background: var(--cta-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(200, 90, 50, 0.35);
  transition: all 0.2s;
  min-height: 50px;
}

.btn-submit-order:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200, 90, 50, 0.45);
}

.btn-submit-viber {
  background: var(--viber);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.08rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  box-shadow: 0 4px 14px rgba(115, 96, 242, 0.25);
  transition: all 0.2s;
}

.btn-submit-viber:hover {
  background: var(--viber-hover);
  transform: translateY(-1px);
}

/* ================= МОДАЛКА УСПІХУ ================= */
.success-box {
  text-align: center;
  padding: 8px 0;
}

.success-icon-big {
  font-size: 3.8rem;
  margin-bottom: 12px;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.success-lead {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.5;
}

.bot-notice-card {
  background: #FFF9EE;
  border: 1px solid #ECD9B0;
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bot-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.bot-notice-card h5 {
  font-size: 0.96rem;
  font-weight: 800;
  color: #6C4200;
  margin-bottom: 4px;
}

.bot-notice-card p {
  font-size: 0.88rem;
  color: #794D06;
  line-height: 1.45;
}

.order-receipt-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  font-size: 0.92rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ================= МОДАЛКА ZOOM ================= */
.modal-image-preview {
  max-width: 620px;
}

.image-preview-full {
  width: 100%;
  border-radius: var(--radius-xs);
  max-height: 75vh;
  object-fit: contain;
}

/* ================= TOAST (TOP-CENTER DYNAMIC ISLAND STYLE) ================= */
.toast-notice {
  position: fixed !important;
  top: 24px !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -24px) !important;
  background: rgba(26, 46, 34, 0.95) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  max-width: calc(100vw - 32px) !important;
  width: max-content !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.toast-notice.show {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
}


/* ===== MOBILE REDESIGN (< 768px) ===== */
@media (max-width: 768px) {

  /* 1. HEADER */
  .main-header {
    background: rgba(250, 247, 242, 0.96) !important;
    border-bottom: 1px solid #E6E0D4 !important;
    box-shadow: 0 2px 10px rgba(26, 46, 34, 0.05) !important;
  }
  .brand-title { color: #FFFFFF; font-size: 1.15rem; }
  .brand-subtitle { color: rgba(255,255,255,0.65); font-size: 0.75rem; }
  .brand-logo-img { border-color: rgba(255,255,255,0.3); }
  .cart-btn-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--cta-primary);
  border: none;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.3);
  transition: all 0.2s;
}
  .cart-count-badge { background: var(--cta-primary); color: #fff; }

  /* 2. HERO */
  .hero-section { padding: 32px 0 28px; }
  .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--btn-secondary);
  box-shadow: var(--shadow-sm);
}
  .hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.14;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  color: var(--text-headline);
}
  .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 620px;
  line-height: 1.6;
  font-weight: 500;
}
  .hero-trust-row { margin-bottom: 20px; gap: 8px; }
  .hero-trust-tag {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-headline);
  box-shadow: var(--shadow-sm);
}
  .bento-grid { display: none; }
  .hero-glass-stats-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
  .glass-brand-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.2;
}
  .metric-num {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cta-primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
  .metric-lbl {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

  /* 3. CATEGORY TABS (РЯДОК 1: ДВІ ВЕЛИКІ КНОПКИ, РЯДОК 2: СКРОЛЛ ПО ВИДАХ) */
  .catalog-section { padding-top: 20px; }
  
  .category-main-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .cat-pill-main {
    padding: 10px 8px !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    font-size: 0.86rem !important;
    gap: 6px !important;
    border-width: 1.5px !important;
  }
  .cat-pill-main .cat-pill-icon {
    font-size: 1.15rem !important;
  }
  .cat-pill-main .cat-pill-title {
    font-size: 0.84rem !important;
  }
  .cat-pill-main .cat-pill-count {
    font-size: 0.72rem !important;
    padding: 1px 6px !important;
    border-radius: 8px !important;
  }

  .category-tabs-wrapper {
    margin-bottom: 12px !important;
    padding: 0 !important;
    position: relative !important;
  }
  .category-tabs-scroll {
    padding: 4px 38px 8px 2px !important;
    gap: 8px !important;
  }
  .cat-tab-btn {
    padding: 7px 12px !important;
    font-size: 0.82rem !important;
    min-height: 36px !important;
    background: #FFFFFF;
    border: 1.5px solid #D4DED7;
    border-radius: 18px;
    color: #1A3D27;
  }
  .cat-tab-btn.active {
  background: var(--btn-secondary);
  color: #FFFFFF;
  border-color: var(--btn-secondary);
}
  .cat-tab-btn span.cat-count {
    background: rgba(0,0,0,0.1);
    color: inherit;
    font-size: 0.68rem;
    padding: 1px 5px;
    border-radius: 8px;
  }
  .cat-tab-btn.active span.cat-count {
    background: rgba(255,255,255,0.22);
    color: #fff;
  }

  /* СТРІЛКИ ДЛЯ СКРОЛУ КАТЕГОРІЙ НА МОБІЛЬНОМУ */
  .cat-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
    border: 1.5px solid #2A7D4F !important;
    color: #1A5C35 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
    position: absolute !important;
    top: calc(50% - 2px) !important;
    z-index: 20 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s !important;
  }
  .cat-nav-left {
    left: 0 !important;
  }
  .cat-nav-right {
    right: 0 !important;
  }
  .cat-nav-arrow svg {
    width: 18px !important;
    height: 18px !important;
  }
  .scroll-edge-hint { display: none !important; }

  /* ВІЗУАЛЬНИЙ БАНЕР КАТЕГОРІЇ НА МОБІЛЬНОМУ */
  .category-showcase-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--surface-sage) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 0 0 24px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
  .category-banner-media {
    flex: none !important;
    width: 100% !important;
    height: 130px !important;
    border-radius: 10px !important;
  }
  .category-banner-content {
    padding-right: 0 !important;
  }
  .category-banner-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 12px;
  background: var(--surface-sage);
  color: var(--btn-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid #D5E1D4;
  letter-spacing: 0.01em;
}
  .category-banner-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
  .category-banner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 720px;
}

  /* 4. CATALOG CARDS (ЧІТКІ 2 КОЛОНКИ НА МОБІЛЬНОМУ) */
  .catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .product-card {
    padding: 10px 8px 10px !important;
    border-radius: 14px !important;
    border: 1px solid #E0E8E3 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    background: #FFFFFF !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
  }
  .product-card.has-in-cart {
    box-shadow: 0 3px 12px rgba(18,55,34,0.16) !important;
    border: 1.5px solid #2A7D4F !important;
  }

  .product-card-img {
    width: 100% !important;
    height: 100px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 6px !important;
    position: relative !important;
    cursor: pointer !important;
    background: #F0F4F1 !important;
  }
  .product-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .img-zoom-hint {
    position: absolute !important;
    bottom: 4px !important;
    right: 4px !important;
    background: rgba(0,0,0,0.65) !important;
    color: #fff !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    backdrop-filter: blur(4px) !important;
  }

  .product-top-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 3px !important;
    margin-bottom: 5px !important;
  }
  .product-category-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid #D5E1D4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
  .product-season-badge {
  font-size: 0.78rem;
  color: #7A4B1A;
  background: var(--surface-sand);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-card);
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

  .product-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.25;
  margin-bottom: 6px;
}
  .product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
  .product-in-cart-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  border: 1px solid #D5E1D4;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}

  .product-bottom-block {
    margin-top: auto !important;
    padding-top: 6px !important;
    border-top: 1px dashed #E0E8E3 !important;
  }
  .product-price-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    margin-bottom: 6px !important;
  }
  .product-price-val {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-headline);
  white-space: nowrap;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
  .product-price-unit {
    font-size: 0.65rem !important;
    color: #627367 !important;
  }

  .product-buy-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    width: 100% !important;
  }
  .card-qty-stepper {
    width: 100% !important;
    height: 32px !important;
    background: #F0F4F1 !important;
    border: 1px solid #D2DDD6 !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .card-qty-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
    color: #1A5C35 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .card-qty-val {
    font-size: 0.88rem !important;
    color: #0E1F15 !important;
    width: auto !important;
    flex: 1 !important;
    text-align: center !important;
    font-weight: 700 !important;
  }
  .btn-add-cart {
  flex: 1;
  height: 46px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 800;
  background: var(--cta-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(200, 90, 50, 0.25);
  transition: all 0.2s;
}
  .product-in-cart-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--btn-secondary);
  background: var(--surface-sage);
  border: 1px solid #D5E1D4;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  width: fit-content;
}
  .catalog-stats-row {
    margin: 10px 2px 16px;
    font-size: 0.88rem;
  }
  .catalog-count-text { font-weight: 800; color: #0E1F15; }
  .catalog-stock-badge { font-size: 0.8rem; }

  /* 5. PROMO SET CARDS */
  .promo-section {
  padding: 60px 0;
  background: var(--surface-peach);
  border-bottom: 1px solid var(--border-card);
}
  .set-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  }
  .set-card-media { aspect-ratio: 4/3; border-radius: 20px 20px 0 0; }
  .set-title { font-size: 1.15rem; font-weight: 800; }
  .set-desc { font-size: 0.9rem; line-height: 1.5; }
  .price-main {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cta-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
  .btn-buy-set {
  background: var(--cta-primary);
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(200, 90, 50, 0.3);
  transition: all 0.2s;
  min-height: 48px;
  width: 100%;
}
  .set-badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cta-primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
  .set-zoom-badge {
    bottom: 10px;
    right: 10px;
    font-size: 0.74rem;
    padding: 5px 10px;
  }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); letter-spacing: -0.02em; }
  .section-tag { font-size: 0.78rem; }
  .section-desc { font-size: 0.95rem; }

  /* 6. FEATURES BOXES (НАДІЙНІ ГАРАНТІЇ: 1 КОЛОНКА НА МОБІЛЬНОМУ З ПОТРІБНОЮ ШИРИНОЮ БЕЗ ВИСТУПАННЯ ЗА КРАЙ) */
  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .feature-box {
    background: #FFFFFF !important;
    border-radius: var(--radius-md) !important;
    padding: 24px 20px !important;
    border: 1px solid var(--border-card) !important;
    text-align: center !important;
    box-shadow: var(--shadow-sm) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    overflow: hidden !important;
    word-break: break-word !important;
  }
  .feature-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--btn-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid #D5E1D4;
}
  .feature-box-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}
  .feature-box-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.5;
}

  /* 7. MOBILE BOTTOM BAR (ORGANIC PASTEL EDITORIAL) */
  .mobile-bottom-bar {
    background: rgba(250, 247, 242, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-card);
    box-shadow: 0 -4px 20px rgba(26, 46, 34, 0.08);
    padding: 10px 8px calc(10px + var(--safe-bottom));
  }
  .mobile-bar-btn { color: var(--text-muted); font-size: 0.72rem; gap: 3px; font-weight: 600; }
  .mobile-bar-btn .icon { font-size: 1.4rem; }
  .mobile-bar-btn:active { color: var(--btn-secondary); }
  .mobile-bar-btn.cart-highlight { color: var(--cta-primary); font-weight: 700; }
  .mobile-cart-badge {
    background: var(--cta-primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    top: -1px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
  }

  /* 8. CONTACTS & FOOTER */
  .contacts-section { padding: 24px 0; }
  .contacts-headline { font-size: 1.5rem; }
  .contacts-subheadline { font-size: 0.95rem; margin-bottom: 18px; }
  .contact-icon-bubble { width: 44px; height: 44px; font-size: 1.2rem; }
  .contact-label { font-size: 0.78rem; }
  .contact-val { font-size: 1rem; font-weight: 800; color: #0E1F15; }
  .btn-viber-large, .btn-phone-large {
    font-size: 1rem;
    padding: 14px 20px;
    min-height: 52px;
    border-radius: 16px;
  }
  .site-footer { padding: 22px 0; }
  .footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
}
  .footer-text {
  max-width: 520px;
  line-height: 1.5;
  color: var(--text-muted);
}
  .footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid #D8E2D6;
  padding-top: 18px;
  width: 100%;
}

  /* 9. MODALS */
  .modal-window {
    border-radius: 28px 28px 0 0 !important;
    max-height: 94dvh !important;
  }
  .modal-header {
    background: linear-gradient(135deg, #F6F4EE, #EDEAE2);
    border-bottom: 1px solid #E3E7E0;
  }
  .modal-title {
    font-size: 1.15rem;
    color: #0E1F15;
  }
  .modal-close-btn {
  background: var(--surface-sand);
  border: 1px solid var(--border-card);
  color: var(--text-headline);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close-btn:hover {
  background: var(--surface-sage);
  color: var(--btn-secondary);
}
  .sheet-pull-handle {
    display: block;
    width: 44px;
    height: 5px;
    background: #C5CFC7;
    border-radius: 4px;
    margin: 10px auto 6px;
  }
  .cart-total-box {
    background: linear-gradient(135deg, #EEF8F1, #D8EDE1);
    border: none;
    border-radius: 16px;
    padding: 16px 18px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-headline);
  }
  #cartTotalSum { color: var(--cta-primary); font-size: 1.3rem; }
  .btn-submit-order {
  background: var(--cta-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(200, 90, 50, 0.35);
  transition: all 0.2s;
  min-height: 50px;
}
  .btn-submit-viber {
    min-height: 52px;
    border-radius: 16px;
    font-size: 1rem;
  }
  .form-input, .form-select, .form-textarea {
    padding: 13px 14px;
    border-radius: 12px;
    border: 1.5px solid #D4DED7;
    background: #F9FAF8;
    font-size: 16px;
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #1A5C35;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(26,92,53,0.12);
  }
  .form-label { font-size: 0.88rem; color: #0E1F15; }
  .order-form-title { font-size: 1rem; color: #0E1F15; }

  /* 10. SEARCH BOX */
  .search-box-wrap { margin-bottom: 14px; }
  .search-input {
    font-size: 15px;
    padding: 13px 44px 13px 44px;
    border-radius: 16px;
    border: 1.5px solid #D4DED7;
    background: #FFFFFF;
    min-height: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  }
  .search-input:focus {
    border-color: #1A5C35;
    box-shadow: 0 0 0 3px rgba(26,92,53,0.1);
  }
  .search-icon { font-size: 1.1rem; left: 14px; }
  .btn-load-more {
    min-height: 52px;
    font-size: 1rem;
    border-radius: var(--radius-full);
    padding: 14px 28px;
  }
  .catalog-pagination-wrap { margin-top: 24px; }

  /* 11. TOAST (MOBILE TOP-CENTER) */
  .toast-notice {
    top: 14px !important;
    bottom: auto !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -20px) !important;
    padding: 10px 18px !important;
    font-size: 0.86rem !important;
  }
  .toast-notice.show {
    transform: translate(-50%, 0) !important;
    opacity: 1 !important;
  }

}
/* ===== END MOBILE REDESIGN ===== */



/* ================= КАРТКИ ТОВАРІВ ТА НАБОРІВ: СТУДІЙНЕ ВИРІВНЮВАННЯ 4:3 ================= */
.catalog-grid,
.sets-grid {
  display: grid;
  align-items: stretch;
}

.product-card,
.set-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover,
.set-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Єдине фіксоване співвідношення 4:3 для ВСІХ фото */
.product-card-img,
.set-card-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: #F2EBE1;
  position: relative;
  cursor: pointer;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.product-card-img img,
.set-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-card-img:hover img,
.set-card-media:hover img {
  transform: scale(1.03);
}

/* Круглі SVG-кнопки збільшення фото у правому верхньому куті */
.img-zoom-btn,
.set-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid var(--border-card);
  color: var(--text-headline);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 2;
  padding: 0;
}

.img-zoom-btn:hover,
.set-zoom-btn:hover {
  background: #FFFFFF;
  color: var(--cta-primary);
  transform: scale(1.08);
}

/* Компактні пастельні бейджі у верхньому лівому куті з білим непрозорим фоном */
.set-badge-float,
.img-badge-float {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFFFFF;
  color: var(--cta-primary);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-card);
  z-index: 2;
}

/* Тіло картки та вирівнювання блоку цін до низу */
.product-card-body,
.set-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 4px;
}

.set-card-body {
  padding: 18px 20px 20px;
}

.product-bottom-block,
.set-bottom-block {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-card);
}

/* Список сортів у наборах (2 колонки) */
.set-content-wrap {
  margin-bottom: 16px;
  flex: 1;
}

.set-intro-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.set-varieties-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 8px;
}

.set-variety-item {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  gap: 5px;
  background: #FAF7F2;
  padding: 5px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  line-height: 1.25;
}

.set-variety-item svg {
  color: var(--btn-secondary);
  flex-shrink: 0;
}

.set-extra-text {
  font-size: 0.84rem;
  color: var(--cta-primary);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 6px;
}


/* ДЕСКТОП: ПЕРЕНОС КАТЕГОРІЙ У 2 РЯДКИ БЕЗ СТРІЛКИ СКРОЛУ */
@media (min-width: 992px) {
  .category-tabs-wrapper {
    overflow: visible !important;
    position: static !important;
  }
  .category-tabs-scroll {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 10px !important;
    overflow-x: visible !important;
    padding: 0 !important;
  }
  .cat-scroll-arrow {
    display: none !important;
  }
}


/* ================= ПІДВАЛ (ПРЕМІУМ 3 КОЛОНКИ) ================= */
.site-footer {
  background: var(--surface-sage);
  color: var(--text-headline);
  padding: 56px 0 28px;
  font-size: 0.92rem;
  border-top: 1px solid #D8E2D6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.15;
}

.footer-brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid #D5E1D4;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--btn-secondary);
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-nav-list a:hover {
  color: var(--cta-primary);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-contact-item svg {
  color: var(--btn-secondary);
  flex-shrink: 0;
}

.footer-contact-link {
  color: var(--text-headline);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--cta-primary);
}

.footer-bottom-bar {
  border-top: 1px solid #D8E2D6;
  padding-top: 20px;
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* HIGH CONTRAST MONOCHROME MOBILE BOTTOM BAR */
.mobile-bottom-bar {
  background: rgba(250, 247, 242, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-top: 1.5px solid #DDD5C7 !important;
  box-shadow: 0 -4px 20px rgba(26, 46, 34, 0.08) !important;
}

.mobile-bar-btn {
  color: #1A2E22 !important;
  font-weight: 700 !important;
  font-size: 0.74rem !important;
  opacity: 1 !important;
}

.mobile-bar-btn .icon svg {
  stroke: #1A2E22 !important;
  stroke-width: 2.2 !important;
  width: 21px !important;
  height: 21px !important;
  display: block;
  margin: 0 auto;
}

.mobile-bar-btn:active {
  color: #C85A32 !important;
}

.mobile-bar-btn:active .icon svg {
  stroke: #C85A32 !important;
}

.mobile-bar-btn.cart-highlight {
  color: #C85A32 !important;
  font-weight: 800 !important;
}

.mobile-bar-btn.cart-highlight .icon svg {
  stroke: #C85A32 !important;
  stroke-width: 2.4 !important;
}

.mobile-cart-badge {
  background: #C85A32 !important;
  color: #FFFFFF !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 6px rgba(200, 90, 50, 0.35) !important;
}

/* Category pills emoji style */
.cat-tab-btn .cat-emoji {
  display: inline-block;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ============================================================
   STRICT ZERO-OVERFLOW PROTECTION FOR ALL SECTIONS & CARDS
   ============================================================ */
html, body {
  max-width: 100vw !important;
  overflow-x: clip !important;
  position: relative;
}

.container,
.hero-section,
.promo-section,
.catalog-section,
.features-section,
.contacts-section,
.footer-section,
.site-footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.container {
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Ensure all card elements across all sections fit inside container width */
.product-card,
.set-card,
.feature-box,
.contacts-card,
.bento-cell,
.hero-card,
.cat-pill-main,
.category-main-grid,
.features-grid,
.sets-grid,
.catalog-grid {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

/* Text and headings inside cards wrap cleanly */
.product-desc,
.set-title,
.set-desc,
.feature-box-title,
.feature-box-desc,
.contacts-headline,
.contacts-subheadline {
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

.product-name {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
}

/* Toggle promo sets button */
.promo-sets-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  width: 100%;
}
.btn-toggle-sets {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  color: var(--text-headline);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  width: 100%;
  max-width: 420px;
}
.btn-toggle-sets:hover {
  background: var(--surface-sage);
  border-color: var(--btn-secondary);
  color: var(--btn-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  /* Header mobile anti-overflow: cart pill stays cleanly inside viewport */
  .main-header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
    padding: 0 !important;
  }
  .header-inner {
    padding: 8px 0 !important;
    gap: 8px !important;
    justify-content: space-between !important;
    width: 100% !important;
  }
  .brand-wrapper {
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    overflow: hidden !important;
  }
  .brand-logo-emblem {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }
  .brand-text-block {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .brand-title {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
    color: var(--text-headline) !important;
  }
  .brand-subtitle {
    display: none !important; /* Hide long subtitle on phones so cart pill has plenty of room */
  }
  .header-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    gap: 0 !important;
  }
  .cart-btn-header {
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    max-width: fit-content !important;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
    box-shadow: 0 2px 8px rgba(200, 90, 50, 0.25) !important;
  }
  .cart-btn-sum {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }
  .cart-count-badge {
    font-size: 0.72rem !important;
    padding: 2px 6px !important;
    min-width: 18px !important;
    height: 18px !important;
    line-height: 14px !important;
  }

  /* Card titles: clean single-line fit for long single words (e.g. Старкримсон) */
  .product-name {
    font-size: clamp(0.85rem, 3.4vw, 0.96rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .feature-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 18px !important;
  }
  .sets-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .set-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contacts-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 16px !important;
  }
}


/* ============================================================
   PASTEL THEME 2026 — м'які пастельні тони (override-шар)
   Змінюються лише змінні та поверхні; логіка/верстка без змін
   ============================================================ */
:root {
  --bg-page: #FBF8F4;
  --surface-card: #FFFFFF;
  --border-card: #EEE6EE;
  --border-subtle: #F3ECF1;
  --border-strong: #E2D6E0;

  --surface-sage: #E4F1E6;      /* м'ята */
  --surface-sand: #FFF4DE;      /* вершково-масляний */
  --surface-peach: #FFE9E0;     /* персиковий */
  --surface-subtle: #F6EEF8;    /* ліловий серпанок */
  --surface-blush: #FFE6EE;     /* пудровий рожевий */
  --surface-sky: #E6F0FB;       /* небесний */

  --text-headline: #2B3A33;
  --text-body: #2B3A33;
  --text-muted: #5B6B63;

  --cta-primary: #D8664B;
  --cta-primary-hover: #C45439;
  --btn-secondary: #4B7A63;
  --btn-secondary-hover: #3C6650;
  --btn-secondary-border: #4B7A63;

  --shadow-sm: 0 2px 12px rgba(120, 90, 130, 0.07);
  --shadow-md: 0 10px 28px rgba(120, 90, 130, 0.10);
  --shadow-lg: 0 18px 40px rgba(120, 90, 130, 0.14);

  --radius-md: 22px;
  --radius-lg: 28px;
}

body {
  background:
    radial-gradient(900px 500px at 0% 0%, #FFE9E0 0%, transparent 60%),
    radial-gradient(800px 500px at 100% 10%, #E4F1E6 0%, transparent 60%),
    radial-gradient(900px 600px at 50% 100%, #F6EEF8 0%, transparent 60%),
    var(--bg-page);
  background-attachment: fixed;
}

.promo-section { background: linear-gradient(180deg, #FFE9E0 0%, #FFF4DE 100%); }
.set-card, .product-card, .card {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.set-card-media, .product-card-img { background: var(--surface-subtle); }
.set-card:nth-child(4n+1) { background: #FFF1EA; }
.set-card:nth-child(4n+2) { background: #EEF7EF; }
.set-card:nth-child(4n+3) { background: #F6EEF8; }
.set-card:nth-child(4n+4) { background: #FFF6E3; }

/* Пастельні «таблетки» категорій по колу */
.cat-tab-btn:not(.active):nth-child(6n+1) { background: #FFE9E0; }
.cat-tab-btn:not(.active):nth-child(6n+2) { background: #E4F1E6; }
.cat-tab-btn:not(.active):nth-child(6n+3) { background: #F6EEF8; }
.cat-tab-btn:not(.active):nth-child(6n+4) { background: #FFF4DE; }
.cat-tab-btn:not(.active):nth-child(6n+5) { background: #E6F0FB; }
.cat-tab-btn:not(.active):nth-child(6n+6) { background: #FFE6EE; }

/* Плавність і легкість на мобільних */
@media (max-width: 768px) {
  body { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
img { content-visibility: auto; }
.cat-tab-btn.active { background: var(--cta-primary) !important; color: #fff; }
.cat-tab-btn { border-radius: 9999px; border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-sm); }
.product-card { background: #fff; }

/* ============================================================
   PASTEL BOOST — насиченіші пастельні поверхні, кольорові секції
   ============================================================ */
:root {
  --pastel-peach: #FFD9CC;
  --pastel-mint: #CDEBD3;
  --pastel-lilac: #E4D5F5;
  --pastel-butter: #FFEBB8;
  --pastel-sky: #CFE4F8;
  --pastel-rose: #FFD1E0;
  --cta-primary: #E4715A;
  --cta-primary-hover: #D4604A;
}
body { background:
  radial-gradient(700px 420px at 0% 0%, #FFD9CC 0%, transparent 65%),
  radial-gradient(700px 480px at 100% 8%, #CDEBD3 0%, transparent 65%),
  radial-gradient(800px 520px at 0% 55%, #E4D5F5 0%, transparent 65%),
  radial-gradient(800px 520px at 100% 90%, #FFEBB8 0%, transparent 65%),
  #FFF9F5; background-attachment: fixed; }
@media (max-width: 768px) { body { background-attachment: scroll; } }

.main-header { background: rgba(255, 244, 238, .82) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #FFD9CC; }
.hero-section { background: linear-gradient(160deg, #FFD9CC 0%, #FFE9F0 45%, #E4D5F5 100%) !important; border-radius: 0 0 36px 36px; }
.hero-title, .section-title { color: #3A3340; }
.hero-title span, .hero-title-accent { color: #D9604A; }
.hero-pill, .hero-badges span, .hero-badge { background: rgba(255,255,255,.75); border: 1px solid #FFD1E0; }

.promo-section { background: linear-gradient(180deg, #FFEBB8 0%, #FFD9CC 100%) !important; border-radius: 36px; margin: 16px 8px; }
.catalog-section { background: linear-gradient(180deg, #CDEBD3 0%, #E6F4E9 100%) !important; border-radius: 36px; margin: 16px 8px; }
.features-section { background: linear-gradient(180deg, #E4D5F5 0%, #F1E8FA 100%) !important; border-radius: 36px; margin: 16px 8px; }
.contacts-section { background: linear-gradient(180deg, #CFE4F8 0%, #E3F0FC 100%) !important; border-radius: 36px; margin: 16px 8px; }
.site-footer { background: linear-gradient(180deg, #FFD1E0 0%, #FFE6EE 100%) !important; color: #3A3340; }
.site-footer a, .site-footer p, .site-footer h3, .site-footer h4 { color: #3A3340 !important; }

.product-card, .set-card, .feature-card { border: 0 !important; border-radius: 26px !important; box-shadow: 0 8px 22px rgba(140, 100, 150, .14) !important; }
.product-card:nth-child(4n+1) { background: #FFF1EB; }
.product-card:nth-child(4n+2) { background: #F3FAF4; }
.product-card:nth-child(4n+3) { background: #F9F3FD; }
.product-card:nth-child(4n+4) { background: #FFF8E6; }
.product-card-img { border-radius: 22px; overflow: hidden; }
.set-card:nth-child(4n+1) { background: #FFE3D8 !important; }
.set-card:nth-child(4n+2) { background: #D9F0DE !important; }
.set-card:nth-child(4n+3) { background: #EBDDF8 !important; }
.set-card:nth-child(4n+4) { background: #FFF0C8 !important; }

.cat-tab-btn:not(.active):nth-child(6n+1) { background: #FFD9CC !important; }
.cat-tab-btn:not(.active):nth-child(6n+2) { background: #CDEBD3 !important; }
.cat-tab-btn:not(.active):nth-child(6n+3) { background: #E4D5F5 !important; }
.cat-tab-btn:not(.active):nth-child(6n+4) { background: #FFEBB8 !important; }
.cat-tab-btn:not(.active):nth-child(6n+5) { background: #CFE4F8 !important; }
.cat-tab-btn:not(.active):nth-child(6n+6) { background: #FFD1E0 !important; }
.cat-tab-btn { color: #3A3340 !important; }
.cat-tab-btn.active { background: #E4715A !important; color: #fff !important; }

.mobile-bottom-bar { background: rgba(255, 249, 245, .88) !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid #FFD9CC; }
.cta-primary, .btn-primary { box-shadow: 0 8px 20px rgba(228, 113, 90, .35); }

/* ============================================================
   DESCRIPTION PLATE — опис сховано під пастельну плашку
   ============================================================ */
.desc-plate { margin: 4px 0 10px; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid rgba(180,150,190,.25); overflow: hidden; }
.desc-plate > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; font-weight: 700; font-size: .92rem; color: #5A4A66; min-height: 44px; -webkit-tap-highlight-color: transparent; }
.desc-plate > summary::-webkit-details-marker { display: none; }
.desc-chev { font-size: 1.2rem; line-height: 1; transition: transform .25s ease; color: #D9604A; }
.desc-plate[open] > summary .desc-chev { transform: rotate(180deg); }
.desc-plate[open] { background: #fff; }
.desc-plate .product-desc, .desc-plate .set-intro-text, .desc-plate .set-varieties-list, .desc-plate .set-extra-text { padding-left: 16px; padding-right: 16px; }
.desc-plate .product-desc { margin: 0 0 14px; font-size: .9rem; line-height: 1.55; }
.desc-plate .set-varieties-list { padding-bottom: 8px; }
/* Візуальна ієрархія: ціна — головний акцент, назва — другий, решта приглушена */
.product-price-val { color: #D9604A; font-weight: 800; font-size: 1.45rem; }
.product-name { color: #3A3340; }
.product-category-tag { background: rgba(255,255,255,.8); border-radius: 9999px; }
.product-season-badge { background: #FFEBB8; color: #6B5320; border-radius: 9999px; }
.btn-add-cart { border-radius: 9999px; background: linear-gradient(135deg, #F08A70, #E4715A); box-shadow: 0 8px 18px rgba(228,113,90,.35); }

/* Логотип-аватарка власниці в шапці й футері */
.brand-logo-emblem.has-logo { background: #fff; border: 2px solid #FFD1E0; padding: 0; overflow: hidden; width: 46px; height: 46px; box-shadow: 0 4px 12px rgba(228,113,90,.25); }
.brand-logo-emblem.has-logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.brand-wrapper:hover .brand-logo-emblem.has-logo { background: #fff; transform: scale(1.05) rotate(-3deg); }
.glass-logo, .footer-logo { border: 2px solid #FFD1E0; box-shadow: 0 4px 12px rgba(228,113,90,.25); }

/* Тонша плашка «Про сорт» на мобільних */
@media (max-width: 768px) {
  .desc-plate { margin: 2px 0 8px; border-radius: 14px; }
  .desc-plate > summary { padding: 6px 12px; min-height: 32px; font-size: .78rem; font-weight: 700; }
  .desc-chev { font-size: .95rem; }
  .desc-plate .product-desc { font-size: .82rem; margin-bottom: 10px; }
}

/* ПК: акційні набори по 3 в ряд */
@media (min-width: 992px) {
  .promo-section .sets-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 22px !important; max-width: 1160px !important; margin-left: auto; margin-right: auto; }
}
