/* ══ Карточка товара: фото, колонки, цена и действия ══ */
.product,
.product .product__two {
    --pc-gap: clamp(28px, 4.6vw, 66px);
    --pc-surface: var(--up-theme-blocks-bg, #0d0d11);
    --pc-surface-2: var(--up-children-bg, #1c1c20);
    --pc-line: var(--up-border-color, #26262a);
    --pc-ink: var(--up-body-color, #ffffff);
    --pc-muted: var(--up-color-gray-600, #a8a8b3);
    --pc-accent: var(--up-scheme-color, #ff453a);
    --pc-positive: #63d99b;
}

.product .product__two {
    align-items: start;
}

@media (min-width: 992.98px) {
    .product .product__two {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: var(--pc-gap);
    }

    .product .product__two-images-wrap {
        grid-column: 1;
        position: sticky;
        top: calc(var(--site-header-height, 120px) + 20px);
        align-self: start;
    }

    .product .product__two-content {
        grid-column: 2;
        min-width: 0;
    }
}

/* ── Блок изображения ── */
.product .product__two-images-wrap {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

/* Клетчатый блок — только основное фото; миниатюры идут под ним. */
.product .product__two-images-wrap .pr-images__wrap {
    border: 1px solid var(--pc-line);
    border-radius: 20px;
    background-color: var(--pc-surface);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 62%);
    background-size: 36px 36px, 36px 36px, auto;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.product .product__two-images-wrap::before {
    display: none;
}

.product .product__two-images-wrap .pr-images {
    --up-pr-images-padding: 76% !important;
    gap: 14px;
}

.product .product__two-images-wrap .pr-images__swiper {
    padding: 14px !important;
}

.product .product__two-images-wrap .pr-images__wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.product .product__two-images-wrap .pr-thumbs {
    width: 68px;
}

.product .product__two-images-wrap .pr-thumbs__item {
    border-radius: 8px;
}

/* ── Правая колонка ── */
.product #js-product-form {
    gap: 14px;
}

.product #js-product-form > h1 {
    margin: 4px 0 6px;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.02em;
}

.product #js-product-form > .pr-top__skus {
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.product #js-product-form > .pr-top__rating {
    gap: 12px;
    font-size: 12px;
}

/* ── Характеристики ── */
.product #js-product-form > .product__item:has(.pr-features) {
    padding: 18px 20px;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    background: var(--pc-surface);
}

.product .product__item-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.product #js-product-form .pr-features-line {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.product #js-product-form .pr-features__item {
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(127, 127, 127, 0.16);
}

.product #js-product-form .pr-features__name {
    font-size: 11px;
    line-height: 1.35;
}

[data-up-theme=dark] .pr-features-line .pr-features__name-bg {
    background-color: transparent;
}

.product #js-product-form .pr-features__value {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* ── Выделенный блок цены и действий ── */
.product .product-cart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 32px !important;
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    background-color: var(--pc-surface) !important;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 69, 58, 0.08), transparent 42%),
        linear-gradient(150deg, var(--pc-surface), var(--pc-surface-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 40px rgba(0, 0, 0, 0.14);
}

.product .product-cart > .product__item {
    gap: 8px;
}

.product .product-cart__prices {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
}

.product .product-cart__prices::before {
    content: 'Стоимость товара';
    color: var(--pc-muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.product .product-cart .stocks__sku {
    order: -1;
    padding: 5px 12px;
    border: 1px solid rgba(99, 217, 155, 0.34);
    border-radius: 999px;
    background: rgba(99, 217, 155, 0.09);
}

.product .product-cart .stock.in-stock {
    color: var(--pc-positive);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.product .product-cart .pr-prices__price {
    font-size: clamp(32px, 3.4vw, 48px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--pc-ink);
}

.product .product-cart__submit {
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.product .product-cart__submit .quantity {
    width: 96px;
    flex: none;
}

.product .product-cart__submit .js-product-button-submit {
    flex: 1;
    min-height: 60px;
}

.product .product-cart .r7-add-config {
    width: 100%;
    min-height: 60px;
    margin: 0;
    border-color: rgba(99, 217, 155, 0.38);
    background: rgba(99, 217, 155, 0.08);
    color: var(--pc-positive);
}

.product .product-cart .r7-add-config:hover,
.product .product-cart .r7-add-config:focus-visible {
    border-color: var(--pc-positive);
    background: rgba(99, 217, 155, 0.16);
    color: var(--pc-positive);
}

/* Кнопка корзины — как на сайте-примере. */
.product .product-cart .pa-cart-actions .pa-cart-button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid #d77865;
    border-radius: 9px;
    background: #FF473C;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    box-shadow: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

/* Иконки через псевдоэлементы: тема обновляет кнопку через .html(), SVG в разметке не выживет. */
.product .product-cart .pa-cart-actions .pa-cart-button::before,
.product .product-cart .pa-cart-actions .pa-cart-button::after,
.product #js-product-form > .product__fix-button .js-product-button-submit::before,
.product #js-product-form > .product__fix-button .js-product-button-submit::after,
.products__item .js-products-button-submit::before,
.products__item .js-products-button-submit::after {
    content: '';
    width: 22px;
    height: 22px;
    background: currentColor;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.product .product-cart .pa-cart-actions .pa-cart-button::before,
.product #js-product-form > .product__fix-button .js-product-button-submit::before,
.products__item .js-products-button-submit::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%207h14l1%2014H4z'/%3E%3Cpath%20d='M8%209V6a4%204%200%200%201%208%200v3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M5%207h14l1%2014H4z'/%3E%3Cpath%20d='M8%209V6a4%204%200%200%201%208%200v3'/%3E%3C/svg%3E");
}

.product .product-cart .pa-cart-actions .pa-cart-button::after,
.product #js-product-form > .product__fix-button .js-product-button-submit::after,
.products__item .js-products-button-submit::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m10%206%206%206-6%206'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='m10%206%206%206-6%206'/%3E%3C/svg%3E");
}

/* Кнопка «В корзину» в карточках каталога и на главной: тот же стиль, что на странице товара, но не выше соседней кнопки. */
.products__item .js-products-button-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px 14px !important;
    border: 1px solid #d77865 !important;
    border-radius: 9px !important;
    background: #FF473C !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
}

.products__item .js-products-button-submit::before,
.products__item .js-products-button-submit::after {
    width: 18px !important;
    height: 18px !important;
}

/* Стрелка в карточках не нужна — остаются только корзина и текст по центру. */
.products__item .js-products-button-submit::after {
    display: none !important;
}

.products__item .js-products-button-submit:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    background: #FF473C !important;
}

.products__item .js-products-button-submit:active:not(:disabled) {
    transform: scale(0.985) !important;
}

.products__item .js-products-button-submit:disabled {
    border-color: #5d6556 !important;
    background: #424447 !important;
    color: #a4ad9b !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.products__item .js-products-button-submit.btn-outline-scheme,
.products__item .js-products-button-submit.in-cart,
.products__item .js-products-button-submit.btn-outline-scheme:disabled,
.products__item .js-products-button-submit.in-cart:disabled {
    border-color: #FF473C !important;
    background: #2c2625 !important;
    color: #f3e8e5 !important;
    box-shadow: inset 0 0 0 1px rgba(229, 131, 121, 0.08) !important;
    opacity: 1 !important;
    cursor: default !important;
    transform: none !important;
}

.products__item .js-products-button-submit.btn-outline-scheme:hover,
.products__item .js-products-button-submit.in-cart:hover {
    background: #2c2625 !important;
    transform: none !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button__label {
    text-align: left;
}

.product .product-cart .pa-cart-actions .pa-cart-button:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #FF473C;
}

.product .product-cart .pa-cart-actions .pa-cart-button:active:not(:disabled) {
    transform: scale(0.985);
}

.product .product-cart .pa-cart-actions .pa-cart-button:disabled {
    border-color: #5d6556;
    background: #424447;
    color: #a4ad9b;
    opacity: 0.7;
    cursor: not-allowed;
}

.product .product-cart .pa-cart-actions .pa-cart-button.in-cart,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme,
.product .product-cart .pa-cart-actions .pa-cart-button.in-cart:disabled,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline:disabled,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme:disabled {
    border-color: #FF473C !important;
    background: #2c2625;
    color: #f3e8e5;
    box-shadow: inset 0 0 0 1px rgba(229, 131, 121, 0.08);
    opacity: 1;
    cursor: default;
    transform: none;
}

.product .product-cart .pa-cart-actions .pa-cart-button.in-cart:hover,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline:hover,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme:hover {
    transform: none;
    background: #2c2625;
}

.product .product__item-order-by-phone {
    margin-top: 2px;
}

/* ── Кнопка «Вопрос по товару» ── */
.product .product__item-product_question {
    margin-top: 0;
}

.pa-product-question {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    background: transparent;
    color: var(--pc-ink);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pa-product-question:hover,
.pa-product-question:focus-visible {
    border-color: var(--pc-accent);
    background: rgba(255, 69, 58, 0.08);
    color: var(--pc-accent);
}

.pa-question-dialog {
    width: min(460px, calc(100vw - 32px));
    max-width: none;
    padding: 0;
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    background: var(--pc-surface);
    color: var(--pc-ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.pa-question-dialog::backdrop {
    background: rgba(0, 0, 0, 0.66);
    backdrop-filter: blur(3px);
}

.pa-question-dialog__inner {
    position: relative;
    padding: 28px;
}

.pa-question-dialog__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--pc-muted);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.pa-question-dialog__close:hover {
    background: rgba(127, 127, 127, 0.12);
    color: var(--pc-ink);
}

.pa-question-dialog__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--pc-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pa-question-dialog h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
}

.pa-question-dialog__product {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.pa-question-dialog__text {
    margin: 0 0 20px;
    color: var(--pc-muted);
    font-size: 12px;
    line-height: 1.6;
}

.pa-question-dialog__actions {
    display: grid;
    gap: 8px;
}

.pa-question-dialog__actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--pc-line);
    border-radius: 9px;
    color: var(--pc-ink);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.pa-question-dialog__actions a:hover {
    border-color: var(--pc-accent);
    background: rgba(255, 69, 58, 0.08);
    text-decoration: none;
}

.pa-question-dialog__actions .pa-question-dialog__primary {
    border-color: var(--pc-accent);
    background: var(--pc-accent);
    color: #fff;
}

.pa-question-dialog__actions .pa-question-dialog__primary:hover {
    background: transparent;
    color: var(--pc-accent);
}

/* ── Светлая тема ── */
[data-up-theme="light"] .product .product__two-images-wrap {
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(145deg, rgba(0, 0, 0, 0.02), transparent 62%);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
}

[data-up-theme="light"] .product .product-cart {
    background-color: #ffffff !important;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 69, 58, 0.05), transparent 42%),
        linear-gradient(150deg, #ffffff, #f6f6f8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

/* ── Адаптив ── */
@media (max-width: 991.98px) {
    .product .product__two {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .product .product__two-images-wrap,
    .product .product__two-content {
        grid-column: 1;
    }

    .product .product__two-images-wrap {
        position: static;
        padding: 12px;
        border-radius: 14px;
    }

    .product .product-cart {
        padding: 20px !important;
        border-radius: 14px;
    }
}

@media (max-width: 560px) {
    .product .product__two {
        gap: 16px;
    }

    .product .product__two-images-wrap .pr-images__swiper {
        padding: 10px;
    }

    .product #js-product-form {
        gap: 12px;
    }

    .product #js-product-form > h1 {
        font-size: 23px;
    }

    .product #js-product-form .pr-features-line {
        grid-template-columns: minmax(0, 1fr);
    }

    .product .product-cart {
        gap: 12px;
        padding: 20px 15px !important;
    }

    .product .product-cart__submit {
        flex-direction: column;
    }

    .product .product-cart__submit .quantity {
        width: 100%;
    }

    .pa-question-dialog__inner {
        padding: 22px;
    }
}

/* ══ Доработки карточки: действия, наличие, галерея, отступы ══ */

/* Кнопки «Добавить в корзину» и «Изменить сборку» — в одну строку. */
.product .product-cart .pa-cart-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.product .product-cart .pa-cart-actions .product-cart__submit {
    flex: 1 1 100%;
    width: auto;
    min-width: 0;
}

.product .product-cart .pa-cart-actions:has(.r7-add-config) .product-cart__submit {
    flex: 1 1 56%;
}

.product .product-cart .pa-cart-actions:has(.r7-add-config) .quantity {
    display: none;
}

.product .product-cart .pa-cart-actions .js-product-button-submit {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.2;
}

.product .product-cart .pa-cart-actions .r7-add-config {
    flex: 0 1 44%;
    width: auto;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

/* «Вопрос по товару» под кнопками, открывает форму консультации. */
.product .product__item-product_question {
    margin-top: 10px !important;
}

.product .product__item-product_question .pa-product-question.btn-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--pc-line);
    border-radius: 10px;
    background: transparent;
    color: var(--pc-ink);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.product .product__item-product_question .pa-product-question.btn-form:hover,
.product .product__item-product_question .pa-product-question.btn-form:focus-visible {
    border-color: var(--pc-accent);
    background: rgba(255, 69, 58, 0.08);
    color: var(--pc-accent);
}

/* Наличие — отдельный бейдж сразу под артикулом. */
.product #js-product-form > .product__stocks {
    margin-top: -2px;
}

.product #js-product-form > .product__stocks .stocks__sku {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid rgba(99, 217, 155, 0.34);
    border-radius: 999px;
    background: rgba(99, 217, 155, 0.09);
}

.product #js-product-form > .product__stocks .stock.in-stock {
    gap: 7px;
    color: var(--pc-positive);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.product #js-product-form > .product__stocks .stock.in-stock .icon-circle {
    color: var(--pc-positive);
    animation: pa-stock-pulse 1.6s ease-in-out infinite;
}

@keyframes pa-stock-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 4px rgba(99, 217, 155, 0.65));
    }
    50% {
        transform: scale(0.7);
        opacity: 0.55;
        filter: drop-shadow(0 0 8px rgba(99, 217, 155, 0.9));
    }
}

