/* ================================================
   A.M.I — Design System v2
   Fonts: Prata (headings) + Montserrat (body)
   ЦА: взрослые женщины 35+
   ================================================ */

/* Шрифты подключаются через <link> в <head> каждой страницы (быстрее, чем @import) */

/* ──── CSS Variables ──── */
:root {
  --sage:          #6B8F74;
  --sage-light:    #9BB8A3;
  --sage-dark:     #3D6649;
  --sage-pale:     #EAF0EB;
  --cream:         #FAF8F3;
  --warm:          #F5EFE3;
  --white:         #FFFFFF;
  --black:         #18180F;
  --text-primary:  #1A1A14;
  --text-secondary:#4A4A42;
  --text-muted:    #8A8A7E;
  --border:        #DDD9CE;
  --border-light:  #EDEAE0;
  --gold:          #C8A96A;

  --font-serif: 'Prata', Georgia, serif;
  --font-sans:  'Montserrat', system-ui, sans-serif;

  --max-width:     1280px;
  --header-height: 80px;

  --transition:      0.28s ease;
  --transition-slow: 0.5s ease;

  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.15);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 9999px;
}

/* ──── Reset ──── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } body { font-family: var(--font-sans); color: var(--text-primary); background: var(--cream); line-height: 1.65; overflow-x: hidden; overflow-x: clip; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ──── Accessibility ──── */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sage-dark);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  background: var(--sage-dark);
  color: #fff;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ──── Typography ──── */
