.aside-right ol.list,
.aside-right ul.list {
    list-style: initial;
    padding-left: 1rem;
}

.page__content a {
    display: inline;
}

.cookies {
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: var(--fs-20-lg-16);
    font-family: "RobotoCondensed", sans-serif;
    background: var(--second-color);
    z-index: 9999;
}

@media (min-width: 120px) {
    #jvlabelWrap {
        bottom: 150px !important;
        top: unset !important;
    }
}

@media (max-width: 1199px) and (min-width: 0px) {
    #jvlabelWrap {
        bottom: 180px !important;
    }
    #jcont {
        bottom: 60px !important;
    }
    body > jdiv:nth-of-type(1) > jdiv:nth-of-type(1) > jdiv:nth-of-type(1) {
        z-index: 99 !important;
    }
    body > jdiv {
        z-index: 200 !important;
        position: relative;
    }
    .__jivoMobileButton {
        bottom: 68px !important;
    }

    .medflex-round-widget__button {
        z-index: 199 !important;
        bottom: 90px !important;
    }
}

@media (max-width: 1920px) and (min-width: 0px) {
    /* .header__nav {
        font-size: 24px;
    } */

    .header__nav > ul {
        gap: 30px;
    }
}

.sales-inner__timer {
    float: right;
    min-width: 270px;
    max-width: 350px;
    padding: 30px 40px;
    background: var(--second-color);
    margin: 0 0 20px 20px;
}
.timer {
    display: flex;
    justify-content: space-between;
}
.timer__block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 20px;
    color: var(--accent-color);
    margin: 0 10px;
}
.timer__block span {
    font-size: 48px;
    font-family: "RobotoCondensed bold", sans-serif;
    line-height: 1.2;
    color: var(--main-color);
}
.timer__block span.last-day {
    color: var(--main-color);
}
.timer__block span.last-hour {
    color: var(--main-color);
}
.timer__separate p {
    font-size: 48px;
    font-family: "RobotoCondensed bold", sans-serif;
    line-height: 1.2;
    color: var(--main-color);
    margin-top: -3px;
    transition: all 0.1s ease-out;
}
.timer__separate p.hide {
    visibility: hidden;
}
.timer__separate p.last-hour {
    color: var(--main-color);
}

.aside-right {
    display: grid;
    grid-template-columns: 1fr 375px;
    gap: 70px 80px;
}
.aside-menu {
    display: flex;
    flex-direction: column;
    position: -webkit-sticky;
    position: sticky;
    top: 130px;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}
@media (max-width: 991px) and (min-width: 0px) {
    .aside-menu {
        position: relative;
        top: inherit;
    }
}
.aside-menu__list {
    border-top: 1px solid #000;
}
.aside-menu__list.hide {
    border-top: none;
    overflow: hidden;
}
.aside-menu__burger {
    margin-top: -50px;
    align-self: flex-end;
}
.aside-menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 15px 50px;
    font-size: var(--fs-20-lg-16);
    font-family: "RobotoCondensed", sans-serif;
    border-bottom: 1px solid #e6e6e6;
}
.aside-menu a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%) rotate(180deg);
    display: block;
    width: 16px;
    height: 16px;
    background: url(/local/templates/arnikacorp_default/assets/images/bread.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.2;
}
.aside-menu a.active {
    border-bottom: 1px solid var(--main-color);
}
.aside-menu a.active::after {
    opacity: 1;
}

.form-floating.captcha {
    position: relative;
}
.form-floating.captcha img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
}

.btn-toshop {
    display: flex;
    align-items: center;
    gap: 12px;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 12px 18px;
    font-size: var(--fs-16-14);
    font-family: "RobotoCondensed", sans-serif;
    color: #fff;
    background: var(--main-color);
}

.catalog-item__instock {
    text-decoration: none;
}

/* 3 columns puckup order */
#bx-soa-pickup .bx-soa-pickup-list {
    display: block;
    columns: 3;
    gap: 20px;
}

#bx-soa-pickup .bx-soa-pickup-list-item {
    padding: 12px;
    display: inline-flex;
}

@media (max-width: 1199px) and (min-width: 0px) {
    #bx-soa-pickup .bx-soa-pickup-list {
        columns: 2;
    }
}

@media (max-width: 767px) and (min-width: 0px) {
    #bx-soa-pickup .bx-soa-pickup-list {
        columns: 1;
    }
}

/* .header-corp {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 50px;
    justify-content: end;
    margin-left: 26px;
} */

/* @media (max-width: 1199px) and (min-width: 0px) {
    header .header-corp {
        display: none;
    }

    .header-corp svg {
        margin-right: 8px;
    }

    .header-corp {
        display: block;
        height: auto;
        margin-left: 0;
    }
} */

