/* ===========================
   ПЕРЕМЕННЫЕ — меняйте здесь
   =========================== */
   :root {
    --bg: #08090d;
    --bg-alt: #0e1117;
    --bg-card: #14171f;
    --ink: #ffffff;
    --ink-soft: #b8bdcc;
    --muted: #6b7280;
    --border: #1f2433;
    --border-hover: #2a3245;
   
    --neon-cyan: #00e5ff;
    --neon-magenta: #ff2bd6;
    --neon-violet: #8b5cf6;
    --accent: var(--neon-cyan);
    --accent-2: var(--neon-magenta);
   
    --font-display: 'Syne', system-ui, sans-serif;
--font-mono: 'JetBrains Mono', monospace;
--font-body: 'DM Sans', -apple-system, sans-serif;
   
    --radius: 8px;
    --shadow-glow: 0 0 24px rgba(0, 229, 255, 0.15);
    --shadow-glow-strong: 0 0 40px rgba(0, 229, 255, 0.35), 0 0 80px rgba(255, 43, 214, 0.15);
  }
   
  * { box-sizing: border-box; }
   
  html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Все секции между хедером и футером растягиваются */
.category-hero,
.catalog {
  flex: 1;
}

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
  }
   
  body::after {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 43, 214, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
  }
   
  main, header, section, footer { position: relative; z-index: 1; }
   
  img { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
   
  /* ===========================
     ШАПКА
     =========================== */
  .site-header {
    background: rgba(8, 9, 13, 0.7);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
  }
   
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.50rem;
    letter-spacing: -0.01em;
  }
   
  .brand-mark {
    color: var(--neon-cyan);
    font-size: 0.7rem;
    text-shadow: 0 0 12px var(--neon-cyan);
    animation: pulse 2.5s ease-in-out infinite;
  }
   
  .brand-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
  }
   
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
   
  .brand-name {
    background: linear-gradient(90deg,
      #ffffff 0%,
      #ffffff 8%,
      #fbbf24 25%,
      #ef4444 45%,
      #1e40af 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
   
  .nav-link-custom {
    font-size: 1.15rem;
    color: var(--ink-soft);
    font-weight: 500;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
   
  .nav-link-custom:hover {
    color: var(--neon-cyan);
  }
   
  /* Иконки соцсетей */
  .header-socials,
  .footer-socials {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
   
  .header-socials {
    border-left: 1px solid var(--border);
    padding-left: 16px;
    margin-left: 4px;
  }
   
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-hover);
    color: var(--ink-soft);
    transition: all 0.25s ease;
    background: transparent;
    font-size: 1.15rem;
  }
   
  .social-icon:hover {
    color: #000;
    background: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
  }
   
  /* ===========================
     HERO
     =========================== */
  .hero {
    padding: 50px 0 20px;
    position: relative;
  }
   
  .hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    font-weight: 500;
    margin-bottom: 1.25rem;
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.05);
  }
   
  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 5rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
  }
   
  .hero-title.small {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
   
  .hero-title em {
    font-style: normal;
    background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
   
  .hero-subtitle {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 580px;
    margin-bottom: 2.5rem;
  }
   
  .hero-stats {
    display: none;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
  }
   
  .hero-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
   
  .hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0dcaf0;
    margin-top: 4px;
  }
   
  /* ===========================
     HERO КАТЕГОРИИ (на страницах подкаталогов)
     =========================== */
  .category-hero {
    padding: 60px 0 30px;
  }
   
  .breadcrumbs {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
   
  .breadcrumbs a { color: var(--muted); transition: color 0.2s ease; }
  .breadcrumbs a:hover { color: var(--neon-cyan); }
  .breadcrumbs .bc-sep { color: var(--neon-cyan); }
  .breadcrumbs .bc-current { color: var(--ink); }
   
  /* ===========================
     КНОПКИ
     =========================== */
  .btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
  }
   
  .btn-primary-custom {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    color: #000;
    position: relative;
    overflow: hidden;
  }
   
  .btn-primary-custom:hover {
    box-shadow: var(--shadow-glow-strong);
    transform: translateY(-1px);
    color: #000;
  }
   
  .btn-buy {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    border-radius: 4px;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid var(--border-hover);
    transition: all 0.25s ease;
  }
   
  .btn-buy:hover {
    background: var(--neon-cyan);
    color: #000;
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-glow);
  }
   
  .btn-buy .arrow { transition: transform 0.25s ease; }
  .btn-buy:hover .arrow { transform: translateX(4px); }
   
  /* ===========================
     КАТАЛОГ
     =========================== */
  .catalog {
    padding: 60px 0 60px;
  }
   
  .catalog-header {
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
  }
   
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
  }
   
  .section-subtitle {
    color: #0dcaf0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
  }

  .catalog-header-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 24px;
  }
   
  /* ===========================
     КАТЕГОРИИ — плитки на главной
     =========================== */
  .category-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    height: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
   
  .category-card:hover {
    transform: translateY(-6px);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-glow);
    color: #0dcaf0;
  }
   
  .category-image {
    aspect-ratio: 1 / 1;
    background:
      radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.10), transparent 55%),
      radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.10), transparent 55%),
      var(--bg-alt);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
  }
   
  .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
   
  .category-card:hover .category-image img {
    transform: scale(1.06);
  }
   
  .category-body {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
   
  .category-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }
   
  .category-arrow {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--muted);
    transition: color 0.25s ease, transform 0.25s ease;
  }
   
  .category-card:hover .category-arrow {
    color: var(--neon-cyan);
    transform: translateX(4px);
  }
   
  /* ===========================
     КАРТОЧКА ТОВАРА
     =========================== */
  .product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .product-card .btn-buy {
    display: none;
  } /*закрывает кнопку купить на озон на странице выбора конкретного товара*/
  
  .product-card .product-price-row {
    display: none;
  } /*закрывает поле кнопки купить на озон на странице выбора конкретного товара*/
   
  .product-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
  }
   
  .product-image {
    aspect-ratio: 4 / 3;
    background:
      radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.08), transparent 50%),
      radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.08), transparent 50%),
      var(--bg-alt);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border);
  }
   
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
   
  .product-card:hover .product-image img {
    transform: scale(1.04);
  }
   
  .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 229, 255, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.4);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
  }
   
  .product-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
   
  .product-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
  }
   
  .product-desc {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 18px;
    flex-grow: 1;
  }
   
  .product-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
   
  .product-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
   
  .product-old-price {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--muted);
    text-decoration: line-through;
  }
   
  /* Пустой каталог */
  .empty-catalog {
    padding: 80px 30px;
    text-align: center;
    background: var(--bg-card);
    border: 1px dashed var(--border-hover);
    border-radius: var(--radius);
    color: var(--muted);
  }
   
  .empty-catalog h3 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-bottom: 12px;
  }
   
  /* ===========================
     О НАС
     =========================== */
  .about {
    background: var(--bg-alt);
    padding: 25px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
   
  .lead-text {
    font-size: 1.05rem;
    color: var(--ink-soft);
    margin-bottom: 1.5rem;
    line-height: 1.7;
  }
   
  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
   
  .feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    color: #0dcaf0;
    position: relative;
    padding-left: 24px;
  }
   
  .feature-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 0.9rem;
  }
   
  .feature-list li:last-child { border-bottom: none; }
  .feature-list strong { color: var(--ink); font-weight: 600; }
   
  .about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
   
  .stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
  }
   
  .stat:hover { border-color: var(--neon-cyan); }
   
  .stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
  }
   
  .stat-label {
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
   
  /* ===========================
     ФУТЕР
     =========================== */
  .site-footer {
    background: var(--bg);
    color: var(--ink-soft);
    padding: 20px 0 20px;
    border-top: 1px solid var(--border);
  }
   
  .footer-text {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.7;
  }
   
  .footer-label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin: 0 0 6px;
  }
   
  .footer-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
    border-bottom: 1px solid transparent;
    margin-right: 10px;
  }
   
  .footer-email:hover {
    color: var(--neon-cyan);
    border-bottom-color: var(--neon-cyan);
  }
   
  /* ===========================
     КАРТОЧКА ТОВАРА — кликабельные элементы (ссылки)
     =========================== */
  .product-card-link,
  .product-title-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }
   
  .product-card-link:hover .product-title,
  .product-title-link:hover .product-title {
    color: var(--neon-cyan);
  }
   
  /* ===========================
     СТРАНИЦА ТОВАРА
     =========================== */
  .product-page {
    padding: 40px 0 100px;
  }
   
  .product-loading {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    padding: 60px 0;
    text-align: center;
  }
   
  .product-detail {
    margin-top: 30px;
  }
   
  .product-detail-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 16px;
  }
   
  .product-detail-desc {
    color: var(--ink-soft);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 28px;
  }
   
  /* Цена временно скрыта — display: none */
  .product-detail-price-row {
    display: none;
    align-items: baseline;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
  }
   
  .product-detail-price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
  }
   
  .product-old-price-detail {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    color: var(--muted);
    text-decoration: line-through;
  }
   
  .btn-buy-large {
    padding: 18px 24px;
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
   
  .product-perks {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
   
  .product-perks .perk {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.02em;
  }
   
  /* Секции описания и характеристик */
  .product-section {
    margin-top: 20px;
    padding-top: 50px;
    border-top: 1px solid var(--border);
  }
   
  .section-title.small {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    margin-bottom: 24px;
  }
   
  .product-longdesc p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 0 1.1em;
    max-width: 760px;
  }
  .product-longdesc p:last-child { margin-bottom: 0; }
   
  /* Таблица характеристик */
  .specs-table {
    width: 100%;
    max-width: 760px;
    border-collapse: collapse;
  }
   
  .specs-table tr {
    border-bottom: 1px solid var(--border);
  }
   
  .specs-table tr:last-child {
    border-bottom: none;
  }
   
  .specs-table td {
    padding: 14px 0;
    vertical-align: top;
    font-size: 0.95rem;
  }
   
  .specs-table td:first-child {
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    width: 40%;
    padding-right: 20px;
  }
   
  .specs-table td:last-child {
    color: #0dcaf0;
    font-weight: 500;
  }
   
  /* ===========================
     ГАЛЕРЕЯ ТОВАРА
     =========================== */
  .product-gallery {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
}
   
  .gallery-main {
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.10), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.10), transparent 55%),
    var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  flex: 1;
  min-width: 0;
}
   
  .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease;
  }
   
  .gallery-main-clickable {
    cursor: zoom-in;
  }

  .gallery-inline-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
    cursor: pointer;
  }
   
  .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease;
    z-index: 3;
    backdrop-filter: blur(8px);
  }
   
  /* Стрелки появляются при наведении на галерею */
  .gallery-main:hover .gallery-arrow {
    opacity: 1;
  }
   
  .gallery-arrow:hover {
    background: rgba(13, 202, 240, 0.3);
    border-color: var(--neon-cyan, #0dcaf0);
  }
   
  .gallery-arrow-prev {
    left: 16px;
  }
   
  .gallery-arrow-next {
    right: 16px;
  }
   
  .product-badge-detail {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 229, 255, 0.12);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 229, 255, 0.4);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 3px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    z-index: 2;
  }
   
  .gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 82px;
  flex-shrink: 0;
}
   
  .gallery-thumb {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  border: 2px solid transparent;
  background: var(--bg-alt);
}
   
  .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
   
  .gallery-thumb:hover {
    border-color: var(--border-hover);
  }
   
  .gallery-thumb.active {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 1px var(--neon-cyan);
  }
  
  .gallery-thumb-video { position: relative; }
