﻿/* ─── Belarusian ruble icon font (official NBRB glyph) ─────────────────── */
@font-face {
  font-family: "nbrb";
  src: url("/assets/fonts/nbrb.woff2") format("woff2"),
       url("/assets/fonts/nbrb.ttf") format("truetype"),
       url("/assets/fonts/nbrb.woff") format("woff");
  unicode-range: U+E901, U+42, U+59, U+4E;
}
.nbrb-icon {
  font-family: "nbrb" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: normal;
  -webkit-font-feature-settings: "liga";
  -moz-font-feature-settings: "liga=1";
  font-feature-settings: "liga";
  -webkit-font-variant-ligatures: discretionary-ligatures;
  font-variant-ligatures: discretionary-ligatures;
}
.nbrb-icon-byn:before {
  content: "\e901";
}

/* ─── Preorder terms info icon + tooltip ────────────────────────────────── */
.preorder-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(239,68,68,.15);
  color: #ef4444;
  font-size: .625rem;
  font-weight: 700;
  line-height: 1;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  vertical-align: middle;
}
.preorder-info-btn:hover { background: rgba(239,68,68,.28); }
#preorderInfoTip {
  position: fixed;
  z-index: 9999;
  max-width: 280px;
  background: #1d1d1f;
  color: #fff;
  font-size: .75rem;
  line-height: 1.5;
  padding: .75rem .875rem;
  border-radius: .625rem;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
#preorderInfoTip[hidden] { display: none; }

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2c9653;
  --primary-hover: #257f46;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 2px 16px rgba(0,0,0,.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Elements using heading font (mirrors Next.js font-heading class) */
.hero__title, .section-title, .cta-title,
.category-card__name, .blog-card__title,
.blog-card__num, .site-logo__text, .footer-logo__text {
  font-family: "Outfit", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* ─── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-logo__icon {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.site-logo__icon svg { width: 16px; height: 16px; fill: white; }
.site-logo__text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.site-search {
  position: relative;
  flex: 1;
  display: none;
}
@media (min-width: 768px) { .site-search { display: block; } }
.site-search__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-muted);
  pointer-events: none;
}
.site-search input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 0 1rem 0 2.25rem;
  font-size: 0.875rem;
  color: var(--text);
  transition: all .2s;
}
.site-search input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(44,150,83,.15);
}
.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) { .site-nav { display: flex; } }
.site-nav a {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(29,29,31,.65);
  border-radius: var(--radius);
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
@media (min-width: 768px) { .header-actions { margin-left: 0; } }
.header-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: background .2s;
}
.header-btn:hover { background: var(--bg-alt); }
.header-btn svg { width: 16px; height: 16px; }
/* ─── Cart icon button (header) ─────────────────────────────────────────── */
.cart-btn {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.10);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  border: none;
  cursor: pointer;
  transition: box-shadow .2s;
  flex-shrink: 0;
}
.cart-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.cart-btn svg { width: 16px; height: 16px; }
.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  width: 16px; height: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.5625rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* ─── Cart drawer ────────────────────────────────────────────────────────── */
.cart-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 60;
}
.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 384px;
  background: var(--bg-alt);
  z-index: 61;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e8e8ed;
  flex-shrink: 0;
}
.cart-drawer__eyebrow {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}
.cart-drawer__title {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.cart-drawer__title-count { font-weight: 400; color: var(--text-muted); }
.cart-drawer__close {
  width: 32px; height: 32px;
  border-radius: var(--radius);
  border: none;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background .15s;
  flex-shrink: 0;
}
.cart-drawer__close:hover { background: #e8e8ed; }
.cart-drawer__close svg { width: 16px; height: 16px; }

/* ─── Плавающий виджет обратной связи ───────────────────────────────────── */
.feedback-fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 998;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  cursor: pointer; transition: transform .15s, background .15s;
}
.feedback-fab:hover { background: var(--primary-hover); transform: scale(1.05); }
.feedback-panel {
  position: fixed; right: 1.5rem; bottom: 5.5rem; z-index: 998;
  width: 100%; max-width: 340px;
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0,0,0,.18);
  padding: 1.25rem;
}
.feedback-panel[hidden] { display: none; }
.feedback-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.feedback-panel__title { font-size: 1rem; font-weight: 700; color: var(--text); }
@media (max-width: 480px) {
  .feedback-panel { right: 1rem; left: 1rem; max-width: none; bottom: 5rem; }
  .feedback-fab { right: 1rem; bottom: 1rem; }
}

