/* ============================================================
   Afrika21 — обновлённый дизайн (оранжевая тема, 2026)
   ============================================================ */

:root {
    --orange: #f47920;
    --orange-dark: #e2680e;
    --orange-deep: #c9590a;
    --orange-soft: #fff4ea;
    --orange-soft-2: #ffe6d0;
    --orange-ring: #ffd9b8;
    --yellow: #ffc107;
    --ink: #1f2328;
    --text: #4a4f57;
    --muted: #8a9099;
    --line: #ecedef;
    --line-2: #e2e4e8;
    --bg: #f7f7f5;
    --footer: #20232a;
    --footer-2: #181b21;
    --radius: 16px;
    --radius-sm: 11px;
    --radius-xs: 8px;
    --shadow:
        0 1px 2px rgba(31, 35, 40, 0.04), 0 6px 18px rgba(31, 35, 40, 0.05);
    --shadow-hover:
        0 10px 30px rgba(226, 104, 14, 0.16), 0 2px 8px rgba(31, 35, 40, 0.06);
    --font: "Onest", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    display: block;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   ВЕРХНЯЯ ПЛАШКА
   ============================================================ */
.topbar {
    background: linear-gradient(
        90deg,
        var(--orange-deep) 0%,
        var(--orange-dark) 55%,
        var(--orange) 100%
    );
    color: #fff;
    font-size: 12.5px;
    position: relative;
    z-index: 101;
}
.topbar .container {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 40px;
}
.topbar a {
    transition: opacity 0.15s;
    color: #fff;
}
.topbar a:hover {
    opacity: 0.78;
}
.topbar__city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}
.topbar__city svg {
    width: 14px;
    height: 14px;
}
.topbar__spacer {
    flex: 1;
}
.topbar__links {
    display: flex;
    align-items: center;
    gap: 20px;
}
.topbar__links .accent {
    color: #ffe7cf;
    font-weight: 700;
}
.topbar__hours {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
    font-weight: 500;
}
.topbar__hours svg {
    width: 14px;
    height: 14px;
}
.topbar__sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   ШАПКА (sticky)
   ============================================================ */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    transition:
        box-shadow 0.25s,
        border-color 0.25s;
}
.header-sticky.scrolled {
    box-shadow: 0 8px 28px rgba(31, 35, 40, 0.09);
    border-color: transparent;
}

.header-sticky.header-admin {
    top: 38px;
}

.header {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 78px;
}
/* логотип */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    width: 72px;
    height: 72px;
    position: relative;
    flex-shrink: 0;
    filter: drop-shadow(0 3px 8px rgba(244, 121, 32, 0.28));
}
.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.logo-text {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: var(--orange);
    line-height: 1;
}
.logo-text span {
    color: var(--ink);
}

/* кнопка Каталог */
.btn-catalog {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    height: 46px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    flex-shrink: 0;
    box-shadow: 0 3px 9px rgba(244, 121, 32, 0.2);
    transition:
        background 0.15s,
        transform 0.12s,
        box-shadow 0.15s;
}
.btn-catalog svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.btn-catalog:hover {
    background: var(--orange-dark);
    box-shadow: 0 5px 14px rgba(226, 104, 14, 0.26);
}
.btn-catalog:active {
    transform: translateY(1px);
}

/* поиск */
.search-wrap {
    flex: 1;
    position: relative;
    display: flex;
}
.search {
    flex: 1;
    display: flex;
    align-items: center;
    height: 46px;
    border: 1.5px solid var(--line-2);
    border-radius: var(--radius-sm);
    background: #fff;
    overflow: hidden;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}
.search:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-soft);
}
.search input {
    flex: 1;
    border: none;
    outline: none;
    height: 100%;
    padding: 0 18px;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
}
.search input::placeholder {
    color: #a8aeb6;
}
.search button {
    width: 54px;
    height: 100%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.search button:hover {
    background: var(--orange-dark);
}
.search button svg {
    width: 18px;
    height: 18px;
}

/* действия в шапке */
.head-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.head-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 66px;
    padding: 7px 4px;
    border-radius: var(--radius-xs);
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    position: relative;
    transition:
        color 0.15s,
        background 0.15s;
}
.head-action:hover {
    color: var(--orange-dark);
    background: var(--orange-soft);
}
.head-action i {
    font-size: 23px;
}
.head-action svg {
    width: 23px;
    height: 23px;
}
.head-action .badge {
    position: absolute;
    top: 0;
    right: 8px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* навигация */
.nav {
    border-top: 1px solid var(--line);
}
.nav .container {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
}
.nav a {
    position: relative;
    padding: 14px 17px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: color 0.15s;
    white-space: nowrap;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 17px;
    right: 17px;
    bottom: 0;
    height: 3px;
    background: var(--orange);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s;
}
.nav a:hover {
    color: var(--orange);
}
.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}
.nav a.active {
    color: var(--orange);
}

/* скрыть скроллбар у nav */
.nav .container::-webkit-scrollbar {
    display: none;
}
.nav .container {
    scrollbar-width: none;
}

/* ============================================================
   КАРКАС СТРАНИЦЫ
   ============================================================ */
.page {
    padding: 26px 0 48px;
}
.layout {
    display: grid;
    grid-template-columns: 268px 1fr;
    gap: 26px;
    align-items: start;
}

/* ---- Левая колонка ---- */
.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}
.side-head {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    padding: 17px 20px 14px;
    border-bottom: 1px solid var(--line);
}
.side-cats li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    transition:
        background 0.14s,
        color 0.14s,
        padding-left 0.14s;
}
.side-cats li:last-child > a {
    border-bottom: none;
}
.side-cats li a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-ring);
    flex-shrink: 0;
    transition:
        background 0.14s,
        transform 0.14s;
}
.side-cats li a:hover {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 600;
}
.side-cats li a:hover::before {
    background: var(--orange);
    transform: scale(1.25);
}
/* Активный раздел */
.side-cats li.active > a {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 700;
}
.side-cats li.active > a::before {
    background: var(--orange);
}
/* Совместимость со старыми классами aside-nav */
.aside-nav li a,
.aside-nav__item a,
.nav-item-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 13.5px;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    transition:
        background 0.14s,
        color 0.14s,
        padding-left 0.14s;
}
.aside-nav li a::before,
.aside-nav__item a::before,
.nav-item-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-ring);
    flex-shrink: 0;
    transition:
        background 0.14s,
        transform 0.14s;
}
.aside-nav li a:hover,
.aside-nav__item a:hover,
.nav-item-link:hover {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 600;
}
.aside-nav li a:hover::before,
.aside-nav__item a:hover::before,
.nav-item-link:hover::before {
    background: var(--orange);
    transform: scale(1.25);
}
/* Активный пункт 1 уровня */
.aside-nav__item.active > .nav-item-link {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 700;
}
.aside-nav__item.active > .nav-item-link::before {
    background: var(--orange);
}
/* 2 уровень — отступ вправо */
.aside-nav-level-2 {
    margin: 0;
    padding: 0;
    list-style: none;
}
.aside-nav-level-2 > li {
    border-bottom: 1px solid var(--line);
}
.aside-nav-level-2 > li > a {
    display: block;
    padding: 9px 20px 9px 40px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
    transition:
        background 0.14s,
        color 0.14s;
}
.aside-nav-level-2 > li > a::before {
    display: none;
}
.aside-nav-level-2 > li > a:hover {
    color: var(--orange-dark);
    background: var(--orange-soft);
}
.aside-nav-level-2 > li.active > a {
    color: var(--orange);
    font-weight: 700;
}
/* 3 уровень — ещё больше отступ */
.aside-nav-level-3 {
    margin: 0;
    padding: 0;
    list-style: none;
}
.aside-nav-level-3 > li > a {
    display: block;
    padding: 8px 20px 8px 56px;
    font-size: 12px;
    color: var(--muted);
    transition: color 0.14s;
}
.aside-nav-level-3 > li > a:hover {
    color: var(--orange-dark);
}