/* Галерея — под клетчатым блоком основного фото, без большого отступа. */
.product .product__two-images-wrap .pr-images.bottom {
    gap: 10px;
}

.product .product__two-images-wrap .pr-images.bottom .pr-thumbs {
    width: 100%;
    height: 72px;
    margin: 0;
}

.product .product__two-images-wrap .pr-images.bottom .pr-thumbs__img {
    width: 56px;
    height: 56px;
}

/* Краткое описание — сразу под названием. */
.product #js-product-form > .product__summary {
    margin: 0 0 2px;
    color: var(--pc-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* Отступ между «Настройка ПК после покупки» и «Дополнительные услуги». */
.product #js-product-form > .product__item-nastroika_pc {
    margin-top: 0 !important;
}

.product #js-product-form > .product__item:has(.up-services) {
    margin-top: 4px !important;
}

@media (max-width: 767.98px) {
    /* На мобильном карточка галереи — это сам .pr-images: переносим фон и бордер на фото. */
    .product .pr-images {
        gap: 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .product .pr-images__wrap {
        border: 1px solid var(--pc-line);
        border-radius: 14px;
        background-color: var(--pc-surface);
        background-image:
            linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
            linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 62%);
        background-size: 36px 36px, 36px 36px, auto;
        overflow: hidden;
    }

    .product .pr-images__swiper {
        inset: 12px;
        width: auto;
        height: auto;
    }

    .product .pr-images__wrap .product__badges.abs {
        --up-product-badges-ident: 8px !important;
    }

    .product .product-cart {
        padding: 20px 15px !important;
        border-radius: 16px;
    }

    .product .product-cart .pa-cart-actions {
        flex-direction: column;
    }

    .product .product-cart .pa-cart-actions .pa-cart-button {
        min-height: 55px;
    }

    .product .product-cart .pa-cart-actions .product-cart__submit,
    .product .product-cart .pa-cart-actions .r7-add-config {
        flex: 0 0 auto;
        width: 100%;
    }

    /* mainNew.css даёт мобильным характеристикам -15px — убираем. */
    .product #js-product-form > .product__item:has(.pr-features) {
        margin-top: 0 !important;
    }

    /* Подпись цены возвращаем только в основной карточке (не в фиксированной панели). */
    .product .product-cart .product-cart__prices::before {
        content: 'Стоимость товара' !important;
    }

    .product .product__fix-button .product-cart__prices::before {
        content: none !important;
    }

    /* Таблица комплектации на телефоне — без inner-отступов. */
    .product .pa-bundle__table {
        padding: 0 !important;
    }

    /* Текст таба игр рядом с иконкой слева, стрелка — у правого края. */
    .product__tabs .up-tabs.js-tabs > #tab-gaming {
        justify-content: flex-start !important;
    }

    .product__tabs .up-tabs.js-tabs > #tab-gaming::after {
        margin-left: auto !important;
    }

    /* Значения характеристик на телефоне делаем чуть крупнее и выравниваем по правому краю. */
    .product #js-product-form .pr-features__value {
        font-size: 12px !important;
        text-align: right !important;
    }
}

