/* Дизайн-система «ТехноМаркет» (Stitch, референс «Деливери» + Додо).
   Токены — единственный источник цветов/размеров. Шкала отступов: 4/8/12/16/24/32/48.
   Слияние CSS экранов Stitch (home — базовый); дубли селекторов убраны. */
/* --- home --- */
/* Базовый сброс и переменные дизайна */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
/* --- home --- */
:root {
      --bg-page: #F5F6F8;
      --bg-panel: #FFFFFF;
      --bg-hero: #0F1B2D;
      --bg-footer: #0F1B2D;
      --text-main: #111827;
      --text-muted: #6B7280;
      --text-light: #FFFFFF;
      --border-color: #E5E7EB;
      --accent: #1E40AF;
      --accent-hover: #1B3796;
      --radius: 12px;
      --radius-pill: 9999px;
      --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
      --shadow-card: 0 4px 12px rgba(15, 27, 45, 0.06);
      --shadow-card-hover: 0 12px 24px rgba(15, 27, 45, 0.12);
      --container-width: 1200px;
      /* Псевдонимы токенов: разные экраны Stitch называли одни и те же цвета по-разному */
      --bg: #F5F6F8;
      --surface: #FFFFFF;
      --panel: #FFFFFF;
      --card-bg: #FFFFFF;
      --border: #E5E7EB;
      --text: #111827;
      --text-secondary: #6B7280;
      --primary: #1E40AF;
      --primary-hover: #1B3796;
      --accent-light: #DBEAFE;
      --danger: #DC2626;
      --dark: #0F1B2D;
      --container: 1200px;
      --font-title: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
      --radius-sm: 8px;
    }
/* --- home --- */
body {
      background-color: var(--bg-page);
      color: var(--text-main);
      font-family: var(--font-body);
      font-size: 14px;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      overflow-x: clip;
    }
/* --- home --- */
a {
      color: inherit;
      text-decoration: none;
    }
/* --- home --- */
button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      outline: none;
      transition: all 0.2s ease;
    }
/* --- home --- */
.container {
      width: 100%;
      max-width: var(--container-width);
      margin: 0 auto;
      padding: 0 24px;
    }
/* --- home --- */
/* 1. ШАПКА */
    .header {
      background: var(--bg-panel);
      border-bottom: 1px solid var(--border-color);
      position: sticky;
      top: 0;
      z-index: 50;
    }
/* --- home --- */
.header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
      gap: 24px;
    }
/* --- home --- */
.brand-wrap {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
/* --- home --- */
.logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.02em;
    }
/* --- home --- */
.logo-icon {
      width: 36px;
      height: 36px;
      background: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      flex-shrink: 0;
    }