/* ============================================================
   РЕКОМЕНДУЕМ (sidebar)
   ============================================================ */
.rec-item {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    text-align: center;
}
.rec-item:last-child {
    border-bottom: none;
}
.rec-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    margin-bottom: 4px;
}
.rec-item img {
    display: block !important;
    margin: 0 auto 12px !important;
    max-height: 150px;
    object-fit: contain;
    float: none !important;
}
.rec-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.42;
    transition: color 0.14s;
    display: block;
}
.rec-item:hover .rec-name {
    color: var(--orange);
}
.rec-price {
    margin-top: 7px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}

/* ---- Правая колонка ---- */
/* заголовок раздела */
.sec-head {
    margin: 34px 0 20px;
    font-size: 23px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.4px;
    position: relative;
    padding-bottom: 13px;
}
.sec-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

/* баннер */
.banner-wrap {
    margin-bottom: 20px;
}
.banner-wrap .main-banner {
    border-radius: var(--radius);
    overflow: hidden;
}
.banner-wrap .main-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* hide slick paging numbers */
.slick-dots li button {
    font-size: 0 !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    border: 2px solid #fff !important;
    background: transparent !important;
    padding: 0 !important;
    cursor: pointer;
}
.slick-dots li.slick-active button {
    background: #fff !important;
}
.main-banner .slick-dots {
    bottom: 16px;
}

/* интро (h1 + content на главной) */
.intro {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 28px;
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}
.intro h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
}
.intro h3 {
    margin: 16px 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}
.intro p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    max-width: 880px;
    text-wrap: pretty;
}
.intro .content {
    font-size: 14px;
}
.share {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.share span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}
.share a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-soft);
    color: var(--orange-dark);
    transition:
        transform 0.14s,
        background 0.14s,
        color 0.14s;
}
.share a:hover {
    background: var(--orange);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   СЕТКА КАТЕГОРИЙ
   ============================================================ */
.cats-grid,
.cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 26px 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition:
        transform 0.18s,
        box-shadow 0.18s,
        border-color 0.18s;
}
.cat-card:hover {
    border-color: var(--orange-ring);
}
.cat-ico {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(
        150deg,
        var(--orange-soft),
        var(--orange-soft-2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    box-shadow: inset 0 0 0 1px rgba(244, 121, 32, 0.08);
    transition:
        background 0.18s,
        color 0.18s,
        transform 0.18s;
}
.cat-card:hover .cat-ico {
    background: linear-gradient(150deg, var(--orange), var(--orange-dark));
    color: #fff;
}
.cat-ico svg {
    width: 42px;
    height: 42px;
}
.cat-card__img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}
.cat-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.38;
    text-wrap: pretty;
}

.category-card-wrapper {
    padding: 0;
    height: 100%;
}
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 26px 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow);
    transition:
        transform 0.18s,
        box-shadow 0.18s,
        border-color 0.18s;
}
.category-card:hover {
    border-color: var(--orange-ring);
}
.category-card__image {
    width: 82px;
    height: 82px;
    border-radius: 24px;
    background: linear-gradient(
        150deg,
        var(--orange-soft),
        var(--orange-soft-2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    overflow: hidden;
}
.category-card:hover .category-card__image {
    background: linear-gradient(150deg, var(--orange), var(--orange-dark));
    color: #fff;
}
.category-card__image img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}
.category-card__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.38;
    text-wrap: pretty;
}

/* ============================================================
   ПРОДУКТОВЫЕ КАРТОЧКИ (catalog grid items)
   ============================================================ */
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.18s,
        transform 0.18s,
        border-color 0.18s;
    height: 100%;
}
.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--orange-ring);
}
.product-card__stickers {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.product-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 172px;
    margin-bottom: 14px;
}
.product-card__image img {
    max-height: 170px;
    max-width: 100%;
    object-fit: contain;
}
.product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__title-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.42;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}
.product-card__title-link:hover {
    color: var(--orange);
}
.product-card__price {
    margin: 8px 0 4px;
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.4px;
}
.product-card__price-old {
    font-size: 14px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 8px;
}
.product-card__price-current {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
}
.product-card__anons {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 8px;
}
.product-card__actions {
    margin-top: auto;
}
.product-card__actions .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    transition:
        background 0.15s,
        box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
}
.product-card__actions .btn:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 16px rgba(226, 104, 14, 0.3);
}

/* ============================================================
   СТРАНИЦА ТОВАРА (object.xsl)
   ============================================================ */

/* Карточка товара — двухколоночный layout */
.product-card.row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.product-card.row > .product-card-img-wrapper,
.product-card.row > .col-md-6 {
    flex: 1 1 0;
    min-width: 300px;
    max-width: none;
    padding: 0;
}
.product-card.row > .product-card-img-wrapper {
    flex: 0 0 45%;
}

/* Главное фото */
.product-card-img-wrapper {
    position: relative;
}
.product-card-img-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    min-height: 400px;
}
.product-card-img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.stickers-list_large {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Галерея миниатюр */
.product-card-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 14px;
    list-style: none;
    padding: 0;
}
.product-card-gallery__item {
    list-style: none;
}
.gallery-item-preview {
    position: relative;
}
.gallery-item-preview__img {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 8px;
    height: 80px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.gallery-item-preview__img:hover {
    border-color: var(--orange-ring);
}
.gallery-item-preview__img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.gallery-item-preview__img.active,
.gallery-item-preview__link.active {
    border-color: var(--orange);
}
.gallery-item-preview__link {
    display: none;
}

/* Блок цены и количества (block-1) */
.product-card-block-1 {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

/* Спиннер количества */
.product-card-amount-wrapper {
    flex: 0 0 auto;
}
.spinner-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 44px;
}
.spinner-input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    outline: none;
    padding: 0;
}
.ui-spinner-button,
.ui-spinner-down,
.ui-spinner-up {
    width: 36px;
    height: 100%;
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    transition: background 0.15s;
}
.ui-spinner-button:hover {
    background: var(--orange);
    color: #fff;
}

/* Цена на карточке товара */
.product-card-price {
    flex: 1;
}
.product-card-price__old {
    font-size: 15px;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}
.product-card-price__actual {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
}
.product-card-price__actual #card_price {
    font-size: inherit;
    font-weight: inherit;
}

/* Блок кнопки купить (block-2) — только "Купить в 1 клик" */
.product-card-block-2 {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.product-card-buy-wrapper {
    flex: 0 0 auto;
}
.product-card-buy-wrapper .btn,
.product-card-buy-wrapper .btn-buy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 140px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 0 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
    transition:
        background 0.15s,
        box-shadow 0.15s;
    white-space: nowrap;
}
.product-card-buy-wrapper .btn:hover,
.product-card-buy-wrapper .btn-buy:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 16px rgba(226, 104, 14, 0.3);
    color: #fff;
}
.product-card-buy-wrapper .btn.unactive,
.product-card-buy-wrapper .btn-buy.unactive {
    background: #f0f1f2;
    color: #9aa0a8;
    cursor: default;
    box-shadow: none;
}
.btn-buy__basket-pict svg {
    fill: #fff;
}

/* One click */
.product-card-block-2 .btn-oneclick {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-dark);
    border-bottom: 1px dashed var(--orange);
    cursor: pointer;
    padding: 4px 0;
}
.product-card-block-2 .btn-oneclick:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* Основные свойства товара */
.product-card-properties {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}
.product-card-properties__item {
    display: flex;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}

/* Наличие на складах */
.product-card-availability-block {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
}
.availability-block__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.availability-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.availability-list li {
    padding: 6px 0;
    font-size: 13.5px;
    color: var(--text);
}
.availability-list-amount {
    color: var(--orange-dark);
    font-weight: 700;
}

/* Вкладки (tabs) */
.tabs {
    display: flex;
    gap: 0;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    border-bottom: 2px solid var(--line);
}
.tabs > li {
    list-style: none;
}
.tabs > li > a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition:
        color 0.15s,
        border-color 0.15s;
}
.tabs > li > a:hover {
    color: var(--ink);
}
.tabs > li.active > a {
    color: var(--orange-dark);
    border-bottom-color: var(--orange);
}
.tabs.tabs_large > li > a {
    padding: 16px 24px;
    font-size: 15px;
}