@media (max-width: 560px) {
    .product .product-cart .pa-cart-actions .js-product-button-submit,
    .products__item .js-products-button-submit {
        font-size: 12px !important;
    }

    .product .product-cart .pa-cart-actions .r7-add-config {
        padding: 10px 8px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product #js-product-form > .product__stocks .stock.in-stock .icon-circle {
        animation: none;
    }
}

/* Конфигуратор не растягиваем по высоте кнопки корзины. */
.product .product-cart .pa-cart-actions .r7-add-config {
    align-self: center;
}

/* Таблица комплектации: у tbody не должно быть внутренних отступов. */
.product .pa-bundle__table tbody {
    padding: 0 !important;
}

/* Подписи кнопок конфигуратора и вопроса — весь текст заглавными. */
.r7-add-config__label,
.pa-product-question span {
    text-transform: uppercase !important;
}

/* «Изменить сборку» в карточках каталога и главной — зелёная, как на странице товара. */
.products__item .r7-add-config.js-r7-add-pc {
    border-color: rgba(99, 217, 155, 0.38) !important;
    background: rgba(99, 217, 155, 0.08) !important;
    color: #63d99b !important;
}

.products__item .r7-add-config.js-r7-add-pc:hover:not(:disabled),
.products__item .r7-add-config.js-r7-add-pc:focus-visible {
    border-color: #63d99b !important;
    background: rgba(99, 217, 155, 0.16) !important;
    color: #63d99b !important;
}

