/*
 * ANTONELLI KI — Дизайн-система витрины
 * Шрифты: Poiret One (заголовки) + Raleway 300 (тело)
 * Палитра: чёрный #0a0a0a, платина #b8b0a4, тёплые серые
 * Углы: 0px (премиум-стиль)
 * Источники: Antonelli Ki project.html + JC mini UX + KiSys архитектура
 */

/* === Переменные === */
:root {
  --primary: #0a0a0a;
  --secondary: #999;
  --muted: #777;
  --bg: #faf9f7;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-white: #ffffff;
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.18);
  --accent: #b8b0a4;
  --accent-dark: #8a8279;
  --accent-light: rgba(184, 176, 164, 0.10);
  --accent-glow: rgba(184, 176, 164, 0.25);
  --green: #22C55E;
  --red: #c45;
  --radius: 0px;
  --radius-pill: 0px;
  --shadow-card: 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-elevated: 0 8px 60px rgba(0,0,0,0.05), 0 1.5px 8px rgba(0,0,0,0.02);
  --fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --medium: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-heading: 'Poiret One', sans-serif;
  --font-body: 'Raleway', sans-serif;
  /* Дополнительные — информационные страницы */
  --text-mid: #555;
  --text-soft: #aaa;
  --bg-soft: #f5f5f3;
  --border-mid: #ccc;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}


/* === Сброс === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--primary);
  background: var(--bg);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); }


/* === Главная обёртка SPA === */
.app {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  max-width: 100%;
  overflow: hidden;
}


/* === Шапка === */
.header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 50;
}

.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-logo img {
  height: 22px;
  width: auto;
}

/* Кнопки шапки — бургер и info */
.btn-burger {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: opacity var(--fast);
}
.btn-burger:hover { opacity: 0.5; }

.btn-info {
  width: 24px;
  height: 24px;
  background: none;
  border: 1.5px solid var(--secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 11px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: opacity var(--fast);
}
.btn-info:hover { opacity: 0.5; }


/* === Основной контент === */
.main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}


/* === Типографика === */
h1, h2, h3, h4, .heading {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: 0.06em; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }


/* === Кнопки === */
.btn {
  height: 44px;
  padding: 0 20px;
  border: none;
  font-size: 12px;
  font-weight: 400;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover { opacity: 0.85; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }

.btn-outline {
  background: none;
  color: var(--primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover { border-color: var(--primary); }

.btn-ghost {
  background: none;
  color: var(--secondary);
  border: none;
}
.btn-ghost:hover { color: var(--primary); }

.btn-accent {
  background: none;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}
.btn-accent:hover { border-color: var(--accent-dark); }

.btn-sm { height: 36px; padding: 0 14px; font-size: 11px; }
.btn-full { width: 100%; }


/* === Bottom Widget === */
.bottom-widget {
  flex-shrink: 0;
  padding: 8px 12px 10px;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  z-index: 40;
}

/* Строка подбора (корзина) — видна когда есть товары */
.widget-pickup {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: var(--bg);
  cursor: pointer;
  transition: background var(--fast);
}
.widget-pickup.has-items { display: flex; }
.widget-pickup:hover { background: var(--accent-light); }

.widget-pickup-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
}
.widget-pickup-left strong { font-weight: 500; }

.widget-pickup-sum {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* Строка чат-ввода */
.widget-chat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  padding: 8px 12px;
  border: 1px solid var(--border);
  transition: border-color var(--fast);
}
.widget-chat:focus-within { border-color: var(--accent); }

.widget-chat .green-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

.widget-chat input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
  background: none;
}
.widget-chat input::placeholder { color: var(--secondary); }

.widget-chat .send-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all var(--fast);
  flex-shrink: 0;
}
.widget-chat .send-btn:hover { border-color: var(--primary); color: var(--primary); }


/* === Overlay (затемнение для меню/лендинга) === */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all var(--medium);
}
.overlay.open { opacity: 1; visibility: visible; }