/* Контент вкладок */
.tabs-content-wrap {
    padding: 24px 0;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-content_description {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
}
.tab-content_description .content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}
.tab-content_description .content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 12px 0;
}
.tab-content_description .content h2,
.tab-content_description .content h3 {
    color: var(--ink);
    margin: 20px 0 10px;
}
.tab-content_description .content ul,
.tab-content_description .content ol {
    padding-left: 20px;
    margin: 12px 0;
}
.tab-content_description .content li {
    margin-bottom: 6px;
}

/* Таблица характеристик */
.table-properties,
.tab-content_properties table {
    width: 100%;
    border-collapse: collapse;
}
.table-properties th,
.tab-content_properties table th {
    display: none;
}
.table-properties td,
.tab-content_properties table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
    vertical-align: top;
}
.tab-content_properties table tr:nth-child(odd) td {
    background: var(--orange-soft);
}
.tab-content_properties table tr:nth-child(even) td {
    background: #fff;
}
.tab-content_properties table tr td:first-child {
    font-weight: 600;
    color: var(--ink);
    width: 40%;
}

/* Отзывы */
.tab-content_reviews {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
}

/* Share buttons on product page */
.product-card .share {
    margin: 16px 0;
}

/* Compare link on product page */
.product-card-block-1 .compare-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--orange-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.product-card-block-1 .compare-link svg {
    fill: var(--orange-dark);
}

/* Похожие товары */
.catalog-objects.tile {
    margin-top: 20px;
}

/* H1 на странице товара */
.product-card.row + .product-card-availability-block,
section[itemtype="http://schema.org/Product"] > h1 {
    margin-bottom: 20px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-size: 13.5px;
}
.alert-success {
    background: var(--orange-soft);
    color: var(--orange-dark);
    border: 1px solid var(--orange-ring);
}

/* Адаптив карточки товара */
@media (max-width: 760px) {
    .product-card.row {
        flex-direction: column;
    }
    .product-card.row > .product-card-img-wrapper,
    .product-card.row > .col-md-6 {
        flex: 1 1 100%;
    }
    .product-card-img-link {
        min-height: 280px;
    }
    .product-card-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-card-price__actual {
        font-size: 22px;
    }
}

/* ============================================================
   КАРТОЧКА ТОВАРА — НОВЫЙ ДИЗАЙН (product-hero, gallery, buybox)
   ============================================================ */

/* Хлебные крошки */
.crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 16px;
}
.crumbs a {
    color: var(--muted);
    transition: color 0.14s;
}
.crumbs a:hover {
    color: var(--orange);
}
.crumbs .sep {
    color: #c9cdd3;
}
.crumbs .cur {
    color: var(--text);
    font-weight: 600;
}

/* Заголовок страницы */
.page-title {
    margin: 0 0 24px;
    font-size: 27px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.5px;
    line-height: 1.16;
    position: relative;
    padding-bottom: 15px;
    text-wrap: pretty;
}
.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}

/* --- товар: галерея + buybox --- */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 372px;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 24px;
}
.gallery {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    position: relative;
}
.gallery-main {
    flex: 1;
    min-height: 380px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-main img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.g-thumb {
    height: 84px;
    border: 2px solid var(--line);
    border-radius: var(--radius-xs);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        border-color 0.14s,
        background 0.14s;
    padding: 6px;
    overflow: hidden;
}
.g-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.g-thumb:hover {
    border-color: var(--orange-ring);
}
.g-thumb.active {
    border-color: var(--orange);
    background: var(--orange-soft);
}

/* Стикеры внутри галереи */
.gallery .stickers-list_large {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Buybox */
.buybox {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    min-height: 0;
}
.bb-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.6px;
}
.bb-price small {
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}
.bb-price-old {
    font-size: 15px;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}
.bb-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
}
/* Поле количества (jQuery UI spinner внутри .qty) */
.qty {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--line-2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 48px;
    flex-shrink: 0;
}
.qty .spinner-input-wrapper,
.qty .spinner-input-wrapper.ui-spinner {
    display: flex;
    align-items: stretch;
    height: 100%;
    width: auto;
    border: none;
    background: transparent;
    border-radius: 0;
    position: relative;
    flex: 1;
    padding: 0;
    margin: 0;
    box-shadow: none;
}
.qty .ui-spinner {
    display: flex !important;
    align-items: stretch;
    width: auto;
    height: 100%;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    box-shadow: none !important;
    font-family: inherit;
}
.qty .spinner-input-wrapper .spinner-input,
.qty input.ui-spinner-input {
    width: 50px !important;
    height: 100% !important;
    border: none !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    outline: none;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    order: 2;
    flex: 0 0 50px;
    box-shadow: none !important;
    float: none !important;
}
.qty .ui-spinner-button,
.qty .ui-spinner-up,
.qty .ui-spinner-down {
    width: 40px !important;
    height: 100% !important;
    background: transparent !important;
    color: var(--text) !important;
    font-size: 22px !important;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 0 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
    overflow: hidden;
    transition:
        background 0.12s,
        color 0.12s;
}
.qty .ui-spinner-up {
    order: 3;
}
.qty .ui-spinner-down {
    order: 1;
}
.qty .ui-spinner-button:hover:not([disabled]) {
    background: var(--orange-soft) !important;
    color: var(--orange-dark) !important;
}
.qty .ui-spinner-button[disabled] {
    opacity: 0.4;
    cursor: default;
}
.qty .ui-spinner-button .ui-icon {
    display: none !important;
}
.qty .ui-spinner-button span {
    display: none !important;
}
.qty .ui-spinner-up::after {
    content: "+";
    display: block;
}
.qty .ui-spinner-down::after {
    content: "−";
    display: block;
}
.qty input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    outline: none;
    background: transparent;
}

.btn-buy {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 48px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 16px rgba(244, 121, 32, 0.28);
    transition:
        background 0.15s,
        box-shadow 0.15s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
.btn-buy:hover {
    background: var(--orange-dark);
    box-shadow: 0 8px 20px rgba(226, 104, 14, 0.34);
    color: #fff;
}
.btn-buy svg {
    width: 19px;
    height: 19px;
    fill: #fff;
}
.btn-buy__basket-pict svg {
    fill: #fff;
}
.btn-buy.unactive {
    background: #f0f1f2;
    color: #9aa0a8;
    cursor: default;
    box-shadow: none;
}
.btn-buy.unactive:hover {
    background: #f0f1f2;
    box-shadow: none;
}

/* Ссылка «Сравнить» — простой текстовый стиль как в standalone */
.bb-compare,
.buybox .compare-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.14s;
    text-decoration: none;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
}
.bb-compare:hover,
.buybox .compare-link:hover {
    color: var(--orange);
}
.bb-compare svg,
.buybox .compare-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.buybox .compare-link svg {
	fill: none;
}
.buybox .compare-link::after {
    content: attr(title);
}

/* One-click */
.bb-oneclick {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}
.bb-oneclick .btn-oneclick {
    font-size: 14px;
    font-weight: 600;
    color: var(--orange-dark);
    border-bottom: 1px dashed var(--orange);
    cursor: pointer;
    padding: 4px 0;
}
.bb-oneclick .btn-oneclick:hover {
    color: var(--ink);
    border-color: var(--ink);
}

/* Ключевые характеристики */
.kv {
    margin-top: 20px;
    margin-bottom: 16px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
}
.kv-row {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
}
.kv-row:last-child {
    border-bottom: none;
}
.kv-row .k {
    color: var(--muted);
    flex: 1;
}
.kv-row .v {
    color: var(--ink);
    font-weight: 600;
    text-align: right;
}

/* Наличие на складах в buybox */
.buybox .stock {
    margin-top: auto;
    background: var(--orange-soft);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
}
.buybox .stock h4 {
    margin: 0 0 9px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}
.stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}
.stock-row:last-child {
    margin-bottom: 0;
}
.stock-row .in {
    color: #1f8a4c;
    font-weight: 700;
}
.stock-row .out {
    color: #d14343;
    font-weight: 700;
}
.buybox .stock .availability_true {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
    list-style: none;
}
.buybox .stock .availability_amount_store {
    color: #1f8a4c;
    font-weight: 700;
}

/* Табы на странице товара */
.tabs.product-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.tabs.product-tabs > li {
    list-style: none;
}
.tabs.product-tabs > li > a,
.tab {
    display: block;
    padding: 0 2px 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--muted);
    position: relative;
    cursor: pointer;
    transition: color 0.14s;
    text-decoration: none;
}
.tab:hover,
.tabs.product-tabs > li > a:hover {
    color: var(--text);
}
.tab.active,
.tabs.product-tabs > li.active > a {
    color: var(--orange);
}
.tab::after,
.tabs.product-tabs > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.18s;
}
.tab.active::after,
.tabs.product-tabs > li.active > a::after {
    transform: scaleX(1);
}
.tab-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px 26px;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

/* Таблица характеристик */
.spec-table {
    width: 100%;
    border-collapse: collapse;
}
.spec-table tr {
    border-bottom: 1px solid var(--line);
}
.spec-table tr:last-child {
    border-bottom: none;
}
.spec-table td {
    padding: 13px 8px;
    font-size: 13.5px;
    vertical-align: top;
    line-height: 1.5;
}
.spec-table td:first-child {
    color: var(--muted);
    width: 48%;
}
.spec-table td:last-child {
    color: var(--ink);
    font-weight: 600;
}

/* Отзывы */
.rev-empty {
    margin: 14px 0 16px;
    font-size: 14px;
    color: var(--text);
}
.btn-write {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 20px;
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 13.5px;
    transition:
        background 0.14s,
        color 0.14s;
    border: none;
    cursor: pointer;
}
.btn-write:hover {
    background: var(--orange);
    color: #fff;
}

/* Торговые предложения в buybox */
.buybox-offers {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* Отзывы и форма отзыва внутри .tab-panel */
.tab-panel .comments {
    padding: 16px 0;
}
.product-card-comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.comments-list__item {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.comments-list__item:last-child {
    border-bottom: none;
}

/* Форма отзыва */
.tab-panel form {
    margin-top: 16px;
}
.tab-panel form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
    margin: 0;
}
.tab-panel form .col-md-6,
.tab-panel form .col-md-12,
.tab-panel form .col-md-3 {
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
.tab-panel form .col-md-12 {
    grid-column: 1 / -1;
}

/* Поля ввода */
.tab-panel form .textinputs,
.tab-panel form textarea,
.tab-panel form input[type="text"],
.tab-panel form .captcha-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
    display: block;
}
.tab-panel form .textinputs:focus,
.tab-panel form textarea:focus,
.tab-panel form input[type="text"]:focus,
.tab-panel form .captcha-input:focus {
    border-color: var(--orange);
}
.tab-panel form textarea {
    height: 110px;
    padding: 12px 14px;
    resize: vertical;
    font-family: inherit;
}

/* Чекбокс согласия — галочка слева от текста */
.tab-panel form .col-md-6.mb20 {
    grid-column: 1 / -1;
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
}
.tab-panel form input.checkbox[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    accent-color: var(--orange);
    cursor: pointer;
    vertical-align: middle;
    display: inline-block;
}
.tab-panel form label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
}
.tab-panel form label.checkbox > div {
    flex: 1;
}
.tab-panel form label.checkbox a {
    color: var(--orange-dark);
    text-decoration: underline;
}

/* Звёзды оценки */
.tab-panel .stars {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
}
.tab-panel .stars input.hidden,
.tab-panel .stars input[name="rating"] {
    display: none !important;
}
.tab-panel .reiews-rating {
    display: flex;
    gap: 4px;
    cursor: pointer;
}
.tab-panel .reiews-rating .fa-star {
    font-size: 20px;
    color: var(--line-2);
    transition: color 0.14s;
}
.tab-panel .reiews-rating .fa-star.active,
.tab-panel .reiews-rating .fa-star:hover {
    color: var(--yellow);
}

/* Капча — поле + картинка + сброс в одну строку */
.tab-panel form .captcha-input {
    height: 44px;
    width: 180px !important;
}
.tab-panel form .captcha-block {
    display: flex !important;
    align-items: center;
    gap: 8px;
    justify-content: flex-start !important;
    text-align: left !important;
}
.tab-panel form .captcha-img {
    height: 44px;
    width: auto;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    display: block;
}
.tab-panel form .captcha-refresh {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    background: var(--orange-soft);
    color: var(--orange-dark);
    cursor: pointer;
    transition:
        background 0.14s,
        color 0.14s;
    flex-shrink: 0;
}
.tab-panel form .captcha-refresh:hover {
    background: var(--orange);
    color: #fff;
}

/* Кнопка отправки */
.tab-panel form .btn,
.tab-panel form .btn-big {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 26px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
    transition:
        background 0.15s,
        box-shadow 0.15s;
}
.tab-panel form .btn:hover,
.tab-panel form .btn-big:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 16px rgba(226, 104, 14, 0.3);
}
.tab-panel form .text-center {
    text-align: right;
}
.tab-panel form .mb20 {
    margin-bottom: 0;
}
.tab-panel form .mb45 {
    margin-bottom: 0;
}

/* Share в карточке товара */
.buybox .share {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Адаптив новой карточки товара */
@media (max-width: 1100px) {
    .product-hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .gallery-main {
        min-height: 280px;
    }
    .page-title {
        font-size: 22px;
    }
    .bb-price {
        font-size: 26px;
    }
    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }
    .tab-panel {
        padding: 8px 16px;
    }
}

/* ============================================================
   СТРАНИЦА НОВОСТИ / СТАТЬИ
   ============================================================ */

.article-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: linear-gradient(
        120deg,
        #ffb300 0%,
        var(--orange) 58%,
        var(--orange-dark) 100%
    );
    min-height: 300px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 24px;
    padding: 40px 46px;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}