.products__item .r7-add-config.js-r7-add-pc .r7-add-config__icon,
.products__item .r7-add-config.js-r7-add-pc .r7-add-config__label {
    color: inherit !important;
}

/* mainNew.css задаёт кнопке !important — переопределяем здесь. */
.product .product-cart .pa-cart-actions .pa-cart-button {
    min-height: 58px !important;
    padding: 16px 18px !important;
    border-radius: 9px !important;
    background: #FF473C !important;
    color: #fff !important;
    text-transform: none !important;
    transition: transform 0.25s ease, background 0.25s ease !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button:hover:not(:disabled) {
    background: #FF473C !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button:disabled {
    background: #424447 !important;
    color: #a4ad9b !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button.in-cart,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme,
.product .product-cart .pa-cart-actions .pa-cart-button.in-cart:disabled,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline:disabled,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme:disabled {
    border-color: #FF473C !important;
    background: #2c2625 !important;
    color: #f3e8e5 !important;
    transform: none !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button.in-cart:hover,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline:hover,
.product .product-cart .pa-cart-actions .pa-cart-button.btn-outline-scheme:hover {
    background: #2c2625 !important;
}

/* Вопрос — вплотную под кнопками (gap карточки 14px минус 6px). */
.product .product__item-product_question {
    margin-top: -6px !important;
}

/* ── Исправления: бейдж, миниатюры, кнопки и меню каталога ── */

/* Бейдж на фото должен быть внутри карточки, а не прижат к её краю. */
.product .pr-images__wrap .product__badges.abs {
    --up-product-badges-ident: 10px;
}

/* Миниатюры: компактные квадраты с небольшим зазором вместо широких ячеек. */
.product .pr-images.bottom .pr-thumbs {
    height: 72px;
}

/* Высота swiper должна совпадать с ячейкой, иначе обрезается нижняя граница миниатюры. */
.product .pr-images.bottom .pr-thumbs__swiper {
    height: 72px !important;
}

.product .pr-thumbs__swiper .swiper-slide {
    width: 72px !important;
    height: 72px !important;
    margin-right: 8px !important;
}

.product .pr-thumbs__item {
    padding-top: 100% !important;
}

.product .pr-thumbs__img {
    inset: 6px !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

.product .pr-thumbs img {
    padding: 5px !important;
}

/* Текст кнопки остаётся слева и после замены содержимого темой. */
.product .product-cart .pa-cart-actions .pa-cart-button {
    text-align: left !important;
}

/* Конфигуратор: без иконки, уже и той же высоты, что и кнопка корзины. */
.product .product-cart .pa-cart-actions .r7-add-config {
    height: 58px !important;
    min-height: 58px !important;
}

.product .product-cart .pa-cart-actions .r7-add-config__icon {
    display: none !important;
}

@media (min-width: 768px) {
    .product .product-cart .pa-cart-actions .r7-add-config {
        flex: 0 0 auto !important;
        width: auto !important;
        padding: 10px 16px !important;
    }
}

/* Меню каталога в шапке — с отступами от края окна, как на примере. */
@media (min-width: 992.98px) {
    .button-catalog__content {
        left: 32px !important;
        right: 32px !important;
        width: auto !important;
    }

    .button-catalog__content .mega-menu {
        border-radius: 14px !important;
    }
}

/* ── Фиксированная кнопка внизу мобильной карточки ── */

/* Та же кнопка корзины, но компактнее: цена должна помещаться в одну строку. */
.product #js-product-form > .product__fix-button .product__fix-button-prices {
    flex: 1 1 auto !important;
    min-width: 0;
    padding-left: 12px !important;
}

.product #js-product-form > .product__fix-button .product-cart__prices {
    min-width: 0;
}

.product #js-product-form > .product__fix-button .pr-prices__price {
    font-size: 20px !important;
    line-height: 1.2;
    white-space: nowrap;
}

.product #js-product-form > .product__fix-button > .product__fix-button-wrap > .js-product-block-submit {
    flex: 0 0 200px !important;
    width: 200px !important;
    padding: 0 !important;
    padding-right: 12px !important;
}