.thumb-play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
   
  /* ===========================
     HIGHLIGHTS (ленточка тезисов)
     =========================== */
  .product-highlights {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }
   
  .highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
   
  .highlight {
    background: var(--bg-card);
    padding: 24px 20px;
    text-align: center;
    transition: background 0.25s ease;
  }
   
  .highlight:hover {
    background: var(--bg-alt);
  }
   
  .highlight-label {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
  }
   
  .highlight-caption {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    line-height: 1.3;
  }
   
  /* ===========================
     FEATURE-БЛОКИ (сторителлеры)
     =========================== */
  .product-features {
    padding-top: 70px;
  }
   
  .features-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
  }
   
  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
   
  .feature-row-reverse {
    direction: rtl;
  }
  .feature-row-reverse > * {
    direction: ltr;
  }
   
  /* Блок без картинки — компактный, по центру */
  .feature-row-text {
    grid-template-columns: 1fr;
    max-width: 760px;
    border-left: 2px solid var(--neon-cyan);
    padding: 8px 0 8px 28px;
    gap: 0;
  }
   
  .feature-row-text .feature-text {
    padding: 0;
  }
   
  .feature-image {
    aspect-ratio: 4 / 3;
    background:
      radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.10), transparent 55%),
      radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.10), transparent 55%),
      var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
   
  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
   
  .feature-text {
    padding: 20px 0;
  }
   
  .feature-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 14px;
  }
   
  .feature-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 14px;
  }
   
  .feature-desc {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
  }
   
 
  Вот полный обновлённый блок адаптива — замени весь свой текущий адаптив на это:
css/* ===========================
   АДАПТИВ для product
   =========================== */
@media (max-width: 991px) {
  .product-gallery {
    position: static;
    flex-direction: column;
  }
  .gallery-thumbs {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
  }
  .gallery-thumb {
    flex-shrink: 0;
  }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row-reverse { direction: ltr; }
  .features-list { gap: 50px; }
}

/* ===========================
   АДАПТИВ планшеты и мобилки
   =========================== */
@media (max-width: 1024px) {
  .gallery-arrow { display: none !important; }
  
  .lightbox-nav { 
  z-index: 20;
  pointer-events: all;
  } 
}
  
  .lightbox-close { 
  z-index: 20;
  pointer-events: all; 
  }
  
  .lightbox-image {
    max-height: 100vh;
    max-width: 100vw;
    object-fit: contain;
    pointer-events: none;
  }
  
  .lightbox-download {
  z-index: 20;
  pointer-events: all;
}
  
}

@media (max-width: 768px) {
  /* Галерея */
  .gallery-arrow { display: none; }
  .gallery-thumbs { display: none; }

  /* Хедер */
  .brand { font-size: 1.6rem; }
  .brand-logo { width: 48px; height: 48px; }
  .nav-link-custom { font-size: 0.85rem; letter-spacing: 0; }
  .header-socials { display: none; }

  /* Футер */
  .site-footer .row { flex-direction: column; gap: 16px; }
  .site-footer .col-md-6 { width: 100%; text-align: center; }
  .site-footer .text-md-end { text-align: center !important; }
  .footer-email { font-size: 1rem; }
  .footer-socials { justify-content: center; }
}