/* --- home --- */
.badge-demo {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      background: #EEF2FF;
      color: var(--accent);
      border-radius: var(--radius-pill);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
/* --- home --- */
.search-box {
      flex: 1;
      max-width: 480px;
      position: relative;
    }
/* --- home --- */
.search-input {
      width: 100%;
      height: 42px;
      background: #F3F4F6;
      border: 1px solid transparent;
      border-radius: 10px;
      padding: 0 16px 0 40px;
      font-family: var(--font-body);
      font-size: 14px;
      color: var(--text-main);
      transition: all 0.2s ease;
    }
/* --- home --- */
.search-input:focus {
      outline: none;
      background: #FFFFFF;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    }
/* --- home --- */
.search-icon {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }
/* --- home --- */
.header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      flex-shrink: 0;
    }
/* --- home --- */
.btn-login {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: #FFFFFF;
      color: var(--text-main);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
    }
/* --- home --- */
.btn-login:hover {
      background: #F9FAFB;
      border-color: #D1D5DB;
    }
/* --- home --- */
.btn-cart-header {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 16px;
      background: var(--accent);
      color: #FFFFFF;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 600;
    }
/* --- home --- */
.btn-cart-header:hover {
      background: var(--accent-hover);
    }
/* --- home --- */
/* 2. HERO ТЕМНАЯ ПОЛОСА */
/* --- home --- */
/* --- home --- */
.hero-title {
      font-family: var(--font-heading);
      font-size: 40px;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }
/* --- home --- */
.hero-subtitle {
      font-size: 16px;
      color: #94A3B8;
      line-height: 1.5;
      margin-bottom: 0;
      max-width: none;
    }
/* --- Hero A (Stitch, вариант «фото-баннер», выбран 2026-11-05; исключение §17) --- */
.hero-a-wrap{padding-top:40px;padding-bottom:40px}
.hero-a{background:#F5F6F8;border:1px solid #E5E7EB;border-radius:20px;overflow:hidden;position:relative}
.hero-a .ambient-glow{position:absolute;width:560px;height:560px;background:radial-gradient(circle,rgba(59,130,246,0.16) 0%,rgba(59,130,246,0) 65%);top:-200px;right:-80px;pointer-events:none;z-index:0}
.hero-a .hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr 0.85fr;gap:56px;align-items:center;max-width:1200px;margin:0 auto;padding:72px 32px}
.hero-a .hero-content{max-width:560px;z-index:2}
.hero-a .hero-title{font-family:'Manrope',sans-serif;font-size:48px;font-weight:800;line-height:1.08;letter-spacing:-0.02em;color:#0F172A;margin-bottom:16px}
.hero-a .hero-subtitle{font-size:18px;line-height:1.55;color:#475569;margin-bottom:32px;max-width:520px}
.hero-a .hero-actions{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.hero-a .cta-btn{display:inline-flex;align-items:center;gap:10px;background:#1E40AF;color:#fff;font-family:'Manrope',sans-serif;font-size:15px;font-weight:700;padding:15px 32px;border-radius:12px;text-decoration:none;box-shadow:0 6px 20px rgba(30,64,175,0.25)}
.hero-a .cta-btn:hover{background:#1B3796}
.hero-a .cta-arrow{transition:transform .2s ease}
.hero-a .cta-btn:hover .cta-arrow{transform:translateX(4px)}
.hero-a .pill-badges{display:flex;gap:8px;flex-wrap:wrap}
.hero-a .flat-pill{display:inline-flex;align-items:center;gap:6px;background:#FFFFFF;border:1px solid #E5E7EB;color:#475569;font-size:13px;font-weight:600;padding:8px 14px;border-radius:999px}
.hero-a .flat-pill svg{color:#1E40AF}
.hero-a .hero-visual{display:flex;justify-content:center;z-index:2}
.hero-a .flagship-card{background:#FFFFFF;border:1px solid #E5E7EB;border-radius:16px;box-shadow:0 8px 32px rgba(15,23,42,0.08);padding:24px;width:100%;max-width:440px;animation:floatCard 6s ease-in-out infinite,fadeUp .8s ease .15s both}
.hero-a .media-box{position:relative;display:flex;align-items:center;justify-content:center;height:320px;background:linear-gradient(135deg,#172554 0%,#1E3A8A 50%,#1E40AF 100%);border-radius:12px;overflow:hidden;text-decoration:none}
.hero-a .media-box::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 70% 20%,rgba(255,255,255,0.12) 0%,transparent 60%)}
.hero-a .media-box img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block;border-radius:12px}
.hero-a .flagship-badge{position:absolute;top:14px;left:14px;z-index:2;background:rgba(255,255,255,0.92);color:#1E40AF;font-size:11px;font-weight:800;letter-spacing:.02em;padding:5px 10px;border-radius:999px}
.hero-a .card-footer{display:flex;justify-content:space-between;align-items:flex-end;padding-top:16px}
.hero-a .item-info{display:flex;flex-direction:column;gap:2px}
.hero-a .item-name{font-family:'Manrope',sans-serif;font-size:18px;font-weight:800;color:#0F172A;line-height:1.2}
.hero-a .item-meta{font-size:13px;color:#64748B}
.hero-a .item-price{font-family:'Manrope',sans-serif;font-size:24px;font-weight:800;color:#1E40AF;letter-spacing:-0.01em}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes floatCard{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@keyframes pulseGlow{0%,100%{opacity:.6}50%{opacity:1}}
.hero-a .hero-content{animation:fadeUp .8s ease both}
.hero-a .hero-visual{animation:fadeUp .8s ease .1s both}
.hero-a .ambient-glow{animation:pulseGlow 7s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.hero-a .flagship-card,.hero-a .hero-content,.hero-a .hero-visual,.hero-a .ambient-glow{animation:none}}
@media (max-width:992px){.hero-a .hero-inner{grid-template-columns:1fr;gap:48px;padding:56px 28px}.hero-a .hero-visual{justify-content:flex-start}}
@media (max-width:640px){.hero-a-wrap{padding-top:16px;padding-bottom:16px}.hero-a{border-radius:14px}.hero-a .hero-inner{padding:36px 16px;gap:36px}.hero-a .hero-title{font-size:30px;line-height:1.1;margin-bottom:12px}.hero-a .hero-subtitle{font-size:15px;margin-bottom:24px}.hero-a .cta-btn{width:100%;justify-content:center}.hero-a .flagship-card{padding:16px}.hero-a .media-box{height:250px}}

/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* Флагман справа */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* --- home --- */
/* БЕГУЩАЯ СТРОКА */
    .ticker-bar {
      background: #0B1320;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      overflow: hidden;
      white-space: nowrap;
      padding: 10px 0;
    }
/* --- home --- */
.ticker-track {
      display: inline-flex;
      align-items: center;
      animation: ticker 35s linear infinite;
    }
/* --- home --- */
.ticker-item {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 24px;
      font-size: 13px;
      font-weight: 500;
      color: #94A3B8;
    }
/* --- home --- */
.ticker-item .t-price {
      color: #60A5FA;
      font-weight: 700;
    }
/* --- home --- */
.ticker-dot {
      color: rgba(255, 255, 255, 0.25);
    }
/* --- home --- */
@keyframes ticker {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
/* --- home --- */
/* 3. ОСНОВНОЙ КАТАЛОГ С ЛЕВОЙ И ПРАВОЙ ПАНЕЛЯМИ */
    .catalog-section {
      padding: 48px 0 48px;
    }
/* --- home --- */
.catalog-layout {
      display: grid;
      grid-template-columns: 210px 1fr 260px;
      gap: 24px;
      align-items: start;
    }
/* --- home --- */
/* ЛЕВОЕ БОКОВОЕ МЕНЮ (Деливери стиль) */
    .category-sidebar {
      background: var(--bg-panel);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 12px;
      position: sticky;
      top: 92px;
      box-shadow: var(--shadow-sm);
    }
/* --- home --- */
.sidebar-title {
      font-family: var(--font-heading);
      font-size: 14px;
      font-weight: 800;
      color: var(--text-main);
      padding: 8px 12px 12px;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 8px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }
/* --- home --- */
.category-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
/* --- home --- */
.category-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 8px 12px;
      border-radius: 8px;
      font-weight: 500;
      font-size: 14px;
      color: var(--text-main);
      cursor: pointer;
      transition: all 0.2s ease;
    }
/* --- home --- */
.category-item:hover {
      background: #F3F4F6;
      color: var(--accent);
    }
/* --- home --- */
.category-item.active {
      background: #EFF6FF;
      color: var(--accent);
      font-weight: 700;
    }
/* --- home --- */
.category-item .cat-count {
      font-size: 11px;
      background: #E5E7EB;
      color: var(--text-muted);
      padding: 4px 8px;
      border-radius: 10px;
      font-weight: 600;
    }
/* --- home --- */
.category-item.active .cat-count {
      background: #DBEAFE;
      color: var(--accent);
    }
/* --- home --- */
/* ЦЕНТРАЛЬНАЯ СЕТКА ТОВАРОВ (3 В РЯД) */
    .catalog-main {
      min-width: 0;
    }
/* --- home --- */
.catalog-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 24px;
    }
/* --- home --- */
.catalog-headline {
      font-family: var(--font-heading);
      font-size: 24px;
      font-weight: 800;
      color: var(--text-main);
      letter-spacing: -0.01em;
    }
/* --- home --- */
.catalog-meta {
      font-size: 13px;
      color: var(--text-muted);
    }
/* --- home --- */
.products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
/* --- home --- */
/* КАРТОЧКА ТОВАРА */
    .product-card {
      background: var(--bg-panel);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      box-shadow: var(--shadow-card);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
/* --- home --- */
.product-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-card-hover);
      border-color: #D1D5DB;
    }
/* --- home --- */
/* Насыщенный цветной блок за фото (Додо-стиль) */
    .product-visual-block {
      height: 160px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      text-align: center;
      overflow: hidden;
    }
/* --- home --- */
.visual-label {
      color: #FFFFFF;
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 18px;
      line-height: 1.25;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
      z-index: 2;
      max-width: 85%;
    }
/* --- home --- */
.product-badge-hit {
      position: absolute;
      top: 10px;
      left: 10px;
      background: #EF4444;
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: var(--radius-pill);
      letter-spacing: 0.02em;
      z-index: 3;
      box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }
/* --- home --- */
/* Цвета блоков по списку товаров */
    .color-blue { background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%); }
/* --- home --- */
.color-sky { background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%); }
/* --- home --- */
.color-purple { background: linear-gradient(135deg, #6D28D9 0%, #A855F7 100%); }
/* --- home --- */
.color-graphite { background: linear-gradient(135deg, #374151 0%, #6B7280 100%); }
/* --- home --- */
.color-teal { background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%); }
/* --- home --- */
.color-pink { background: linear-gradient(135deg, #BE185D 0%, #F472B6 100%); }
/* --- home --- */
.color-amber { background: linear-gradient(135deg, #B45309 0%, #F59E0B 100%); }
/* --- home --- */
.color-green { background: linear-gradient(135deg, #15803D 0%, #22C55E 100%); }
/* --- home --- */
.color-red { background: linear-gradient(135deg, #B91C1C 0%, #EF4444 100%); }
/* --- home --- */
.color-lime { background: linear-gradient(135deg, #4D7C0F 0%, #84CC16 100%); }
/* --- home --- */
.product-body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
/* --- home --- */
.product-title {
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.35;
      margin-bottom: 8px;
      min-height: 40px;
    }
/* --- home --- */
.product-specs {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-bottom: 16px;
      min-height: 52px;
      align-content: flex-start;
    }
/* --- home --- */
.spec-chip {
      background: #F3F4F6;
      color: #4B5563;
      font-size: 11px;
      font-weight: 500;
      padding: 4px 8px;
      border-radius: 6px;
      line-height: 1.2;
    }
/* --- home --- */
.product-footer {
      margin-top: auto;
      padding-top: 16px;
      border-top: 1px solid #F3F4F6;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
/* --- home --- */
.price-row {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
    }
/* --- home --- */
.product-price {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      color: var(--accent);
      letter-spacing: -0.01em;
    }
/* --- home --- */
.product-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }
/* --- home --- */
.btn-add-cart {
      flex: 1;
      height: 38px;
      background: var(--accent);
      color: #FFFFFF;
      font-size: 13px;
      font-weight: 700;
      border-radius: 8px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
/* --- home --- */
.btn-add-cart:hover {
      background: var(--accent-hover);
    }
/* --- home --- */
.link-details {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 38px;
      padding: 0 8px;
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 600;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      background: #FFFFFF;
      transition: all 0.2s ease;
    }
/* --- home --- */
.link-details:hover {
      color: var(--text-main);
      background: #F9FAFB;
      border-color: #D1D5DB;
    }
/* --- home --- */
/* ПРАВАЯ ЛИПКАЯ КОРЗИНА */
    .cart-sidebar {
      background: var(--bg-panel);
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 16px;
      position: sticky;
      top: 92px;
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
/* --- home --- */
.cart-sidebar-title {
      width: 100%;
      text-align: left;
      font-family: var(--font-heading);
      font-size: 15px;
      font-weight: 800;
      color: var(--text-main);
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-color);
      margin-bottom: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
/* --- home --- */
.cart-empty-visual {
      width: 64px;
      height: 64px;
      background: #F3F4F6;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #9CA3AF;
      margin-bottom: 16px;
    }
/* --- home --- */
.cart-empty-text {
      font-family: var(--font-heading);
      font-size: 16px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 8px;
    }
/* --- home --- */
.cart-empty-sub {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
      margin-bottom: 24px;
    }
/* --- home --- */
.btn-goto-cart {
      width: 100%;
      height: 42px;
      background: var(--accent);
      color: #FFFFFF;
      font-size: 13px;
      font-weight: 700;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
/* --- home --- */
.btn-goto-cart:hover {
      background: var(--accent-hover);
    }
/* --- home --- */
/* 5. ПОЛОСА «ПОЧЕМУ ТЕХНОМАРКЕТ» */
    .reasons-section {
      background: #FFFFFF;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 48px 0;
    }
/* --- home --- */
.reasons-header {
      text-align: center;
      margin-bottom: 32px;
    }
/* --- home --- */
.reasons-title {
      font-family: var(--font-heading);
      font-size: 22px;
      font-weight: 800;
      color: var(--text-main);
    }
/* --- home --- */
.reasons-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
/* --- home --- */
.reason-card {
      background: #F9FAFB;
      border: 1px solid var(--border-color);
      border-radius: var(--radius);
      padding: 24px;
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
/* --- home --- */
.reason-icon {
      width: 44px;
      height: 44px;
      background: #EEF2FF;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      flex-shrink: 0;
    }
/* --- home --- */
.reason-content {
      font-size: 14px;
      font-weight: 600;
      color: var(--text-main);
      line-height: 1.4;
    }
/* --- home --- */
/* 6. ФУТЕР */
    .footer {
      background: var(--bg-footer);
      color: #94A3B8;
      padding: 48px 0 32px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
/* --- home --- */
.footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 24px;
      padding-bottom: 32px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
/* --- home --- */
.footer-brand {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #FFFFFF;
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 18px;
    }
/* --- home --- */
.footer-nav {
      display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
    }
/* --- home --- */
.footer-nav a {
      color: #CBD5E1;
      font-weight: 500;
      font-size: 14px;
      transition: color 0.2s ease;
    }
/* --- home --- */
.footer-nav a:hover {
      color: #FFFFFF;
    }
/* --- home --- */
.footer-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 24px;
      font-size: 13px;
      color: #64748B;
    }
/* --- home --- */
.footer-note {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.06);
      padding: 4px 8px;
      border-radius: 6px;
      font-weight: 500;
      color: #94A3B8;
    }
/* --- home --- */
/* АДАПТИВНЫЕ СТИЛИ (360px мобильные) */
    @media (max-width: 992px) {
      .catalog-layout {
        grid-template-columns: 1fr;
      }

      .category-sidebar {
        position: static;
        overflow-x: auto;
        padding: 8px;
      }

      .sidebar-title {
        display: none;
      }

      .category-list {
        flex-direction: row;
      }

      .category-item {
        white-space: nowrap;
        padding: 8px 12px;
      }

      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .cart-sidebar {
        position: static;
        width: 100%;
      }

    }
/* --- home --- */
@media (max-width: 640px) {
      .container {
        padding: 0 16px;
      }

      .header-inner {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
      }

      .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 8px;
      }

      .hero-title {
        font-size: 28px;
      }

      .products-grid {
        grid-template-columns: 1fr;
      }

      .reasons-grid {
        grid-template-columns: 1fr;
      }

      .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      /* Мобильная липкая корзина внизу экрана */
      .cart-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
        padding: 12px 16px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      .cart-sidebar-title,
      .cart-empty-visual,
      .cart-empty-sub {
        display: none;
      }

      .cart-empty-text {
        margin: 0;
        font-size: 14px;
        text-align: left;
      }

      .btn-goto-cart {
        width: auto;
        padding: 0 16px;
      }
    }
/* --- catalog --- */
* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
/* --- catalog --- */
/* Container */
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      width: 100%;
    }
/* --- catalog --- */
/* Header */
    .header {
      background: var(--panel);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
    }
/* --- catalog --- */
.logo-badge {
      width: 36px;
      height: 36px;
      background: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #FFFFFF;
      flex-shrink: 0;
    }
/* --- catalog --- */
.brand-name {
      font-family: var(--font-title);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
    }
/* --- catalog --- */
.demo-tag {
      font-size: 11px;
      font-weight: 600;
      color: var(--accent);
      background: var(--accent-light);
      padding: 4px 8px;
      border-radius: 999px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
/* --- catalog --- */
/* Breadcrumbs & Title Section */
    .catalog-page-head {
      padding: 24px 0 16px 0;
    }
/* --- catalog --- */
.breadcrumbs {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 12px;
    }
/* --- catalog --- */
.breadcrumbs a {
      color: var(--text-secondary);
      text-decoration: none;
      transition: color 0.2s;
    }
/* --- catalog --- */
.breadcrumbs a:hover {
      color: var(--accent);
    }
/* --- catalog --- */
.catalog-title-row {
      display: flex;
      align-items: baseline;
      gap: 12px;
    }
/* --- catalog --- */
.catalog-title {
      font-family: var(--font-title);
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
      line-height: 1.2;
    }
/* --- catalog --- */
.catalog-subtitle {
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
    }
/* --- catalog --- */
/* Main Layout Grid */
    .catalog-layout {
      display: grid;
      grid-template-columns: 210px 1fr 260px;
      gap: 24px;
      align-items: start;
      padding-bottom: 48px;
    }
/* --- catalog --- */
/* Sidebar Categories (Left) */
    .sidebar-categories {
      background: var(--panel);
      border-radius: var(--radius);
      padding: 8px;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 88px;
    }
/* --- catalog --- */
.category-item:hover:not(.active) {
      background: var(--bg);
      color: var(--text);
    }
/* --- catalog --- */
.category-count {
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 999px;
      background: var(--bg);
      color: var(--text-secondary);
      font-weight: 600;
    }
/* --- catalog --- */
.category-item.active .category-count {
      background: rgba(255, 255, 255, 0.22);
      color: #FFFFFF;
    }
/* --- catalog --- */
/* Main Content Area (Center) */
    .content-area {
      min-width: 0;
    }
/* --- catalog --- */
.filter-sort-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
      padding: 4px 0;
    }
/* --- catalog --- */
.sort-control {
      position: relative;
      display: inline-flex;
      align-items: center;
    }
/* --- catalog --- */
.sort-select {
      appearance: none;
      -webkit-appearance: none;
      background: var(--panel);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 8px 40px 8px 16px;
      font-size: 13px;
      font-family: inherit;
      font-weight: 500;
      color: var(--text);
      cursor: pointer;
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
/* --- catalog --- */
.sort-select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
    }
/* --- catalog --- */
.sort-chevron {
      position: absolute;
      right: 12px;
      pointer-events: none;
      color: var(--text-secondary);
      display: flex;
    }
/* --- catalog --- */
.items-count-text {
      font-size: 13px;
      color: var(--text-secondary);
      font-weight: 500;
    }
/* --- catalog --- */
/* Products Grid */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
/* --- catalog --- */
.product-card {
      background: var(--panel);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
      position: relative;
    }
/* --- catalog --- */
/* Vibrant Color Cover Blocks */
    .card-cover {
      position: relative;
      height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      text-align: center;
      color: #FFFFFF;
      user-select: none;
    }
/* --- catalog --- */
.cover-title {
      font-family: var(--font-title);
      font-size: 16px;
      font-weight: 700;
      line-height: 1.3;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
      max-width: 90%;
    }
/* --- catalog --- */
/* Product Cover Colors */
/* --- catalog --- */
/* --- catalog --- */
.hit-badge {
      position: absolute;
      top: 10px;
      left: 10px;
      background: #EF4444;
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 999px;
      letter-spacing: 0.02em;
      box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    }
/* --- catalog --- */
.card-body {
      padding: 16px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
/* --- catalog --- */
.product-name {
      font-family: var(--font-title);
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
      line-height: 1.35;
      margin-bottom: 8px;
      min-height: 40px;
    }
/* --- catalog --- */
.specs-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }
/* --- catalog --- */
.card-footer {
      margin-top: auto;
    }
/* --- catalog --- */
.actions-row {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
/* --- catalog --- */
.btn-buy {
      width: 100%;
      background: var(--accent);
      color: #FFFFFF;
      border: none;
      border-radius: 8px;
      padding: 8px 16px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.15s ease, transform 0.1s ease;
    }
/* --- catalog --- */
.btn-buy:hover {
      background: var(--accent-hover);
    }
/* --- catalog --- */
.btn-buy:active {
      transform: scale(0.99);
    }
/* --- catalog --- */
.btn-details {
      text-align: center;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      padding: 4px;
      transition: color 0.15s;
    }
/* --- catalog --- */
.btn-details:hover {
      color: var(--accent);
    }
/* --- catalog --- */
/* Sticky Cart (Right) */
    .sidebar-cart {
      position: sticky;
      top: 88px;
    }
/* --- catalog --- */
.cart-card {
      background: var(--panel);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
      padding: 24px;
    }
/* --- catalog --- */
.cart-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border);
      padding-bottom: 16px;
      margin-bottom: 24px;
    }
/* --- catalog --- */
.cart-title {
      font-family: var(--font-title);
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }
/* --- catalog --- */
.cart-badge {
      font-size: 12px;
      color: var(--text-secondary);
      font-weight: 500;
    }
/* --- catalog --- */
.cart-empty-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 12px 4px 8px;
    }
/* --- catalog --- */
.cart-empty-icon {
      width: 56px;
      height: 56px;
      background: var(--bg);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }
/* --- catalog --- */
.cart-empty-title {
      font-family: var(--font-title);
      font-size: 15px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 8px;
    }
/* --- catalog --- */
.cart-empty-desc {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.4;
      margin-bottom: 24px;
    }
/* --- catalog --- */
.btn-go-to-cart {
      width: 100%;
      background: var(--accent);
      color: #FFFFFF;
      border: none;
      border-radius: var(--radius);
      padding: 12px 16px;
      font-family: inherit;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      text-align: center;
      transition: background 0.15s ease;
    }
/* --- catalog --- */
.btn-go-to-cart:hover {
      background: var(--accent-hover);
    }
/* --- catalog --- */
/* Footer */
    .footer {
      background: var(--dark);
      color: #94A3B8;
      margin-top: auto;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
/* --- catalog --- */
.footer-inner {
      padding: 32px 0 24px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
/* --- catalog --- */
.footer-brand .brand-name {
      color: #FFFFFF;
    }
/* --- catalog --- */
/* Responsive 360px & Tablet */
    @media (max-width: 1024px) {
      .catalog-layout {
        grid-template-columns: 180px 1fr;
      }
      .sidebar-cart {
        display: none;
      }
      .products-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
/* --- catalog --- */
@media (max-width: 768px) {
      .catalog-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 48px;
      }

      .header-inner {
        height: auto;
        padding: 12px 0;
        flex-wrap: wrap;
      }

      .search-box {
        order: 3;
        max-width: 100%;
        width: 100%;
      }

      /* Horizontal category chips */
      .sidebar-categories {
        position: static;
        width: 100%;
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }

      .sidebar-categories::-webkit-scrollbar {
        display: none;
      }

      .category-item {
        white-space: nowrap;
        padding: 8px 12px;
        gap: 8px;
        flex-shrink: 0;
      }

      .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
      }

      /* Sticky cart on bottom */
      .sidebar-cart {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: 40;
        padding: 8px 16px;
        background: var(--panel);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border);
      }

      .cart-card {
        padding: 0;
        border: none;
        box-shadow: none;
      }

      .cart-header,
      .cart-empty-icon,
      .cart-empty-title,
      .cart-empty-desc {
        display: none;
      }

      .cart-empty-state {
        padding: 0;
      }

      .btn-go-to-cart {
        padding: 12px;
        font-size: 14px;
      }

      .footer-top {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
    }
/* --- product --- */
button, input {
      font-family: inherit;
    }
/* --- product --- */
/* Header */
    header {
      background-color: var(--surface);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
    }
/* --- product --- */
.brand-group {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }
/* --- product --- */
.brand-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 19px;
      color: var(--text);
    }
/* --- product --- */
.pill-demo {
      background-color: #EEF2FF;
      color: var(--accent);
      font-size: 11px;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 9999px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }
/* --- product --- */
.search-wrapper {
      flex: 1;
      max-width: 480px;
      position: relative;
    }
/* --- product --- */
.btn-user {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 14px;
      font-weight: 500;
      color: var(--text);
      padding: 8px 12px;
      border-radius: var(--radius);
      background: transparent;
      border: none;
      cursor: pointer;
    }
/* --- product --- */
.btn-cart {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: var(--accent);
      color: white;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: var(--radius);
      border: none;
      cursor: pointer;
      transition: background-color 0.15s ease;
    }
/* --- product --- */
.btn-cart:hover {
      background-color: var(--accent-hover);
    }
/* --- product --- */
/* Breadcrumbs */
    .breadcrumbs {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 24px 0 16px;
      font-size: 13px;
      color: var(--text-muted);
    }
/* --- product --- */
.breadcrumbs-sep {
      color: #9CA3AF;
      font-size: 11px;
    }
/* --- product --- */
.breadcrumbs-current {
      color: var(--text);
      font-weight: 500;
    }
/* --- product --- */
/* Product Main Card */
    .product-main-card {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 32px;
      display: grid;
      grid-template-columns: 460px 1fr;
      gap: 32px;
      margin-bottom: 32px;
    }
/* --- product --- */
.product-visual {
      background: #1E40AF;
      border-radius: var(--radius);
      height: 480px;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: white;
      padding: 24px;
      text-align: center;
      overflow: hidden;
    }
/* --- product --- */
.badge-hit {
      position: absolute;
      top: 16px;
      left: 16px;
      background-color: #EF4444;
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 9999px;
      letter-spacing: 0.02em;
      z-index: 2;
    }
/* --- product --- */
.device-icon-frame {
      width: 140px;
      height: 220px;
      border: 3px solid rgba(255, 255, 255, 0.85);
      border-radius: 28px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      padding: 16px 8px;
      position: relative;
      background: rgba(255, 255, 255, 0.05);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
      margin-bottom: 24px;
    }
/* --- product --- */
.device-speaker {
      width: 34px;
      height: 4px;
      background: rgba(255, 255, 255, 0.7);
      border-radius: 2px;
    }
/* --- product --- */
.device-screen-inner {
      flex: 1;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
/* --- product --- */
.device-screen-mark {
      font-size: 13px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.95);
      font-family: var(--font-heading);
      letter-spacing: 0.04em;
    }
/* --- product --- */
.device-home-button {
      width: 28px;
      height: 28px;
      border: 2px solid rgba(255, 255, 255, 0.6);
      border-radius: 50%;
    }
/* --- product --- */
.product-visual-caption {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.01em;
      color: #FFFFFF;
    }
/* --- product --- */
.product-visual-sub {
      font-size: 13px;
      color: rgba(255, 255, 255, 0.75);
      margin-top: 4px;
    }
/* --- product --- */
/* Product Info Column */
    .product-details {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
/* --- product --- */
.badge-hit-inline {
      display: inline-block;
      align-self: flex-start;
      background-color: #EF4444;
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 8px;
      border-radius: 9999px;
      margin-bottom: 12px;
    }
/* --- product --- */
.product-description {
      font-size: 15px;
      line-height: 1.6;
      color: #4B5563;
      margin-bottom: 24px;
    }
/* --- product --- */
.chips-group {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }
/* --- product --- */
.chip {
      background-color: #F3F4F6;
      color: #374151;
      font-size: 12px;
      font-weight: 500;
      padding: 8px 12px;
      border-radius: 9999px;
      border: 1px solid #E5E7EB;
    }
/* --- product --- */
.cart-action-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }
/* --- product --- */
.stepper {
      display: inline-flex;
      align-items: center;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      height: 48px;
      background: var(--surface);
      overflow: hidden;
      flex-shrink: 0;
    }
/* --- product --- */
.stepper-btn {
      width: 44px;
      height: 100%;
      border: none;
      background: transparent;
      font-size: 18px;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.15s ease;
    }
/* --- product --- */
.stepper-btn:hover {
      background: #F3F4F6;
    }
/* --- product --- */
.stepper-value {
      width: 40px;
      text-align: center;
      font-weight: 600;
      font-size: 15px;
      color: var(--text);
    }
/* --- product --- */
.demo-notice {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
      display: flex;
      align-items: center;
      gap: 8px;
    }
/* --- product --- */
/* Section: Specifications */
    .specs-section {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 32px;
      margin-bottom: 32px;
    }
/* --- product --- */
.section-title {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.01em;
      margin-bottom: 24px;
      color: var(--text);
    }
/* --- product --- */
.specs-table {
      width: 100%;
      border-collapse: collapse;
    }
/* --- product --- */
.specs-table tr {
      border-bottom: 1px solid #F3F4F6;
    }
/* --- product --- */
.specs-table tr:last-child {
      border-bottom: none;
    }
/* --- product --- */
.specs-table td {
      padding: 16px 8px;
      font-size: 14px;
    }
/* --- product --- */
.spec-label-cell {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--text-muted);
      font-weight: 500;
      width: 320px;
    }
/* --- product --- */
.spec-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #F3F4F6;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent);
      flex-shrink: 0;
    }
/* --- product --- */
.spec-value-cell {
      color: var(--text);
      font-weight: 600;
    }
/* --- product --- */
/* Section: Similar Products */
    .similar-section {
      margin-bottom: 48px;
    }
/* --- product --- */
.similar-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
/* --- product --- */
.card-photo {
      height: 180px;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      text-align: center;
    }
/* --- product --- */
.card-photo-title {
      color: white;
      font-family: var(--font-heading);
      font-size: 18px;
      font-weight: 700;
      max-width: 220px;
      line-height: 1.3;
    }
/* --- product --- */
.card-title {
      font-family: var(--font-heading);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
      color: var(--text);
    }
/* --- product --- */
.card-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 16px;
    }
/* --- product --- */
.card-chips .chip {
      font-size: 11px;
      padding: 4px 8px;
    }
/* --- product --- */
.card-price {
      font-family: var(--font-heading);
      font-size: 20px;
      font-weight: 800;
      color: var(--accent);
    }
/* --- product --- */
.card-actions {
      display: flex;
      gap: 8px;
    }
/* --- product --- */
.btn-card-cart {
      flex: 1;
      height: 38px;
      background: var(--accent);
      color: white;
      border: none;
      border-radius: var(--radius);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.15s ease;
    }
/* --- product --- */
.btn-card-cart:hover {
      background: var(--accent-hover);
    }
/* --- product --- */
.btn-card-details {
      height: 38px;
      padding: 0 16px;
      background: #F3F4F6;
      color: var(--text);
      border: none;
      border-radius: var(--radius);
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.15s ease;
    }
/* --- product --- */
.btn-card-details:hover {
      background: #E5E7EB;
    }
/* --- product --- */
/* Footer */
    footer {
      background-color: var(--dark);
      color: #9CA3AF;
      padding: 48px 0 32px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
/* --- product --- */
.footer-logo {
      display: flex;
      align-items: center;
      gap: 8px;
      color: white;
      font-family: var(--font-heading);
      font-weight: 800;
      font-size: 18px;
    }
/* --- product --- */
.footer-logo-badge {
      width: 30px;
      height: 30px;
      background: var(--accent);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
    }
/* --- product --- */
/* Responsive 360px */
    @media (max-width: 768px) {
      .header-inner {
        height: auto;
        padding: 16px 0;
        flex-wrap: wrap;
        gap: 12px;
      }

      .search-wrapper {
        order: 3;
        max-width: 100%;
        width: 100%;
      }

      .product-main-card {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 24px;
      }

      .product-visual {
        height: 320px;
      }

      .device-icon-frame {
        width: 100px;
        height: 160px;
      }

      .product-title {
        font-size: 22px;
      }

      .product-price {
        font-size: 26px;
      }

      .cart-action-row {
        flex-direction: column;
        width: 100%;
      }

      .stepper {
        width: 100%;
        justify-content: space-between;
      }

      .stepper-btn {
        flex: 1;
      }

      .stepper-value {
        flex: 1;
      }

      .btn-add-cart {
        width: 100%;
      }

      .spec-label-cell {
        width: auto;
      }

      .similar-grid {
        grid-template-columns: 1fr;
      }

      .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
      }

      .footer-nav {
        flex-direction: column;
        gap: 12px;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
    }
/* --- cart --- */
/* HEADER */
    .header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
    }
/* --- cart --- */
.logo-area {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: inherit;
    }
/* --- cart --- */
.logo-text {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 20px;
      letter-spacing: -0.02em;
      color: var(--text);
    }
/* --- cart --- */
.demo-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      background: #EFF6FF;
      color: var(--primary);
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      border-radius: var(--radius-pill);
    }
/* --- cart --- */
.search-bar {
      flex: 1;
      max-width: 520px;
      position: relative;
    }
/* --- cart --- */
.login-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: none;
      color: var(--text);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      padding: 8px 12px;
      border-radius: var(--radius-sm);
      text-decoration: none;
    }
/* --- cart --- */
.login-btn:hover {
      background: #F3F4F6;
    }
/* --- cart --- */
.cart-btn-header {
      display: flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: #fff;
      border: none;
      border-radius: var(--radius-pill);
      padding: 8px 16px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.15s;
    }
/* --- cart --- */
.cart-btn-header:hover {
      background: var(--primary-hover);
    }
/* --- cart --- */
/* BREADCRUMBS */
    .breadcrumbs {
      padding: 24px 0 8px;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
    }
/* --- cart --- */
.breadcrumbs span {
      color: #9CA3AF;
    }
/* --- cart --- */
/* PAGE TITLE */
    .page-header {
      margin-bottom: 24px;
    }
/* --- cart --- */
.page-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 28px;
      letter-spacing: -0.02em;
      color: var(--text);
      margin-bottom: 4px;
    }
/* --- cart --- */
.page-subtitle {
      font-size: 15px;
      color: var(--text-muted);
    }
/* --- cart --- */
/* CART LAYOUT */
    .cart-layout {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 32px;
      align-items: start;
      margin-bottom: 48px;
    }
/* --- cart --- */
/* ITEMS LIST */
    .cart-items {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
/* --- cart --- */
.item-thumb {
      width: 110px;
      height: 110px;
      border-radius: var(--radius-sm);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 8px;
      text-align: center;
      color: #FFFFFF;
      font-weight: 700;
      font-size: 12px;
      line-height: 1.25;
      position: relative;
      flex-shrink: 0;
    }
/* --- cart --- */
.item-thumb svg {
      margin-bottom: 8px;
      opacity: 0.95;
    }
/* --- cart --- */
.item-thumb.thumb-nova {
      background: #1E40AF;
    }
/* --- cart --- */
.item-thumb.thumb-soundpods {
      background: #E11D48;
    }
/* --- cart --- */
.item-info {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
/* --- cart --- */
.item-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 17px;
      color: var(--text);
      line-height: 1.3;
    }
/* --- cart --- */
.item-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
/* --- cart --- */
.item-unit-price {
      font-size: 13px;
      color: var(--text-muted);
    }
/* --- cart --- */
.item-controls {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 16px;
    }
/* --- cart --- */
.stepper-val {
      min-width: 32px;
      text-align: center;
      font-size: 14px;
      font-weight: 700;
      color: var(--text);
    }
/* --- cart --- */
.item-price-wrap {
      text-align: right;
    }
/* --- cart --- */
.item-total-price {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 18px;
      color: var(--text);
      letter-spacing: -0.01em;
    }
/* --- cart --- */
.delete-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 13px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 6px;
      transition: color 0.15s, background 0.15s;
    }
/* --- cart --- */
.delete-btn:hover {
      color: var(--danger);
      background: #FEE2E2;
    }
/* --- cart --- */
/* SUMMARY STICKY CARD */
    .cart-summary {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 24px;
      position: sticky;
      top: 96px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    }
/* --- cart --- */
.summary-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 19px;
      color: var(--text);
      margin-bottom: 24px;
    }
/* --- cart --- */
.summary-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-size: 14px;
      color: var(--text-muted);
    }
/* --- cart --- */
.summary-row-val {
      font-weight: 600;
      color: var(--text);
    }
/* --- cart --- */
.summary-divider {
      height: 1px;
      background: var(--border);
      margin: 16px 0;
    }
/* --- cart --- */
.summary-total {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 24px;
    }
/* --- cart --- */
.summary-total-label {
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 16px;
      color: var(--text);
    }
/* --- cart --- */
.summary-total-value {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 24px;
      color: var(--primary);
      letter-spacing: -0.02em;
    }
/* --- cart --- */
.checkout-btn {
      width: 100%;
      height: 48px;
      background: var(--primary);
      color: #FFFFFF;
      border: none;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.15s;
      margin-bottom: 12px;
      text-decoration: none;
    }
/* --- cart --- */
.checkout-btn:hover {
      background: var(--primary-hover);
    }
/* --- cart --- */
.continue-shopping {
      display: block;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--primary);
      text-decoration: none;
      margin-bottom: 16px;
    }
/* --- cart --- */
.continue-shopping:hover {
      text-decoration: underline;
    }
/* --- cart --- */
.demo-notice svg {
      flex-shrink: 0;
      margin-top: 0;
    }
/* --- cart --- */
/* EMPTY STATE SHOWCASE SECTION */
    .empty-state-section {
      margin-top: 48px;
      margin-bottom: 48px;
      border-top: 2px dashed #D1D5DB;
      padding-top: 48px;
    }
/* --- cart --- */
.section-preview-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 16px;
      background: #E5E7EB;
      padding: 4px 8px;
      border-radius: 4px;
    }
/* --- cart --- */
.empty-card {
      background: var(--surface);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 48px 24px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 640px;
      margin: 0 auto;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    }
/* --- cart --- */
.empty-icon-wrap {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: #EFF6FF;
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
    }
/* --- cart --- */
.empty-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 22px;
      color: var(--text);
      margin-bottom: 8px;
    }
/* --- cart --- */
.empty-desc {
      font-size: 14px;
      color: var(--text-muted);
      max-width: 360px;
      margin-bottom: 24px;
    }
/* --- cart --- */
.empty-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: #FFFFFF;
      font-size: 14px;
      font-weight: 700;
      padding: 12px 24px;
      border-radius: var(--radius-sm);
      text-decoration: none;
      transition: background 0.15s;
    }
/* --- cart --- */
.empty-btn:hover {
      background: var(--primary-hover);
    }
/* --- cart --- */
/* FOOTER */
    .footer {
      margin-top: auto;
      background: var(--dark);
      color: #9CA3AF;
      padding: 48px 0 32px;
      border-top: 1px solid #1F2E45;
    }
/* --- cart --- */
.footer-logo .logo-icon {
      background: var(--primary);
    }
/* --- cart --- */
.footer-logo .logo-text {
      color: #FFFFFF;
    }
/* --- cart --- */
/* RESPONSIVE DESIGN (Адаптив 360px+) */
    @media (max-width: 900px) {
      .cart-layout {
        grid-template-columns: 1fr;
      }
      .cart-summary {
        position: static;
        order: 2;
      }
      .search-bar {
        display: none;
      }
    }
/* --- cart --- */
@media (max-width: 640px) {
      .header-inner {
        height: 60px;
      }
      .logo-text {
        font-size: 17px;
      }
      .cart-btn-header span.cart-extra {
        display: none;
      }
      .cart-card {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .item-thumb {
        width: 100%;
        height: 120px;
      }
      .item-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid #F3F4F6;
      }
      .delete-btn {
        padding: 8px 12px;
        background: #FEE2E2;
        color: var(--danger);
      }
      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }
      .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
    }
/* --- checkout --- */
*, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
/* --- checkout --- */
h1, h2, h3, h4 {
      font-family: 'Manrope', sans-serif;
      color: var(--text);
    }
/* --- checkout --- */
/* Хедер */
    .header {
      background: #FFFFFF;
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
    }
/* --- checkout --- */
.header-container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
/* --- checkout --- */
.btn-user:hover {
      background: #F3F4F6;
    }
/* --- checkout --- */
/* Основная часть */
    .main-wrap {
      flex: 1;
      max-width: var(--container);
      margin: 0 auto;
      padding: 24px 24px 48px 24px;
      width: 100%;
    }
/* --- checkout --- */
/* Хлебные крошки */
    .breadcrumbs {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 16px;
    }
/* --- checkout --- */
.breadcrumbs span.sep {
      color: #9CA3AF;
    }
/* --- checkout --- */
.breadcrumbs span.current {
      color: var(--text-secondary);
    }
/* --- checkout --- */
/* Заголовок страницы */
    .page-title {
      font-size: 28px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
/* --- checkout --- */
/* Макет двух колонок */
    .checkout-layout {
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 32px;
      align-items: start;
    }
/* --- checkout --- */
/* Карточки */
    .card {
      background: var(--card-bg);
      border-radius: var(--radius);
      border: 1px solid var(--border);
      padding: 32px;
    }
/* --- checkout --- */
.form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
    }
/* --- checkout --- */
.form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
/* --- checkout --- */
.form-group.full-width {
      grid-column: 1 / -1;
    }
/* --- checkout --- */
.form-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
    }
/* --- checkout --- */
.form-label .req {
      color: #DC2626;
      margin-left: 4px;
    }
/* --- checkout --- */
.input-text, .textarea-text {
      width: 100%;
      background: #FFFFFF;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 12px 16px;
      font-size: 14px;
      font-family: inherit;
      color: var(--text);
      outline: none;
      transition: all 0.15s ease;
    }
/* --- checkout --- */
.input-text:focus, .textarea-text:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    }
/* --- checkout --- */
.textarea-text {
      min-height: 84px;
      resize: vertical;
    }
/* --- checkout --- */
.form-hint {
      font-size: 12px;
      color: var(--text-secondary);
      line-height: 1.4;
    }
/* --- checkout --- */
.divider {
      height: 1px;
      background: var(--border);
      margin: 24px 0;
    }
/* --- checkout --- */
/* Блок карты */
    .map-container {
      margin-top: 8px;
      margin-bottom: 16px;
    }
/* --- checkout --- */
.map-frame {
      position: relative;
      height: 280px;
      background: #E5E9EC;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
    }
/* --- checkout --- */
.map-svg-bg {
      width: 100%;
      height: 100%;
      display: block;
    }
/* --- checkout --- */
.map-controls {
      position: absolute;
      top: 12px;
      right: 12px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      z-index: 10;
    }
/* --- checkout --- */
.map-btn {
      width: 32px;
      height: 32px;
      background: #FFFFFF;
      border: 1px solid var(--border);
      border-radius: 6px;
      font-size: 18px;
      font-weight: 600;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 2px 4px rgba(0,0,0,0.06);
    }
/* --- checkout --- */
.map-btn:hover {
      background: #F9FAFB;
    }
/* --- checkout --- */
.map-pin-center {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -100%);
      pointer-events: none;
      filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
    }
/* --- checkout --- */
.map-subtext {
      font-size: 12px;
      color: var(--text-secondary);
      margin-top: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
/* --- checkout --- */
/* Демо-баннер в форме */
    .demo-notice {
      background: #F3F4F6;
      border-radius: var(--radius);
      padding: 12px 16px;
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 13px;
      color: var(--text-secondary);
      margin-bottom: 24px;
      line-height: 1.45;
    }
/* --- checkout --- */
/* Кнопка оформления */
    .btn-submit {
      width: 100%;
      background: var(--accent);
      color: #FFFFFF;
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 16px;
      padding: 16px 24px;
      border-radius: var(--radius);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: background 0.15s ease, transform 0.05s ease;
    }
/* --- checkout --- */
.btn-submit:hover {
      background: var(--accent-hover);
    }
/* --- checkout --- */
.btn-submit:active {
      transform: scale(0.99);
    }
/* --- checkout --- */
/* Правая колонка: Ваш заказ */
    .summary-card {
      position: sticky;
      top: 96px;
    }
/* --- checkout --- */
.order-items {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-bottom: 24px;
    }
/* --- checkout --- */
.order-item {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      font-size: 14px;
    }
/* --- checkout --- */
.item-name {
      font-weight: 600;
      color: var(--text);
    }
/* --- checkout --- */
.item-qty {
      font-size: 12px;
      color: var(--text-secondary);
    }
/* --- checkout --- */
.item-price {
      font-weight: 600;
      white-space: nowrap;
      color: var(--text);
    }
/* --- checkout --- */
.summary-total-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding-top: 16px;
      border-top: 1px solid var(--border);
      margin-bottom: 24px;
    }
/* --- checkout --- */
.total-label {
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
    }
/* --- checkout --- */
.total-amount {
      font-family: 'Manrope', sans-serif;
      font-size: 24px;
      font-weight: 800;
      color: var(--accent);
      letter-spacing: -0.02em;
    }
/* --- checkout --- */
.btn-back-cart {
      display: block;
      text-align: center;
      font-size: 14px;
      font-weight: 600;
      color: var(--accent);
      padding: 8px;
      border-radius: var(--radius);
      transition: background 0.15s ease;
    }
/* --- checkout --- */
.btn-back-cart:hover {
      background: #EFF6FF;
    }
/* --- checkout --- */
/* Секция примера экрана успеха */
    .success-section-wrapper {
      margin-top: 48px;
      padding-top: 48px;
      border-top: 2px dashed #E5E7EB;
    }
/* --- checkout --- */
.section-state-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--text-secondary);
      background: #E5E7EB;
      padding: 4px 12px;
      border-radius: 6px;
      margin-bottom: 24px;
    }
/* --- checkout --- */
.success-card {
      max-width: 680px;
      margin: 0 auto;
      text-align: center;
      padding: 48px 32px;
    }
/* --- checkout --- */
.success-icon-wrap {
      width: 64px;
      height: 64px;
      background: #EFF6FF;
      color: var(--accent);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 24px auto;
    }
/* --- checkout --- */
.success-title-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-bottom: 12px;
    }
/* --- checkout --- */
.success-title {
      font-size: 24px;
      font-weight: 800;
    }
/* --- checkout --- */
.status-pill {
      font-size: 12px;
      font-weight: 600;
      background: #EFF6FF;
      color: var(--accent);
      padding: 4px 8px;
      border-radius: 9999px;
    }
/* --- checkout --- */
.success-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
      max-width: 520px;
      margin: 0 auto 32px auto;
    }