/* Empty state */
.cart-drawer__empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  text-align: center;
}
.cart-drawer__empty-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
}
.cart-drawer__empty-icon svg { width: 28px; height: 28px; color: rgba(110,110,115,.4); }
.cart-drawer__empty-title {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.cart-drawer__empty-sub { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.25rem; }
.cart-drawer__to-catalog {
  display: inline-flex;
  padding: 0.5rem 1.25rem;
  border: 1px solid #d1d1d6;
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: box-shadow .15s;
  text-decoration: none;
}
.cart-drawer__to-catalog:hover { box-shadow: 0 2px 8px rgba(0,0,0,.10); }

/* Items list */
.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cart-item {
  display: flex;
  gap: 0.75rem;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0.875rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.cart-item__avatar {
  width: 40px; height: 40px;
  border-radius: 0.75rem;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: rgba(29,29,31,.2);
  flex-shrink: 0;
}
.cart-item__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.cart-item__brand {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.cart-item__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__unit { font-size: 0.75rem; color: var(--text-muted); }
.cart-item__row {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item__stepper {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bg-alt);
}
.cart-item__stepper button {
  width: 28px; height: 28px;
  border: none;
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s;
}
.cart-item__stepper button:hover { color: var(--text); }
.cart-item__stepper button svg { width: 12px; height: 12px; }
.cart-item__qty {
  width: 24px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}
.cart-item__right { display: flex; align-items: center; gap: 0.5rem; }
.cart-item__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}
.cart-item__remove {
  background: none; border: none; cursor: pointer;
  color: rgba(110,110,115,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: color .15s;
}
.cart-item__remove:hover { color: #ef4444; }
.cart-item__remove svg { width: 14px; height: 14px; }

/* Footer */
.cart-drawer__footer {
  flex-shrink: 0;
  padding: 1.25rem;
  background: #fff;
  border-top: 1px solid #e8e8ed;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cart-drawer__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer__total-label { font-size: 0.875rem; color: var(--text-muted); }
.cart-drawer__total-value {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.cart-drawer__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.cart-drawer__checkout:hover { background: var(--primary-hover); }
.cart-drawer__checkout:active { transform: scale(0.98); }
.cart-drawer__checkout svg { width: 16px; height: 16px; }

/* ─── Mobile nav ────────────────────────────────────────────────────────── */
.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 50;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 288px;
  background: #fff;
  z-index: 51;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.mobile-nav__links { padding: 1rem 0.75rem; flex: 1; }
.mobile-nav__links a {
  display: flex;
  align-items: center;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(29,29,31,.7);
  border-radius: var(--radius);
  transition: all .15s;
}
.mobile-nav__links a:hover { background: var(--bg-alt); color: var(--text); }
.mobile-nav__footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { background: #fff; padding: 2.5rem 0; }
@media (min-width: 768px) { .hero { padding: 3.5rem 0 4rem; } }
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 460px; }
}
@media (min-width: 1280px) {
  .hero__grid { grid-template-columns: 1fr 520px; }
}
.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}
@media (min-width: 768px) { .hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 4rem; } }
.hero__title span { color: var(--primary); }
.hero__desc {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 28rem;
}
.hero__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-primary:hover { background: var(--primary-hover); gap: 0.75rem; }
.btn-primary:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--border); gap: 0.5rem; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background .2s;
}
.btn-secondary:hover { background: #e8e8ed; }
.hero__stats {
  margin-top: 2.5rem;
  display: flex;
  border-left: none;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  border-left: 1px solid var(--border);
}
.hero__stat:first-child { padding-left: 0; border-left: none; }
.hero__stat-value { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.hero__stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }

/* ─── Banner carousel ───────────────────────────────────────────────────── */
.banner-carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 4/3;
}
.banner-carousel__slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.banner-carousel__slide.active { display: block; }
.banner-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
}
.banner-carousel__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.5);
  transition: all .3s;
  cursor: pointer;
  border: none;
}
.banner-carousel__dot.active { background: #fff; width: 18px; }

/* ─── Brands marquee ────────────────────────────────────────────────────── */
.brands-section {
  background: var(--bg-alt);
  border-top: 1px solid rgba(210,210,215,.6);
  border-bottom: 1px solid rgba(210,210,215,.6);
  padding: 1.75rem 0;
}
.brands-eyebrow {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.brands-track-wrap { overflow: hidden; }
.brands-track {
  display: flex;
  gap: 2.5rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-lg);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
  min-width: 110px;
}
.brand-item:hover { color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ─── Section headers ───────────────────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text);
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
@media (min-width: 640px) { .section-link { display: flex; } }
.section-link:hover { color: var(--text); }
.section-link svg { width: 16px; height: 16px; }

/* ─── Categories grid ───────────────────────────────────────────────────── */
.categories-section { background: var(--bg-alt); padding: 3rem 0; }
.categories-section .container { padding: 0 0.75rem; }
@media (min-width: 768px) { .categories-section .container { padding: 0 1rem; } }
@media (min-width: 768px) { .categories-section { padding: 4rem 0; } }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 0.5rem;
}
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(5, 1fr); gap: 0.625rem; } }
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.625rem;
  aspect-ratio: 1.4;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  text-decoration: none;
}
@media (min-width: 768px) {
  .category-card { padding: 0.875rem; aspect-ratio: 1.7; }
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.category-card.wide { grid-column: span 2; aspect-ratio: 2.8; }
@media (min-width: 768px) { .category-card.wide { aspect-ratio: 3.4; } }
@media (min-width: 1100px) {
  .categories-section .container { max-width: 1400px; }
  .categories-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1600px) {
  .categories-section .container { max-width: 1770px; }
  .categories-grid { grid-template-columns: repeat(10, 1fr); }
  .category-card { padding: 0.625rem; aspect-ratio: 1.4; }
  .category-card.wide { aspect-ratio: 2.8; }
  .category-card__icon { width: 18px; height: 18px; }
  .category-card__name { font-size: 0.75rem; }
}
.category-card__icon {
  width: 18px; height: 18px;
  color: rgba(29,29,31,.25);
  transition: color .3s;
}
@media (min-width: 768px) { .category-card__icon { width: 22px; height: 22px; } }
.category-card:hover .category-card__icon { color: var(--primary); }
.category-card__body { margin-top: auto; padding-top: 0.375rem; }
.category-card__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
}
@media (min-width: 768px) { .category-card__name { font-size: 0.875rem; } }
.category-card__desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-card__arrow {
  position: absolute;
  bottom: 0.625rem; right: 0.625rem;
  width: 13px; height: 13px;
  color: rgba(29,29,31,.2);
  transition: all .3s;
}
@media (min-width: 768px) { .category-card__arrow { bottom: 0.875rem; right: 0.875rem; } }
.category-card:hover .category-card__arrow { transform: translateX(3px); color: var(--primary); }