.product #js-product-form > .product__fix-button .js-product-button-submit {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
    border: 1px solid #d77865 !important;
    border-radius: 9px !important;
    background: #FF473C !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: none !important;
    transition: background 0.25s ease !important;
}

.product #js-product-form > .product__fix-button .js-product-button-submit::before,
.product #js-product-form > .product__fix-button .js-product-button-submit::after {
    width: 18px !important;
    height: 18px !important;
}

.product #js-product-form > .product__fix-button .js-product-button-submit:hover:not(:disabled) {
    background: #FF473C !important;
}

.product #js-product-form > .product__fix-button .js-product-button-submit.in-cart,
.product #js-product-form > .product__fix-button .js-product-button-submit.btn-outline,
.product #js-product-form > .product__fix-button .js-product-button-submit.btn-outline-scheme {
    border-color: #FF473C !important;
    background: #2c2625 !important;
    color: #f3e8e5 !important;
}

/* ── Артикул и наличие в одну строку ── */

.product #js-product-form {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 8px;
    row-gap: 12px;
}

.product #js-product-form > * {
    grid-column: 1 / -1;
}

.product #js-product-form > .pr-top__skus {
    grid-column: 1;
    justify-self: start;
    align-self: center;
    width: auto;
}

.product #js-product-form > .product__stocks {
    grid-column: 2;
    justify-self: start;
    align-self: center;
    width: auto;
    margin-top: 0 !important;
}

