    /* Скрыть полосу прокрутки на всём сайте (скролл остаётся) */
    html, body {
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE/Edge */
    }
    html {
      overflow-anchor: none; /* Не дёргать скролл при подгрузке «Еще товары» */
      overflow-x: hidden; /* Запрет горизонтального скролла на мобильной */
    }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
    }
    * {
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    *::-webkit-scrollbar {
      display: none;
    }

    /* Максимальная ширина сайта на больших экранах */
    /* 768–1280: контейнер на всю ширину, без фиксированных полей по бокам */
    @media (min-width: 768px) and (max-width: 1279.98px) {
      .container {
        max-width: 100% !important;
      }
    }
    @media (min-width: 1280px) {
      .container {
        max-width: 1440px !important;
      }
    }

    :root {
  /* Цветовая палитра BizonVR */
  --bg-dark: #0f1115;       /* Глубокий темный фон */
  --bg-panel: #181b21;      /* Фон элементов */
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  
  /* Акцентный цвет (Неоновый фиолетовый/синий для VR) */
  --accent: #8b5cf6;        
  --accent-glow: rgba(139, 92, 246, 0.4);
  
  /* Размеры */
  --safe-bottom: env(safe-area-inset-bottom);
}

    /* Glassmorphism utilities */
    .bg-glass {
      background: rgba(21, 25, 35, 0.7);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .card-hover-effect {
      transition: all 0.3s ease;
    }
    .card-hover-effect:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px -10px rgba(0, 212, 255, 0.2);
      border-color: rgba(0, 212, 255, 0.3);
    }

    /* Анимации */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .animate-fade-in {
      animation: fadeIn 0.5s ease-out forwards;
    }

    /* Поиск с эффектом стекла */
    .search-input-glass {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 9999px;
      backdrop-filter: blur(4px);
      transition: all 0.3s ease;
    }
    .search-input-glass:focus {
      background: rgba(255, 255, 255, 0.1);
      border-color: #00D4FF;
      box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
    }
    
    /* City selector glass */
    .city-select-glass {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(4px);
    }
    .city-select-glass:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(0, 212, 255, 0.3);
    }

    /* Мобильная шапка главной: полоса города, под ней поиск; при скролле город уезжает, поиск остаётся */
    .mobile-header {
      position: relative;
      z-index: 100;
    }
    .mobile-header-wrapper {
      padding: 0 1rem;
      padding-top: max(0.5rem, env(safe-area-inset-top));
      padding-bottom: 0.75rem;
      background: rgba(13, 15, 23, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 0 0 24px 24px;
    }
    /* Верхняя полоса: только город + стрелка, без карточки */
    .mobile-header-city-strip {
      display: flex;
      align-items: center;
      min-height: 2.75rem;
      padding: 0.375rem 0;
    }
    .mobile-header-city-btn {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      width: 100%;
      min-height: 2.25rem;
      padding: 0 0;
      font-size: 0.9375rem;
      color: #fff;
      background: none;
      border: none;
      appearance: none;
      cursor: pointer;
      text-align: left;
      transition: opacity 0.2s;
    }
    .mobile-header-city-btn:hover {
      opacity: 0.9;
    }
    .mobile-header-city-btn .mobile-header-city-text {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .mobile-header-city-btn .chevron {
      width: 1.25rem;
      height: 1.25rem;
      color: rgba(255, 255, 255, 0.6);
      flex-shrink: 0;
      transition: transform 0.2s;
    }
    .mobile-header-city-btn.open .chevron {
      transform: rotate(180deg);
      color: #00D4FF;
    }
    .mobile-header-city-trigger-wrap {
      flex: 1;
      min-width: 0;
      position: relative;
    }
    .mobile-header-city-dropdown {
      position: absolute;
      left: -1rem;
      right: -1rem;
      top: calc(100% + 6px);
      z-index: 50;
      background: #151923;
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
      max-height: 60vh;
      overflow-y: auto;
    }
    .mobile-header-city-dropdown form {
      padding: 0.5rem;
    }
    .mobile-header-city-dropdown button {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      width: 100%;
      padding: 0.75rem 1rem;
      font-size: 0.875rem;
      text-align: left;
      color: rgba(255, 255, 255, 0.9);
      background: none;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .mobile-header-city-dropdown button:hover {
      background: rgba(255, 255, 255, 0.08);
    }
    /* Поиск: одна строка, иконка + поле, без лишних иконок */
    .mobile-header-search-form {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 9999px;
      padding: 0 0.75rem;
      min-height: 2.75rem;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .mobile-header-search-form:focus-within {
      background: rgba(255, 255, 255, 0.08);
      border-color: #00D4FF;
      box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
    }
    .mobile-header-search-input {
      flex: 1;
      min-width: 0;
      padding: 0.5rem 0;
      font-size: 0.9375rem;
      color: #fff;
      background: transparent;
      border: none;
      outline: none;
    }
    .mobile-header-search-input::placeholder {
      color: rgba(255, 255, 255, 0.45);
    }
    .mobile-header-search-btn {
      flex-shrink: 0;
      padding: 0.375rem;
      color: rgba(255, 255, 255, 0.5);
      background: none;
      border: none;
      cursor: pointer;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .mobile-header-search-btn:hover {
      color: #00D4FF;
    }
    .mobile-header-search-btn i {
      width: 1.25rem;
      height: 1.25rem;
    }
    /* Фиксированный поиск при скролле: остаётся сверху, город уезжает */
    .mobile-header-fixed-search {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 50000;
      padding: 0.5rem 1rem;
      padding-top: max(0.5rem, env(safe-area-inset-top));
      background: rgba(13, 15, 23, 0.97);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 0 0 24px 24px;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-8px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .mobile-header-fixed-search.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    html {
      -webkit-text-size-adjust: 100%;
    }
    body {
      background: #0d0f17;
      background-image: radial-gradient(circle at 15px 15px, rgba(0, 212, 255, 0.10) 2px, transparent 1.5px);
      background-size: 60px 60px;
      color: #ffffff;
      padding-top: 0;
      padding-bottom: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow-x: hidden;
      max-width: 100%;
      position: relative;
      isolation: isolate;
    }

    #main-content {
      flex: 1 0 auto;
      max-width: 100%;
      overflow-x: hidden;
    }

    .ambient-lights {
      position: absolute;
      inset: 0;
      pointer-events: none;
      min-height: 100%;
      z-index: -1;
    }

    .ambient-light {
      content: "";
      position: absolute;
      top: -50%;
      right: -20%;
      width: 680px;
      height: 680px;
      background: radial-gradient(circle, rgba(0, 4, 172, 0.7) 0%, transparent 56%);
      border-radius: 50%;
      filter: blur(42px);
      z-index: 0;
    }

    .ambient-light:nth-child(1) { top: -50%; right: -20%; }
    .ambient-light:nth-child(2) { top: 58%; right: 64%; width: 620px; height: 620px; }
    .ambient-light:nth-child(3) { top: 26%; right: 8%; width: 560px; height: 560px; }
    .ambient-light:nth-child(4) { top: -28%; right: 52%; width: 740px; height: 740px; }
    .ambient-light:nth-child(5) { top: 82%; right: -12%; width: 640px; height: 640px; }
    .ambient-light:nth-child(6) { top: 8%; right: 78%; width: 600px; height: 600px; }
    .ambient-light:nth-child(7) { top: 72%; right: 32%; width: 500px; height: 500px; }
    .ambient-light:nth-child(8) { top: 42%; right: -30%; width: 700px; height: 700px; }

    @media (max-width: 768px) {
      .ambient-light {
        width: 440px;
        height: 440px;
        filter: blur(34px);
      }
    }
    
    /* Preload: отключаем анимации до стабилизации страницы */
    body.preload * {
      transition: none !important;
    }

    .htmx-indicator {
      display: none;
    }
    .htmx-request .htmx-indicator {
      display: inline-block;
    }
    .htmx-request.htmx-indicator {
      display: inline-block;
    }
    
    [x-cloak] { display: none !important; }
    
    /* Стили для SVG иконок каталога */
    .catalog-icon svg {
      width: 100%;
      height: 100%;
      fill: currentColor;
    }

    /* Плитки категорий в выпадающем меню каталога — квадратные ячейки */
    .catalog-tiles-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(2, 1fr);
      aspect-ratio: 4 / 2;
      gap: 12px;
      grid-auto-flow: dense;
    }
    .catalog-tile {
      display: block;
      position: relative;
      overflow: hidden;
      border-radius: 12px;
      background-size: cover;
      background-position: center;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .catalog-tile:hover {
      transform: scale(1.02);
      box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
    }
    .catalog-tile-small { grid-column: span 1; grid-row: span 1; }
    .catalog-tile-medium { grid-column: span 2; grid-row: span 1; }
    .catalog-tile-large { grid-column: span 2; grid-row: span 2; }
    .catalog-tile-tall { grid-column: span 1; grid-row: span 2; }

    /* Логотип в шапке */
    .header-logo {
      font-family: 'Orbitron', sans-serif;
    }

    /* Header Nav Hover Effect */
    .header-nav a {
      position: relative;
      display: inline-block;
    }
    .header-nav a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: #00D4FF;
      transition: width 0.3s ease;
    }
    .header-nav a:hover::after {
      width: 100%;
    }
    
    /* Hero Carousel: базово 16:5, mobile — “подглядывает” следующий, desktop — один слайд */
    .hero-carousel {
      /* gap задаём переменной, чтобы desktop/mobile отличались без перелома логики */
      --hero-gap: 2%;
      --hero-radius: 16px;
      --hero-slide-width: 88%;
      --hero-step: 90%;
      --hero-pad: 6%;
      overflow: hidden;
      aspect-ratio: 16 / 5;
      min-height: 160px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
    }
    /* Чтобы hero не был шире шапки: синхроним max-width с Tailwind `.container` на каждом брейкпоинте */
    /* 768–1280: на всю ширину, без полей */
    @media (min-width: 768px) and (max-width: 1279.98px) {
      .hero-carousel {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
    }
    @media (min-width: 1280px) {
      .hero-carousel {
        max-width: 1440px;
        margin-left: auto;
        margin-right: auto;
        /* у нас `.container` на xl+ принудительно 1440px */
      }
    }
    .hero-carousel-inner {
      overflow: hidden;
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
    }
    .hero-carousel-inner .container {
      overflow-x: hidden;
      height: 100%;
      max-width: 100%;
      width: 100%;
      min-width: 0;
    }
    .hero-slides-track {
      display: flex;
      height: 100%;
      gap: var(--hero-gap);
      align-items: stretch;
      position: relative;
      /* Важно: позиционируем трек через transform (композитор), а drag добавляем px-значением */
      transform: translate3d(calc(var(--hero-pad) - var(--hero-current, 0) * var(--hero-step) + var(--hero-drag, 0px)), 0, 0);
      /* IMPORTANT: проценты у flex-item должны считаться от ширины вьюпорта/контейнера,
         а не от "max-content" ширины трека (иначе слайды едут и видны 2 больших сразу). */
      width: 100%;
      max-width: 100%;
      min-width: 0;
      flex-wrap: nowrap;
      transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
      will-change: transform;
      box-sizing: border-box;
    }
    .hero-slide {
      flex: 0 0 var(--hero-slide-width);
      width: var(--hero-slide-width);
      max-width: 100%;
      min-width: 0;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .hero-slide-card {
      position: relative;
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 16 / 5;
      min-height: 120px;
      max-height: 100%;
      border-radius: var(--hero-radius);
      overflow: hidden;
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
      flex-shrink: 0;
    }
    @media (min-width: 768px) {
      .hero-carousel {
        /* Desktop: ровная “большая карточка”, без peek соседних слайдов */
        --hero-gap: 0px;
        --hero-radius: 24px;
        --hero-slide-width: 100%;
        --hero-step: 100%;
        --hero-pad: 0%;
        min-height: 200px;
        max-height: 475px;
        border-radius: var(--hero-radius);
      }
      /* Убираем внутренние px-4 у hero-контейнера, чтобы не “подглядывали” соседи в боковые паддинги */
      .hero-carousel-inner .container {
        padding-left: 0;
        padding-right: 0;
      }
      .hero-slide-card {
        min-height: 180px;
        height: 100%;
        max-height: 475px;
        aspect-ratio: auto;
        border-radius: var(--hero-radius);
        
      }
      .hero-carousel-inner {
        border-radius: inherit;
      }

      /* Desktop nav buttons: светлые, аккуратные, выровнены по краям баннера */
      .hero-carousel .hero-nav-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.78);
        color: rgba(17, 24, 39, 0.92);
        border: 1px solid rgba(17, 24, 39, 0.10);
        box-shadow:
          0 10px 24px rgba(0, 0, 0, 0.22),
          0 1px 0 rgba(255, 255, 255, 0.35) inset;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        transition: box-shadow 140ms ease, background 140ms ease, opacity 140ms ease, border-color 140ms ease;
        outline: none;
      }
      /* чуть “спрятаны”, но всегда доступны */
      .hero-carousel .hero-nav-btn {
        opacity: 0.92;
      }
      .hero-carousel .hero-nav-btn:hover {
        background: rgba(255, 255, 255, 0.90);
        opacity: 1;
        border-color: rgba(17, 24, 39, 0.14);
        box-shadow:
          0 14px 30px rgba(0, 0, 0, 0.26),
          0 1px 0 rgba(255, 255, 255, 0.40) inset;
      }
      .hero-carousel .hero-nav-btn:active {
        background: rgba(255, 255, 255, 0.86);
      }
      .hero-carousel .hero-nav-btn:focus-visible {
        box-shadow:
          0 0 0 2px rgba(139, 92, 246, 0.35),
          0 10px 24px rgba(0, 0, 0, 0.22);
      }
      /* lucide превращает <i> в <svg> */
      .hero-carousel .hero-nav-btn svg {
        width: 18px;
        height: 18px;
        stroke-width: 2.25;
      }
      .hero-carousel .hero-nav-btn--left {
        left: 14px;
      }
      .hero-carousel .hero-nav-btn--right {
        right: 14px;
      }
    }
    @media (max-width: 767px) {
      .hero-carousel {
        /* основной слайд слева, видно следующий справа */
        --hero-slide-width: 92%;
        --hero-step: 94%;
        /* центрируем активный слайд */
        --hero-pad: 4%;
        --hero-radius: 12px;
        --hero-gap: 2%;
        min-height: 140px;
        margin-top: 0.5rem;
      }
      .hero-carousel-inner .container {
        /* привычные мобильные поля как в маркетплейсах */
        padding-left: 1rem;
        padding-right: 1rem;
      }
      .hero-slide-card {
        min-height: 120px;
      }
      .hero-carousel .hero-slide-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
      }
      .hero-carousel .hero-slide-title {
        font-size: 1.125rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
      }
      .hero-carousel .hero-slide-desc {
        font-size: 0.6875rem;
        margin-bottom: 0.75rem;
        line-height: 1.35;
      }
      .hero-carousel .hero-slide-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.625rem;
      }
      .hero-carousel .hero-dots-wrap {
        bottom: 0.75rem;
        gap: 0.375rem;
      }
      .hero-carousel .hero-dots-wrap button {
        width: 6px;
        height: 6px;
        min-width: 6px;
        min-height: 6px;
      }

      /* Быстрые ссылки (как в маркетплейсах): snap + приятный tap */
      .quicklinks-row {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
      }
      .quicklinks-row .brick {
        scroll-snap-align: start;
        -webkit-tap-highlight-color: transparent;
      }
      .quicklinks-row .brick span:first-child {
        transition: transform 0.12s ease, background-color 0.2s ease, border-color 0.2s ease;
      }
      .quicklinks-row .brick:active span:first-child {
        transform: scale(0.96);
        background-color: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.18);
      }
    }
    .hero-slide-title {
      text-shadow: 0 0 2px rgba(0,0,0,1), 0 0 8px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.8), 0 4px 16px rgba(0,0,0,0.7);
    }
    .hero-slide-desc {
      text-shadow: 0 0 2px rgba(0,0,0,1), 0 0 6px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.7), 0 2px 8px rgba(0,0,0,0.6);
    }
    .hero-slide-btn {
      text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    }
    .hero-slide-gradient {
      background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
    }
    .hero-slide-text-wrap {
      min-width: 0;
      overflow: hidden;
    }
    /* Поиск в основном хедере занимает всё свободное место */
    #main-body header .header-main-row form[action*="product_list"] {
      flex: 1 1 auto !important;
      min-width: 0 !important;
      max-width: none !important;
    }


    /* --- Основной Футер --- */