/* === Боковое меню (слева) === */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg-white);
  z-index: 100;
  transform: translateX(-100%);
  transition: transform var(--medium);
  overflow-y: auto;
  padding: 20px;
  box-shadow: 8px 0 30px rgba(0,0,0,0.08);
}
.side-menu.open { transform: translateX(0); }

.menu-close {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--fast);
}
.menu-close:hover { color: var(--primary); }

.menu-section-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin: 24px 0 12px;
}

.menu-link {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  transition: color var(--fast);
}
.menu-link:hover { color: var(--accent-dark); }

.menu-footer-link {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 350;
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--fast);
}
.menu-footer-link:hover { opacity: 0.6; }

.menu-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.menu-request-btn {
  width: 100%;
  height: 40px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: opacity var(--fast), box-shadow var(--fast);
  margin-top: 8px;
}
.menu-request-btn:hover { opacity: 0.85; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }


/* === Боковой лендинг (справа) === */
.side-landing {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 90vw;
  height: 100%;
  background: var(--bg-white);
  z-index: 100;
  transform: translateX(100%);
  transition: transform var(--medium);
  overflow-y: auto;
  padding: 24px;
  box-shadow: -8px 0 30px rgba(0,0,0,0.08);
}
.side-landing.open { transform: translateX(0); }

.landing-logo { margin: 16px 0 4px; }
.landing-logo img { height: 32px; }
.landing-logo-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.landing-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.landing-text {
  font-size: 13px;
  font-weight: 350;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.landing-adv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
}

.landing-adv-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}

.landing-contacts-title {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.landing-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 350;
}

.landing-contact-icon {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-tg-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: opacity var(--fast), box-shadow var(--fast);
}
.landing-tg-btn:hover { opacity: 0.85; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }

.landing-legal-title {
  font-size: 11px;
  font-weight: 400;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.landing-legal-text {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
  line-height: 1.8;
}


/* === Hero (стартовый экран) === */
.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100dvh - 52px - 80px);
  padding: 60px 16px 32px;
  text-align: center;
}

/* Анимированный фон */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: blob-float 25s ease-in-out infinite;
}

.bg-blob-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 10%; left: 20%;
}

.bg-blob-2 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(184,176,164,0.5) 0%, transparent 70%);
  top: 40%; right: 15%;
  animation-delay: -8s;
}

.bg-blob-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(184,176,164,0.3) 0%, transparent 70%);
  bottom: 20%; left: 40%;
  animation-delay: -15s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -35px) scale(1.04); }
  66% { transform: translate(-18px, 22px) scale(0.96); }
}

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

.hero-question {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 13px;
  font-weight: 350;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* 3 карточки */
.hero-cards {
  display: flex;
  gap: 16px;
  max-width: 640px;
}

.hero-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--medium);
}
.hero-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.hero-card-name {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-card-desc {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
}

/* Мобильные карточки hero (вертикальные, горизонтальный layout) */
@media (max-width: 600px) {
  .hero-cards {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-card {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    gap: 14px;
  }

  .hero-card-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    flex-shrink: 0;
  }

  .hero-question { font-size: 22px; }
}


/* === Каталог — плитки категорий === */
.breadcrumbs {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 350;
  color: var(--secondary);
}
.breadcrumbs a { color: var(--secondary); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs-sep { margin: 0 6px; opacity: 0.4; }

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}

.tile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--medium);
}
.tile-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.tile-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.tile-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 4px;
}

.tile-count {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
}

@media (max-width: 600px) {
  .tiles-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}


/* === Каталог — строки товаров === */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}

.filter-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--secondary);
}

.filter-search input {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
  background: none;
  width: 100%;
}
.filter-search input::placeholder { color: var(--secondary); }

.filter-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 350;
  color: var(--secondary);
  cursor: pointer;
  white-space: nowrap;
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 350;
  color: var(--secondary);
  cursor: pointer;
  white-space: nowrap;
}

/* Строка товара */
.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--fast);
  cursor: pointer;
}
.list-row:hover { background: var(--accent-light); }