.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        120% 90% at 88% 14%,
        rgba(255, 255, 255, 0.2),
        transparent 60%
    );
    pointer-events: none;
}
.ah-title {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 33px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.7px;
    text-shadow: 0 2px 12px rgba(150, 70, 0, 0.22);
}
.ah-art {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 18px;
    justify-content: center;
}
.ah-gpu {
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    overflow: hidden;
}
.ah-gpu img {
    max-width: 80%;
    max-height: 80%;
}
.ah-gpu svg {
    width: 92px;
    height: 92px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 14px;
}
.art-tag {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 13px;
    border-radius: 20px;
}
.art-date {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.art-date svg {
    width: 15px;
    height: 15px;
}

.article-body {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 34px;
    box-shadow: var(--shadow);
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
}
.article-body .lead {
    margin: 0 0 4px;
    font-size: 17px;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.55;
    text-wrap: pretty;
}
.article-body h3 {
    margin: 26px 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.article-body h2 {
    margin: 26px 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
}
.feat-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14.5px;
    color: var(--text);
}
.check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--orange-soft);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}
.check svg {
    width: 13px;
    height: 13px;
}
.cta-note {
    background: var(--orange-soft);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin: 24px 0;
    font-weight: 700;
    color: var(--orange-dark);
    font-size: 15px;
    line-height: 1.5;
}
.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0 6px;
}
.hashtag {
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 600;
    background: var(--orange-soft);
    padding: 6px 13px;
    border-radius: 20px;
}
.article-ps {
    margin: 18px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.sec-head--news {
    margin-top: 34px;
}
.news-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.rel-card {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
    text-decoration: none;
    color: inherit;
}
.rel-card:hover {
    border-color: var(--orange-ring);
    box-shadow: var(--shadow-hover);
}
.rel-thumb {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(150deg, var(--orange-soft), #f1f2f4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    overflow: hidden;
}
.rel-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.rel-thumb svg {
    width: 48px;
    height: 48px;
    opacity: 0.66;
}
.rel-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.rel-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
}
.rel-cat {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}
.rel-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 13px;
    transition: gap 0.14s;
}
.rel-card:hover .rel-btn {
    gap: 11px;
}
.rel-btn svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 1100px) {
    .article-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .ah-art {
        display: none;
    }
    .news-products {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .ah-title {
        font-size: 26px;
    }
    .article-body {
        padding: 22px 20px;
    }
}

/* ============================================================
   КОРЗИНА
   ============================================================ */

.cart-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}
.cart-table thead th {
    padding: 14px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #fafaf9;
    border-bottom: 2px solid var(--line);
    text-align: left;
}
.cart-table thead th:last-child {
    text-align: center;
    width: 50px;
}
.cart-table-item {
    border-bottom: 1px solid var(--line);
    transition: background 0.12s;
}
.cart-table-item:last-child {
    border-bottom: none;
}
.cart-table-item:hover {
    background: #fdfaf7;
}
.cart-table-item td {
    padding: 16px 12px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--text);
}
.cart-table-item-td-img {
    width: 100px;
    text-align: center;
}
.cart-table-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #fafaf9;
    padding: 6px;
}
.cart-table-item-td-name {
    min-width: 200px;
}
.cart-table-item-name {
    margin-bottom: 6px;
}
.cart-table-item-name a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.14s;
    line-height: 1.4;
}
.cart-table-item-name a:hover {
    color: var(--orange);
}
.cart-table-item-article {
    font-size: 12px;
    color: var(--muted);
}
.cart-table-item-article strong {
    font-weight: 500;
}
.cart-table-item-price {
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

/* Количество товара в списке (мобильные) */
.cart-table-item td[data-th="&cost;"],
.cart-table-item td[data-th="&sum;"] {
    text-align: right;
}
.cart-table thead th:nth-child(3),
.cart-table thead th:nth-child(5) {
    text-align: right;
    padding-right: 20px;
}
.cart-table-item td[data-th="&amount;"] {
    text-align: center;
    min-width: 120px;
}

/* Спиннер в корзине — фикс jQuery UI */
.cart-table-item .spinner-input-wrapper {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 40px;
    position: relative;
}
.cart-table-item .ui-spinner {
    display: flex !important;
    align-items: stretch;
    height: 100%;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    padding: 0 !important;
}
.cart-table-item .spinner-input-wrapper .spinner-input,
.cart-table-item .ui-spinner-input {
    width: 48px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    outline: none;
    background: transparent;
    float: none !important;
    margin: 0 !important;
    order: 0;
}
.cart-table-item .ui-spinner-button {
    width: 34px;
    height: 100% !important;
    background: transparent !important;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    border-radius: 0 !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-indent: 0 !important;
}
.cart-table-item .ui-spinner-up   { order: 2; }
.cart-table-item .ui-spinner-down { order: -1; }
.cart-table-item .ui-spinner-button:hover {
    background: var(--orange-soft) !important;
    color: var(--orange-dark) !important;
}
.cart-table-item .ui-spinner-button .ui-icon {
    display: none !important;
}
.cart-table-item .ui-spinner-button span {
    display: none !important;
}
.cart-table-item .ui-spinner-up::after { content: "+"; display: block; }
.cart-table-item .ui-spinner-down::after { content: "\2212"; display: block; }
.cart-basket-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-xs);
    color: var(--muted);
    font-size: 16px;
    transition:
        color 0.14s,
        background 0.14s;
    text-decoration: none;
}
.cart-basket-remove:hover {
    color: #d14343;
    background: #fff0f0;
}

/* Карточка оформления заказа */
.purchase-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}
.purchase-card .alert {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}
.purchase-card .alert-success {
    background: var(--orange-soft);
    color: var(--orange-dark);
    border: 1px solid var(--orange-ring);
}
.purchase-card .alert-danger {
    background: #fff0f0;
    color: #d14343;
    border: 1px solid #fcc;
}

/* Футер корзины */
.cart-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    margin-top: -1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.cart-table-footer .col-md-4,
.cart-table-footer .col-md-8 {
    padding: 0;
    width: auto;
    max-width: none;
    flex: none;
}
.cart-table-footer-reset {
    flex-shrink: 0;
}
.cart-reset-btn a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: #f5f5f3;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.14s,
        color 0.14s;
}
.cart-reset-btn a:hover {
    background: #ffeaea;
    color: #d14343;
}
.cart-table-footer-summary-wrapper {
    text-align: right;
}
.cart-table-footer-summary {
    font-size: 15px;
    color: var(--text);
}
.cart-table-footer-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.4px;
}

/* Бонусы и кнопка оформления */
#bonuses-payment-block-wrapper {
    margin-top: 10px;
}
.purchase-card input[type="submit"],
.purchase-card #cart_buy {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(244, 121, 32, 0.28);
    transition: background 0.15s, box-shadow 0.15s;
}
.purchase-card input[type="submit"]:hover,
.purchase-card #cart_buy:hover {
    background: var(--orange-dark);
    box-shadow: 0 8px 20px rgba(226, 104, 14, 0.34);
}

/* Чекбокс согласия — текст справа */
.purchase-card .mb40 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    margin-bottom: 10px;
    padding: 0;
}
.purchase-card .mb40 input.checkbox[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin: 0;
    accent-color: var(--orange);
}
.purchase-card .mb40 label.checkbox {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
    cursor: pointer;
}
.purchase-card .mb40 label.checkbox a {
    color: var(--orange-dark);
    text-decoration: underline;
}
.cart-form-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

/* Форма промокода */
.purchase-card #promocode-form {
    background: var(--orange-soft);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 20px;
}
.purchase-card #promocode-form .row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.purchase-card #promocode-form .col-md-6 {
    padding: 0;
    flex: none;
    width: auto;
    max-width: none;
}
.purchase-card #promocode-form .form-input {
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    background: #fff;
    min-width: 240px;
    transition: border-color 0.15s;
    vertical-align: middle;
}
.purchase-card #promocode-form .form-input:focus {
    border-color: var(--orange);
}
.purchase-card #promocode-form .btn {
    height: 44px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
    transition: background 0.15s, box-shadow 0.15s;
    vertical-align: middle;
}
.purchase-card #promocode-form .btn:hover {
    background: var(--orange-dark);
    box-shadow: 0 6px 16px rgba(226, 104, 14, 0.3);
}

/* Группы формы оформления */
.purchase-card .cart-form-group {
    margin-bottom: 20px;
}
.purchase-card .cart-form-group-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
}
.purchase-card .cart-form-group .row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
}
.purchase-card .mb45 {
    margin-bottom: 20px;
}

/* Бонусы — компактное поле + кнопка */
.purchase-card #bonuses-payment-block-wrapper .row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    text-align: left;
}
.purchase-card #bonuses-payment-block-wrapper .col-md-7,
.purchase-card #bonuses-payment-block-wrapper .col-md-5 {
    padding: 0;
    width: auto;
    flex: none;
    max-width: none;
}
.purchase-card #bonus-amount {
    width: 110px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--ink);
    outline: none;
    background: #fff;
    text-align: center;
}
.purchase-card #bonus-amount:focus {
    border-color: var(--orange);
}
.purchase-card #bonuses-payment-block-wrapper .btn.mb20 {
    margin-bottom: 0;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
}

/* Кнопка сброса полей */
.purchase-card .cart-reset-btn {
    margin: 0 0 10px;
}
.purchase-card .cart-reset-btn a {
    font-size: 13px;
    color: var(--muted);
}

/* Поля адреса доставки */
.purchase-card .delivery_address_label {
    display: inline-block;
    margin-bottom: 4px;
}
.purchase-card .new_address_spoiler {
    margin-top: 12px;
}
.purchase-card .address_spoiler .col-md-6,
.purchase-card .address_spoiler .col-md-12 {
    margin-bottom: 12px;
    padding: 0;
}
.purchase-card .address_spoiler .col-md-6 {
    padding: 0 8px;
}
.purchase-card .address_spoiler .col-md-6:first-child {
    padding-left: 0;
}
.purchase-card .address_spoiler .col-md-6:last-child {
    padding-right: 0;
}