/* --- checkout --- */
.success-actions {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }
/* --- checkout --- */
.btn-primary-action {
      background: var(--accent);
      color: #FFFFFF;
      font-weight: 600;
      font-size: 14px;
      padding: 12px 24px;
      border-radius: var(--radius);
      border: none;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.15s ease;
    }
/* --- checkout --- */
.btn-primary-action:hover {
      background: var(--accent-hover);
    }
/* --- checkout --- */
.btn-secondary-action {
      background: #F3F4F6;
      color: var(--text);
      font-weight: 600;
      font-size: 14px;
      padding: 12px 24px;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: background 0.15s ease;
    }
/* --- checkout --- */
.btn-secondary-action:hover {
      background: #E5E7EB;
    }
/* --- checkout --- */
/* Футер */
    .footer {
      background: var(--bg-footer);
      color: #94A3B8;
      padding: 48px 0 32px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: auto;
    }
/* --- checkout --- */
.footer-container {
      max-width: var(--container);
      margin: 0 auto;
    }
/* --- checkout --- */
.footer-brand .logo-text {
      color: #FFFFFF;
    }
/* --- checkout --- */
/* Адаптив под мобильные (360px) */
    @media (max-width: 900px) {
      .checkout-layout {
        grid-template-columns: 1fr;
      }

      .summary-card {
        position: static;
        order: -1;
      }

      .search-box {
        display: none;
      }
    }