/* Подпись цены не должна появляться в фиксированной панели. */
.product .product__fix-button .product-cart__prices::before {
    content: none !important;
}

/* ── Загрузка кнопки: только спинNER, без текста и иконок ── */

.product .product-cart .pa-cart-actions .pa-cart-button.up-preloader,
.product #js-product-form > .product__fix-button .js-product-button-submit.up-preloader,
.products__item .js-products-button-submit.up-preloader {
    grid-template-columns: minmax(0, 1fr) !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button.up-preloader .pa-cart-button__label {
    display: none !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button.up-preloader::before,
.product #js-product-form > .product__fix-button .js-product-button-submit.up-preloader::before,
.products__item .js-products-button-submit.up-preloader::before {
    display: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

.product .product-cart .pa-cart-actions .pa-cart-button.up-preloader::after,
.product #js-product-form > .product__fix-button .js-product-button-submit.up-preloader::after,
.products__item .js-products-button-submit.up-preloader::after {
    content: '' !important;
    display: block !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    z-index: auto !important;
    width: 20px !important;
    height: 20px !important;
    background: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.65) !important;
    border-top-color: transparent !important;
    border-radius: 50% !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    transform-origin: 50% 50% !important;
    animation: swiper-preloader-spin 1s infinite linear !important;
}

/* Мобильные вкладки товара: текст менее жирный и компактнее, чем в mainNew.css. */
@media screen and (max-width: 768px) {
    .product__tabs .up-tabs-b .btn {
        padding: 10px !important;
        font-size: 14px;
        font-weight: 500 !important;
    }
}

/* На телефоне «Изменить сборку» ниже кнопки корзины. */
@media (max-width: 767.98px) {
    .product .product-cart .pa-cart-actions .r7-add-config {
        height: 44px !important;
        min-height: 44px !important;
    }
}

/* Мобильные кнопки корзины: 47px, иконка и текст по центру, без стрелки. */
@media screen and (max-width: 767.98px) {
    /* Блок настройки сборки прижат к цене: инлайн-стиль шаблона задаёт 20px. */
    .product .product__item-config_prod_block {
        margin-bottom: 0 !important;
    }

    /* mainNew.css задаёт 0.85rem — на мобильных делаем 0.7rem. */
    .pr-features__item {
        font-size: 0.7rem;
    }

    /* Значения характеристик должны оставаться 12px и не наследовать 0.85rem из mainNew.css. */
    .product #js-product-form .pr-features__value {
        font-size: 12px !important;
    }

    .product .product-cart .pa-cart-actions .pa-cart-button {
        height: 47px !important;
        min-height: 47px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 8px 12px !important;
        text-align: center !important;
    }

    .product .product-cart .pa-cart-actions .pa-cart-button__label {
        text-align: center !important;
    }

    .product #js-product-form > .product__fix-button .js-product-button-submit {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        text-align: center !important;
    }

    .product .product-cart .pa-cart-actions .pa-cart-button::before,
    .product #js-product-form > .product__fix-button .js-product-button-submit::before {
        width: 18px !important;
        height: 18px !important;
        flex: 0 0 18px !important;
    }

    .product .product-cart .pa-cart-actions .pa-cart-button:not(.up-preloader)::after,
    .product #js-product-form > .product__fix-button .js-product-button-submit:not(.up-preloader)::after {
        display: none !important;
    }
}

/* Мобильная кнопка отзывов: 20px из user.css слишком крупная. */
@media (max-width: 767.98px) {
    .product .pr-top__comment {
        font-size: 14px;
    }
}

/* ── MEGA MENU: компактный режим для ноутбуков 1150–1366 px ──
   На large-экранах меню выглядит нормально, а на 1150–1366 колонки
   сжимаются и при невысоком экране внутри меню появляется скролл.
   Уменьшаем высоту контента, а не обрезаем его скроллом. */