.vr-footer {
  background-color: var(--bg-dark);
  border-top: 1px solid #2d3039;
  color: var(--text-muted);
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-family: 'Inter', sans-serif; /* Или твой шрифт */
}

.vr-footer h3, 
.vr-footer h4 {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.vr-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vr-footer li {
  margin-bottom: 0.75rem;
}

.vr-footer a {
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

/* Эффект ховера для ссылок: светлеет + сдвиг вправо */
.vr-footer a:hover {
  color: var(--accent);
  transform: translateX(4px);
  text-shadow: 0 0 8px var(--accent-glow);
}

.vr-copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #2d3039;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Сетка футера */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Мобильное нижнее меню (Glassmorphism) --- */
.mobile-dock {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  
  /* Эффект стекла */
  background: #0f1115;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  padding: 10px 20px;
  
  /* Учет "челки" и свайп-зоны на iPhone */
  padding-bottom: max(0.8rem, var(--safe-bottom));
}

.dock-item {
  color: var(--text-muted);
  padding: 0.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* При нажатии на мобильных только меняем цвет, без фоновой плашки */
.dock-item:active {
  color: var(--text-main);
}

/* Hover-эффекты только для устройств с реальным hover (не touch) */
@media (hover: hover) {
  .dock-item:hover {
    color: var(--text-main);
  }

  .dock-item:hover i {
    filter: drop-shadow(0 0 5px var(--accent-glow));
    transform: scale(1.1);
  }
}

.dock-item i {
  transition: transform 0.2s;
}

/* Бейджи (счетчики) */
.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-panel); /* Обводка под цвет фона */
}

.badge-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 0 8px var(--accent-glow);
}