@media (max-width: 480px) {
  /* Хедер */
  .brand { font-size: 1.3rem; }
  .brand-logo { width: 38px; height: 38px; }
  .nav-link-custom { font-size: 0.75rem; }

  /* Футер */
  .footer-text { font-size: 0.75rem; }
  .footer-email { font-size: 0.9rem; }
}

/* ===========================
   АДАПТИВ общий
   =========================== */
@media (max-width: 600px) {
  .hero { padding: 60px 0 40px; }
  .catalog { padding: 30px 0 30px; }
  .about { padding: 60px 0; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.5rem; }
  .product-section { margin-top: 50px; padding-top: 35px; }
  .specs-table td { padding: 12px 0; }
  .specs-table td:first-child { width: 50%; }
}
  /* =========================================================
     ЛАЙТБОКС (с полной защитой iOS Safari от прокрутки фона)
     ========================================================= */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: zoom-out;
    padding: 40px;
    touch-action: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: auto;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
   
  .lightbox-overlay.open {
    opacity: 1;
  }
  
  .lightbox-video {
  width: min(800px, 90vw);
  aspect-ratio: 16/9;
  display: block;
  border-radius: 8px;
  }
   
  /* Блокировка скролла фона на html и body одновременно — критично для iOS */
  html.lightbox-open,
  body.lightbox-open {
    position: fixed;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    width: calc(100% - var(--scrollbar-width, 0px));
    overscroll-behavior: none;
    touch-action: none;
    -webkit-overflow-scrolling: auto;
    -webkit-user-select: none;
    user-select: none;
  }
   
  /* Полностью отрубаем взаимодействие с галереей под лайтбоксом */
  body.lightbox-open .gallery-main,
  body.lightbox-open .gallery-thumbs,
  body.lightbox-open .product-page {
    pointer-events: none;
  }
   
  /* Картинка лайтбокса */
  .lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }
   
  /* Кнопка закрытия */
  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }
   
  .lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }
   
  /* Стрелки навигации в лайтбоксе */
  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4px;
    z-index: 2;
  }
   
  .lightbox-nav:hover {
    background: rgba(13, 202, 240, 0.2);
    border-color: var(--neon-cyan);
    transform: translateY(-50%) scale(1.05);
  }
   
  .lightbox-prev {
    left: 30px;
  }
   
  .lightbox-next {
    right: 30px;
  }
   
  /* Счётчик "1 / 5" */
  .lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 0.05em;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 2;
  }
   
  /* На мобилках стрелки лайтбокса прячем — там свайпы */
  @media (max-width: 600px) {
    .lightbox-nav {
      display: none;
    }
    .lightbox-overlay {
      padding: 20px;
    }
  }

  /* ===========================
     ПЕРЕКЛЮЧАТЕЛЬ ВАРИАНТОВ ТОВАРА
     =========================== */
  .variant-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }

  .variant-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0dcaf0;
    flex-shrink: 0;
  }

  .variant-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }

  .variant-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border: 1.5px solid var(--border-hover);
    background: transparent;
    color: var(--muted);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  .variant-btn:hover {
    border-color: var(--ink-soft);
    color: var(--ink);
  }

  .variant-btn.active {
    border-color: var(--ink);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.05);
  }

  .variant-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
  }

  /* Цвета точек — добавляйте новые по аналогии */
  .variant-dot-чёрный {
    background: #2a2a2a;
    border: 1.5px solid #555;
  }

  .variant-dot-белый {
    background: #e0e0e0;
    border: 1.5px solid #aaa;
  }
  
  /* Бургер */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
  display: none;
  background: rgba(8, 9, 13, 0.97);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.mobile-menu.open {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  container: var(--container);
}