.list-row-img {
  width: 44px;
  height: 44px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.list-row-img img { width: 100%; height: 100%; object-fit: cover; }

.list-row-text { flex: 1; min-width: 0; }
.list-row-name {
  font-size: 13px;
  font-weight: 400;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-row-art {
  font-size: 10px;
  font-weight: 350;
  color: var(--secondary);
  margin-top: 2px;
}

.list-row-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.list-row-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}

/* Кнопка добавить (+) */
.add-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  transition: all var(--fast);
  flex-shrink: 0;
}
.add-btn:hover { border-color: var(--primary); color: var(--primary); }

/* Qty-контроли (-, число, +) */
.qty-controls {
  display: flex;
  align-items: center;
  gap: 2px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 14px;
  transition: all var(--fast);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }

.qty-value {
  width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
}


/* === Чат === */
.chat-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  color: var(--primary);
}

.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-ai {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 350;
  line-height: 1.7;
  max-width: 90%;
}

.msg-user {
  background: var(--primary);
  color: var(--bg-white);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 350;
  line-height: 1.5;
  max-width: 80%;
  margin-left: auto;
}

/* Чипы быстрых действий */
.chat-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 350;
  letter-spacing: 0.02em;
  color: var(--primary);
  border: 1px solid var(--border);
  background: var(--bg-white);
  cursor: pointer;
  transition: all var(--fast);
}
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }


/* === Карточка товара === */
.product-layout {
  display: flex;
  gap: 32px;
  padding: 16px;
}

.product-photo {
  width: 50%;
  aspect-ratio: 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }

.product-info { flex: 1; }

.product-title {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.product-art {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
  margin-bottom: 12px;
}

.product-price {
  font-size: 20px;
  font-weight: 500;
  color: var(--primary);
}

.product-price-old {
  font-size: 13px;
  font-weight: 350;
  color: var(--secondary);
  text-decoration: line-through;
  margin-left: 8px;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 350;
  color: var(--secondary);
  margin: 8px 0 16px;
}

.product-specs {
  margin: 16px 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.spec-row-label { color: var(--secondary); font-weight: 300; }
.spec-row-value { color: var(--primary); font-weight: 400; }

@media (max-width: 600px) {
  .product-layout { flex-direction: column; gap: 16px; }
  .product-photo { width: 100%; }
}


/* === Модалка подбора === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--medium);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-card {
  background: var(--bg-white);
  width: 480px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.modal-total {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.modal-total-label { font-weight: 300; color: var(--secondary); }
.modal-total-sum { font-weight: 600; }

.modal-form { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.modal-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--fast);
}
.modal-input:focus { border-color: var(--accent); }
.modal-input::placeholder { color: var(--secondary); }

.modal-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 350;
  color: var(--primary);
  background: var(--bg-white);
  outline: none;
  resize: vertical;
  transition: border-color var(--fast);
}
.modal-textarea:focus { border-color: var(--accent); }
.modal-textarea::placeholder { color: var(--secondary); }

.modal-submit-btn {
  width: 100%;
  height: 44px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--fast);
}
.modal-submit-btn:hover { opacity: 0.85; }

/* Bottom-sheet на мобилке */
@media (max-width: 600px) {
  .modal-card {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
  }
}


/* === Дропзона === */
.dropzone {
  border: 1.5px dashed var(--border-hover);
  padding: 32px;
  text-align: center;
  font-size: 12px;
  font-weight: 350;
  color: var(--secondary);
  cursor: pointer;
  transition: all var(--fast);
}
.dropzone:hover { border-color: var(--accent); background: var(--accent-light); }


/* === Утилиты === */
.hidden { display: none !important; }
.in-selection { color: var(--accent-dark); border-color: var(--accent); }
.error-message { padding: 40px; text-align: center; color: var(--secondary); }
.svg-sprite { display: none; }

/* Иконки — размеры через классы */
.icon {
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
.icon-xs { width: 12px; height: 12px; }
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 16px; height: 16px; }
.icon-lg { width: 18px; height: 18px; }
.icon-xl { width: 20px; height: 20px; }
.icon-xxl { width: 28px; height: 28px; }
.icon-burger { width: 20px; height: 16px; }
.icon-adv { width: 20px; height: 20px; }
.icon-contact { width: 16px; height: 16px; }

/* Панель закрытия (верх боковых панелей) */
.panel-close-row { display: flex; margin-bottom: 12px; }
.panel-close-right { justify-content: flex-end; }
.panel-close-left { justify-content: flex-start; }

/* Профиль в меню */
.menu-profile { padding: 16px 0; border-bottom: 1px solid var(--border); }
.menu-profile-row { display: flex; align-items: center; gap: 12px; }
.menu-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
}
.menu-login-link { font-size: 14px; font-weight: 400; cursor: pointer; }

/* Лейбл секции в меню */
.menu-section-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 16px 0 8px;
}