/* ── Список оформленных заказов ── */
.orders-table { margin-top: 20px; }
.orders-table .order-row {
    background: #fafaf9;
}
.orders-table .order-row td {
    padding-top: 18px;
    padding-bottom: 18px;
    vertical-align: top;
}
.orders-table .order-row strong {
    font-size: 15px;
    color: var(--ink);
}
.orders-table .order-row .order-repeat {
    margin-top: 6px;
}
.orders-table .order-row .order-repeat a {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 600;
    transition: background 0.14s;
}
.orders-table .order-row .order-repeat a:hover {
    background: var(--orange-soft-2);
}
.orders-table .order-row .order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}
.orders-table .order-row .order-payment {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}
.orders-table .order-row .order-payment a {
    color: var(--orange-dark);
    text-decoration: underline;
}
.orders-table .order-row .order-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}
.orders-table .order-item-row {
    border-bottom: 1px dashed var(--line);
}
.orders-table .order-item-row:last-child {
    border-bottom: 1px solid var(--line);
}
.orders-table .order-item-row td {
    padding: 10px 16px;
    vertical-align: middle;
    font-size: 13px;
    color: var(--text);
}
.orders-table .order-item-img {
    width: 80px;
    text-align: center;
}
.orders-table .order-item-img img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--radius-xs);
    background: #fafaf9;
}
.orders-table .order-item-row a {
    color: var(--ink);
    font-weight: 500;
    transition: color 0.14s;
}
.orders-table .order-item-row a:hover {
    color: var(--orange);
}

/* Адаптив корзины */
@media (max-width: 760px) {
    .cart-table thead {
        display: none;
    }
    .cart-table-item {
        display: block;
        padding: 16px;
        border-bottom: 2px solid var(--line);
    }
    .cart-table-item td {
        display: flex;
        justify-content: space-between;
        padding: 6px 0;
        text-align: right;
    }
    .cart-table-item td::before {
        content: attr(data-th);
        font-weight: 600;
        color: var(--muted);
    }
    .cart-table-item-td-img {
        justify-content: center;
        width: 100%;
    }
    .cart-table-item-td-name {
        flex-wrap: wrap;
    }
    .cart-table-item-td-name::before {
        display: none;
    }
    .cart-table-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================================
   КАТАЛОГ — ФИЛЬТРЫ В САЙДБАРЕ
   ============================================================ */

/* Контейнер фильтров */
.aside-block_bg {
    background: #fff;
}
.filters-spoiler {
    padding: 0;
}

/* Форма фильтра */
.catalog-filter {
    padding: 16px;
}
.catalog-filter-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.catalog-filter-row_horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
.catalog-filter-row_horizontal .catalog-filter-block {
    flex: 0 0 30%;
}

/* Блок фильтра */
.catalog-filter-block {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
}
.catalog-filter-block:last-child {
    border-bottom: none;
}
.catalog-filter-block.active .filter-block-title {
    color: var(--orange-dark);
}

/* Заголовок фильтра */
.filter-block-title {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    padding-right: 24px;
}

/* Кнопка сброса конкретного фильтра */
.filter-block-reset {
    position: absolute;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s;
}
.filter-block-reset::before,
.filter-block-reset::after {
    position: absolute;
    content: "";
    width: 12px;
    height: 2px;
    background: var(--muted);
    left: 3px;
    top: 8px;
    border-radius: 1px;
}
.filter-block-reset::before {
    transform: rotate(45deg);
}
.filter-block-reset::after {
    transform: rotate(-45deg);
}
.filter-block-reset:hover::before,
.filter-block-reset:hover::after {
    background: var(--orange);
}
.active .filter-block-reset {
    opacity: 1;
}

/* Элемент фильтра (checkbox/radio) */
.filter-block-element {
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

/* Чекбоксы */
.catalog-filter input[type="checkbox"],
.catalog-filter input[type="radio"],
.filter-block-element input[type="checkbox"],
.filter-block-element input[type="radio"] {
    display: none;
}
.catalog-filter input[type="checkbox"] + label,
.filter-block-element input[type="checkbox"] + label {
    position: relative;
    padding-left: 26px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    line-height: 1.5;
    word-break: break-word;
}
.catalog-filter input[type="checkbox"] + label::before,
.filter-block-element input[type="checkbox"] + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--line-2);
    border-radius: 5px;
    background: #fff;
    transition:
        border-color 0.15s,
        background 0.15s;
}
.catalog-filter input[type="checkbox"]:checked + label::before,
.filter-block-element input[type="checkbox"]:checked + label::before {
    border-color: var(--orange);
    background: var(--orange);
}
.catalog-filter input[type="checkbox"]:checked + label::after,
.filter-block-element input[type="checkbox"]:checked + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 6px;
    width: 5px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

/* Радио кнопки */
.catalog-filter input[type="radio"] + label,
.filter-block-element input[type="radio"] + label {
    position: relative;
    padding-left: 26px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    margin-right: 12px;
}
.catalog-filter input[type="radio"] + label::before,
.filter-block-element input[type="radio"] + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--line-2);
    border-radius: 50%;
    background: #fff;
    transition: border-color 0.15s;
}
.catalog-filter input[type="radio"]:checked + label::before,
.filter-block-element input[type="radio"]:checked + label::before {
    border-color: var(--orange);
}
.catalog-filter input[type="radio"]:checked + label::after,
.filter-block-element input[type="radio"]:checked + label::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--orange);
}

/* Диапазон (range) */
.catalog-filter-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.range-input {
    width: 45% !important;
    padding: 8px 10px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-xs);
    font-size: 13px;
    text-align: center;
}
.range-divider {
    flex: 0 0 auto;
    width: 16px;
    height: 2px;
    background: var(--line-2);
    border-radius: 1px;
}

/* jQuery UI Slider */
.slider-range {
    margin: 8px 8px 18px;
    height: 6px;
    border: none !important;
    background: var(--line-2) !important;
    border-radius: 3px;
    position: relative;
}
.slider-range .ui-slider-range {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--orange) !important;
    border-radius: 3px;
}
.slider-range .ui-slider-handle {
    position: absolute;
    top: -7px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid var(--orange) !important;
    box-shadow: 0 1px 6px rgba(244, 121, 32, 0.35);
    cursor: pointer;
    margin-left: -10px !important;
    outline: none !important;
    transition: box-shadow 0.12s;
}
.slider-range .ui-slider-handle:hover,
.slider-range .ui-slider-handle:active {
    box-shadow: 0 2px 10px rgba(244, 121, 32, 0.5);
}

/* Кнопки «Применить» и «Сбросить» */
.catalog-filter-btns-block {
    padding: 16px 0 4px;
    text-align: center;
}
.catalog-filters-btn-result .btn {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
    transition: background 0.15s;
}
.catalog-filters-btn-result .btn:hover {
    background: var(--orange-dark);
}
.catalog-filter-btn-reset {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    border-bottom: 1px dashed var(--muted);
    cursor: pointer;
    padding: 2px 0;
}
.catalog-filter-btn-reset:hover {
    color: var(--orange-dark);
    border-color: var(--orange-dark);
}

/* Скрытые элементы фильтра («ещё») */
.filters-field-spoiler {
    margin-top: 6px;
}
.filters-field-spoiler-link {
    font-size: 12px;
    color: var(--orange-dark);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px dashed var(--orange-ring);
    display: inline-block;
    padding: 2px 0;
}
.filters-field-spoiler-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}

/* Селекты в фильтре */
.catalog-filter select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius-xs);
    font-size: 13px;
    color: var(--ink);
    background: #fff;
}

/* ============================================================
   КАТАЛОГ — ПАНЕЛЬ УПРАВЛЕНИЯ (сортировка + вид)
   ============================================================ */

.catalog-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}