/* --- checkout --- */
@media (max-width: 640px) {
      .header-container {
        padding: 12px 16px;
      }

      .main-wrap {
        padding: 16px 16px 48px 16px;
      }

      .form-grid {
        grid-template-columns: 1fr;
      }

      .card {
        padding: 24px 16px;
      }

      .page-title {
        font-size: 22px;
      }

      .map-frame {
        height: 280px;
      }

      .btn-submit {
        width: 100%;
        font-size: 15px;
        padding: 16px 16px;
      }

      .btn-user span {
        display: none;
      }

      .btn-user {
        padding: 8px;
      }

      .btn-cart {
        padding: 8px 16px;
        font-size: 13px;
      }

      .footer-top {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-nav {
        flex-direction: column;
        gap: 12px;
      }

      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    }
/* --- orders --- */
.logo-group {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      color: inherit;
    }
/* --- orders --- */
/* Main Content */
    .main {
      flex: 1;
      padding: 32px 0 48px;
    }
/* --- orders --- */
/* Page Header */
    .page-header {
      margin-bottom: 32px;
    }
/* --- orders --- */
/* Content Layout */
    .purchases-layout {
      display: flex;
      flex-direction: column;
      gap: 32px;
      max-width: 800px;
    }
/* --- orders --- */
/* Card Component */
    .card {
      background: #FFFFFF;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 32px;
    }
/* --- orders --- */
/* Email Search Card */
    .search-card-form {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
/* --- orders --- */
.form-row {
      display: flex;
      gap: 12px;
    }
/* --- orders --- */
.email-input {
      flex: 1;
      height: 48px;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 0 16px;
      font-size: 15px;
      color: #111827;
      outline: none;
      transition: all 0.2s;
      font-family: inherit;
    }
/* --- orders --- */
.email-input:focus {
      border-color: #1E40AF;
      box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    }
/* --- orders --- */
.btn-primary {
      height: 48px;
      padding: 0 24px;
      background-color: #1E40AF;
      color: #FFFFFF;
      border: none;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
      text-decoration: none;
    }
/* --- orders --- */
.btn-primary:hover {
      background-color: #1B3796;
    }
/* --- orders --- */
/* Order Card */
    .order-card {
      background: #FFFFFF;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 24px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    }
/* --- orders --- */
.order-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 16px;
      border-bottom: 1px solid #E5E7EB;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }
/* --- orders --- */
.order-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 17px;
      color: #111827;
    }
/* --- orders --- */
.status-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 9999px;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.02em;
      background: #EFF6FF;
      color: #1E40AF;
    }
/* --- orders --- */
.order-body {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
/* --- orders --- */
.order-item-name {
      color: #111827;
      font-weight: 500;
    }
/* --- orders --- */
.order-item-price {
      font-weight: 600;
      color: #111827;
      white-space: nowrap;
    }
/* --- orders --- */
.order-address {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 14px;
      color: #6B7280;
    }
/* --- orders --- */
.order-address svg {
      flex-shrink: 0;
      margin-top: 4px;
      color: #6B7280;
    }
/* --- orders --- */
.order-divider {
      height: 1px;
      background: #E5E7EB;
      margin: 4px 0;
    }
/* --- orders --- */
.order-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-top: 4px;
    }
/* --- orders --- */
.order-total-label {
      font-size: 15px;
      color: #6B7280;
    }
/* --- orders --- */
.order-total-value {
      font-family: 'Manrope', sans-serif;
      font-size: 18px;
      font-weight: 800;
      color: #1E40AF;
    }
/* --- orders --- */
/* Section Label for State Previews */
    .state-example-tag {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #6B7280;
      background: #E5E7EB;
      padding: 4px 8px;
      border-radius: 6px;
      margin-bottom: 12px;
      align-self: flex-start;
    }
/* --- orders --- */
/* Empty State Card */
    .empty-state-card {
      background: #FFFFFF;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 48px 24px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
/* --- orders --- */
.footer-nav a:hover,
    .footer-nav a.active {
      color: #FFFFFF;
    }
/* --- about --- */
.demo-pill {
      background-color: #EEF2FF;
      color: #1E40AF;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 4px 8px;
      border-radius: 9999px;
      border: 1px solid rgba(30, 64, 175, 0.15);
    }
/* --- about --- */
.search-input::placeholder {
      color: #6B7280;
    }
/* --- about --- */
/* HERO BANNER */
    .hero-banner {
      background-color: #0F1B2D;
      color: #FFFFFF;
      padding: 48px 0;
      border-radius: 12px;
      margin-top: 12px;
      margin-bottom: 32px;
    }
/* --- about --- */
.hero-banner .container {
      max-width: 1200px;
    }
/* --- about --- */
/* MAIN CONTENT */
    .main-content {
      flex: 1;
      padding: 24px 0 48px;
    }
/* --- about --- */
/* TWO COLUMNS SECTION */
    .info-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      margin-bottom: 32px;
    }
/* --- about --- */
.panel-card {
      background-color: #FFFFFF;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 32px;
      display: flex;
      flex-direction: column;
    }
/* --- about --- */
.panel-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 22px;
      color: #111827;
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
/* --- about --- */
.panel-text {
      color: #4B5563;
      font-size: 15px;
      line-height: 1.65;
    }
/* --- about --- */
.steps-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin-top: 4px;
    }