/* Ссылки каталога в меню */
.menu-cat-link {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--fast);
}
.menu-cat-link:hover { opacity: 0.6; }

/* Категории с описанием */
.menu-cat-item {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity var(--fast);
}
.menu-cat-item:hover { opacity: 0.6; }

.menu-cat-title {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 2px;
}

.menu-cat-desc {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
  letter-spacing: 0.01em;
}

/* Бренд-блок внизу меню */
.menu-brand-section {
  background: var(--bg);
  margin: 0 -20px -20px;
  padding: 32px 20px 28px;
  text-align: center;
}
.menu-brand-logo {
  max-width: 140px;
  height: auto;
  margin: 0 auto 10px;
}
.menu-brand-sub {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 14px;
}
.menu-brand-slogan {
  font-size: 11px;
  font-weight: 350;
  font-style: italic;
  color: var(--secondary);
  letter-spacing: 0.02em;
  line-height: 1.6;
}

/* Pickup правая часть */
.widget-pickup-right { display: flex; align-items: center; gap: 12px; }

/* Email в лендинге */
.landing-email { color: var(--accent-dark); font-weight: 400; cursor: pointer; }

/* Логотип в шапке */
.header-logo img { max-width: 150px; height: auto; }

/* Логотип в лендинге */
.landing-logo img { max-width: 220px; height: auto; }

/* Карточки в правой панели — «Что вас интересует?» */
.landing-question {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin: 24px 0 6px;
}
.landing-subtitle {
  font-size: 13px;
  font-weight: 350;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.landing-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--medium);
}
.landing-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.landing-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  flex-shrink: 0;
}
.landing-card-name {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 2px;
}
.landing-card-desc {
  font-size: 11px;
  font-weight: 350;
  color: var(--secondary);
}


/* ═══════════════════════════════════════════
   ИНФОРМАЦИОННЫЕ СТРАНИЦЫ (views/page.html)
   О нас, Контакты, Где купить, Оплата, Политика
   ═══════════════════════════════════════════ */

/* Скрытие неактивных блоков */
[data-page] { display: none; }
[data-page].active { display: block; }


/* === О НАС — aki-* === */

.aki {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 64px;
  font-family: var(--font-body);
  color: var(--primary);
}