/* Сортировка */
.catalog-controls-block {
    display: flex;
    align-items: center;
    gap: 6px;
}
.catalog-controls-block__sort-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-right: 4px;
}
.sort-by {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line);
    background: #fff;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.sort-by:hover {
    color: var(--orange-dark);
    border-color: var(--orange-ring);
}
.sort-by.active {
    color: var(--orange-dark);
    border-color: var(--orange);
    background: var(--orange-soft);
}
.sort-by i {
    font-size: 11px;
}

/* Переключатель вида (плитка/список) */
.catalog-controls-block_grid {
    display: flex;
    gap: 4px;
    align-items: center;
}
.catalog-controls-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
    border: 1px solid var(--line);
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
}
.catalog-controls-btn svg {
    fill: var(--muted);
}
.catalog-controls-btn:hover {
    border-color: var(--orange-ring);
}
.catalog-controls-btn:hover svg {
    fill: var(--orange-dark);
}
.catalog-controls-btn.active {
    border-color: var(--orange);
    background: var(--orange-soft);
}
.catalog-controls-btn.active svg {
    fill: var(--orange);
}

/* ============================================================
   КАТАЛОГ — ПАГИНАЦИЯ
   ============================================================ */

.paging {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.paging a,
.paging span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    transition: all 0.15s;
    text-decoration: none;
}
.paging a:hover {
    color: var(--orange-dark);
    border-color: var(--orange);
    background: var(--orange-soft);
}
.paging span {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.paging__prev,
.paging__next {
    color: var(--muted);
}
.paging__prev:hover,
.paging__next:hover {
    color: var(--orange-dark);
}

/* ============================================================
   КАТАЛОГ — ВИД СПИСКОМ (list)
   ============================================================ */

.catalog-objects.list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.catalog-objects.list > li {
    width: 100%;
}
.catalog-objects.list .product-card {
    flex-direction: row;
    align-items: stretch;
    padding: 16px;
}
.catalog-objects.list .product-card__image {
    flex: 0 0 200px;
    height: auto;
    min-height: 160px;
}
.catalog-objects.list .product-card__image img {
    max-height: 160px;
}
.catalog-objects.list .product-card__body {
    flex: 1;
    padding-left: 20px;
}
.catalog-objects.list .product-card__title-link {
    font-size: 15px;
    -webkit-line-clamp: 2;
}
.catalog-objects.list .product-card__anons {
    -webkit-line-clamp: 3;
    margin-bottom: 12px;
}
.catalog-objects.list .product-card__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.catalog-objects.list .product-card__actions .btn {
    width: auto;
    min-width: 140px;
}

@media (max-width: 760px) {
    .catalog-objects.list .product-card {
        flex-direction: column;
    }
    .catalog-objects.list .product-card__image {
        flex: none;
    }
    .catalog-objects.list .product-card__body {
        padding-left: 0;
    }
}

/* catalog grid */
.catalog-objects.tile,
.catalog-objects.tile-4,
.catalog-category.tile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
}

.catalog-objects.tile > li,
.catalog-objects.tile-4 > li,
.catalog-category.tile > li {
    padding: 0;
    margin: 0;
    flex: none;
    max-width: none;
    list-style: none;
}
.catalog-item-article {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 7px;
}
.catalog-item-add-func {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}
.compare-link {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: #f4f5f6;
    transition:
        color 0.14s,
        background 0.14s;
}
.compare-link:hover {
    color: var(--orange);
    background: var(--orange-soft);
}
.catalog-item-store {
    display: none;
}
.store-note {
    display: none;
}
.btn-oneclick {
    display: none;
}
.sticker {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-xs);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

/* ============================================================
   АКЦИИ (промо)
   ============================================================ */
.promo-index {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid var(--line);
}
.promos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.main-news-anons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.main-news-anons__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition:
        box-shadow 0.18s,
        transform 0.18s;
}
.main-news-anons__item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.anons-item-pict-wrapper {
    height: 172px;
    background: linear-gradient(
        140deg,
        var(--orange-soft),
        var(--orange-soft-2)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    position: relative;
    overflow: hidden;
}
.anons-item-pict-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.anons-item-date {
    padding: 15px 17px 0;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
}
.anons-item-title {
    padding: 7px 17px 19px;
    font-size: 15px;
    font-weight: 700;
}
.anons-item-title a {
    color: var(--ink);
    transition: color 0.14s;
}
.main-news-anons__item:hover .anons-item-title a {
    color: var(--orange);
}

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer {
    background: var(--footer);
    color: #c2c6cd;
    padding: 50px 0 0;
    margin-top: 8px;
}
.foot-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr 1fr 1.4fr;
    gap: 32px;
}
.foot-col h4 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    position: relative;
    padding-bottom: 11px;
}
.foot-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2.5px;
    background: var(--orange);
    border-radius: 2px;
}
.foot-col li {
    margin-bottom: 11px;
}
.foot-col a {
    font-size: 13px;
    color: #a8adb5;
    transition: color 0.14s;
    display: inline-block;
}
.foot-col a:hover {
    color: var(--orange);
}
.foot-social {
    display: flex;
    gap: 10px;
}
.foot-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition:
        background 0.15s,
        transform 0.14s;
}
.foot-social a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}
.social-networks {
    display: flex;
    gap: 10px;
}
.social-networks a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition:
        background 0.15s,
        transform 0.14s;
}
.social-networks a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}
.foot-contacts .ph {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.foot-contacts .lbl {
    font-size: 12px;
    color: #8a9099;
    margin-bottom: 14px;
}
.foot-contacts .mail {
    display: inline-block;
    font-size: 13px;
    color: var(--orange);
    margin-bottom: 6px;
}
.foot-contacts .hours {
    font-size: 12px;
    color: #8a9099;
}
.foot-bottom {
    padding-top: 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: var(--footer-2);
}
.foot-bottom .container {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 54px;
    font-size: 12px;
    color: #878d95;
}
.foot-bottom .spacer {
    flex: 1;
}
.foot-bottom a {
    color: #9097a0;
    transition: color 0.14s;
}
.foot-bottom a:hover {
    color: var(--orange);
}

/* кнопка наверх */
.to-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(244, 121, 32, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition:
        opacity 0.22s,
        transform 0.22s,
        background 0.15s;
}
.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top:hover {
    background: var(--orange-dark);
}
.scroll-top {
    position: fixed;
    right: 28px;
    bottom: 32px;
    z-index: 90;
    display: none;
}
.scroll-top.visible {
    display: block;
}
.scroll-top__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(244, 121, 32, 0.42);
    cursor: pointer;
}
.scroll-top__btn:hover {
    background: var(--orange-dark);
}
.scroll-top__btn::after {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: 4px;
}

/* ============================================================
   КНОПКИ
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    line-height: 1.4;
    background: var(--orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 121, 32, 0.22);
}
.btn:hover {
    background: var(--orange-dark);
    color: #fff;
}
.btn--outline {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    box-shadow: none;
}
.btn--outline:hover {
    background: var(--orange);
    color: #fff;
}
.btn--sm {
    padding: 6px 14px;
    font-size: 13px;
}
.btn--block {
    width: 100%;
}

/* ============================================================
   МОДАЛКИ / МАСКА
   ============================================================ */
.mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(24, 20, 16, 0.4);
    z-index: 500;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 26px 54px rgba(31, 35, 40, 0.2);
    z-index: 600;
    padding: 32px;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    color: var(--muted);
    cursor: pointer;
}
.modal-close:hover {
    color: var(--ink);
}
.modal-close::after {
    content: "\00d7";
}
.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}
.modal-text {
    margin-bottom: 20px;
}
.modal-btn-wrap {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================================
   МЕГАМЕНЮ КАТАЛОГА
   ============================================================ */
.cat-overlay {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(31, 35, 40, 0.42);
    display: none;
}
.cat-overlay.open {
    display: block;
}

.btn-catalog.active {
    background: var(--orange-dark);
    box-shadow: 0 5px 14px rgba(226, 104, 14, 0.3);
}

.catalog-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    display: none;
    pointer-events: none;
}
.catalog-menu.open {
    display: block;
}