/* --- about --- */
.step-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      background-color: #F9FAFB;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 16px;
    }
/* --- about --- */
.step-num-badge {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 14px;
      color: #1E40AF;
      background-color: #EEF2FF;
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
/* --- about --- */
.step-content {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 8px;
      flex: 1;
    }
/* --- about --- */
.step-icon-wrap {
      color: #1E40AF;
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
/* --- about --- */
.step-desc {
      font-size: 15px;
      font-weight: 500;
      color: #111827;
      line-height: 1.4;
    }
/* --- about --- */
/* VALUE CARDS */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 32px;
    }
/* --- about --- */
.value-card {
      background-color: #FFFFFF;
      border: 1px solid #E5E7EB;
      border-radius: 12px;
      padding: 24px;
      display: flex;
      align-items: center;
      gap: 16px;
    }
/* --- about --- */
.value-icon-box {
      width: 48px;
      height: 48px;
      background-color: #EEF2FF;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #1E40AF;
      flex-shrink: 0;
    }
/* --- about --- */
.value-text {
      font-size: 15px;
      font-weight: 600;
      color: #111827;
      line-height: 1.4;
    }
/* --- about --- */
/* CTA BAR */
    .cta-banner {
      background-color: #0F1B2D;
      border-radius: 12px;
      padding: 32px 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 16px;
    }
/* --- about --- */
.cta-content {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
/* --- about --- */
.cta-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 22px;
      color: #FFFFFF;
    }
/* --- about --- */
.cta-disclaimer {
      font-size: 14px;
      color: #94A3B8;
    }
/* --- about --- */
.cta-button {
      background-color: #1E40AF;
      color: #FFFFFF;
      font-family: 'Manrope', sans-serif;
      font-weight: 700;
      font-size: 15px;
      padding: 16px 32px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: background-color 0.15s ease;
      flex-shrink: 0;
    }
/* --- about --- */
.cta-button:hover {
      background-color: #1B3796;
    }
/* --- about --- */
.footer-brand-title {
      font-family: 'Manrope', sans-serif;
      font-weight: 800;
      font-size: 18px;
      color: #FFFFFF;
    }
/* --- about --- */
/* RESPONSIVE DESIGN (down to 360px) */
    @media (max-width: 900px) {
      .info-grid {
        grid-template-columns: 1fr;
      }
      .values-grid {
        grid-template-columns: 1fr;
      }
      .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
      }
      .cta-button {
        width: 100%;
        justify-content: center;
      }
    }
