/* Мобильная шапка (<992px): ВСЁ В ОДНУ СТРОКУ — логотип слева (220px, как задаёт тема,
   не сжимаем), справа компактные контролы: флаг-иконка без текста, бургер, колокол.
   flex-wrap: nowrap не даёт контролам уехать на вторую строку. Меню-бургер выпадает
   абсолютным слоем под шапкой, чтобы не ломать строку. */
@media (max-width: 991.98px) {
    .header-container { display: flex !important; align-items: center; flex-wrap: nowrap; gap: 6px; position: relative; padding-left: 10px; padding-right: 10px; }
    .header-logo { margin-right: auto; flex: 0 0 auto; }
    .header-mobile-controls { display: flex; align-items: center; gap: 4px; flex: 0 0 auto; }
    .header-mobile-controls .ls-label,
    .header-mobile-controls .ls-chevron { display: none; }
    .header-mobile-controls .ls-btn { padding: 6px 7px; gap: 0; }
    .header-mobile-controls .language-switcher { margin: 0; }

    /* выпадающее бургер-меню — абсолютный слой под шапкой (nowrap не даёт переносу) */
    #navbarNav { position: absolute; top: 100%; left: 0; right: 0; flex-basis: auto; z-index: 50; }
    #navbarNav.show, #navbarNav.collapsing { background: #131b26; border: 1px solid #243140; border-radius: 12px; margin-top: 10px; padding: 6px; }
    #navbarNav .navbar-nav { flex-direction: column; align-items: stretch; width: 100%; margin: 0 !important; gap: 2px; }
    #navbarNav .nav-link { padding: 11px 14px; border-radius: 8px; }
    #navbarNav .nav-link:hover { background: rgba(133,184,240,.1); }

    .main-layout { padding-top: 72px !important; }
    .main-layout main > .breadcrumbs,
    .breadcrumbs { top: 72px !important; }
}

.main-layout main > .breadcrumbs {
    margin-bottom: 24px;
}

.main-layout main > .breadcrumbs .breadcrumbs-content {
    width: 100%;
}

/* === Language switcher — Globe dropdown (variant C) === */
.language-switcher { display: inline-flex; align-items: center; }

.language-switcher--desktop { margin-left: 14px; }