.catalog-menu .container {
    pointer-events: auto;
}

.catalog-menu__inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    max-width: 1260px;
    margin: 8px auto 0;
    height: 500px;
    max-height: calc(100vh - 180px);
    min-height: 200px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 26px 54px rgba(31, 35, 40, 0.2);
    overflow: hidden;
}

.catalog-menu__cats {
    border-right: 1px solid var(--line);
    padding: 8px 0;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.catalog-menu__cat {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.12s;
}
.catalog-menu__cat a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: block;
}
.catalog-menu__cat:hover,
.catalog-menu__cat.active {
    background: var(--orange-soft);
}
.catalog-menu__cat:hover a,
.catalog-menu__cat.active a {
    color: var(--orange-dark);
}

.catalog-menu__panels {
    padding: 24px 28px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.catalog-menu__panel {
    display: none;
    padding-bottom: 20px;
}
.catalog-menu__panel.active {
    display: block;
}

.catalog-menu__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.catalog-menu__panel-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ink);
}
.catalog-menu__all {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-dark);
}

.catalog-menu__sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.catalog-menu__sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: center;
    transition:
        border-color 0.14s,
        box-shadow 0.14s,
        transform 0.14s;
}
.catalog-menu__sub:hover {
    border-color: var(--orange-ring);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.catalog-menu__sub-ico {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-menu__sub-ico img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.catalog-menu__sub-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.34;
}
.catalog-menu__sub:hover .catalog-menu__sub-name {
    color: var(--orange-dark);
}

@media (max-width: 760px) {
    .catalog-menu__inner {
        grid-template-columns: 1fr;
    }
    .catalog-menu__cats {
        display: none;
    }
    .catalog-menu__sub-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   ПОИСК — ВЫПАДАЮЩАЯ ПОДСКАЗКА (живой AJAX, catalog_search.js)
   Видимость управляется через display (jQuery .show()/.hide()),
   поэтому без opacity/visibility.
   ============================================================ */
.search-drop {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    z-index: 120;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 22px 50px rgba(31, 35, 40, 0.18);
    padding: 14px 12px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
}
.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-results-list > li {
    margin-bottom: 4px;
}
.search-results-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 6px 8px 10px;
}
.search-results-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.search-results__item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 9px 8px;
    border-radius: var(--radius-sm);
    transition: background 0.12s;
}
.search-results__item:hover {
    background: var(--orange-soft);
}
.search-results-item-img-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 11px;
    flex-shrink: 0;
    background: linear-gradient(150deg, var(--orange-soft), #f1f2f4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.search-results-item-img-wrapper img,
.search-results-item-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.search-results-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.search-results-item-content a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.32;
}
.search-results__item:hover .search-results-item-content a {
    color: var(--orange-dark);
}
.search-results-item-content__article {
    font-size: 11.5px;
    color: var(--muted);
    margin: 0;
}
.search-results-item-price {
    margin: 0;
}
.search-results-item-price__new {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
    white-space: nowrap;
}
.search-results-item-price__old {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
    margin-right: 4px;
}
#search-results-show-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
    padding: 13px;
    border-top: 1px solid var(--line);
    color: var(--orange-dark);
    font-weight: 700;
    font-size: 13.5px;
    background: none;
    text-align: center;
}
#search-results-show-btn:hover {
    color: var(--orange);
}

/* ============================================================
   УТИЛИТЫ
   ============================================================ */
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-small {
    font-size: 12px;
}
.text-muted {
    color: var(--muted);
}
.mb10 {
    margin-bottom: 10px;
}
.mb20 {
    margin-bottom: 20px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb40 {
    margin-bottom: 40px;
}
.mb50 {
    margin-bottom: 50px;
}
.mt10 {
    margin-top: 10px;
}
.mt20 {
    margin-top: 20px;
}
.mr5 {
    margin-right: 5px;
}
.d-none {
    display: none;
}
.d-flex {
    display: flex;
}
.d-block {
    display: block;
}
.d-print-none {
}
.align-items-center {
    align-items: center;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}
.col-lg-3,
.col-lg-9,
.col-lg-12 {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

/* Базовые утилиты для обратной совместимости */
.red,
.text-red {
    color: #c00;
}
.text-magenta {
    color: var(--orange);
}
.text-grey,
.text_grey {
    color: var(--muted);
}
.text-white {
    color: #fff;
}
.text-link-color {
    color: var(--orange);
}
.gray-bg {
    background: var(--bg);
}
.bg_lightblue {
    background: var(--orange-soft);
}
.bg-main {
    background: var(--orange);
}
.bg-main-L50 {
    background: var(--orange-soft);
}
.bg-magenta {
    background: var(--orange);
}
a.dark-link {
    color: var(--ink);
}
a.dark-link:hover {
    color: var(--orange);
}
.dotted {
    border-bottom: 1px dotted var(--orange);
}
.link_dashed {
    border-bottom: 1px dashed var(--orange);
    color: var(--orange);
}
.link_dashed:hover {
    color: var(--orange-dark);
}
.shadow-small {
    box-shadow: var(--shadow);
}
.bottom-line {
    position: relative;
    padding-bottom: 10px;
}
.bottom-line:after {
    content: "";
    position: absolute;
    background: var(--line);
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
}
.b-lazy {
    max-width: 100%;
}
.block-title {
    font-size: 23px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 20px;
}
.block-title_bottom-line {
    padding-bottom: 13px;
    border-bottom: none;
    position: relative;
}
.block-title_bottom-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
}
.breadcrumbs,
.navibar {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.breadcrumbs * + *::before,
.navibar * + *::before {
    content: "/";
    margin-right: 6px;
    color: #a8adb4;
}
.breadcrumbs a,
.navibar a {
    color: var(--muted);
}
.breadcrumbs a:hover,
.navibar a:hover {
    color: var(--orange);
}
.breadcrumbs span,
.navibar span {
    color: var(--ink);
    font-weight: 600;
}
.content {
    font-size: 14px;
    line-height: 1.6;
}
.content p {
    margin-bottom: 12px;
}
.content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}
.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}
.content table td,
.content table th {
    padding: 8px 12px;
    border: 1px solid var(--line);
}
.content table th {
    background: var(--bg);
    font-weight: 600;
}
.read-more {
    display: inline-block;
    color: var(--orange);
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px dashed var(--orange);
}
.read-more:hover {
    color: var(--orange-dark);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xs);
    font-size: 15px;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    transition: border-color 0.15s;
    outline: none;
}
input:focus,
textarea:focus,
select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-soft);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: flex;
        flex-direction: column;
    }
    .sidebar .sidebar-filters-block {
        order: 2;
    }
    .side-rec {
        display: none;
    }
    .cats-grid,
    .cats {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-objects.tile,
    .catalog-objects.tile-4,
    .catalog-category.tile {
        grid-template-columns: repeat(2, 1fr);
    }
    .promos,
    .main-news-anons {
        grid-template-columns: repeat(2, 1fr);
    }
    .foot-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


/* Старые классы, чтобы ничего не сломалось */
.header__top-panel {
    display: none;
}
.header-middle-block {
    display: none;
}
.menu-main-line {
    display: none;
}
.footer-menu-line {
    display: none;
}
.footer-contacts {
    display: none;
}
.main-banner {
    position: relative;
    overflow: hidden;
}
.main-banner-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}
.main-banner-content__header {
    display: inline-block;
    padding: 8px 16px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-xs);
}
.header-search-form {
    width: 100%;
}
.header-search-form__input {
    flex: 1;
    border: none;
    outline: none;
    height: 46px;
    padding: 0 18px;
    font-size: 14px;
    color: var(--ink);
    background: transparent;
    width: 100%;
    border: 1.5px solid var(--line-2);
    border-radius: var(--radius-sm);
}
.header-search-form__input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px var(--orange-soft);
}
.header-search-form__btn {
    display: none;
}
.search-content {
    display: none;
}

.main-news-anons {
    padding-bottom: 50px;
}

.captcha-box {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.captcha-box__code {
    width: max-content;
}