/* --- about --- */
@media (max-width: 768px) {
      .header-inner {
        height: 64px;
      }
      .search-box {
        display: none;
      }
      .hero-title {
        font-size: 28px;
      }
      .hero-subtitle {
        font-size: 15px;
      }
      .hero-banner {
        padding: 32px 0;
      }
      .panel-card {
        padding: 24px 24px;
      }
      .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
      }
      .footer-nav {
        flex-wrap: wrap;
        gap: 16px;
      }
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
    }
/* --- about --- */
@media (max-width: 480px) {
      .step-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }
      .step-content {
        padding-top: 0;
      }
    }
/* --- Доработки Muse: якоря, карта доставки, reveal --- */
[id]{scroll-margin-top:110px}
.address-field{position:relative}
.address-results{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-card-hover);overflow:hidden}
.address-result{display:block;width:100%;text-align:left;background:none;border:0;padding:12px 16px;font:inherit;font-size:14px;color:var(--text);cursor:pointer}
.address-result:hover,.address-result.active{background:var(--accent-light)}
.map-wrap{height:320px;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;background:#E8EAED}
.map-wrap .leaflet-container{font-family:var(--font-body);font-size:14px}
.map-fallback{padding:16px;font-size:14px;color:var(--text-muted)}
.order-address{font-size:14px;color:var(--text-muted);margin-top:8px}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none}}
@media (max-width:640px){[id]{scroll-margin-top:200px}.map-wrap{height:280px}}