h1,h2,h3,h4,h5 { font-family: var(--font-serif); font-weight: 400; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { color: var(--text-secondary); font-size: 1rem; line-height: 1.8; }

/* ──── Layout Utilities ──── */
.container   { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.section     { padding: 6rem 0; }
.section-sm  { padding: 3.5rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header p { max-width: 580px; margin: 1.2rem auto 0; font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

/* ──── Buttons ──── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap; cursor: pointer; border: 2px solid transparent;
  min-height: 52px;
}
.btn-primary  { background: var(--sage); color: #fff; border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--text-primary); border-color: var(--text-primary); }
.btn-outline:hover { background: var(--text-primary); color: #fff; }
.btn-outline-sage { background: transparent; color: var(--sage); border-color: var(--sage); }
.btn-outline-sage:hover { background: var(--sage); color: #fff; }
.btn-white    { background: #fff; color: var(--sage-dark); border-color: #fff; }
.btn-white:hover { background: var(--sage-pale); }
.btn-lg { padding: 1.2rem 3rem; font-size: 0.9rem; min-height: 60px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-md);
  transition: all var(--transition); padding: 0; color: var(--text-secondary);
}
.btn-icon:hover { background: var(--sage-pale); color: var(--text-primary); }

/* ──── Header ──── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
}

/* Logo */
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-text { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; letter-spacing: 0.22em; color: var(--text-primary); text-transform: uppercase; }
.logo-sub  { font-family: var(--font-sans); font-size: 0.58rem; letter-spacing: 0.38em; color: var(--text-muted); text-transform: uppercase; margin-top: 3px; }
a.logo, .footer-brand .logo { overflow: hidden; height: 46px; }
.logo-img { height: 130px; width: auto; display: block; margin-top: -38px; mix-blend-mode: multiply; }
.logo-img-light { height: 130px; width: auto; display: block; margin-top: -38px; filter: invert(1); mix-blend-mode: screen; }

/* Nav links */
.nav { display: flex; align-items: center; gap: 0.5rem; }
.nav-link {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-secondary); padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm); transition: color var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--sage); transition: width var(--transition);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 60%; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.3rem; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  width: 20px; height: 20px; background: var(--sage); color: #fff;
  border-radius: 50%; font-size: 0.65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform var(--transition);
}
.cart-count.visible { transform: scale(1); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 6px; }
.hamburger span { display: block; height: 2px; width: 24px; background: var(--text-primary); transition: all var(--transition); transform-origin: left; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

/* Mobile nav */
.mobile-nav {
  position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 999;
  padding: 2.5rem 2rem; flex-direction: column; gap: 0.5rem;
  overflow-y: auto; transform: translateX(100%);
  transition: transform var(--transition-slow); display: none;
}
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav-link {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 400;
  color: var(--text-primary); padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light); display: block;
}
.mobile-nav-link:hover { color: var(--sage); }

/* ──── Hero ──── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, #EAF0EB 0%, #F5EFE3 50%, #EDE8DC 100%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('../images/bg_about.jpg');
  background-size: cover; background-position: center; opacity: 0.07;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-width); margin: 0 auto; width: 100%;
  padding: calc(var(--header-height) + 4rem) 2rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sage); font-weight: 600; margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem; background: var(--sage-pale); border-radius: var(--radius-full);
}
.hero h1 { font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 400; line-height: 1.08; margin-bottom: 1.75rem; }
.hero h1 em { font-style: italic; color: var(--sage-dark); }
.hero-desc { font-size: 1.15rem; max-width: 460px; margin-bottom: 2.5rem; line-height: 1.85; }
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.hero-stat-num  { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 400; display: block; line-height: 1; }
.hero-stat-label { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase; margin-top: 0.4rem; display: block; font-weight: 600; }
.hero-image { position: relative; animation: fadeInRight 0.8s ease 0.2s both; }
.hero-img-main {
  width: 100%; max-width: 440px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sage-pale); aspect-ratio: 3/4;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; }
.hero-badge {
  position: absolute; bottom: 28px; left: -20px;
  background: #fff; padding: 1rem 1.5rem;
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.85rem;
}
.hero-badge-icon {
  width: 46px; height: 46px; background: var(--sage-pale);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.hero-badge-text strong { display: block; font-size: 0.92rem; font-weight: 700; }
.hero-badge-text span   { font-size: 0.76rem; color: var(--text-muted); }

/* ──── Features Strip ──── */
.features-strip { background: var(--white); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); padding: 3rem 0; }
.features-grid  { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature-item   { display: flex; align-items: center; gap: 1.25rem; padding: 0 2.5rem; border-right: 1px solid var(--border-light); }
.feature-item:last-child { border-right: none; }
.feature-icon   { font-size: 1.8rem; flex-shrink: 0; }
.feature-title  { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.feature-text   { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ──── Product Cards ──── */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.product-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-image-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; }

/* Model photo background — gradient per category */
.product-image-wrap { background: linear-gradient(160deg, #E8EFE9 0%, #F5EEE4 100%); }
.product-card[data-category="serums"] .product-image-wrap { background: linear-gradient(160deg, #EDE8F5 0%, #F5EEE4 100%); }
.product-card[data-category="tonics"] .product-image-wrap { background: linear-gradient(160deg, #E8F0F5 0%, #EDF5F0 100%); }
.product-card[data-category="sets"]   .product-image-wrap { background: linear-gradient(160deg, #F5EEE4 0%, #EAF0EB 100%); }
.product-card[data-category="other"]  .product-image-wrap { background: linear-gradient(160deg, #F5F0E8 0%, #E8EFE4 100%); }

.product-image-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; transition: transform 0.5s ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--sage); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: var(--radius-full);
}
.product-badge.sale { background: #B56A4A; }
.product-badge.new  { background: #4A7DB5; }
.product-oos-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(255,255,255,0.65);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}
.product-card.out-of-stock .product-image-wrap img { opacity: 0.6; }

/* Quick-view overlay on hover */
.product-actions-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; z-index: 2;
  background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, transparent 100%);
  display: flex; gap: 0.5rem;
  transform: translateY(100%); transition: transform var(--transition);
}
.product-card:hover .product-actions-overlay { transform: translateY(0); }

/* Always-visible buy button at bottom of card */
.product-info { padding: 1.25rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.product-category { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); font-weight: 700; margin-bottom: 0.4rem; }
.product-name { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.35; cursor: pointer; flex: 1; }
.product-name:hover { color: var(--sage-dark); }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.product-price { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.product-price-old { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.4rem; }
.product-rating { font-size: 0.75rem; color: #C4A052; letter-spacing: 1px; }

/* Always-visible buy button */
.product-buy-btn {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--sage); color: #fff; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
  border: 2px solid var(--sage);
}
.product-buy-btn:hover { background: var(--sage-dark); border-color: var(--sage-dark); transform: translateY(-1px); }
.product-buy-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-add-cart {
  flex: 1; padding: 0.65rem;
  background: var(--text-primary); color: #fff; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--transition);
}
.btn-add-cart:hover { background: var(--sage-dark); }
.btn-wishlist {
  width: 40px; height: 40px; background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; transition: all var(--transition); color: var(--text-muted);
}
.btn-wishlist:hover, .btn-wishlist.active { border-color: var(--sage); color: var(--sage); background: var(--sage-pale); }

/* ──── Filter Tabs ──── */
.filter-tabs { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; justify-content: center; }
.filter-tab {
  padding: 0.65rem 1.75rem; border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  border: 2px solid var(--border); color: var(--text-secondary);
  transition: all var(--transition); cursor: pointer; background: #fff;
  min-height: 46px;
}
.filter-tab:hover { border-color: var(--sage); color: var(--sage); background: var(--sage-pale); }
.filter-tab.active { background: var(--sage); color: #fff; border-color: var(--sage); }

/* ──── About Section ──── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-wrap { position: relative; }
.about-img-main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.about-img-accent {
  position: absolute; bottom: -28px; right: -28px;
  width: 44%; aspect-ratio: 1; border-radius: var(--radius-md);
  object-fit: cover; border: 7px solid var(--cream); box-shadow: var(--shadow-md);
}
.about-text h2 { margin-bottom: 1.75rem; }
.about-text p { margin-bottom: 1.5rem; font-size: 1rem; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.about-value-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.about-value-icon { width: 38px; height: 38px; background: var(--sage-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.about-value-text strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.about-value-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ──── Stats Bar ──── */
.stats-section { background: var(--sage-dark); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 2rem; }
.stat-item { padding: 1rem 0; border-right: 1px solid rgba(255,255,255,0.18); }
.stat-item:last-child { border-right: none; }
.stat-num   { font-family: var(--font-serif); font-size: 3rem; font-weight: 400; color: #fff; display: block; line-height: 1; margin-bottom: 0.6rem; }
.stat-label { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72); font-weight: 600; }

/* ──── Reviews ──── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  border: 1px solid var(--border-light); position: relative; transition: box-shadow var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-card::before {
  content: '\201C'; position: absolute; top: -4px; left: 24px;
  font-family: var(--font-serif); font-size: 6rem; line-height: 1;
  color: var(--sage-pale); pointer-events: none;
}
.review-stars { color: #C4A052; font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; white-space: nowrap; }
.review-text  { font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary); font-style: italic; margin-bottom: 1.5rem; }
.review-author { display: flex; align-items: center; gap: 0.9rem; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--sage-pale); overflow: hidden; flex-shrink: 0; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); display: block; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }

/* Reviews photo gallery */
.reviews-photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.review-photo { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); cursor: pointer; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.review-photo:hover img { transform: scale(1.1); }

/* ──── Show Section ──── */
.show-section { background: linear-gradient(140deg, #1C2B23 0%, #2A3E30 100%); position: relative; overflow: hidden; }
.show-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(107,143,116,0.15) 0%, transparent 60%); }
.show-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.show-text .section-label { color: var(--sage-light); }
.show-text h2 { color: #fff; margin-bottom: 1.5rem; }
.show-text p  { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1rem; }
.show-video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: rgba(0,0,0,0.35); box-shadow: var(--shadow-lg); cursor: pointer; }
.show-video-wrap iframe { width: 100%; height: 100%; border: none; }
.show-play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.2); transition: background var(--transition); }
.show-play-overlay:hover { background: rgba(0,0,0,0.05); }
.play-circle {
  width: 80px; height: 80px; background: rgba(255,255,255,0.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; padding-left: 6px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.35); transition: transform var(--transition);
}
.show-play-overlay:hover .play-circle { transform: scale(1.08); }

/* ──── Ingredient Ticker ──── */
.ticker-strip {
  background: var(--warm); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light);
  overflow: hidden; padding: 1.1rem 0; white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: tickerMove 38s linear infinite; }
.ticker-strip:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-serif); font-size: 1.05rem; color: var(--text-secondary);
  padding: 0 1.4rem; display: inline-flex; align-items: center; gap: 2.8rem;
}
.ticker-item::after { content: '✦'; font-size: 0.7rem; color: var(--sage); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ──── Show page extras ──── */
.show-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.show-topic-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem; transition: all var(--transition);
}
.show-topic-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.show-topic-num {
  font-family: var(--font-serif); font-size: 2.2rem; color: var(--sage-light);
  display: block; line-height: 1; margin-bottom: 1.1rem;
}
.show-topic-card h4 { font-size: 1.12rem; margin-bottom: 0.7rem; }
.show-topic-card p  { font-size: 0.9rem; margin: 0; }
@media (max-width: 768px) { .show-topics { grid-template-columns: 1fr; } }

.btn-yt { background: #fff; color: #1C2B23; border-color: #fff; }
.btn-yt:hover { background: var(--sage-pale); border-color: var(--sage-pale); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ──── Newsletter ──── */
.newsletter-section { background: var(--sage-pale); padding: 3.5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.newsletter-text h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.newsletter-text p  { font-size: 0.95rem; margin: 0; }
.newsletter-form    { display: flex; gap: 0.85rem; flex: 1; max-width: 460px; }
.newsletter-input {
  flex: 1; padding: 0.9rem 1.35rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--text-primary);
  background: #fff; outline: none; transition: border-color var(--transition);
  min-height: 52px;
}
.newsletter-input:focus { border-color: var(--sage); }
.newsletter-input::placeholder { color: var(--text-muted); }

/* ──── Footer ──── */
.footer { background: #14140E; color: rgba(255,255,255,0.75); padding: 5rem 0 2.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.35); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin-top: 1rem; max-width: 270px; line-height: 1.75; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.social-link {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
  transition: all var(--transition); color: rgba(255,255,255,0.6);
}
.social-link:hover { border-color: var(--sage-light); color: var(--sage-light); background: rgba(107,143,116,0.15); }
.footer-col h5 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.75rem; font-family: var(--font-sans); font-weight: 700; }
.footer-links { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 0.85rem; }
.footer-contact-item a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.3); }

/* ──── Cart Drawer ──── */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw); background: var(--cream); z-index: 1101;
  transform: translateX(100%); transition: transform var(--transition-slow);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 1.75rem 2rem; border-bottom: 1px solid var(--border); }
.cart-drawer-header h3 { font-size: 1.2rem; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-empty { text-align: center; padding: 3.5rem 1rem; }
.cart-empty-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: 0.3; }
.cart-empty h4 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--text-secondary); font-family: var(--font-serif); }
.cart-empty p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 1.1rem; background: #fff; border-radius: var(--radius-md); padding: 1rem; align-items: center; }
.cart-item-img { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; background: var(--sage-pale); }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; line-height: 1.35; }
.cart-item-price { font-size: 0.92rem; color: var(--sage); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 0.6rem; margin-top: 8px; }
.qty-btn { width: 28px; height: 28px; border: 2px solid var(--border); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: all var(--transition); line-height: 1; }
.qty-btn:hover { border-color: var(--sage); color: var(--sage); }
.qty-num { font-size: 0.9rem; min-width: 20px; text-align: center; font-weight: 700; }
.cart-item-remove { color: var(--text-muted); font-size: 1rem; transition: color var(--transition); align-self: flex-start; padding: 3px; }
.cart-item-remove:hover { color: #B54A2A; }
.cart-drawer-footer { padding: 1.5rem 2rem; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.cart-subtotal span { font-size: 0.9rem; color: var(--text-secondary); }
.cart-subtotal strong { font-size: 1.2rem; color: var(--text-primary); font-family: var(--font-serif); }
.cart-checkout-btn { width: 100%; padding: 1rem; font-size: 0.92rem; min-height: 56px; }

/* ──── Page Header ──── */
.page-header { background: linear-gradient(135deg, var(--sage-pale) 0%, #EEE8DA 100%); padding: calc(var(--header-height) + 3.5rem) 0 3rem; text-align: center; }
.page-header h1 { margin-bottom: 0.6rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.6rem; }
.breadcrumb a { color: var(--sage); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--sage-dark); }
.breadcrumb-sep { opacity: 0.5; }

/* ──── Catalog Toolbar ──── */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.catalog-search { position: relative; flex: 1; max-width: 360px; }
.catalog-search input {
  width: 100%; padding: 0.85rem 1.2rem 0.85rem 3rem;
  border: 2px solid var(--border); border-radius: var(--radius-full);
  font-size: 0.95rem; outline: none; background: #fff; color: var(--text-primary);
  transition: border-color var(--transition); min-height: 52px;
}
.catalog-search input:focus { border-color: var(--sage); }
.search-icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; font-size: 0.9rem; }
.catalog-right { display: flex; align-items: center; gap: 1.1rem; }
.catalog-sort-select {
  padding: 0.75rem 1.1rem; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--text-secondary); background: #fff;
  outline: none; cursor: pointer; transition: border-color var(--transition); min-height: 52px;
}
.catalog-sort-select:focus { border-color: var(--sage); }
.catalog-count { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }

/* ──── Contacts ──── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form  { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.04em; }
.form-input, .form-textarea {
  padding: 0.9rem 1.2rem; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; color: var(--text-primary);
  background: #fff; outline: none; transition: border-color var(--transition);
  min-height: 52px;
}
.form-input:focus, .form-textarea:focus { border-color: var(--sage); }
.form-textarea { resize: vertical; min-height: 140px; }
.contact-info h3 { margin-bottom: 2.25rem; }
.contact-item { display: flex; gap: 1.1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.contact-icon { width: 50px; height: 50px; background: var(--sage-pale); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.contact-item-text a, .contact-item-text p { font-size: 0.95rem; color: var(--text-secondary); transition: color var(--transition); margin: 0; }
.contact-item-text a:hover { color: var(--sage); }

/* ──── About Page ──── */
.about-hero-section { background: linear-gradient(135deg, var(--sage-pale) 0%, #EDE8DE 100%); padding: calc(var(--header-height) + 4.5rem) 0 4.5rem; }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.about-story-section { padding: 6rem 0; }
.about-story-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; }
.about-story-sidebar h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.about-story-sidebar p { font-size: 0.95rem; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.philosophy-card { background: #fff; border-radius: var(--radius-lg); padding: 2.25rem 1.75rem; border: 1px solid var(--border-light); text-align: center; transition: all var(--transition); }
.philosophy-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.philosophy-icon { font-size: 2.25rem; margin-bottom: 1.25rem; }
.philosophy-card h4 { font-size: 1.15rem; margin-bottom: 0.85rem; }
.philosophy-card p  { font-size: 0.9rem; }

/* ──── Modal / Lightbox ──── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.lightbox-overlay.open { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close { position: fixed; top: 1.5rem; right: 1.5rem; color: #fff; font-size: 2rem; background: rgba(255,255,255,0.14); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.lightbox-close:hover { background: rgba(255,255,255,0.24); }

/* ──── Toast ──── */
.toast-container { position: fixed; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; pointer-events: none; }
.toast {
  background: var(--text-primary); color: #fff; padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full); font-size: 0.88rem; font-weight: 600;
  animation: toastIn 0.3s ease both; white-space: nowrap; box-shadow: var(--shadow-md);
}
.toast.success { background: var(--sage-dark); }

/* ──── Back To Top ──── */
.back-to-top {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 50px; height: 50px; background: var(--sage); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-md); z-index: 900;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
.back-to-top:hover { background: var(--sage-dark); transform: translateY(-3px); }

/* ──── Scroll Reveal ──── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ──── Animations ──── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.anim-up { animation: fadeInUp 0.8s ease both; }
.anim-up-1 { animation: fadeInUp 0.8s ease 0.1s both; }
.anim-up-2 { animation: fadeInUp 0.8s ease 0.2s both; }
.anim-up-3 { animation: fadeInUp 0.8s ease 0.3s both; }

/* ──── No results ──── */
.no-results { text-align: center; padding: 5rem 2rem; grid-column: 1 / -1; }
.no-results h3 { font-size: 1.6rem; margin-bottom: 0.85rem; color: var(--text-muted); font-family: var(--font-serif); }
.no-results p { font-size: 0.95rem; }

/* ──── Product Modal ──── */
.product-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.58);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.product-modal-overlay.open { opacity: 1; visibility: visible; }
.product-modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 900px; width: 100%; max-height: 92vh; overflow-y: auto;
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.28);
  transform: translateY(28px); transition: transform 0.3s ease;
}
.product-modal-overlay.open .product-modal { transform: translateY(0); }
.product-modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem; z-index: 10;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: background var(--transition);
}
.product-modal-close:hover { background: var(--sage-pale); }
.product-modal-inner { display: grid; grid-template-columns: 1fr 1fr; }
.product-modal-img {
  background: linear-gradient(160deg, #EAF0EB 0%, #F5EEE4 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  overflow: hidden; aspect-ratio: 3/4; min-height: 400px;
}
.product-modal-img img { width: 100%; height: 100%; object-fit: contain; padding: 2.5rem; }
.product-modal-info { padding: 2.75rem 2.25rem 2.25rem; display: flex; flex-direction: column; }
.product-modal-name { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 400; color: var(--text-primary); margin: 0.5rem 0 1.25rem; line-height: 1.25; }
.product-modal-price { font-size: 1.45rem; font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; }
.product-modal-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.75rem; }
.product-modal-composition { background: var(--cream); border-radius: var(--radius-md); padding: 1.4rem; margin-bottom: 1.75rem; }
.product-modal-composition h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-dark); font-weight: 700; margin-bottom: 0.7rem; }
.product-modal-composition p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }
.product-modal-actions { margin-top: auto; }
.product-modal-actions .btn { width: 100%; min-height: 56px; font-size: 0.95rem; }
@media (max-width: 640px) {
  .product-modal-inner { grid-template-columns: 1fr; }
  .product-modal-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 4/3; min-height: 240px; }
  .product-modal-info { padding: 1.75rem; }
}