/* ─── Promo scroll ──────────────────────────────────────────────────────── */
.promo-section { background: #fff; padding: 3rem 0; }
@media (min-width: 768px) { .promo-section { padding: 4rem 0; } }
.promo-track-wrap {
  position: relative;
}
.promo-track-wrap::before,
.promo-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 3rem;
  z-index: 2;
  pointer-events: none;
}
.promo-track-wrap::before { left: 0;  background: linear-gradient(to right, #fff, transparent); }
.promo-track-wrap::after  { right: 0; background: linear-gradient(to left,  #fff, transparent); }
.promo-track {
  display: flex;
  overflow-x: auto;
  padding: 0.25rem 1rem 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.promo-track::-webkit-scrollbar { display: none; }
.promo-card {
  position: relative;
  width: 208px;
  flex-shrink: 0;
  margin: 0 0.5rem;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.promo-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.11); transform: translateY(-2px); }
.promo-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  padding: 0.125rem 0.625rem;
  background: #ef4444;
  color: #fff;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.4;
}
.promo-card__brand {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.promo-card__name {
  margin-top: 0.375rem;
  flex: 1;
  font-family: "Outfit", "Inter", -apple-system, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.promo-card:hover .promo-card__name { color: var(--primary); }
.promo-card__unit {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.promo-card__prices {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0f0;
}
.promo-card__price {
  font-family: "Outfit", "Inter", -apple-system, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.promo-card__old-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 1px;
}

/* ─── Product card ──────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__img {
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.product-card__brand { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.25rem; }
.product-card__name { font-size: 0.9375rem; font-weight: 600; color: var(--text); line-height: 1.4; flex: 1; }
.product-card__price { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-top: 0.75rem; }
.product-card__add {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.625rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: background .2s;
}
.product-card__add:hover { background: var(--primary-hover); }

/* ─── Blog grid ─────────────────────────────────────────────────────────── */
.blog-section { background: var(--bg-alt); padding: 3rem 0; }
@media (min-width: 768px) { .blog-section { padding: 4rem 0; } }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  text-decoration: none;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card.hero { padding: 2rem; }
@media (min-width: 768px) { .blog-card.hero { grid-column: span 2; grid-row: span 2; } }
.blog-card__num {
  position: absolute;
  right: 1rem; top: 0.75rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(29,29,31,.04);
  pointer-events: none;
  user-select: none;
}
.blog-card.hero .blog-card__num { font-size: 7rem; right: 1.5rem; top: 1rem; }
.blog-card__cat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.blog-card__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.blog-card__cat-name {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  transition: color .2s;
}
.blog-card.hero .blog-card__title { font-size: 1.6rem; }
.blog-card:hover .blog-card__title { color: var(--primary); }
.blog-card__excerpt {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  margin-top: 1.5rem;
  padding-top: 1rem;
}
.blog-card__date { font-size: 0.75rem; color: var(--text-muted); }
.blog-card__read { display: flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; color: var(--text-muted); }
.blog-card__read svg { width: 12px; height: 12px; }

/* ─── CTA banner ────────────────────────────────────────────────────────── */
.cta-section { background: #fff; padding: 3rem 0; }
@media (min-width: 768px) { .cta-section { padding: 4rem 0; } }
.cta-inner {
  border-radius: 1.5rem;
  background: var(--text);
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 768px) { .cta-inner { padding: 3.5rem 4rem; } }
.cta-eyebrow { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.cta-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; color: #fff; max-width: 36rem; margin: 0 auto; }
.cta-desc { margin: 1rem auto 0; max-width: 32rem; color: #a1a1a6; font-size: 0.9375rem; }
.cta-btns { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.btn-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: #fff; color: var(--text);
  border-radius: 999px; font-size: 0.875rem; font-weight: 600;
  transition: all .2s;
}
.btn-white:hover { background: rgba(255,255,255,.9); gap: 0.75rem; }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  border-radius: 999px; font-size: 0.875rem; font-weight: 600;
  transition: background .2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-white svg, .btn-outline-white svg, .btn-primary svg, .btn-secondary svg { width: 16px; height: 16px; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: #0d1a0d; color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.625rem; }
.footer-logo__icon {
  width: 36px; height: 36px;
  background: var(--primary); border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo__icon svg { width: 20px; height: 20px; fill: #fff; }
.footer-logo__text { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,.55); line-height: 1.6; max-width: 16rem; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all .2s;
}
.footer-social a:hover { border-color: rgba(44,150,83,.6); background: rgba(44,150,83,.15); color: var(--primary); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 0.75rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-contacts { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-contact { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.footer-contact a, .footer-contact span, .footer-contact p { font-size: 0.875rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .footer-bottom__inner { flex-direction: row; justify-content: space-between; } }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,.35); }
.footer-copy p + p { margin-top: 2px; }
.payment-badges { display: flex; gap: 0.5rem; }
.payment-badge {
  height: 28px;
  padding: 0 0.625rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,.5);
  display: flex; align-items: center;
}

/* ─── Catalog page ──────────────────────────────────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 260px 1fr; } }
.catalog-sidebar {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}
.filter-section { margin-bottom: 1.5rem; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.filter-list { display: flex; flex-direction: column; gap: 0.375rem; }
.filter-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.625rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s;
  font-size: 0.875rem; color: rgba(29,29,31,.7);
}
.filter-item:hover { background: var(--bg-alt); }
.filter-item.active { background: rgba(44,150,83,.08); color: var(--primary); font-weight: 500; }
.filter-item input { display: none; }

/* ─── Catalog v2: category tabs ─────────────────────────────────────────── */
.cat-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: box-shadow .15s;
  white-space: nowrap;
  cursor: pointer;
}
.cat-tab:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cat-tab.active { background: var(--text); color: #fff; box-shadow: none; }

/* Desktop sidebar (flex-child, not grid) */
.cat-sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 288px;
  background: var(--bg-alt);
  z-index: 51;
  overflow-y: auto;
  padding: 2rem 1.25rem;
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.cat-sidebar.open { transform: translateX(0); }
@media (min-width: 1024px) {
  .cat-sidebar {
    position: static;
    width: 224px;
    flex-shrink: 0;
    transform: none;
    display: block;
    padding: 0;
    overflow: visible;
    background: transparent;
  }
}

/* Filter pills v2 — white bg + shadow, active = black */
.filter-pill-v2 {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: box-shadow .15s;
  white-space: nowrap;
  cursor: pointer;
}
.filter-pill-v2:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.filter-pill-v2.active { background: var(--text); color: #fff; box-shadow: none; }

/* Mobile filter button */
.mobile-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: none;
  cursor: pointer;
  transition: box-shadow .2s;
}
.mobile-filter-btn:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
@media (min-width: 1024px) { .mobile-filter-btn { display: none; } }

/* Product grid v2 */
.products-grid-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .products-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .products-grid-v2 { grid-template-columns: repeat(3, 1fr); } }

/* Product card v2 */
.product-card-v2 {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.product-card-v2:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.product-card-v2__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
}
.product-card-v2__brand {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.product-card-v2__badge {
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
}
.product-card-v2__name {
  margin-top: 0.75rem;
  font-family: "Outfit", "Inter", -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.product-card-v2:hover .product-card-v2__name { color: var(--primary); }
.product-card-v2__unit {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.product-card-v2__desc {
  margin-top: 0.5rem;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-v2__goal {
  border-radius: 999px;
  background: var(--bg-alt);
  padding: 0.125rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text);
}
.product-card-v2__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding: 0.875rem 1.25rem;
}
.product-card-v2__price {
  font-family: "Outfit", "Inter", -apple-system, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.product-card-v2__old-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 1px;
}

/* ─── Checkout ──────────────────────────────────────────────────────────── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 0;
}
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: 1fr 380px; } }
.checkout-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.checkout-summary {
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  height: fit-content;
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: 0.375rem; }
.form-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 0.875rem;
  font-size: 0.9375rem;
  color: var(--text);
  background: #fff;
  transition: all .2s;
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(44,150,83,.15); }

/* ─── Auth ──────────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 2rem 1rem;
}
.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}
.auth-card__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.auth-card__sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 2rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Utilities ─────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-primary { color: var(--primary); }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ─── Sticky icons (SVG inline helpers) ─────────────────────────────────── */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Catalog ────────────────────────────────────────────────────────────── */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 260px 1fr; } }

.catalog-sidebar {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: none;
}
@media (min-width: 1024px) { .catalog-sidebar { display: block !important; } }
.catalog-sidebar.open { display: block; }

.catalog-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.catalog-reset {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--text-muted);
  transition: color .2s;
}
.catalog-reset:hover { color: var(--primary); }

.filter-divider { height: 1px; background: #f0f0f0; margin: 1rem 0; }

.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: .375rem .875rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.filter-pill:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.filter-pill.active { background: var(--text); color: #fff; box-shadow: none; }

.filter-active-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  margin-left: .375rem;
  vertical-align: middle;
}

.catalog-filter-toggle {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
@media (min-width: 1024px) { .catalog-filter-toggle { display: none; } }
.catalog-filter-toggle:hover { border-color: var(--primary); color: var(--primary); }

.category-info-panel {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--primary);
}
.category-info-panel__name { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.category-info-panel__desc { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }

.catalog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}
.catalog-empty__icon { font-size: 3rem; margin-bottom: 1rem; }
.catalog-empty__title { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.catalog-empty__sub { margin-top: .375rem; font-size: .9375rem; color: var(--text-muted); }

/* ─── Basket ─────────────────────────────────────────────────────────────── */
.basket-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .basket-layout { grid-template-columns: 1fr 340px; } }

.basket-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.basket-item:last-child { border-bottom: none; }
.basket-item:hover { background: #fafafa; }

.basket-item__img {
  width: 64px; height: 64px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.basket-item__img img { width: 100%; height: 100%; object-fit: cover; }

.basket-item__info { flex: 1; min-width: 0; }
.basket-item__name {
  font-size: .9375rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.basket-item__price-unit { font-size: .8125rem; color: var(--text-muted); margin-top: .125rem; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.qty-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
  line-height: 1;
}
.qty-btn:hover { color: var(--text); }
.qty-val {
  min-width: 2rem;
  text-align: center;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
}

.basket-item__total {
  text-align: right;
  flex-shrink: 0;
  min-width: 80px;
}
.basket-item__total-val { display: block; font-size: 1rem; font-weight: 700; color: var(--text); }

.basket-item__remove {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: all .15s;
  flex-shrink: 0;
}
.basket-item__remove:hover { background: #fff0f0; color: #ff3b30; }

/* ─── Checkout ───────────────────────────────────────────────────────────── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: 1fr 360px; } }

.checkout-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.checkout-section-head {
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.checkout-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-lg);
  padding: .875rem 1rem;
  background: var(--bg-alt);
  cursor: pointer;
  transition: all .15s;
  color: var(--text);
}
.checkout-option:hover { background: #ebebed; }
.checkout-option.selected {
  background: var(--text);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.checkout-option__icon {
  width: 40px; height: 40px;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  flex-shrink: 0;
  transition: background .15s;
}
.checkout-option.selected .checkout-option__icon { background: rgba(255,255,255,.1); box-shadow: none; }
.checkout-option__icon svg { color: var(--text); }
.checkout-option.selected .checkout-option__icon svg { color: #fff; }
.checkout-option__sub { font-size: .75rem; color: var(--text-muted); margin-top: .125rem; }
.checkout-option.selected .checkout-option__sub { color: rgba(255,255,255,.6); }
.checkout-option__cost { font-size: .75rem; font-weight: 700; color: var(--primary); flex-shrink: 0; }
.checkout-option.selected .checkout-option__cost { color: rgba(255,255,255,.8); }

.checkout-label {
  display: block;
  font-size: .6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--text-muted);
  margin-bottom: .375rem;
}
.checkout-input {
  width: 100%;
  height: 46px;
  background: var(--bg-alt);
  border: none;
  border-radius: .75rem;
  padding: 0 1rem;
  font-size: .9375rem;
  color: var(--text);
  outline: none;
  transition: all .2s;
  placeholder: rgba(110,110,115,.5);
}
.checkout-input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(0,122,255,.18); }
.checkout-input.error { background: #fff0f0; box-shadow: 0 0 0 2px rgba(255,59,48,.3); }

.delivery-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  margin-top: .625rem;
  background: var(--bg-alt);
  border-radius: 999px;
  padding: .375rem .875rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  transition: background .15s;
}
.delivery-link:hover { background: #e8e8ed; }

.form-error { font-size: .75rem; color: #ff3b30; margin-top: .375rem; }

/* ─── Toast ──────────────────────────────────────────────────────────────── */
.bio-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 200;
  opacity: 0;
  transition: all .3s;
  pointer-events: none;
  white-space: nowrap;
}
.bio-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Spin animation ─────────────────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; }

/* ─── Auth pages ─────────────────────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  padding: 2rem 1rem;
  position: relative;
}
.auth-back {
  position: absolute;
  left: 1rem; top: 1rem;
  display: flex; align-items: center; gap: .375rem;
  font-size: .875rem; color: var(--text-muted);
  transition: color .2s;
}
@media (min-width: 768px) { .auth-back { left: 2rem; top: 2rem; } }
.auth-back:hover { color: var(--text); }
.auth-back svg { width: 16px; height: 16px; }

.auth-wrap { width: 100%; max-width: 400px; }
.auth-logo {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; margin-bottom: 1.5rem;
}
.auth-logo__icon {
  width: 48px; height: 48px;
  background: var(--primary);
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; font-weight: 700; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  margin-bottom: 1rem;
}
.auth-logo__sub {
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .25em;
  color: var(--text-muted);
}
.auth-logo__title {
  font-size: 1.5rem; font-weight: 700;
  color: var(--text); margin-top: .25rem;
}
.auth-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.auth-field { margin-bottom: 1rem; }
.auth-label {
  display: block;
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--text-muted); margin-bottom: .375rem;
}
.auth-input {
  width: 100%; height: 46px;
  background: var(--bg-alt);
  border: none; border-radius: .75rem;
  padding: 0 1rem;
  font-size: .9375rem; color: var(--text);
  outline: none; transition: all .2s;
}
.auth-input::placeholder { color: rgba(110,110,115,.6); }
.auth-input:focus { background: #fff; box-shadow: 0 0 0 3px rgba(0,122,255,.18); }
.auth-input.error { background: #fff0f0; box-shadow: 0 0 0 2px rgba(255,59,48,.3); }
.auth-error-msg {
  background: #fff0f0; border-radius: .75rem;
  padding: .75rem 1rem; font-size: .875rem;
  color: #c0392b; margin-bottom: 1rem;
}
.auth-submit {
  width: 100%; height: 46px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 999px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.auth-submit:hover { background: var(--primary-hover); }
.auth-submit:disabled { opacity: .5; cursor: not-allowed; }
.auth-footer {
  text-align: center; margin-top: 1.25rem;
  font-size: .875rem; color: var(--text-muted);
}
.auth-footer a { color: var(--primary); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }
.auth-bonus-promo {
  display: flex; align-items: center; gap: .75rem;
  background: var(--bg-alt); border-radius: .875rem;
  padding: .75rem 1rem; margin-bottom: 1rem;
}
.auth-bonus-promo__icon { font-size: 1.25rem; }
.auth-bonus-promo__title { font-size: .875rem; font-weight: 600; color: var(--text); }
.auth-bonus-promo__sub { font-size: .75rem; color: var(--text-muted); }
.auth-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
  margin-bottom: 1rem;
}

/* ─── Account layout ─────────────────────────────────────────────────────── */
.account-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0 4rem;
}
@media (min-width: 1024px) { .account-layout { grid-template-columns: 260px 1fr; } }

.account-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.account-user-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.account-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; color: #fff;
  margin-bottom: .75rem;
}
.account-user-name { font-size: .9375rem; font-weight: 600; color: var(--text); }
.account-user-email { font-size: .75rem; color: var(--text-muted); margin-top: .125rem; }
.account-tier-badge {
  display: inline-flex; align-items: center; gap: .375rem;
  border-radius: 999px; padding: .3rem .75rem;
  font-size: .75rem; font-weight: 600;
  margin-top: .75rem;
}

.account-nav {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: .5rem;
  box-shadow: var(--shadow-sm);
}
.account-nav a {
  display: flex; align-items: center; gap: .75rem;
  padding: .625rem .875rem;
  border-radius: var(--radius-lg);
  font-size: .9375rem; font-weight: 500;
  color: rgba(29,29,31,.7);
  transition: all .15s; text-decoration: none;
}
.account-nav a:hover { background: var(--bg-alt); color: var(--text); }
.account-nav a.active { background: rgba(44,150,83,.08); color: var(--primary); font-weight: 600; }
.account-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }

.account-nav__logout {
  border-top: 1px solid #f0f0f0;
  margin-top: .25rem; padding-top: .25rem;
}
.account-nav__logout a { color: rgba(255,59,48,.8) !important; }
.account-nav__logout a:hover { background: #fff0f0 !important; color: #ff3b30 !important; }

/* ─── Account content ────────────────────────────────────────────────────── */
.account-content { display: flex; flex-direction: column; gap: 1.5rem; }
.account-page-head { margin-bottom: .25rem; }
.account-page-title { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.account-page-sub { font-size: .875rem; color: var(--text-muted); margin-top: .25rem; }

.account-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.account-card__title {
  font-size: .9375rem; font-weight: 600;
  color: var(--text); margin-bottom: 1.25rem;
}
.account-form-grid {
  display: grid; grid-template-columns: 1fr;
  gap: .875rem;
}
@media (min-width: 640px) { .account-form-grid { grid-template-columns: 1fr 1fr; } }
.account-form-grid .span-2 { grid-column: 1 / -1; }
.account-divider { height: 1px; background: #f0f0f0; margin: 1.25rem 0; }

.save-btn {
  height: 44px; padding: 0 1.75rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 999px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; transition: background .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.save-btn:hover { background: var(--primary-hover); }
.save-btn:disabled { opacity: .5; cursor: not-allowed; }
.save-success {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; color: var(--primary);
}

/* ─── Order cards ────────────────────────────────────────────────────────── */
.order-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.order-card__head {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: .75rem; flex-wrap: wrap;
}
.order-card__id {
  font-family: monospace; font-size: .75rem; color: var(--text-muted);
}
.order-status {
  display: inline-flex; align-items: center;
  padding: .2rem .625rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600;
}
.order-status--new       { background: #dbeafe; color: #1d4ed8; }
.order-status--processing{ background: #fef9c3; color: #854d0e; }
.order-status--shipped   { background: #e0e7ff; color: #3730a3; }
.order-status--delivered { background: #dcfce7; color: #166534; }
.order-status--cancelled { background: #fee2e2; color: #991b1b; }
.order-card__meta {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; color: var(--text-muted); margin-top: .25rem;
}
.order-card__meta svg { width: 12px; height: 12px; }
.order-card__price { font-size: 1rem; font-weight: 700; color: var(--primary); }
.order-card__pay { font-size: .75rem; color: var(--text-muted); margin-top: .125rem; }
.order-card__bonus-off { font-size: .75rem; color: var(--primary); margin-top: .125rem; }
.order-card__items { border-top: 1px solid #f0f0f0; padding-top: 1rem; display: flex; flex-direction: column; gap: .375rem; }
.order-card__item { display: flex; justify-content: space-between; font-size: .875rem; }
.order-card__item-name { color: rgba(29,29,31,.8); }
.order-card__item-qty  { color: var(--text-muted); }
.order-card__bonus-earned {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(44,150,83,.06); border-radius: var(--radius-lg);
  padding: .625rem .875rem; font-size: .75rem; color: var(--primary);
}

/* ─── Bonus program ──────────────────────────────────────────────────────── */
.tier-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.tier-card--bronze  { background: #fdf4e7; border: 1px solid #f6d5a0; }
.tier-card--silver  { background: #f4f6f9; border: 1px solid #c8d0da; }
.tier-card--gold    { background: #fefce8; border: 1px solid #fde68a; }
.tier-card--platinum{ background: #f0f4ff; border: 1px solid #c7d2fe; }
.tier-card--base    { background: #fff;    border: 1px solid var(--border); }

.tier-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.tier-card__name { font-size: 2rem; font-weight: 700; }
.tier-card--bronze   .tier-card__name { color: #b45309; }
.tier-card--silver   .tier-card__name { color: #6b7280; }
.tier-card--gold     .tier-card__name { color: #d97706; }
.tier-card--platinum .tier-card__name { color: #4f46e5; }
.tier-card--base     .tier-card__name { color: var(--text-muted); }

.tier-card__pts { font-size: 2rem; font-weight: 700; }
.tier-card--bronze   .tier-card__pts { color: #b45309; }
.tier-card--silver   .tier-card__pts { color: #6b7280; }
.tier-card--gold     .tier-card__pts { color: #d97706; }
.tier-card--platinum .tier-card__pts { color: #4f46e5; }
.tier-card--base     .tier-card__pts { color: var(--text); }

.tier-discount-box {
  background: rgba(255,255,255,.6); border-radius: var(--radius-lg);
  padding: .75rem 1rem; margin-top: 1rem;
}
.tier-discount-box__title { font-size: .9375rem; font-weight: 600; color: var(--text); }
.tier-discount-box__sub { font-size: .75rem; color: var(--text-muted); margin-top: .125rem; }

.tier-progress { margin-top: 1rem; }
.tier-progress__labels {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--text-muted); margin-bottom: .375rem;
}
.tier-progress__bar {
  height: 8px; border-radius: 999px;
  background: rgba(255,255,255,.5); overflow: hidden;
}
.tier-progress__fill {
  height: 100%; border-radius: 999px; transition: width .5s ease;
}
.tier-card--bronze   .tier-progress__fill { background: #b45309; }
.tier-card--silver   .tier-progress__fill { background: #6b7280; }
.tier-card--gold     .tier-progress__fill { background: #d97706; }
.tier-card--platinum .tier-progress__fill { background: #4f46e5; }
.tier-card--base     .tier-progress__fill { background: var(--primary); }

.tiers-list { display: flex; flex-direction: column; gap: .5rem; }
.tier-row {
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--radius-lg); padding: .75rem 1rem;
  background: rgba(0,0,0,.025);
}
.tier-row.current { border: 1px solid; }
.tier-row.current.bronze  { background: #fdf4e7; border-color: #f6d5a0; }
.tier-row.current.silver  { background: #f4f6f9; border-color: #c8d0da; }
.tier-row.current.gold    { background: #fefce8; border-color: #fde68a; }
.tier-row.current.platinum{ background: #f0f4ff; border-color: #c7d2fe; }
.tier-row__left { display: flex; align-items: center; gap: .75rem; }
.tier-row__emoji { font-size: 1.375rem; }
.tier-row__name { font-size: .875rem; font-weight: 600; }
.tier-row__range { font-size: .75rem; color: var(--text-muted); }
.tier-row__discount { font-size: .875rem; font-weight: 700; }

.bonus-history { display: flex; flex-direction: column; }
.bonus-history-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 0; border-bottom: 1px solid #f0f0f0;
}
.bonus-history-row:last-child { border-bottom: none; }
.bonus-history-row__label { font-size: .875rem; color: var(--text); }
.bonus-history-row__date  { font-size: .75rem; color: var(--text-muted); margin-top: .125rem; }
.bonus-pts-plus  { font-size: .9375rem; font-weight: 700; color: var(--primary); }
.bonus-pts-minus { font-size: .9375rem; font-weight: 700; color: #ff3b30; }

/* ─── Info pages (delivery, about, contacts) ─────────────────────────────── */
.info-page { padding: 2rem 0 5rem; background: var(--bg-alt); min-height: 80vh; }

.info-page__head { text-align: center; padding: 2rem 0 3rem; }
.info-page__title { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--text); margin: .5rem 0; }
.info-page__sub { font-size: 1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

.info-section { margin-bottom: 2.5rem; }
.info-section__title {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.25rem; margin-top: 0;
}

/* Shared info card */
.info-card {
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.info-card__row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.125rem 1.5rem; border-bottom: 1px solid #f5f5f7;
}
.info-card__icon {
  width: 40px; height: 40px; border-radius: var(--radius-lg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.info-card__row-title { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.info-card__row-desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.5; }

/* ── Delivery page ── */
.delivery-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }

.delivery-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.delivery-card__icon {
  width: 52px; height: 52px; border-radius: var(--radius-lg);
  background: rgba(44,150,83,.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.delivery-card__name { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.delivery-card__desc { font-size: .875rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.delivery-card__meta {
  display: flex; align-items: center; gap: .875rem;
  margin-top: auto; padding-top: .875rem; border-top: 1px solid #f5f5f7;
}
.delivery-card__price { font-size: 1.125rem; font-weight: 700; color: var(--text); }
.delivery-card__time  {
  display: flex; align-items: center; gap: .3rem;
  font-size: .8125rem; color: var(--text-muted);
}
.delivery-card__free  { font-size: .75rem; color: var(--primary); font-weight: 500; }

.payment-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .payment-grid { grid-template-columns: repeat(3, 1fr); } }

.payment-method-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; gap: 1rem; align-items: flex-start;
}
.payment-method-card__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-alt); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.payment-method-card__name { font-size: .9375rem; font-weight: 600; color: var(--text); margin-bottom: .25rem; }
.payment-method-card__desc { font-size: .8125rem; color: var(--text-muted); line-height: 1.5; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: .625rem; }
.faq-item {
  background: #fff; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item__q {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 1.125rem 1.5rem;
  font-size: .9375rem; font-weight: 600; color: var(--text);
  cursor: pointer; gap: 1rem;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: '+'; font-size: 1.25rem; font-weight: 300;
  color: var(--text-muted); flex-shrink: 0; line-height: 1;
  transition: transform .2s;
}
details[open] .faq-item__q::after { content: '−'; }
.faq-item__a {
  padding: 0 1.5rem 1.125rem;
  font-size: .875rem; color: var(--text-muted); line-height: 1.65;
}

/* ── About page ── */
.about-mission {
  background: #fff; border-radius: var(--radius-xl);
  padding: 2rem; box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.about-mission__lead { font-size: 1.0625rem; color: var(--text); font-weight: 500; line-height: 1.65; }

.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-bottom: 2.5rem;
}
@media (min-width: 640px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }
.about-stat {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.5rem; text-align: center; box-shadow: var(--shadow-sm);
}
.about-stat__num  { font-size: 2rem; font-weight: 800; color: var(--primary); }
.about-stat__label{ font-size: .8125rem; color: var(--text-muted); margin-top: .25rem; }

.about-values {
  display: grid; grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .about-values { grid-template-columns: repeat(2, 1fr); } }
.about-value-card {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
}
.about-value-card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.about-value-card__title { font-size: .9375rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.about-value-card__desc  { font-size: .875rem; color: var(--text-muted); line-height: 1.55; }

.about-brands {
  display: flex; flex-wrap: wrap; gap: .625rem;
  justify-content: center;
}
.about-brand-pill {
  background: #fff; border-radius: 999px;
  padding: .4rem 1rem; box-shadow: var(--shadow-sm);
  font-size: .875rem; font-weight: 500; color: var(--text);
}

/* ── Contacts page ── */
.contacts-layout {
  display: grid; grid-template-columns: 1fr;
  gap: 2rem; align-items: start;
}
@media (min-width: 768px) { .contacts-layout { grid-template-columns: 1fr 1fr; } }

.contacts-link {
  font-size: .9375rem; font-weight: 500; color: var(--primary);
  text-decoration: none;
}
.contacts-link:hover { text-decoration: underline; }

.contacts-social-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 38px; padding: 0 1rem; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: .8125rem; font-weight: 500; color: var(--text);
  text-decoration: none; transition: box-shadow .15s;
}
.contacts-social-btn:hover { box-shadow: var(--shadow-md); }

/* ─── Blog listing page ──────────────────────────────────────────────────── */
.blog-page { padding: 2rem 0 5rem; }

.blog-page__head { text-align: center; padding: 2rem 0 2.5rem; }
.blog-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; color: var(--text);
  margin: .5rem 0;
}
.blog-page__sub { font-size: 1rem; color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* Filter pills */
.blog-filter {
  display: flex; flex-wrap: wrap; gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.blog-filter__pill {
  display: inline-flex; align-items: center; gap: .4rem;
  height: 36px; padding: 0 1rem;
  background: #fff; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; transition: all .15s;
  box-shadow: var(--shadow-sm);
}
.blog-filter__pill:hover { color: var(--text); box-shadow: var(--shadow-md); }
.blog-filter__pill.active {
  background: var(--text); color: #fff;
  box-shadow: none;
}
.blog-filter__dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* Blog card image (for listing page) */
.blog-card__img-wrap {
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 1rem; flex-shrink: 0;
}
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Pagination */
.blog-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: .375rem; margin-top: 3rem;
}
.blog-pagination__btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 999px;
  color: var(--text); text-decoration: none;
  box-shadow: var(--shadow-sm); transition: all .15s;
}
.blog-pagination__btn:hover { box-shadow: var(--shadow-md); }
.blog-pagination__page {
  min-width: 36px; height: 36px; padding: 0 .625rem;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; box-shadow: var(--shadow-sm); transition: all .15s;
}
.blog-pagination__page:hover { color: var(--text); }
.blog-pagination__page.active { background: var(--text); color: #fff; box-shadow: none; }
.blog-pagination__dots { font-size: .875rem; color: var(--text-muted); padding: 0 .25rem; }

/* ─── Article detail page ────────────────────────────────────────────────── */
.article-page { padding: 1.5rem 0 5rem; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: 1fr 320px; gap: 3.5rem; }
}

/* Article header */
.article-header { margin-bottom: 2rem; }
.article-header__cat { margin-bottom: 1rem; }
.article-cat-badge {
  display: inline-flex; align-items: center;
  border-radius: 999px; padding: .3rem .875rem;
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
}
.article-title {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700; color: var(--text);
  line-height: 1.25; margin: 0 0 1rem;
}
.article-lead {
  font-size: 1.0625rem; color: var(--text-muted);
  line-height: 1.6; margin: 0 0 1.25rem;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .5rem; font-size: .8125rem; color: var(--text-muted);
}
.article-meta__item { display: flex; align-items: center; gap: .375rem; }
.article-meta__sep  { opacity: .4; }

/* Cover image */
.article-cover {
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-xl); overflow: hidden;
  margin-bottom: 2rem;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-cover--placeholder {
  background: linear-gradient(135deg, rgba(0,0,0,.04) 0%, rgba(0,0,0,.08) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .2em;
  color: var(--cat-color, var(--primary)); opacity: .6;
}

/* Article body typography */
.article-body {
  font-size: 1rem; line-height: 1.75; color: rgba(29,29,31,.85);
}
.article-body h2 {
  font-size: 1.375rem; font-weight: 700; color: var(--text);
  margin: 2rem 0 .75rem; line-height: 1.3;
}
.article-body h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--text);
  margin: 1.5rem 0 .5rem;
}
.article-body p  { margin: 0 0 1rem; }
.article-body ul,
.article-body ol { margin: 0 0 1rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: .375rem; }
.article-body strong { font-weight: 700; color: var(--text); }
.article-body em    { font-style: italic; }
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(44,150,83,.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic; color: var(--text-muted);
}
.article-body img {
  max-width: 100%; border-radius: var(--radius-lg); margin: 1rem 0; display: block;
}

/* Share */
.article-share {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .625rem; padding: 1.5rem 0;
  border-top: 1px solid #f0f0f0; border-bottom: 1px solid #f0f0f0;
  margin-top: 2.5rem;
}
.article-share__label {
  font-size: .875rem; font-weight: 600; color: var(--text-muted);
  margin-right: .25rem;
}
.article-share__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  height: 36px; padding: 0 .875rem;
  border-radius: 999px; font-size: .8125rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s;
}
.article-share__btn:hover { opacity: .85; }
.article-share__btn--tg   { background: #229ed9; color: #fff; }
.article-share__btn--wa   { background: #25d366; color: #fff; }
.article-share__btn--copy { background: var(--bg-alt); color: var(--text); transition: all .2s; }

/* Back link */
.article-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--text-muted);
  text-decoration: none; transition: color .15s;
}
.article-back:hover { color: var(--primary); }
.article-back svg { transition: transform .15s; }
.article-back:hover svg { transform: translateX(-3px); }

/* Sidebar */
.article-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }

.article-sidebar-block {
  background: #fff; border-radius: var(--radius-xl);
  padding: 1.25rem; box-shadow: var(--shadow-sm);
}
.article-sidebar-block__title {
  font-size: .875rem; font-weight: 700; color: var(--text);
  margin-bottom: 1rem;
}

.related-card {
  display: block; text-decoration: none;
  padding: .875rem; border-radius: var(--radius-lg);
  background: var(--bg-alt); transition: all .15s;
}
.related-card:hover { background: rgba(44,150,83,.06); }
.related-card__cat {
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--text-muted); margin-bottom: .375rem;
}
.related-card__title {
  font-size: .875rem; font-weight: 600; color: var(--text);
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.related-card:hover .related-card__title { color: var(--primary); }
.related-card__meta {
  display: flex; justify-content: space-between;
  font-size: .75rem; color: var(--text-muted); margin-top: .5rem;
}

.article-sidebar-cta {
  background: var(--primary); border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.article-sidebar-cta__title {
  font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .375rem;
}
.article-sidebar-cta__sub { font-size: .8125rem; color: rgba(255,255,255,.75); }
.article-sidebar-cta .btn-primary {
  background: #fff; color: var(--primary);
}
.article-sidebar-cta .btn-primary:hover { background: rgba(255,255,255,.9); }

.sidebar-cat-link {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .625rem; border-radius: var(--radius-lg);
  font-size: .875rem; color: var(--text-muted);
  text-decoration: none; transition: all .15s;
}
.sidebar-cat-link:hover { background: var(--bg-alt); color: var(--text); }
.sidebar-cat-link.active { background: rgba(44,150,83,.08); color: var(--primary); font-weight: 600; }

/* ─── Product detail page ────────────────────────────────────────────────── */
.detail-page { padding: 2rem 0 5rem; background: var(--bg-alt); min-height: 80vh; }

.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .25rem; font-size: .8125rem;
  margin-bottom: 2rem;
}
.breadcrumb__item { color: var(--text-muted); text-decoration: none; transition: color .15s; }
.breadcrumb__item:hover { color: var(--text); }
.breadcrumb__item--current { color: var(--text); font-weight: 500; }
.breadcrumb__sep { color: var(--text-muted); opacity: .5; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (min-width: 1024px) {
  .detail-grid { grid-template-columns: 360px 1fr; gap: 4rem; }
}

/* Sticky media column */
.detail-sticky {
  display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 768px) {
  .detail-sticky { position: sticky; top: 100px; }
}

/* Image */
.detail-img-wrap {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  display: flex; align-items: center; justify-content: center;
}
.detail-img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}
.detail-img-placeholder {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  user-select: none;
  gap: .5rem;
}
.detail-img-placeholder__letter {
  font-size: 110px; font-weight: 900; line-height: 1;
  color: rgba(29,29,31,.05);
}
.detail-img-placeholder__caption {
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: rgba(110,110,115,.5);
}
.detail-brand-badge {
  position: absolute; top: 1.25rem; left: 1.25rem;
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--text-muted);
}
.detail-discount-badge {
  position: absolute; top: .875rem; right: .875rem;
  background: #ff3b30; color: #fff;
  border-radius: 999px; padding: .25rem .625rem;
  font-size: .75rem; font-weight: 700;
}

/* Variants */
.detail-variants__label {
  font-size: .625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--text-muted); margin-bottom: .625rem;
}
.detail-variants__pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.detail-variant-pill {
  height: 36px; padding: 0 1rem;
  background: #fff;
  border: none;
  border-radius: 999px;
  font-size: .875rem; font-weight: 500;
  color: var(--text); cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: all .15s;
}
.detail-variant-pill:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.detail-variant-pill.active {
  background: var(--text); color: #fff; box-shadow: none;
}

/* Price */
.detail-price-block { display: flex; flex-direction: column; gap: .25rem; }
.detail-price-row { display: flex; align-items: baseline; gap: .75rem; }
.detail-price { font-family: 'Outfit', sans-serif; font-size: 1.875rem; font-weight: 700; color: var(--text); }
.detail-price-old {
  font-size: 1.0625rem; color: var(--text-muted);
  text-decoration: line-through; font-weight: 400;
}
.detail-unit { font-size: .875rem; color: var(--text-muted); }

/* Actions */
.detail-actions {
  display: flex; align-items: center; gap: .75rem;
}
.detail-cart-btn {
  flex: 1;
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem; font-size: .875rem; font-weight: 600;
  border-radius: 999px !important;
}
.btn-add-cart.is-preorder { background: #86868b; }
.btn-add-cart.is-preorder:hover { background: #6e6e73; }

/* Bonus hint */
.detail-bonus-hint {
  display: flex; align-items: center; gap: .375rem;
  font-size: .75rem; color: var(--primary);
}
.detail-bonus-hint svg { opacity: .8; }

.detail-bad-notice {
  display: flex; align-items: flex-start; gap: .75rem;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}
.detail-bad-notice svg { color: var(--text-muted); margin-top: .0625rem; }
.detail-bad-notice__title { font-size: .875rem; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.detail-bad-notice__text { font-size: .8125rem; line-height: 1.55; }

/* Info column */
.detail-info-col { display: flex; flex-direction: column; gap: 1.5rem; }

.detail-eyebrow {
  display: flex; align-items: center; gap: .5rem;
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .25em;
  color: var(--text-muted);
}
.detail-eyebrow__sep { opacity: .4; }

.detail-title {
  font-size: 1.75rem; font-weight: 700; color: var(--text);
  line-height: 1.2; margin: 0;
}
@media (min-width: 768px) { .detail-title { font-size: 2rem; } }

.detail-meta-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.detail-meta-pill {
  display: inline-flex; align-items: center; gap: .375rem;
  background: var(--bg-alt); border-radius: 999px;
  padding: .3rem .75rem;
  font-size: .75rem; color: var(--text-muted); font-weight: 500;
}
.detail-meta-pill svg { flex-shrink: 0; }

.detail-goals { display: flex; flex-wrap: wrap; gap: .5rem; }
.detail-goal-tag {
  display: inline-block;
  background: #fff; border-radius: 999px;
  padding: .25rem .875rem;
  font-size: .8125rem; color: var(--text); font-weight: 500;
  text-decoration: none; transition: all .15s;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.detail-goal-tag:hover { box-shadow: 0 2px 8px rgba(0,0,0,.12); }

.detail-desc {
  font-size: .9375rem; color: rgba(29,29,31,.75);
  line-height: 1.6;
}

/* Tabs */
.detail-tabs {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.detail-tabs__nav {
  display: flex; border-bottom: 1px solid #f0f0f0;
  padding: 0 .25rem;
}
.detail-tab {
  flex: 1; height: 48px;
  background: none; border: none; border-bottom: 2px solid transparent;
  font-size: .875rem; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  transition: all .15s; margin-bottom: -1px;
}
.detail-tab:hover { color: var(--text); }
.detail-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.detail-tab-panel { display: none; padding: 1.25rem 1.5rem; }
.detail-tab-panel.active { display: block; }
.detail-tab-text {
  font-size: .875rem; color: rgba(29,29,31,.75);
  line-height: 1.65; white-space: pre-wrap;
}

/* Info chips */
.detail-info-chips {
  display: flex; flex-wrap: wrap; gap: .625rem;
}
.detail-info-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: .5rem .875rem;
  font-size: .8125rem; color: var(--text-muted); font-weight: 500;
}
.detail-info-chip svg { flex-shrink: 0; color: var(--primary); }

/* Related products */
.detail-related { margin-top: 4rem; }
.detail-related__title {
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.5rem;
}
.detail-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .detail-related__grid { grid-template-columns: repeat(4, 1fr); } }

/* ── Товары по теме статьи (blog/detail.php) ─────────────────────────── */
.article-products {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.article-products__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.article-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .article-products__grid { grid-template-columns: repeat(4, 1fr); } }

.article-product-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: .875rem;
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.article-product-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.article-product-card__img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--bg-alt, #f5f5f7);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .625rem;
}
.article-product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-product-card__img-placeholder { font-size: 1.5rem; font-weight: 700; color: var(--text-muted); }
.article-product-card__brand {
  font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); margin-bottom: .1875rem;
}
.article-product-card__name {
  font-size: .8125rem; font-weight: 600; color: var(--text);
  line-height: 1.3; margin-bottom: .375rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-product-card__price { display: flex; align-items: baseline; gap: .375rem; }
.article-product-card__price-cur { font-size: .9375rem; font-weight: 700; color: var(--primary); }
.article-product-card__price-old { font-size: .75rem; color: var(--text-muted); text-decoration: line-through; }