/* Reveal-анимация (О нас) */
.aki-r {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.aki-r.v { opacity: 1; transform: none; }

/* Цитата */
.aki-quote {
  text-align: center;
  padding: 56px 0 48px;
}
.aki-quote p {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.aki-quote-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 24px auto 0;
}

/* Текст */
.aki-text { padding-bottom: 44px; }
.aki-text p {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.aki-text p:last-child { margin-bottom: 0; }

/* Заголовок */
.aki-h {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

/* Разделитель */
.aki-div {
  height: 1px;
  background: var(--border);
  margin-bottom: 44px;
}

/* Манифест */
.aki-manifesto {
  text-align: center;
  padding: 48px 0;
  margin-bottom: 44px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.aki-manifesto-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.aki-m-row {
  font-weight: 350;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 12px;
}
.aki-m-row:last-child { margin-bottom: 0; }
.aki-m1 { font-size: clamp(14px, 2.2vw, 18px); color: var(--text-soft); }
.aki-m2 { font-size: clamp(17px, 2.8vw, 22px); color: var(--text-mid); }
.aki-m3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.8vw, 32px);
  color: var(--primary);
  font-weight: 400;
  font-style: normal;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* Аудитория */
.aki-audience { padding-bottom: 44px; }
.aki-audience-item {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 14px;
  padding-left: 20px;
  position: relative;
  letter-spacing: 0.01em;
}
.aki-audience-item:last-child { margin-bottom: 0; }
.aki-audience-item .d {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--border-mid);
  font-weight: 350;
}

/* Эмоциональная цитата */
.aki-emo {
  text-align: center;
  padding-bottom: 44px;
}
.aki-emo p {
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 350;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-mid);
}

/* Финальный бренд-блок */
.aki-brand {
  text-align: center;
  padding: 8px 0 28px;
}
.aki-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}
.aki-brand-sub {
  font-size: 0.6rem;
  font-weight: 350;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.aki-brand-tag {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 350;
  font-style: italic;
  color: var(--secondary);
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* Кнопка «Интервью» */
.aki-toggle-wrap {
  text-align: center;
  padding: 20px 0 0;
}
.aki-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 350;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.aki-toggle:hover { background: #333; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }
.aki-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s var(--ease);
}
.aki-toggle:hover svg { transform: translateY(2px); }
.aki-toggle.open svg { transform: rotate(180deg); }
.aki-toggle.open:hover svg { transform: rotate(180deg) translateY(2px); }

/* Контейнер интервью (grid-анимация) */
.aki-interview-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease);
}
.aki-interview-wrap.open { grid-template-rows: 1fr; }
.aki-interview-inner { overflow: hidden; }

/* Интервью — hero */
.aki-hero {
  text-align: center;
  padding: 56px 0 40px;
}
.aki-hero-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.aki-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.aki-hero-title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 350;
  color: var(--text-mid);
  font-size: 0.7em;
  letter-spacing: 0.02em;
}
.aki-hero-sub {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 350;
  font-style: italic;
  color: var(--text-mid);
  letter-spacing: 0.02em;
}
.aki-author {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.6rem;
  font-weight: 350;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
}
.aki-author-dot {
  width: 3px;
  height: 3px;
  background: var(--accent);
}

/* Интервью — разделитель */
.aki-gdiv {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}
.aki-gdiv-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.aki-gdiv-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Интервью — проза */
.aki-prose-wrap { padding: 40px 0; }
.aki-prose-label {
  text-align: center;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.aki-prose p {
  font-size: 0.92rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
.aki-prose p:last-child { margin-bottom: 0; }

/* Интервью — метка секции */
.aki-section-label {
  text-align: center;
  padding: 32px 0 28px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Интервью — вопрос-ответ */
.aki-qa { padding-bottom: 4px; }
.aki-q {
  position: relative;
  padding: 20px 0 14px 22px;
}
.aki-q::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 1px;
  height: calc(100% - 32px);
  background: var(--accent-glow);
}
.aki-q p {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.8vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.aki-q .g { color: var(--accent); font-weight: 400; margin-right: 2px; }
.aki-a { padding: 2px 0 6px 22px; }
.aki-a p {
  font-size: 0.92rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.aki-a p:last-child { margin-bottom: 0; }
.aki-rm {
  font-style: italic;
  font-weight: 350;
  color: var(--accent);
  font-size: 0.82rem;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

/* Интервью — pullquote */
.aki-pq {
  text-align: center;
  padding: 36px 0;
}
.aki-pq p {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--primary);
  max-width: 540px;
  margin: 0 auto;
  letter-spacing: 0.04em;
}
.aki-pq-line {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 16px;
}
.aki-pq-attr {
  margin-top: 12px;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Интервью — копирайт */
.aki-copy {
  text-align: center;
  padding: 24px 0 8px;
  font-size: 0.68rem;
  font-weight: 350;
  color: var(--secondary);
  letter-spacing: 0.02em;
}


/* === ОБЩИЕ — ak-page + ak-section (Контакты, Где купить, Оплата, Политика) === */

.ak-page {
  font-family: var(--font-body);
  color: var(--primary);
}

.ak-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 20px;
}

/* Заголовок секции */
.ak-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ak-section-header.visible { opacity: 1; transform: none; }

.ak-section-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-soft);
}
.ak-section-icon svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  stroke: var(--secondary);
}
/* Тёмные иконки — Где купить */
.ak-section-icon-dark {
  background: var(--primary);
}
.ak-section-icon-dark svg {
  width: 20px;
  height: 20px;
  color: #fff;
  stroke: #fff;
}

.ak-section-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.04em;
}