/* ──── Instagram Grid ──── */
.instagram-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem; margin-top: 2.5rem;
}
@media (max-width: 1024px) { .instagram-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
.insta-item {
  aspect-ratio: 1; background: var(--sage-pale); overflow: hidden;
  border-radius: var(--radius-sm); display: block;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insta-item:hover img { transform: scale(1.07); }

/* ──── Model photo placeholder SVG cards ──── */
.product-model-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.product-image-wrap img { position: relative; z-index: 1; }

/* ──── Responsive: 1024px ──── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .about-story-grid { grid-template-columns: 1fr; }
}

/* ──── Responsive: 768px ──── */
@media (max-width: 768px) {
  :root { --header-height: 64px; }
  html { font-size: 16px; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .container { padding: 0 1.25rem; }
  .header-inner { padding: 0 1.25rem; }

  /* Темп страницы: меньше пустоты между секциями */
  .section     { padding: 3.5rem 0; }
  .section-sm  { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .section-header p { font-size: 0.95rem; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content {
    grid-template-columns: 1fr; text-align: center; gap: 2rem;
    padding: calc(var(--header-height) + 2rem) 1.25rem 3rem;
  }
  /* На мобилке сначала текст «Косметика, которая работает», ниже — «окошко».
     Картинку крема прячем. */
  .hero-image { order: 1; animation: none; }
  .hero-img-main { display: none; }
  .hero-badge {
    position: static; transform: none; margin: 0 auto;
    width: fit-content; max-width: 100%; padding: 0.8rem 1.2rem;
  }
  .hero-label { font-size: 0.68rem; padding: 0.35rem 1rem; margin-bottom: 1.1rem; }
  .hero h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); margin-bottom: 1.25rem; }
  .hero-desc { font-size: 0.98rem; margin: 0 auto 1.75rem; line-height: 1.7; }
  .hero-actions { justify-content: center; gap: 0.75rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats {
    justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
    margin-top: 2rem; padding-top: 1.75rem;
  }
  .hero-stats > div { flex: 1 1 0; min-width: 90px; }
  .hero-stat-num { font-size: 1.7rem; }
  .hero-stat-label { font-size: 0.64rem; letter-spacing: 0.05em; }

  .ticker-strip { padding: 0.75rem 0; }
  .ticker-item { font-size: 0.92rem; padding: 0 1rem; gap: 2rem; }

  /* Сетки страниц */
  .about-grid, .show-grid, .contacts-grid, .about-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img-accent { display: none; }
  .choose-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
  .form-2col { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .reviews-photos { grid-template-columns: repeat(3, 1fr); }
  .features-strip { padding: 1rem 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border-light); padding: 1rem 0; }
  .feature-item:last-child { border-bottom: none; }
  .feature-icon { font-size: 1.5rem; }

  /* Карточки товара: тач-версия без hover-слоя, компактные отступы */
  .product-actions-overlay { display: none; }
  .product-info { padding: 0.9rem 0.9rem 1rem; }
  .product-category { font-size: 0.62rem; letter-spacing: 0.1em; }
  .product-name { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .product-price-row { margin-bottom: 0.7rem; flex-wrap: wrap; gap: 0.25rem; }
  .product-price { font-size: 0.95rem; }
  .product-rating { font-size: 0.65rem; }
  .product-buy-btn { padding: 0.7rem 0.4rem; font-size: 0.7rem; letter-spacing: 0.03em; }
  .product-image-wrap img { padding: 1rem; }

  /* Табы фильтров: горизонтальная прокрутка вместо трёх рядов */
  .filter-tabs {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    margin: 0 -1.25rem 1.75rem; padding: 0.25rem 1.25rem;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-tab { flex: 0 0 auto; padding: 0.5rem 1.15rem; min-height: 40px; font-size: 0.78rem; }

  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; max-width: 100%; }

  .footer { padding: 3rem 0 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
  .footer-col h5 { margin-bottom: 1rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; font-size: 0.75rem; }

  .catalog-search { max-width: 100%; width: 100%; }
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 0.85rem; margin-bottom: 1.75rem; }
  .catalog-right { justify-content: space-between; }
  .catalog-sort-select { flex: 1; }

  .philosophy-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .page-header { padding-top: calc(var(--header-height) + 2rem); padding-bottom: 2rem; }

  .stats-section { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .stat-item { padding: 0.25rem 0; border-right: none; }
  .stat-num { font-size: 2rem; margin-bottom: 0.35rem; }
  .stat-label { font-size: 0.68rem; letter-spacing: 0.06em; }

  .show-text { text-align: center; }
  .show-text > div { justify-content: center; }
  .show-text .btn { flex: 1 1 100%; }

  .toast { white-space: normal; max-width: calc(100vw - 2rem); text-align: center; }
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .back-to-top { width: 44px; height: 44px; bottom: 1.25rem; right: 1.25rem; }

  .btn { padding: 0.9rem 1.6rem; white-space: normal; line-height: 1.4; max-width: 100%; }
  .btn-lg { padding: 1rem 1.75rem; font-size: 0.85rem; min-height: 54px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .product-buy-btn { font-size: 0.64rem; }
  .reviews-photos { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
  .hero-img-main { max-width: 210px; }
  .review-card { padding: 1.5rem 1.25rem; }
  .product-modal-info { padding: 1.5rem 1.25rem; }
}

/* ─── Выбор объёма в модалке товара ─── */
.modal-size-btn {
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-light);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-primary);
  transition: all var(--transition);
}
.modal-size-btn:hover { border-color: var(--sage); }
.modal-size-btn.active {
  border-color: var(--sage);
  background: var(--sage-pale);
  font-weight: 600;
}