.ls-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
    line-height: 1.2;
}
.ls-btn:hover,
.ls-btn[aria-expanded="true"] {
    border-color: rgba(133,184,240,.6);
    background: rgba(133,184,240,.1);
    color: #fff;
}
.ls-flag { display: inline-block; width: 21px; height: 14px; border-radius: 3px; overflow: hidden; line-height: 0; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.ls-flag svg { display: block; width: 100%; height: 100%; }
.ls-btn .ls-flag { width: 20px; height: 13px; }
.ls-item-label { flex: 0 1 auto; }
.ls-chevron {
    font-size: 10px;
    opacity: .65;
    transition: transform .18s ease;
}
.ls-btn[aria-expanded="true"] .ls-chevron { transform: rotate(180deg); }

.ls-menu {
    min-width: 140px;
    padding: 6px 0;
    background: #15233b;
    border: 1px solid rgba(133,184,240,.25);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
}
.ls-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background .14s ease, color .14s ease;
}
.ls-item:hover { background: rgba(133,184,240,.12); color: #fff; }
.ls-item.active { color: #85b8f0; font-weight: 700; }
.ls-item.disabled { opacity: .45; pointer-events: none; cursor: default; }
.ls-check { margin-left: auto; font-size: 13px; }

.footer-links .language-switcher { margin-left: 12px; vertical-align: middle; }
.footer-links .ls-btn {
    font-size: 12px;
    padding: 4px 8px;
    border-color: rgba(255,255,255,.16);
}

@media (max-width: 540px) {
    .main-layout main > .breadcrumbs {
        padding: 0;
        margin-bottom: 20px;
    }
    .language-switcher--desktop { display: none; }
}

@media (min-width: 541px) {
    .language-switcher--mobile { display: none; }
}

/* === Контентные блоки категорий: заголовки, таблицы, аккордеон, dl (2026-06-11) === */
.wide-infoblock-title, .infoblock-title { position: relative; margin: 0 0 14px; padding-left: 14px; }
.wide-infoblock-title::before, .infoblock-title::before {
  content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 4px;
  border-radius: 4px; background: linear-gradient(180deg, #4d8ac8, #245b93);
}
.infoblock-text table, .wide-infoblock-text table {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px;
  background: rgba(255,255,255,.02); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; overflow: hidden;
}
.infoblock-text th, .wide-infoblock-text th { text-align: left; padding: 10px 14px; background: rgba(77,138,200,.16); color: #fff; font-weight: 600; }
.infoblock-text td, .wide-infoblock-text td { padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.82); vertical-align: top; }
.infoblock-text tr:nth-child(even) td, .wide-infoblock-text tr:nth-child(even) td { background: rgba(255,255,255,.015); }
@media (max-width: 640px) { .infoblock-text table, .wide-infoblock-text table { display: block; overflow-x: auto; white-space: nowrap; } }

.infoblock-text details, .wide-infoblock-text details {
  border: 1px solid rgba(255,255,255,.09); border-radius: 10px; margin: 10px 0; background: rgba(255,255,255,.02); overflow: hidden;
}
.infoblock-text summary, .wide-infoblock-text summary {
  cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative;
  font-weight: 600; color: #fff; user-select: none;
}
.infoblock-text summary::-webkit-details-marker, .wide-infoblock-text summary::-webkit-details-marker { display: none; }
.infoblock-text summary::after, .wide-infoblock-text summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 20px; line-height: 1; color: #85b8f0; transition: transform .2s;
}
.infoblock-text details[open] summary::after, .wide-infoblock-text details[open] summary::after { content: "−"; }
.infoblock-text details > :not(summary), .wide-infoblock-text details > :not(summary) { padding: 0 16px 14px; color: rgba(255,255,255,.82); margin: 0; }
.infoblock-text summary:hover, .wide-infoblock-text summary:hover { background: rgba(255,255,255,.03); }

/* === Бейджи карточки товара: стек слева без дыр + Windows-бейдж первым (2026-06-11) === */
.product-card-badges-left { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 3; }
.product-card-badges-left .product-card-badge { position: static; left: auto; top: auto; margin: 0; }
.product-card-badge--windows { background: linear-gradient(135deg, rgba(2,132,199,0.9) 0%, rgba(30,58,138,0.9) 100%); }

/* === Инфо-попап рядом с датой последнего апдейта (2026-06-13) === */
.product-last-update { display: inline-flex; align-items: center; gap: 6px; }
.lu-info { position: relative; display: inline-flex; align-items: center; cursor: help; color: #85b8f0; outline: none; }
.lu-info > .bi { font-size: 15px; line-height: 1; transition: color .15s ease; }
.lu-info:hover > .bi, .lu-info:focus > .bi { color: #b9d6fa; }
.lu-info-popup {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 300px; max-width: 80vw; padding: 12px 14px;
  background: #15233b; color: rgba(255,255,255,.9);
  border: 1px solid rgba(133,184,240,.35); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  font-size: 13px; line-height: 1.5; font-weight: 400; text-align: left; white-space: normal;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60; pointer-events: none;
}
.lu-info-popup::after {
  content: ""; position: absolute; bottom: 100%; right: 8px;
  border: 7px solid transparent; border-bottom-color: #15233b;
}
.lu-info:hover .lu-info-popup,
.lu-info:focus .lu-info-popup,
.lu-info:focus-within .lu-info-popup {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* === Каталог разработчиков (2026-06-13) === */
.developers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px;
}
.developer-card {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; text-decoration: none; color: inherit;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.developer-card:hover {
  border-color: rgba(133,184,240,.45); background: rgba(133,184,240,.06);
  transform: translateY(-2px); color: inherit;
}
.developer-card-icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.developer-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.developer-card-letter {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff; text-transform: uppercase;
}
.developer-card-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.developer-card-name {
  font-size: 16px; font-weight: 600; color: #fff; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.developer-card-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.developer-card-count { color: rgba(255,255,255,.6); }
.developer-card-price { color: #85b8f0; font-weight: 600; }
.developer-card-meta .developer-card-price::before {
  content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.25); margin-right: 12px; vertical-align: middle;
}
@media (max-width: 991px) { .developers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .developers-grid { grid-template-columns: 1fr; } }

/* === SEO-текст на странице разработчиков === */
.developers-lead {
  max-width: 880px; margin: 14px auto 0; text-align: center;
  color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.65;
}
.developers-seo { margin-top: 40px; }
.developers-seo h2 { font-size: 22px; margin-bottom: 14px; }
.developers-seo p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }

/* === Соцсети в блоке "Профессиональные решения" (главная) === */
.social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  overflow: hidden;
  line-height: 0;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
  opacity: .95;
}

/* === Кнопки чата (две кнопки: все игры + EFT) и показатели поддержки === */
.chat-buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.chat-buttons .chat-join-btn { margin: 0; }
.support-stats { margin-bottom: 24px; }

/* === База знаний: стили из темы сайта ===
   Токены: bg #151d28, border #2a3642, white-05 #1f2a36, text #bdc1c6,
   muted #9aa0a6, head #fff, accent #2b74ff, success #05cfc3, radius 16/12/8 */

/* Блок в карточке товара (как product-description-section) */
.product-knowledge-section { padding: 32px 0; }
.product-knowledge-header { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.product-knowledge-title { font-size: 20px; font-weight: 600; margin: 0; color: #fff; }
.product-knowledge-content { background: #151d28; border: 1px solid #2a3642; border-radius: 16px; padding: 24px; }
.product-knowledge-sub { color: #9aa0a6; font-size: 14px; margin: 0 0 16px; line-height: 1.6; }
.product-knowledge-list { display: flex; flex-direction: column; gap: 10px; }
.kb-more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #2b74ff; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s; }
.kb-more-link:hover { color: #5a93ff; }

/* Аккордеон «проблема → решение» (общий для карточки и страницы БЗ) */
.kb-item { background: rgba(255,255,255,.03); border: 1px solid #1f2a36; border-radius: 12px; overflow: hidden; transition: border-color .15s, background .15s; }
.kb-item:hover { border-color: #2a3642; }
.kb-item[open] { border-color: rgba(43,116,255,.4); background: rgba(43,116,255,.05); }
.kb-item-q { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; padding: 15px 18px; list-style: none; font-weight: 600; color: #fff; font-size: 15px; line-height: 1.4; }
.kb-item-q::-webkit-details-marker { display: none; }
.kb-item-q:hover { color: #93c5fd; }
.kb-item-chevron { transition: transform .2s ease; color: #2b74ff; flex-shrink: 0; font-size: 16px; }
.kb-item[open] .kb-item-chevron { transform: rotate(180deg); }
.kb-item-a { padding: 0 18px 16px; color: #bdc1c6; font-size: 15px; line-height: 1.7; }
.kb-item-a p { margin: 0 0 10px; }
.kb-item-a p:last-child { margin-bottom: 0; }
.kb-item-a ul { margin: 0 0 10px; padding-left: 20px; }
.kb-item-a li { margin-bottom: 6px; }
.kb-item-a strong { color: #fff; font-weight: 600; }
.kb-item-product { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 13px; color: #2b74ff; text-decoration: none; font-weight: 600; }
.kb-item-product:hover { color: #5a93ff; }

/* Компактный блок в правом сайдбаре под тарифами */
.kb-sidebar { margin-top: 16px; background: #151d28; border: 1px solid #2a3642; border-radius: 16px; padding: 18px; }
.kb-sidebar-header { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.kb-sidebar-header i { color: #05cfc3; font-size: 18px; }
.kb-sidebar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kb-sidebar-list li { border-top: 1px solid #1f2a36; }
.kb-sidebar-list li:first-child { border-top: none; }
.kb-sidebar-list a { display: flex; align-items: flex-start; gap: 8px; padding: 11px 0; color: #bdc1c6; font-size: 13.5px; line-height: 1.45; text-decoration: none; transition: color .15s; }
.kb-sidebar-list a:hover { color: #93c5fd; }
.kb-sidebar-list a::before { content: '\F505'; font-family: 'bootstrap-icons'; color: #4a5562; font-size: 12px; margin-top: 1px; flex-shrink: 0; }
.kb-sidebar-all { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: #2b74ff; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.kb-sidebar-all:hover { color: #5a93ff; }

/* История обновлений товара в сайдбаре (под тарифами): 3 последних + кнопка,
   открывающая готовую offcanvas-панель полной истории. Стиль = kb-sidebar. */
.updates-sidebar { margin-top: 16px; background: #151d28; border: 1px solid #2a3642; border-radius: 16px; padding: 18px; }
.updates-sidebar-header { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.updates-sidebar-header i { color: #05cfc3; font-size: 18px; }
.updates-sidebar-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.updates-sidebar-list li { border-top: 1px solid #1f2a36; padding: 11px 0; }
.updates-sidebar-list li:first-child { border-top: none; padding-top: 0; }
.updates-sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.updates-sidebar-date { color: #8a93a0; font-size: 12.5px; }
.updates-sidebar-status { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.updates-sidebar-status.status-active { color: #34c759; }
.updates-sidebar-status.status-frozen { color: #f44336; }
.updates-sidebar-status.status-on_your_fear { color: #ff9800; }
.updates-sidebar-msg { margin-top: 4px; color: #bdc1c6; font-size: 13px; line-height: 1.4; }
.updates-sidebar-all { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 14px; padding: 9px 14px; background: #1c2735; border: 1px solid #2a3642; border-radius: 10px; color: #cdd5e0; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.updates-sidebar-all:hover { background: #233040; color: #fff; }

/* === Страница базы знаний === */
.kb-page { max-width: 920px; margin: 0 auto; padding: 8px 0 40px; }
.kb-page-title { display: flex; align-items: center; gap: 12px; font-size: 28px; font-weight: 700; color: #fff; }
.kb-page-title i { color: #2b74ff; }
.kb-page-lead { color: #9aa0a6; font-size: 15px; line-height: 1.65; margin: 10px 0 22px; }
.kb-url-lookup { background: linear-gradient(135deg, rgba(43,116,255,.12), #151d28 70%); border: 1px solid rgba(43,116,255,.3); border-radius: 16px; padding: 18px 20px; margin-bottom: 16px; }
.kb-url-label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: 15px; margin-bottom: 12px; }
.kb-url-label i { color: #2b74ff; font-size: 20px; }
.kb-url-row { display: flex; gap: 12px; flex-wrap: wrap; }
.kb-url-input { flex: 1 1 320px; padding: 13px 16px; background: #0f151d; border: 1px solid #2a3642; border-radius: 10px; color: #fff; font-size: 14px; }
.kb-url-input::placeholder { color: #4a5562; }
.kb-url-input:focus { outline: none; border-color: #2b74ff; }
.kb-url-error { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: #ff9b9b; font-size: 13.5px; }
.kb-filter { background: #151d28; border: 1px solid #2a3642; border-radius: 16px; padding: 18px; margin-bottom: 26px; }
.kb-filter-row { display: flex; gap: 12px; flex-wrap: wrap; }
.kb-search { position: relative; flex: 1 1 280px; display: flex; align-items: center; }
.kb-search > i { position: absolute; left: 14px; color: #4a5562; }
.kb-search-input { width: 100%; padding: 12px 14px 12px 40px; background: #1a2634; border: 1px solid #2a3642; border-radius: 10px; color: #fff; font-size: 14px; }
.kb-search-input::placeholder { color: #4a5562; }
.kb-select { flex: 0 1 240px; padding: 12px 14px; background: #1a2634; border: 1px solid #2a3642; border-radius: 10px; color: #fff; font-size: 14px; }
.kb-select option, .kb-select optgroup { background: #151d28; color: #fff; }
.kb-filter-btn { padding: 12px 22px; background: #2b74ff; border: none; border-radius: 10px; color: #fff; font-weight: 600; cursor: pointer; font-size: 14px; transition: background .15s; }
.kb-filter-btn:hover { background: #1f63e8; }
.kb-current-filter { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: #9aa0a6; flex-wrap: wrap; }
.kb-current-filter strong { color: #fff; }
.kb-reset { color: #ff9b9b; text-decoration: none; }
.kb-group { margin-bottom: 30px; }
.kb-group-title { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.kb-group-title i { color: #05cfc3; }
.kb-group-sub { color: #9aa0a6; font-size: 13.5px; margin-bottom: 14px; }
.kb-group--global { border-top: 1px solid #2a3642; padding-top: 26px; }
.kb-list { display: flex; flex-direction: column; gap: 10px; }
.kb-empty, .kb-cta { text-align: center; padding: 28px 16px; }
.kb-empty i { font-size: 34px; color: #4a5562; }
.kb-empty h3 { color: #fff; margin: 12px 0 6px; }
.kb-empty p, .kb-cta p { color: #9aa0a6; margin-bottom: 14px; }
.kb-cta { border-top: 1px solid #2a3642; margin-top: 10px; }
.kb-support-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; background: #2b74ff; color: #fff; border-radius: 10px; font-weight: 600; text-decoration: none; transition: background .15s; }
.kb-support-btn:hover { background: #1f63e8; }
@media (max-width: 600px) { .kb-filter-row { flex-direction: column; } .kb-select, .kb-filter-btn { flex: 1 1 auto; width: 100%; } }

/* === Блок техподдержки в сайдбаре товара (под тарифами) === */
.support-cta-head { display: flex; align-items: center; gap: 8px; }
.support-cta-head i { color: #05cfc3; font-size: 18px; flex-shrink: 0; }
.support-cta-head .support-cta-title { color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3; }
.support-cta-text { color: #bdc1c6; font-size: 13px; line-height: 1.55; margin: 2px 0 0; }
.support-cta-hours { display: flex; align-items: flex-start; gap: 7px; color: #9aa0a6; font-size: 12.5px; line-height: 1.45; }
.support-cta-hours i { color: #9aa0a6; font-size: 13px; margin-top: 1px; flex-shrink: 0; }

/* === Отзывы и рейтинг товара (Digiseller + клиентские) === */
.product-reviews-section { padding: 8px 0 0; }
.product-reviews-card { margin-top: 16px; }
.pc-reviews-salesnote { display: flex; gap: 9px; background: #11202b; border: 1px solid #234155; border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; }
.pc-reviews-salesnote i { color: #05cfc3; font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.pc-reviews-salesnote p { color: #bdc1c6; font-size: 13px; line-height: 1.5; margin: 0; }
.pc-reviews-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: 1px solid #2a3642; margin-bottom: 16px; }
.pc-reviews-score { display: flex; align-items: baseline; gap: 4px; }
.pc-reviews-score-value { color: #fff; font-size: 38px; font-weight: 800; line-height: 1; }
.pc-reviews-score-max { color: #9aa0a6; font-size: 16px; font-weight: 600; }
.pc-reviews-score-meta { display: flex; flex-direction: column; gap: 4px; }
.pc-reviews-stars { display: inline-flex; gap: 2px; font-size: 18px; line-height: 1; }
.pc-reviews-star { color: #3a4654; }
.pc-reviews-star.is-on { color: #f5b301; }
.pc-reviews-star.is-half { background: linear-gradient(90deg,#f5b301 50%,#3a4654 50%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pc-reviews-count { color: #9aa0a6; font-size: 13.5px; }
.pc-reviews-explainer { margin-bottom: 18px; }
.pc-reviews-explainer > summary { color: #9aa0a6; font-size: 13px; cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.pc-reviews-explainer > summary::-webkit-details-marker { display: none; }
.pc-reviews-explainer > summary::before { content: "▸"; color: #2b74ff; transition: transform .15s; }
.pc-reviews-explainer[open] > summary::before { transform: rotate(90deg); }
.pc-reviews-explainer-body { margin-top: 10px; color: #bdc1c6; font-size: 13px; line-height: 1.55; }
.pc-reviews-explainer-body ul { margin: 6px 0 0; padding-left: 18px; }
.pc-reviews-formula { color: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; background: #0e1620; border: 1px solid #2a3642; padding: 8px 10px; border-radius: 8px; margin: 8px 0; }
.pc-reviews-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.pc-reviews-layout.is-single { grid-template-columns: 1fr; }
.pc-reviews-list { display: flex; flex-direction: column; gap: 12px; }
.pc-review-card { background: #1b2532; border: 1px solid #2a3642; border-radius: 10px; padding: 14px 16px; }
.pc-review-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-review-author { color: #fff; font-weight: 600; font-size: 14px; }
.pc-review-stars-mini { color: #3a4654; font-size: 14px; letter-spacing: 1px; }
.pc-review-stars-mini .is-on { color: #f5b301; }
.pc-review-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 7px 0 8px; }
.pc-review-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 3px 9px; border-radius: 20px; }
.pc-review-badge.is-verified { background: rgba(5,207,195,.12); color: #05cfc3; }
.pc-review-badge.is-client { background: rgba(43,116,255,.14); color: #6ea0ff; }
.pc-review-product, .pc-review-date { color: #9aa0a6; font-size: 11.5px; }
.pc-review-body { color: #d6dade; font-size: 13.5px; line-height: 1.55; margin: 0; white-space: pre-line; }
.pc-review-reply { margin-top: 10px; padding: 10px 12px; background: #11202b; border-left: 3px solid #05cfc3; border-radius: 0 8px 8px 0; }
.pc-review-reply-label { display: block; color: #05cfc3; font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.pc-review-reply p { color: #bdc1c6; font-size: 13px; margin: 0; }
.pc-reviews-empty { color: #9aa0a6; font-size: 14px; padding: 16px 0; }
/* пусто, но есть продажи: траст-строка вместо голого "отзывов нет" */
.pc-reviews-empty--sales { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: rgba(5,207,195,.08); border: 1px solid rgba(5,207,195,.22); border-radius: 10px; }
.pc-reviews-empty-sales { display: inline-flex; align-items: center; gap: 7px; color: #05cfc3; font-weight: 600; font-size: 14.5px; }
.pc-reviews-empty-text { color: #9aa0a6; font-size: 13.5px; }
/* вердикт Digiseller (бинарный рейтинг: палец вверх/вниз) */
.pc-review-verdict { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pc-review-verdict .bi { font-size: 13px; }
.pc-review-verdict.is-pos { color: #05cfc3; }
.pc-review-verdict.is-neg { color: #ff5c6c; }
.pc-review-verdict.is-neu { color: #9aa0a6; }
/* пагинация карточек: лишние скрыты, пока список не развёрнут */
.pc-reviews-list [data-extra="1"] { display: none; }
.pc-reviews-list.is-expanded [data-extra="1"] { display: block; }
.pc-reviews-more { align-self: flex-start; margin-top: 4px; background: rgba(43,116,255,.12); color: #6ea0ff; border: 1px solid rgba(43,116,255,.3); border-radius: 8px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .12s, border-color .12s; }
.pc-reviews-more:hover { background: rgba(43,116,255,.2); border-color: #2b74ff; }
/* форма отзыва */
.pc-reviews-form-col { background: #1b2532; border: 1px solid #2a3642; border-radius: 10px; padding: 18px; align-self: start; }
.pc-review-form-title { color: #fff; font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.pc-review-stars-input { display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.pc-review-star-btn { background: none; border: none; cursor: pointer; font-size: 26px; color: #3a4654; line-height: 1; padding: 0; transition: color .1s; }
.pc-review-star-btn.is-on { color: #f5b301; }
.pc-review-stars-value { color: #9aa0a6; font-size: 13px; margin-left: 8px; }
.pc-review-field { margin-bottom: 12px; display: flex; flex-direction: column; gap: 5px; }
.pc-review-field label { color: #bdc1c6; font-size: 13px; }
.pc-review-field input, .pc-review-field textarea { background: #0b121a; border: 1px solid #2a3642; border-radius: 8px; padding: 10px 12px; color: #fff; font-size: 14px; font-family: inherit; width: 100%; resize: vertical; }
.pc-review-field input::placeholder, .pc-review-field textarea::placeholder { color: #6b7480; }
.pc-review-field input:focus, .pc-review-field textarea:focus { outline: none; border-color: #2b74ff; }
.pc-review-error { color: #ff9b9b; font-size: 12px; }
.pc-review-submit { background: #2b74ff; color: #fff; border: none; border-radius: 10px; padding: 11px 20px; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s; width: 100%; }
.pc-review-submit:hover { background: #1f63e8; }
.pc-review-submit[disabled] { opacity: .6; cursor: default; }
.pc-review-note { color: #9aa0a6; font-size: 12px; margin: 8px 0 0; text-align: center; }
.pc-review-thanks strong { color: #fff; font-size: 16px; }
.pc-review-thanks p { color: #bdc1c6; font-size: 13.5px; margin: 6px 0 10px; }
.pc-review-reset { background: none; border: 1px solid #2a3642; color: #bdc1c6; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 13px; }
@media (max-width: 860px) { .pc-reviews-layout { grid-template-columns: 1fr; } }

/* фильтр каталога: диапазон цены */
.filter-price-row { display: flex; align-items: center; gap: 8px; }
.filter-price-input { width: 100%; min-width: 0; background: #0b121a; border: 1px solid #2a3642; border-radius: 8px; padding: 7px 10px; color: #fff; font-size: 13px; font-family: inherit; }
.filter-price-input::placeholder { color: #6b7480; }
.filter-price-input:focus { outline: none; border-color: #2b74ff; }
.filter-price-dash { color: #9aa0a6; flex: 0 0 auto; }
.filter-price-input::-webkit-outer-spin-button, .filter-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.filter-price-input { -moz-appearance: textfield; }
.filter-platforms { max-height: 180px; overflow-y: auto; }

/* FAQ на главной */
.home-faq-section { margin-top: 22px; }
.home-faq-card { padding: 24px 26px; }
.home-faq-heading { margin: 0 0 16px; }
.home-faq-list { display: flex; flex-direction: column; gap: 10px; }
.home-faq-item { background: #151d28; border: 1px solid #2a3642; border-radius: 12px; overflow: hidden; }
.home-faq-q { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; color: #fff; font-weight: 600; font-size: 15px; }
.home-faq-q::-webkit-details-marker { display: none; }
.home-faq-q::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; line-height: 1; color: #2b74ff; transition: transform .18s ease; }
.home-faq-item[open] .home-faq-q::after { content: "\2212"; }
.home-faq-a { padding: 2px 18px 16px; color: #bdc1c6; font-size: 14px; line-height: 1.6; }
.home-faq-a p { margin: 0; }

/* Глоссарий */
.glossary-section { margin-top: 6px; }
.glossary-card { padding: 24px 26px; }
.glossary-lead { color: #9aa0a6; font-size: 14px; margin: 0 0 18px; }
.glossary-list { margin: 0; }
.glossary-term { padding: 14px 0; border-bottom: 1px solid #1f2a36; scroll-margin-top: 90px; }
.glossary-term:last-child { border-bottom: 0; padding-bottom: 0; }
.glossary-term-name { color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.glossary-term-alt { color: #6ea0ff; font-weight: 500; font-size: 12.5px; }
.glossary-term-def { color: #bdc1c6; font-size: 14px; line-height: 1.6; margin: 0; }

/* «Вы смотрели» */
.recently-viewed-section { margin-top: 22px; }

/* Сравнение: страница */
.compare-section { margin-top: 6px; }
.compare-empty { padding: 40px 26px; text-align: center; color: #9aa0a6; }
.compare-empty .bi { font-size: 34px; color: #2b74ff; display: block; margin-bottom: 12px; }
.compare-empty p { margin: 0; font-size: 15px; }
.compare-scroll { overflow-x: auto; border-radius: 14px; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; background: #151d28; }
.compare-table th, .compare-table td { border: 1px solid #243140; padding: 12px 14px; text-align: left; vertical-align: middle; }
.compare-corner { background: #11202b; }
.compare-col { background: #11202b; position: relative; min-width: 180px; vertical-align: top; }
.compare-remove { position: absolute; top: 6px; right: 8px; color: #9aa0a6; font-size: 18px; line-height: 1; text-decoration: none; }
.compare-remove:hover { color: #ff5c6c; }
.compare-prod { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.compare-prod-img { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; }
.compare-prod-name { color: #fff; font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.compare-buy { display: inline-block; margin-top: 10px; background: #05cfc3; color: #06222a; font-weight: 700; font-size: 13px; border-radius: 8px; padding: 7px 14px; text-decoration: none; text-align: center; }
.compare-buy:hover { background: #04b8ad; color: #06222a; }
.compare-rowlabel { color: #9aa0a6; font-size: 13px; font-weight: 500; white-space: nowrap; background: #131b26; }
.compare-cell { color: #d6dade; font-size: 13.5px; }
.compare-table tr.is-diff td, .compare-table tr.is-diff th.compare-rowlabel { background: rgba(43,116,255,.07); }
.cmp-yes { color: #05cfc3; font-weight: 700; }
.cmp-no { color: #5a6675; }
.cmp-muted { color: #9aa0a6; font-size: 12.5px; }
.cmp-status--active { color: #05cfc3; }
.cmp-status--frozen { color: #6ea0ff; }
.cmp-status--on_your_fear { color: #f5b301; }
.compare-note { color: #9aa0a6; font-size: 12.5px; margin: 12px 2px 0; }
.compare-table tr.compare-group th { background: #0f1a24; color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.compare-table tr.compare-group .bi { color: #05cfc3; margin-right: 6px; }

/* Верхний контрол «Включить в сравнение» — панель в стиле инфо-блоков страницы */
.product-compare-add { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin: 16px 0 4px; padding: 12px 16px; background: #131b26; border: 1px solid #243140; border-radius: 12px; }
.pc-cmp-hint { color: #9aa0a6; font-size: 12.5px; line-height: 1.4; flex: 1 1 200px; order: 3; }
.pc-cmp-btn { display: inline-flex; align-items: center; gap: 8px; background: rgba(43,116,255,.12); border: 1px solid rgba(43,116,255,.4); color: #cdd5e0; border-radius: 9px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .14s, color .14s, border-color .14s; }
.pc-cmp-btn:hover { color: #fff; border-color: #2b74ff; background: rgba(43,116,255,.22); }
.pc-cmp-btn .bi { font-size: 15px; }
.pc-cmp-btn.is-on { background: #2b74ff; border-color: #2b74ff; color: #fff; }
.pc-cmp-go { display: inline-flex; align-items: center; gap: 6px; background: #05cfc3; color: #06222a; border-radius: 9px; padding: 9px 18px; font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pc-cmp-go:hover { background: #04b8ad; color: #06222a; }
.pc-cmp-clear { background: none; border: none; color: #9aa0a6; font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 0 2px; white-space: nowrap; }
.pc-cmp-clear:hover { color: #fff; }
@media (max-width: 600px) { .pc-cmp-hint { order: 0; flex-basis: 100%; } }

/* Секции каталога (страница игры): каждая секция = единая группа. Акцентная
   полоска у заголовка + рамка-контейнер вокруг заголовка и карточек, чтобы было
   сразу понятно, что всё внутри относится к этому фильтру/секции. */
.products-section {
    margin-bottom: 26px;
    padding: 18px 18px 20px;
    background: linear-gradient(180deg, rgba(20, 28, 40, .5), rgba(20, 28, 40, .18));
    border: 1px solid rgba(90, 120, 160, .18);
    border-radius: 16px;
}
.products-section-title {
    position: relative;
    margin: 0 0 6px;
    padding-left: 14px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
}
.products-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 3px;
    background: linear-gradient(180deg, #05cfc3, #2b74ff);
}
.products-section-description {
    max-width: 760px;
    margin: 0 0 16px;
    padding-left: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #9aa0a6;
}
@media (max-width: 575.98px) {
    .products-section { padding: 14px 12px 16px; }
    .products-section-title { font-size: 18px; }
}

/* Липкая навигация по разделам — segmented control в стиле контролов сайта:
   рельса как карточка (плоский фон + тонкий бордер), под активным разделом ездит
   матовая подложка цвета тулбар-кнопок, бирюза — только акцентом на иконке. */
.products-section { scroll-margin-top: 190px; }
.section-nav {
    position: sticky;
    top: 132px;
    z-index: 19;
    display: flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 4px;
    background: #131b26;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav-thumb {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    width: 0;
    border-radius: 8px;
    background: #2a3642;
    transform: translateX(0);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
    z-index: 0;
}
.section-nav-chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #8a93a0;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s;
}
.section-nav-chip i { font-size: 14px; color: #6f7b89; transition: color .2s; }
.section-nav-count { font-size: 11px; opacity: .6; font-weight: 400; }
.section-nav-chip:hover { color: #c5ccd5; }
.section-nav-chip.is-active { color: #fff; }
.section-nav-chip.is-active i { color: #05cfc3; }
.section-nav-chip.is-active .section-nav-count { opacity: .85; }
@media (max-width: 575.98px) {
    .section-nav { top: 116px; }
    .section-nav-chip { padding: 8px 12px; font-size: 12.5px; }
}

/* C: WebP posters — picture wrapper must not break .game-card-poster img layout */
.game-card-poster picture{display:contents}