/* --- Доработки Muse: недостающие классы шаблонов --- */
.hero-content{display:flex;flex-direction:column;justify-content:center}
.catalog-empty{color:var(--text-muted);padding:24px 0;text-align:center}
.product-visual-block img{max-width:100%;max-height:128px;width:auto;object-fit:cover;border-radius:8px;transition:transform .2s ease}
.product-card:hover .product-visual-block img{transform:scale(1.05)}

/* --- Доработки Muse: классы шаблонов и JS без правил в Stitch --- */
.err{display:none;font-size:12px;color:#DC2626;margin-top:4px}
.err.show{display:block}
.input-text.err,.textarea-text.err,.email-input.err{border-color:#DC2626}
.form-status{display:none;margin-top:16px;padding:12px 16px;border-radius:8px;background:#EFF6FF;color:#1E40AF;font-size:14px;line-height:1.5}
.form-status.show{display:block}
.form-status b{display:block;margin-bottom:4px}
.status-badge.new{background:#EFF6FF;color:#1E40AF}
.status-badge.contacted{background:#FEF3C7;color:#92400E}
.status-badge.done{background:#DCFCE7;color:#166534}
.status-badge.cancelled{background:#F3F4F6;color:#6B7280}
.notice-card{display:flex;gap:8px;align-items:flex-start;background:#EFF6FF;color:#1E40AF;border-radius:8px;padding:12px 16px;font-size:13px;line-height:1.5;margin-top:16px}
.notice-card svg{flex-shrink:0;margin-top:2px}
.bottom-actions{margin-top:16px}
.cart-sidebar-items{width:100%;display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.cart-sidebar-item{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--text-main);text-align:left}
.cart-sidebar-total{width:100%;display:flex;justify-content:space-between;font-weight:700;font-size:14px;color:var(--text-main);padding-top:12px;border-top:1px solid var(--border-color);margin-bottom:16px}
.product-visual img{max-width:100%;max-height:100%;object-fit:cover;border-radius:8px}
.item-thumb img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.product-details .product-title{font-size:32px;line-height:1.2;min-height:0;margin-bottom:12px}
.product-details .product-price{font-size:32px;margin-bottom:16px}
@media (max-width:768px){.product-details .product-title{font-size:24px}.product-details .product-price{font-size:24px}}

/* --- Пересборка 2026-11-05 (§17): фиксы коллизий --- */
main.container{padding-top:24px}
.product-details .demo-notice{background:none;padding:0;margin-bottom:0}
.product-actions--col{flex-direction:column;align-items:stretch}
.product-actions--col .btn-add-cart{flex:none;width:100%}
.product-actions--col .link-details{border:none;background:transparent;height:auto;padding:8px 0 0}
@media (min-width:1025px){.page-catalog .catalog-layout{grid-template-columns:210px 1fr 280px}}

/* --- FIX 2026-11-05: визуальная проверка пересборки (десктоп + 360px) --- */
/* 1. Мобильная липкая корзина: базовое правило даёт top:92px — fixed-панель на ≤640px наследовала его и растягивалась на весь экран. Сброс top + компактная панель (только итог и кнопка). */
@media (max-width: 640px){
  .cart-sidebar{top:auto;max-height:40vh;overflow-y:auto;gap:8px}
  .cart-sidebar-items{display:none}
  .cart-sidebar-total,.cart-empty-text{flex-shrink:0}
  .btn-goto-cart{white-space:nowrap;flex-shrink:0}
}
/* 2. Цены не переносят ₽ на вторую строку (sticky-корзина, корзина, оформление, заказы, карточка товара). */
.cart-sidebar-item>span:last-child,.cart-sidebar-total>span:last-child,.summary-total-value,.order-total-value,.product-price,.item-price{white-space:nowrap}
/* 3. Заголовок «О компании»: светлый текст на тёмном баннере (hero-banner #0F1B2D, а .hero-title/.hero-subtitle по умолчанию тёмные). */
.hero-banner .hero-title{color:#FFFFFF}
.hero-banner .hero-subtitle{color:#CBD5E1}
/* 4. Футер прижат к низу на коротких страницах (orders.html: пустая зона ~300px под футером). */
body{display:flex;flex-direction:column;min-height:100vh}
body>main{flex:1 0 auto}
body>footer{flex-shrink:0}
/* 5. Меньше пустой серой полосы между каталогом и «Почему ТехноМаркет» (было padding-bottom 48px на фоне страницы #F5F6F8). */
.catalog-section{padding-bottom:32px}

/* --- FIX 2026-11-06: финальная проверка с жёсткой перезагрузкой --- */
/* 1. Зазор каталог → «Почему ТехноМаркет»: поздняя копия .catalog-layout (секция catalog) добавляла padding-bottom:48px поверх padding секции — итого ~80px серого + 48px белого. Обнуляем дубль и чуть уменьшаем верх reasons. */
.catalog-layout{padding-bottom:0}
.reasons-section{padding-top:32px}
/* 2. Горизонтальный overflow на 360px: запрет прокрутки на уровне html (body уже имеет overflow-x:clip, но без html он не всегда доходит до вьюпорта). */
html,body{overflow-x:clip}
/* 3. Цена товара на странице корзины не переносится (класс .item-total-price не попал в прошлое правило nowrap). */
.item-total-price,.item-unit-price{white-space:nowrap}
/* 4. Мобильная панель корзины: содержимое (итог + кнопка) было шире 360px и кнопка срезалась правым краем — уменьшаем кнопку и итог, чтобы всё влезало. */
@media (max-width: 640px){
  .cart-sidebar{padding:12px}
  .cart-sidebar-total{font-size:14px}
  .btn-goto-cart{padding:0 12px;font-size:14px}
}

/* --- FIX 2026-11-06 (раунд 4): мобильный overflow, корень найден --- */
/* 1. КОРЕНЬ: .cart-sidebar-total имеет width:100% (строка 3615, записана без пробела перед { — прошлый grep её не нашёл). В мобильной flex-строке панели она занимала всю ширину бара, и кнопка «Перейти в корзину» уезжала за правый край на ~150px. На ≤640px итоги — гибкий элемент вместо 100%. */
@media (max-width: 640px){
  .cart-sidebar-total{width:auto;flex:1 1 auto;min-width:0;margin-bottom:0;padding-top:0;border-top:0}
  .cart-empty-text{flex:1 1 auto;min-width:0}
}
/* 2. overflow-x:clip на html не убрал горизонтальную прокрутку в iframe — hidden убирает надёжно. */
html,body{overflow-x:hidden}

/* --- FIX 2026-11-06 (раунд 5): карточка корзины на 360px --- */
/* Строка контролов (цена + степпер + «Удалить») не влезала в 328px: степпер берёт width:100% из правила для страницы товара (≤768px) и выдавливал «+» и «Удалить» за правый край. На ≤640px контролы — столбиком: степпер на всю ширину, «Удалить» на всю ширину. */
@media (max-width: 640px){
  .item-controls{flex-direction:column;align-items:stretch;gap:12px}
  .item-controls .stepper{width:100%}
  .item-controls .delete-btn{width:100%;justify-content:center}
  .item-total-price{text-align:right}
}

/* --- FIX 2026-11-06 (раунд 6): форма «Мои покупки» и цены корзины на 360px --- */
/* 1. Форма поиска заказов: строка email+кнопка не влезала в карточку (контент 296px, min-content строки ~362px: input с size по умолчанию + кнопка nowrap) — кнопка срезалась. На ≤640px — столбиком, кнопка на всю ширину. */
@media (max-width: 640px){
  .search-card-form .form-row{flex-direction:column}
  .search-card-form .email-input{min-width:0;width:100%}
  .search-card-form .btn-primary{width:100%}
}
/* 2. Значение строки «Товары (N)» в сводке корзины не попало в прошлое правило nowrap — добавляем. */
.summary-row-val{white-space:nowrap}

/* --- FIX 2026-11-06 (раунд 7): срез ₽ на 360px --- */
/* У правых цен (строки товаров, сводка корзины, итог заказа) правая дуга ₽ срезалась на 2–3px: текст прижат вплотную к правому краю карточки. На ≤640px даём этим ценам отступ справа 6px. */
@media (max-width: 640px){
  .item-total-price,.summary-row-val,.summary-total-value,.order-total-value{padding-right:6px}
}