.ak-section-label {
  font-size: 0.6rem;
  font-weight: 350;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-top: 1px;
}

/* Разделитель */
.ak-divider {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}
.ak-divider hr {
  border: none;
  height: 1px;
  background: var(--border);
}

/* Reveal-анимация — общая для [data-ak-animate] */
[data-ak-animate] {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}


/* === КОНТАКТЫ — ссылки-карточки === */

.ak-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}
.ak-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: none;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--primary);
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(12px);
}
.ak-link-card.visible { opacity: 1; transform: none; }
.ak-link-card:hover { background: var(--bg-soft); }

.ak-link-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg-soft);
  transition: background-color 0.3s ease;
}
.ak-link-card:hover .ak-link-icon { background: #eee; }
.ak-link-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text-soft);
}
.ak-link-name {
  font-size: 0.82rem;
  font-weight: 350;
  color: var(--primary);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.ak-link-desc {
  font-size: 0.68rem;
  font-weight: 350;
  color: var(--text-soft);
  line-height: 1.4;
  letter-spacing: 0.01em;
}


/* === КОНТАКТЫ — кнопки действий === */

.ak-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 350;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: transparent;
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid var(--border-mid);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.ak-action-btn:hover { border-color: var(--primary); }
.ak-action-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease, color 0.3s ease;
  color: var(--secondary);
}
.ak-action-btn:hover svg { transform: translateX(3px); color: var(--primary); }
.ak-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}


/* === КОНТАКТЫ — контактная информация === */

.ak-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: var(--border);
}
.ak-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ak-contact-item.visible { opacity: 1; transform: none; }
.ak-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--border-mid);
}
.ak-contact-label {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 5px;
}
.ak-contact-value {
  font-size: 0.82rem;
  font-weight: 350;
  color: var(--primary);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.ak-contact-value a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--border-mid);
  transition: border-color 0.3s ease;
}
.ak-contact-value a:hover { border-color: var(--primary); }
.ak-contact-hint {
  font-size: 0.68rem;
  font-weight: 350;
  color: var(--text-soft);
  margin-top: 3px;
  letter-spacing: 0.01em;
}


/* === КОНТАКТЫ — collapsible юридическая === */

.ak-collapsible-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  padding: 18px 22px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  opacity: 0;
  transform: translateY(12px);
}
.ak-collapsible-trigger.visible { opacity: 1; transform: none; }
.ak-collapsible-trigger:hover { border-color: var(--border-mid); background: var(--bg-soft); }

.ak-collapsible-trigger-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ak-collapsible-trigger-left .ak-section-icon { width: 36px; height: 36px; }
.ak-collapsible-trigger-left .ak-section-icon svg { width: 16px; height: 16px; }

.ak-collapsible-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.ak-collapsible-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-soft);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}
.ak-collapsible-trigger.ak-open .ak-collapsible-chevron { transform: rotate(180deg); }

.ak-collapsible-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s ease;
  opacity: 0;
}
.ak-collapsible-body.ak-open { opacity: 1; }
.ak-collapsible-inner { padding-top: 16px; }


/* === КОНТАКТЫ — юридический блок === */