.mobile-nav-link {
  font-size: 1.1rem;
  color: var(--ink-soft);
  font-weight: 500;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--neon-cyan);
}

.mobile-socials {
  display: flex;
  gap: 10px;
  padding: 16px 24px 8px;
}
  
/* ===========================
   СТРАНИЦА ДРАЙВЕРОВ
   =========================== */

/* Фильтры категорий */
.drivers-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.category-text {
  margin-left: auto;
  color: #0dcaf0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.99rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--border-hover);
  color: var(--neon-cyan);
}

.filter-btn.active {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.05);
}

/* Карточка устройства */
.driver-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.driver-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.driver-image {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.08), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.08), transparent 50%),
    var(--bg-alt);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.driver-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.driver-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 229, 255, 0.12);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

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

.driver-device-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.driver-device-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.driver-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-top: 0;
  margin-bottom: 12px;
}

/* Список скачиваний */
.download-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.download-item:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.04);
  color: inherit;
}

.download-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.download-os {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 7px;
}

.download-os svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.download-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.download-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.download-item:hover .download-arrow {
  transform: translateX(3px);
}

/* Пустой результат фильтра */
.drivers-empty {
  display: none;
  text-align: center;
  padding: 60px 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.drivers-empty.visible {
  display: block;
}
/* ===========================
   ВАРИАЦИЯ КНОПКИ DOWNLOAD-ITEM ДЛЯ ТЕМ
   На карточке драйверов кнопка-ссылка на страницу тем.
   =========================== */
.download-item-themes:hover {
  border-color: var(--neon-magenta);
  background: rgba(255, 43, 214, 0.05);
}
 
.download-item-themes .download-arrow {
  color: var(--neon-magenta);
}

/* ===========================
   КВАДРАТНЫЕ КНОПКИ: ИНСТРУКЦИЯ / ВИДЕОИНСТРУКЦИЯ
   =========================== */
.download-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink-soft);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.action-btn svg {
  color: var(--neon-cyan);
  transition: transform 0.2s ease;
}