@media (min-width: 1150px) and (max-width: 1366px) {
    .mega-menu {
        grid-template-columns: 300px repeat(4, minmax(0, 1fr));
    }

    .col-gaming-inner,
    .col-game {
        padding: 16px 14px 14px;
    }

    .gaming-badge {
        margin-bottom: 8px;
        padding: 3px 8px;
    }

    .gaming-title {
        font-size: 15px;
    }

    .gaming-subtitle {
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .gaming-link {
        padding: 5px 8px;
    }

    .gaming-link-text {
        font-size: 12.5px;
    }

    .gaming-cta {
        margin-top: 10px;
        padding: 8px;
        font-size: 11px;
    }

    .gaming-price-note {
        margin-top: 5px;
    }

    .col-img-game {
        height: 84px;
        margin-bottom: 10px;
    }

    .col-title-game {
        font-size: 11.5px;
        margin-bottom: 7px;
    }

    .col-link-game {
        gap: 6px;
        padding: 4px 6px;
    }

    .col-link-game i {
        width: 12px;
        font-size: 10px;
    }

    .col-link-game span {
        font-size: 12.5px;
    }

    .col-show-all-game {
        margin-top: 6px;
        padding-top: 4px;
        font-size: 10.5px;
    }

    .menu-footer-game {
        gap: 14px;
        padding: 8px 16px;
    }

    .service-tile-game {
        padding: 9px 14px;
    }

    .service-tile-game__icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .service-tile-game__desc {
        font-size: 10px;
    }

    .menu-services-game__links {
        padding: 6px 10px;
    }

    .mega-sub-head {
        padding-bottom: 6px;
        margin-bottom: 5px;
    }

    .mega-back {
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* Ещё компактнее на невысоких ноутбуках. */
@media (min-width: 1150px) and (max-width: 1366px) and (max-height: 780px) {
    .col-gaming-inner,
    .col-game {
        padding: 12px 12px 10px;
    }

    .col-img-game {
        height: 72px;
        margin-bottom: 8px;
    }

    .gaming-link {
        padding: 4px 7px;
    }

    .gaming-subtitle {
        margin-bottom: 7px;
    }

    .gaming-cta {
        margin-top: 7px;
        padding: 7px;
    }

    .col-link-game {
        padding: 3px 5px;
    }

    .col-link-game span {
        font-size: 12px;
    }

    .service-tile-game {
        padding: 7px 12px;
    }

    .menu-services-game__links {
        padding: 5px 8px;
    }
}

/* На очень низких экранах убираем скролл меню за счёт контента. */
@media (min-width: 1150px) and (max-width: 1366px) and (max-height: 700px) {
    .col-gaming-inner,
    .col-game {
        padding: 9px 10px 8px;
    }

    .col-img-game {
        height: 60px;
        margin-bottom: 6px;
    }

    .gaming-badge {
        margin-bottom: 5px;
    }

    .gaming-link {
        padding: 3px 6px;
    }

    .gaming-link-text {
        font-size: 12px;
    }

    .col-title-game {
        margin-bottom: 5px;
        font-size: 11px;
    }

    .col-link-game {
        padding: 2px 4px;
    }

    .col-link-game span {
        font-size: 11.5px;
    }

    .col-show-all-game {
        margin-top: 4px;
        padding-top: 2px;
    }

    .service-tile-game {
        padding: 5px 10px;
    }

    .service-tile-game__icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .menu-services-game__links {
        padding: 4px 8px;
    }
}

/* ── Первый слайдер на главной: визуал как на staging ──
   Высота, тёмная левая зона с плавным переходом в картинку,
   размеры текста, стрелки с красным бордером и точки-табы между ними. */

/* Whole slider: no rounded corners and a thin bottom border. */
.up-slider {
    border-bottom: 1px solid #1a1a26 !important;
}

.up-slider,
.up-slider__swiper,
.up-slider__item,
.up-slider__img,
.up-slider__img-block {
    border-radius: 0 !important;
}

/* Счётчик слайдов между стрелкой и точками: «1 / 5», как на source. */
.up-slider__counter {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 !important;
    min-width: 42px !important;
    color: #cecec7 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
}

.up-slider__counter-current,
.up-slider__counter-total {
    margin: 0 !important;
    font-size: 11px !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    vertical-align: baseline !important;
}

.up-slider__counter-current {
    color: #f3f2ed !important;
}

.up-slider__counter-total {
    color: #cecec7 !important;
}

/* Точки между стрелками: используем нативную пагинацию Swiper,
   меняем только внешний вид. Роли tab/tablist и aria-selected ставит inline-скрипт. */
.up-slider__pagin {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transform: none !important;
}

.up-slider__pagin .swiper-pagination-bullet,
.up-slider__pagin .swiper-pagination-bullet-active {
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    background-image: none !important;
    opacity: 1 !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    cursor: pointer !important;
}

.up-slider__pagin .swiper-pagination-bullet::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #7b7b75;
    transition: width .25s, background .25s;
}

.up-slider__pagin .swiper-pagination-bullet:hover::before {
    background: #f3f2ed;
}

.up-slider__pagin .swiper-pagination-bullet-active::before,
.up-slider__pagin .pa-dot-active::before {
    width: 22px;
    background: #f3f2ed;
}

/* Точки физически ставим между стрелками (делает inline-скрипт),
   обёртка стрелок остаётся обычным flex-контейнером. */
.up-slider__button {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    position: static !important;
    right: auto !important;
    bottom: auto !important;
}

@media (min-width: 768px) {
    .blocks__item.blocks__item-slider-day {
        padding-top: 0 !important;
    }

    /* Слайдер на всю ширину: убираем только его общие боковые отступы. */
    .up-slider {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .up-slider .up-slider__img {
        padding-top: 590px !important;
    }

    .up-slider .up-slider__item {
        background: #08080c;
    }

    .up-slider .up-slider__img-block {
        left: 29% !important;
        right: 0 !important;
        width: auto !important;
        background-position: 67% center !important;
    }

    .up-slider .up-slider__item::after {
        background:
            linear-gradient(90deg, #08080c 0%, #08080c 26%, rgba(8, 8, 12, .92) 39%, rgba(8, 8, 12, .1) 68%, rgba(8, 8, 12, 0) 100%),
            linear-gradient(0deg, rgba(8, 8, 12, .8), transparent 30%) !important;
    }

    .up-slider .up-slider__content {
        left: 6.6vw !important;
        max-width: min(620px, 46vw) !important;
    }

    .up-slider__over {
        font-size: 10px !important;
        letter-spacing: .17em !important;
        color: #eeeee7 !important;
        padding-left: 12px !important;
        margin-bottom: 0 !important;
        border-left: 2px solid #e58379 !important;
    }

    .up-slider__over::before {
        display: none !important;
    }

    .up-slider__title {
        font-size: clamp(34px, 3.2vw, 54px) !important;
        line-height: 1.05 !important;
        font-weight: 650 !important;
        letter-spacing: -.045em !important;
        max-width: 25ch;
    }

    .up-slider__text {
        font-size: 15px !important;
        line-height: 1.75 !important;
        color: #cbcbc5 !important;
        text-shadow: none !important;
        max-width: 43ch;
    }

    .up-slider__nav {
        bottom: 16px !important;
        justify-content: flex-end !important;
        padding: 0 40px !important;
    }

    .up-slider__progress {
        display: none !important;
    }

    .up-slider__button {
        display: flex !important;
    }

    .up-slider__button .btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border: 1px solid #e02020 !important;
        border-radius: 999px !important;
        background: rgba(23, 24, 25, .8) !important;
        color: #f3f2ed !important;
        backdrop-filter: blur(6px);
        transition: background .2s, border-color .2s, transform .2s !important;
    }

    .up-slider__button .btn:hover {
        background: #222325 !important;
        border-color: #ff453a !important;
        transform: translateY(-1px);
    }

    .up-slider__button .btn::after {
        font-size: 18px !important;
        color: #f3f2ed !important;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .up-slider .up-slider__img {
        padding-top: 530px !important;
    }
}

@media (max-width: 767.98px) {
    /* На телефоне сайт имеет поля по 10px — растягиваем только слайдер. */
    .up-slider {
        width: 100vw !important;
        margin-left: -10px !important;
    }

    .up-slider .up-slider__img {
        padding-top: clamp(480px, 82svh, 600px) !important;
    }

    .up-slider .up-slider__img-block {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-position: 70% center !important;
    }

    .up-slider .up-slider__item::after {
        background:
            linear-gradient(180deg, rgba(8, 8, 12, .88) 0%, rgba(8, 8, 12, .55) 38%, rgba(8, 8, 12, .9) 100%),
            linear-gradient(90deg, rgba(8, 8, 12, .8) 0%, rgba(8, 8, 12, .2) 72%) !important;
    }

    .up-slider__content {
        left: 20px !important;
        right: 20px !important;
        padding: 34px 0 88px !important;
        justify-content: center !important;
    }

    .up-slider__over {
        font-size: 9px !important;
        letter-spacing: .17em !important;
        color: #eeeee7 !important;
        padding-left: 12px !important;
        border-left: 2px solid #e58379 !important;
    }

    .up-slider__over::before {
        display: none !important;
    }

    .up-slider__title {
        font-size: clamp(30px, 6.5vw, 40px) !important;
        line-height: 1.05 !important;
        font-weight: 650 !important;
        letter-spacing: -.045em !important;
        max-width: none !important;
    }

    .up-slider__text {
        font-size: 14px !important;
        line-height: 1.75 !important;
        color: #cbcbc5 !important;
        text-shadow: none !important;
        max-width: 48ch !important;
    }

    .up-slider__link > a {
        font-size: 13px !important;
        padding: 14px 20px !important;
    }

    .up-slider__nav {
        position: absolute !important;
        bottom: 10px !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 0 16px !important;
        margin-top: 0 !important;
    }

    .up-slider__pagin {
        gap: 4px !important;
    }

    .up-slider__button {
        gap: 10px !important;
    }

    .up-slider__progress {
        display: none !important;
    }

    .up-slider__button {
        display: flex !important;
    }

    .up-slider__button .btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border: 1px solid #e02020 !important;
        border-radius: 999px !important;
        background: rgba(23, 24, 25, .8) !important;
        color: #f3f2ed !important;
    }

    .up-slider__button .btn::after {
        font-size: 16px !important;
        color: #f3f2ed !important;
    }
}