.badge-gray {
  background-color: #374151;
  color: white;
}

/* Скрываем док на десктопе */
@media (min-width: 768px) {
  .mobile-dock {
    display: none;
  }
}

/* Активная вкладка мобильного меню */
.dock-item.active {
  color: var(--accent);
}

.dock-item.active i {
  color: var(--accent);
  filter: drop-shadow(0 0 8px var(--accent-glow));
  transform: scale(1.05);
}

.dock-item.active .badge {
  border-color: rgba(139, 92, 246, 0.3);
}

/* --- Плашка согласия с cookies и ПД --- */
.cookie-consent-banner {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(max(0.75rem, var(--safe-bottom)) + 4.75rem);
  z-index: 70;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 25, 35, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(100% + 1rem));
  transition:
    opacity 0.36s ease,
    transform 0.36s ease,
    visibility 0s linear 0.36s;
}

.cookie-consent-banner.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    opacity 0.36s ease,
    transform 0.36s ease,
    visibility 0s linear 0s;
}

.cookie-consent-text {
  margin: 0;
  flex: 1;
  min-width: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.cookie-consent-link {
  color: #00D4FF;
  text-decoration: underline;
}

.cookie-consent-link:hover {
  color: #00B8E6;
}

.cookie-consent-btn {
  flex-shrink: 0;
  align-self: center;
  border: none;
  border-radius: 10px;
  background: #00D4FF;
  color: #0b0d14;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.625rem 0.875rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-consent-btn:hover {
  background: #00B8E6;
}

.cookie-consent-btn:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .cookie-consent-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    bottom: max(1rem, var(--safe-bottom));
    padding: 1rem 1.125rem;
  }

  .cookie-consent-text {
    font-size: 0.875rem;
  }

  .cookie-consent-btn {
    margin-left: 0.75rem;
  }
}