.aside-grid {
    align-items: start;
}

.catalog-item__buy span {
    color: white;
    font-size: var(--fs-28-20);
    font-family: "RobotoCondensed bold", sans-serif;
    line-height: 125%;
}

/* чекбокс на странице оформления */
.col-lg-3 .custom-checkbox{
    align-items: center;
}
.col-lg-3 .custom-checkbox .custom-checkbox__mark{
    min-height: 16px;
    transform: unset;
}
/* /чекбокс на странице оформления */

/* выравние чекбоса */
div.radio-item__body{
    align-items: center;
}
div.radio-item__right{
    padding-top: 0;
}
/* /выравние чекбоса */
/* Отступы в тексте новостей и статей */
.page__content h2,
.page__content h3,
.page__content h4 {
    margin-top: 2rem;
    margin-bottom: 0.6rem;
}
.page__content h2:first-child,
.page__content h3:first-child {
    margin-top: 0;
}
.page__content p {
    margin-bottom: 0.9rem;
    line-height: 1.7;
}
.page__content p:last-child {
    margin-bottom: 0;
}
.page__content ul,
.page__content ol {
    margin-bottom: 1.2rem;
    padding-left: 1.4rem;
}
.page__content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ===== Fix Я.Вебмастер mobile issues (2026-06-22) ===== */

/* 1. Убираем горизонтальную прокрутку на мобильных (offcanvas меню за viewport создавал overflow) */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}
@media (max-width: 600px) {
    html, body {
        position: relative;
    }
    /* offcanvas меню не должны влиять на layout */
    .offcanvas:not(.show) {
        visibility: hidden !important;
    }
}

/* 2. Минимальный font-size для Jivosite-виджета (Я.Вебмастер засчитывает 11px как «слишком мелкий») */
jdiv, jdiv * {
    font-size: 12px !important;
}
jdiv .time__DpjAY, jdiv [class*="time__"] {
    font-size: 12px !important;
}

/* 3. Тултипы у иконок соцсетей (Instagram заблокирован в РФ) — inline font-size:10px */
.tooltip-text {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

/* 4. Минимальный font-size для всех видимых элементов на мобильных */
@media (max-width: 600px) {
    body, p, span, a, li, td, div {
        font-size: max(12px, 1em);
    }
}

/* ===== Стили блока «Похожие товары» (из catalog.section/similar/style.css) ===== */
/**
 * Стили блока «Похожие товары»
 * Стилизация под дизайн shop.arnika-optika.ru
 *
 * КУДА ПОЛОЖИТЬ:
 * /local/templates/.default/components/bitrix/catalog.section/similar/style.css
 */

/* === Фикс: блок вопрос-ответ не должен занимать grid-area Q === */
.product__question {
    grid-area: unset !important;
}

/* === Секция === */
.similar-products-section {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

.similar-products__title {
    font-family: "RobotoCondensed", "Open Sans", Arial, sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #262626;
}

/* === Слайдер === */
.similar-slider {
    position: relative;
    overflow: hidden;
}

.similar-slider__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.similar-slider__track::-webkit-scrollbar {
    display: none;
}

/* === Карточка товара === */
.similar-card {
    flex: 0 0 calc(25% - 12px);
    min-width: 200px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.similar-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.similar-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    position: relative;
}

/* === Бейдж скидки === */
.similar-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #EE1C27;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 1;
}

/* === Изображение === */
.similar-card__image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    overflow: hidden;
}

.similar-card__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.similar-card__noimage {
    color: #ccc;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
}

/* === Бренд === */
.similar-card__brand {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* === Название === */
.similar-card__name {
    font-family: "RobotoCondensed", "Open Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === Цена === */
.similar-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.similar-card__price-current {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #262626;
}

.similar-card__price-old {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.3);
    text-decoration: line-through;
}

/* === Кнопки слайдера === */
.similar-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #262626;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.similar-slider__btn:hover {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.similar-slider__btn--prev {
    left: 4px;
}

.similar-slider__btn--next {
    right: 4px;
}

/* === Адаптив === */
@media (max-width: 1024px) {
    .similar-card {
        flex: 0 0 calc(33.333% - 11px);
    }
}

@media (max-width: 768px) {
    .similar-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 160px;
    }

    .similar-card__image {
        height: 140px;
    }

    .similar-products__title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .similar-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 140px;
    }

    .similar-card__image {
        height: 120px;
    }

    .similar-card__name {
        font-size: 13px;
    }

    .similar-card__price-current {
        font-size: 14px;
    }
}


/* === вопрос ответ ниже === */
.product__question {
    grid-area: unset!important;
}