.ak-legal-block {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 28px;
}
.ak-legal-block h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--primary);
  letter-spacing: 0.04em;
}
.ak-legal-row {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 350;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 3px;
  letter-spacing: 0.01em;
}
.ak-legal-row span:first-child {
  color: var(--text-soft);
  min-width: 160px;
  flex-shrink: 0;
  font-size: 0.72rem;
}
.ak-legal-row span:last-child { color: var(--text-mid); }
.ak-legal-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}


/* === КОНТАКТЫ — оплата === */

.ak-pay-block {
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ak-pay-block.visible { opacity: 1; transform: none; }

.ak-pay-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 350;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: transparent;
  text-decoration: none;
  padding: 14px 32px;
  border: 1px solid var(--border-mid);
  transition: border-color 0.3s ease;
}
.ak-pay-link:hover { border-color: var(--primary); }
.ak-pay-link svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}


/* === ГДЕ КУПИТЬ — карточки магазинов === */

.ak-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr));
  gap: 1px;
  background: var(--border);
}
.ak-cards-grid + .ak-cards-grid { margin-top: 1px; }

.ak-card {
  position: relative;
  background: #fff;
  border: none;
  padding: 24px 24px 22px;
  transition: background-color 0.3s ease;
  opacity: 0;
  transform: translateY(12px);
}
.ak-card.visible { opacity: 1; transform: none; }
.ak-card:hover { background: var(--bg-soft); }
.ak-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.ak-card-city {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}
.ak-card-name {
  font-size: 0.82rem;
  font-weight: 350;
  color: #2a2825;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.ak-card-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 350;
  color: var(--text-mid);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.ak-card-detail:last-child { margin-bottom: 0; }
.ak-card-detail svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--text-soft);
}
.ak-card-detail a {
  color: var(--text-mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border-mid);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.ak-card-detail a:hover { color: var(--primary); border-color: var(--primary); }

/* Тэги на карточках */
.ak-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid;
}
.ak-flagship-tag { background: var(--primary); color: #fff; border-color: var(--primary); }
.ak-new-tag { background: transparent; color: var(--accent); border-color: var(--accent); }
.ak-open-tag { background: transparent; color: #6a8a5a; border-color: #6a8a5a; }
.ak-select-tag { background: transparent; color: var(--secondary); border-color: var(--border-mid); }

/* Скоро открытие */
.ak-card.ak-coming-soon { background: var(--bg-soft); }
.ak-card.ak-coming-soon:hover { background: #eee; }
.ak-card.ak-coming-soon .ak-card-city { color: #444; }
.ak-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 350;
  color: var(--accent);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.ak-coming-soon-badge .ak-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  animation: akPulse 2s ease-in-out infinite;
}
@keyframes akPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* CTA внизу «Где купить» */
.ak-footer-cta {
  text-align: center;
  padding: 48px 20px 64px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ak-footer-cta.visible { opacity: 1; transform: none; }
.ak-footer-cta p {
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 350;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}
.ak-footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 350;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  text-decoration: none;
  padding: 12px 28px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.ak-footer-cta a:hover { background: #333; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3); }
.ak-footer-cta a svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.ak-footer-cta a:hover svg { transform: translateX(3px); }


/* === ОПЛАТА И ДОСТАВКА === */

.ak-info-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.ak-info-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ak-info-block:first-child { padding-top: 0; }
.ak-info-block:last-child { border-bottom: none; padding-bottom: 0; }
.ak-info-block.visible { opacity: 1; transform: none; }

.ak-info-num {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.ak-info-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.ak-info-text {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0;
  letter-spacing: 0.01em;
}
.ak-info-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-mid);
  transition: text-decoration-color 0.3s ease;
}
.ak-info-text a:hover { text-decoration-color: var(--primary); }


/* === ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ === */

.ak-policy-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}
.ak-policy-intro {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0 0 40px 0;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ak-policy-intro.visible { opacity: 1; transform: none; }

.ak-policy-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.ak-policy-block:first-of-type { border-top: 1px solid var(--border); }
.ak-policy-block:last-of-type { border-bottom: none; }
.ak-policy-block.visible { opacity: 1; transform: none; }

.ak-policy-num {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.ak-policy-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.ak-policy-text {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
}
.ak-policy-text:last-child { margin-bottom: 0; }

.ak-policy-item {
  font-size: 0.88rem;
  font-weight: 350;
  line-height: 1.85;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.ak-policy-item:last-child { margin-bottom: 0; }
.ak-policy-item .ak-d {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--border-mid);
  font-weight: 350;
}
.ak-policy-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-mid);
  transition: text-decoration-color 0.3s ease;
}
.ak-policy-link:hover { text-decoration-color: var(--primary); }


/* === ИНФОРМАЦИОННЫЕ СТРАНИЦЫ — responsive === */

@media (max-width: 600px) {
  /* Панели — почти на весь экран */
  .side-menu { max-width: 96vw; }
  .side-landing { max-width: 96vw; }

  /* О нас */
  .aki { padding: 0 16px 48px; }
  .aki-quote { padding: 36px 0 32px; }
  .aki-q { padding-left: 16px; }
  .aki-a { padding-left: 16px; }

  /* Общие секции */
  .ak-section { padding: 24px 16px; }
  .ak-links-grid { grid-template-columns: 1fr; }
  .ak-contact-grid { grid-template-columns: 1fr; }
  .ak-actions-row { flex-direction: column; }
  .ak-action-btn { justify-content: center; }

  /* Юридическая */
  .ak-legal-row { flex-direction: column; gap: 0; }
  .ak-legal-row span:first-child { min-width: auto; }
  .ak-legal-block { padding: 20px; }
  .ak-collapsible-trigger { padding: 14px 18px; }

  /* Где купить */
  .ak-card { padding: 20px 18px 18px; }
  .ak-card-city { font-size: 1.2rem; padding-right: 70px; }

  /* Оплата */
  .ak-info-wrap { padding: 32px 16px 48px; }
  .ak-info-block { padding: 24px 0; }

  /* Политика */
  .ak-policy-wrap { padding: 32px 16px 48px; }
  .ak-policy-block { padding: 22px 0; }

  /* Партнёры — карточки продукта */
  .ak-partner-features { grid-template-columns: 1fr; }
  .ak-partner-feature { padding: 20px 16px; }
  .ak-partner-feature-icon img { width: 80px; height: 80px; }

  /* Продукция — карточки */
  .ak-products-grid { grid-template-columns: 1fr; padding: 0 16px 24px; }
  .ak-product-card { padding: 20px 16px; }
  .ak-product-img img { width: 120px; height: 120px; }
}


/* ============================================
   ПАРТНЁРЫ — карточки продукта
   ============================================ */
.ak-partner-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0 40px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.ak-partner-feature {
  padding: 28px 24px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border);
  transition: background var(--fast);
}

.ak-partner-feature:hover { background: var(--bg-soft, #f5f4f2); }

.ak-partner-feature-icon {
  margin-bottom: 16px;
}

.ak-partner-feature-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.ak-partner-feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--primary);
}

.ak-partner-feature-desc {
  font-size: 0.82rem;
  color: var(--text-soft, #777);
  line-height: 1.5;
}


/* ============================================
   ПРОДУКЦИЯ — карточки товаров
   ============================================ */
.ak-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 0 40px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.ak-product-card {
  padding: 28px 24px;
  background: var(--bg-white, #fff);
  border: 1px solid var(--border);
  transition: background var(--fast);
}

.ak-product-card:hover { background: var(--bg-soft, #f5f4f2); }

.ak-product-img {
  margin-bottom: 16px;
}

.ak-product-img img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.ak-product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--primary);
}

.ak-product-desc {
  font-size: 0.8rem;
  color: var(--text-soft, #777);
  line-height: 1.5;
  margin-bottom: 12px;
}

.ak-product-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 8px;
}

.ak-product-card .ak-card-tag {
  display: inline-block;
}