.action-btn-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.action-btn-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.2;
}

.action-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.04);
  color: var(--ink);
}

.action-btn:hover svg {
  transform: scale(1.08);
}

.action-btn-video svg {
  color: var(--neon-magenta);
}

.action-btn-video:hover {
  border-color: var(--neon-magenta);
  background: rgba(255, 43, 214, 0.05);
}

/* ===========================
   СТРАНИЦА ИНСТРУКЦИИ (PDF AMD / INTEL)
   =========================== */
.manual-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.manual-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.manual-item:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.04);
  color: inherit;
}

.manual-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.manual-os {
  font-family: var(--font-mono);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.manual-os svg {
  flex-shrink: 0;
  color: var(--neon-cyan);
}

.manual-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.manual-arrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.manual-item:hover .manual-arrow {
  transform: translateX(3px);
}

/* ===========================
   СТРАНИЦА С ВИДЕОПЛЕЕРАМИ
   =========================== */
html {
  scroll-behavior: smooth;
}

.video-section {
  max-width: 860px;
  margin: 0 auto;
  scroll-margin-top: 100px;
}

/* Декоративный разделитель между видео */
.video-sep {
  max-width: 860px;
  margin: 72px auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.video-sep::before,
.video-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--neon-cyan) 50%, var(--border) 80%, transparent);
  opacity: 0.55;
}

.video-sep span {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transform: rotate(45deg);
  background: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.7);
}

/* Тот же разделитель, но компактнее — между кнопками в списке */
.manual-list .video-sep {
  margin: 10px auto;
}

.video-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4px;
}

.video-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  object-fit: cover;
}

/* ===========================
   СТРАНИЦА ТЕМ ДЛЯ ДИСПЛЕЯ
   =========================== */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
 
@media (max-width: 575px) {
  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
 
.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
 
.theme-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
 
.theme-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.08), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 43, 214, 0.08), transparent 50%),
    var(--bg-alt);
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border);
}
 
.theme-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
 
.theme-card:hover .theme-preview img {
  transform: scale(1.05);
}
 
.theme-info {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
 
.theme-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
 
.theme-desc {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.45;
  flex-grow: 1;
}
 
.theme-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
 
.theme-download-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.06);
  color: var(--neon-cyan);
}
 
.theme-download-arrow {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}
 
.theme-download-btn:hover .theme-download-arrow {
  transform: translateY(2px);
}
 
/* ===========================
   КНОПКА «СКАЧАТЬ» ВНУТРИ ЛАЙТБОКСА
   =========================== */
.lightbox-download {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--neon-cyan);
  color: #000;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 10;
}
 
.lightbox-download:hover {
  transform: translateX(-50%) translateY(-2px);
  background: #ffffff;
  color: #000;
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.6);
}
 
@media (max-width: 575px) {
  .lightbox-download {
    bottom: 20px;
    padding: 10px 18px;
    font-size: 0.72rem;
  }
}
 
/* Горизонтальная раскладка — скачать + темы рядом */
.download-list-row {
  flex-direction: row;
  gap: 8px;
}
 
.download-list-row .download-item {
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
}
 
.download-list-row .download-arrow {
  align-self: flex-end;
  margin-top: auto;
}