/* --- ОБЩИЕ СТИЛИ (без темы) --- */

:root {
    --color-white: #ffffff;
    /* фон: тёмная тема */
    --color-red-lightest: #ffc6c6;
    /* фон */
    --color-red-light: #ff8586;
    /* фон */
    --color-red: #ff5758;
    /* кнопки */
    --color-red-dark: #fa3335;
    /* текст, hover для --color-red */
    --color-red-dark--hover: #e60003;
    /* текст, hover для --color-red */
    --color-gray-light: #eaeaea;
    /* фон */
    --color-gray-light--hover: #cdcdcd;
    /* hover для элемента с фоном  --color-gray-light */
    --color-gray: #555555;
    /* текст */
    --color-gray-dark: #2d2d2d;
    /* фон: тёмная тема */
    --color-gray-dark-darker: #252525;
    /* фон: тёмная тема */
    --color-gray-text: #989898;
    /* текст */
    --color-black: #000000;
    /* фон: тёмная тема */
    --color-green: #b0f2b4;
    /* стикер (фон) */
    --color-green-dark: #43bb49;
    /* текст */
    --color-blue: #58b0ff;
    /* стикер (фон) */
    --color-blue-dark: #097ee7;
    /* стикер (фон) */
    --color-orange-lightest: #ffeedf;
    /* стикер (фон) */
    --color-orange-light: #ffe5c7;
    /* стикер (фон) */
    --color-orange: #ffb058;
    /* стикер (фон) */
    --color-orange-dark: #ff8600;
    /* текст */
}

html,
body,
body.theme-light,
body.theme-dark {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    font-style: normal;
}

body {
    margin: 0;
    padding: 0;
}

p,
#content p,
.home-page .html-module p,
body.theme-dark ul,
ul li {
    font-size: 16px;
    line-height: 1.4;
}

a,
a b,
a strong {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    line-height: 1.4;
}

h1 {
    font-size: 1.8em;
    margin: 0 0 12px;
}

h1 strong {
    font-weight: 900;
}

input[type="date"] {
    border-radius: 12px !important;
}

.category-page.category-info,
.manufacturer-page.category-info {
    max-height: 100% !important;
}

/* Стили для фиксированного блока "Тема" */

#theme-toggle {
    z-index: 9999;
    cursor: pointer;
    position: fixed;
    top: 193px;
    bottom: auto;
    left: 0;
    opacity: 0.8;
    transform: translateY(-50%);
    padding: 6px;
    font-family: Arial, sans-serif;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    user-select: none;
    transition: background-color 0.3s ease;
}

#theme-toggle:hover {
    opacity: 1;
}

#theme-toggle:hover {
    background-color: #097ee7;
}

#theme-toggle img {
    display: block;
    width: 64px;
    height: auto;
}

#theme-toggle .title {
    text-align: center;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 100;
}

/* Header */

.top-links__ul__additional_links {
    display: inline-flex;
    padding-top: 4px;
    list-style: none;
}

.top-menu__currency ul:after {
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1;
    content: "* Все расчёты  в BYN";
}

/* Панель выбора темы */
/* УБРАЛ - СМЕНА ТЕМЫ ПО КЛИКУ НА КНОПКУ "ТЕМА" */
/*
#theme-panel {
    z-index: 9999 !important;
    position: fixed;
    top: 96px;
    bottom: auto;
    left: -220px;
    opacity: 0.9;
    transform: translateY(-50%);
    width: 220px;
    background-color: #f0f0f0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 0 6px 6px 0;
    padding: 16px 12px 12px 12px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    transition: left 0.3s ease;
    z-index: 1001;
}

#theme-panel.open {
    left: 0;
}

#theme-panel .close-btn {
    position: absolute;
    top: 0px;
    right: 4px;
    cursor: pointer;
    font-weight: 100;
    font-size: 24px;
    line-height: 1;
    color: #333;
    user-select: none;
}

#theme-panel .close-btn:hover {
    color: #252525;
}

#theme-panel button {
    color: #fff;
    background: #555555;
    width: 100%;
    padding: 10px 0;
    margin: 8px 0;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

#theme-panel button:hover {
    color: #fff;
    background: #2d2d2d;
}

body.theme-light #theme-panel button.btn-light,
body.theme-dark #theme-panel button.btn-dark {
    position: relative;
    background: #f82325;
}

body.theme-light #theme-panel button.btn-light:before,
body.theme-dark #theme-panel button.btn-dark:before {
    content: "✅";
    position: absolute;
    left: -6px;
    top: 10px;
}

body.theme-light #theme-panel button.btn-light:hover,
body.theme-dark #theme-panel button.btn-dark:hover {
    background: #d60305;
}
*/

.product-page strong,
product-page b {
    font-weight: 600;
}

.product-page__textblock {
    padding: 16px 8px;
    border-radius: 12px;
}

.product-page__image-addit-img {
    border: none !important;
}

.qty-switch {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.alert-warning,
.alert-success {
    color: var(--color-gray-dark-darker);
    background: var(--color-green);
}

.alert-warning a,
.alert-success a {
    color: var(--color-red-dark);
    text-decoration: none;
}

.alert-warning a:hover,
.alert-success a:hover {
    color: var(--color-red-dark--hover);
    text-decoration: underline;
}

.form-control.input-warning {
    color: var(--color-black);
    background: var(--color-red-lightest) !important;
    border-color: var(--color-red-lightest) !important;
}

.alert-danger,
.alert-danger a {
    color: var(--color-white);
    background: var(--color-red-dark);
}

.uni-slideshow_v2__description {
    background: none !important;
    border: none !important;
}

button.uni-slideshow_v2__btn.uni-href.btn {
    font-size: 1.4rem;
    font-weight: 400;
    padding: 10px 24px;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 200px;
}

.big-button {
    padding: 8px 12px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 12px;
    text-decoration: none !important;
}

.modal-header .close {
    font-weight: 100;
    background: none;
}

.top-menu {
    padding: 0px 0px 16px 0px;
}

.top-menu__links,
.top-menu__buttons {
    margin-top: 16px;
}

.top-menu__links .top-links__a,
.top-menu__buttons .top-menu__currency button {
    font-size: 1rem;
    line-height: 1;
    font-weight: 400;
}

.menu__level-1-a {
    padding: 0 0 0 12px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 400;
}

menu__level-1-a:hover {
    text-decoration: none;
}

.header-search__category-btn {
    font-size: 1.4rem;
}

.heading {
    font-size: 2em;
    font-weight: 900;
    line-height: 1.4;
}

.uni-slideshow_v2,
.uni-slideshow_v2__item {
    border: none;
}

.uni-slideshow_v2__title {
    font-size: 3.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 48px 0;
}

.uni-slideshow_v2__title .showSlowly {
    padding-left: 19px;
}

.uni-slideshow_v2__title strong {
    font-weight: 900;
}

.uni-slideshow_v2__text {
    margin: 0 0 25px;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
}

.news-thumb,
.news-thumb:hover {
    border: none !important;
    box-shadow: none;
}

.news-module .news-thumb__name {
    font-size: 0.9rem;
    line-height: 1.3;
}

.news-module .news-thumb__text {
    font-size: 0.8rem;
    line-height: 1.4;
}

.news-thumb__image {
    border-radius: 4px;
}

.news-page__image img {
    border: none;
}

.news-thumb:hover {
    border-color: var(--color-gray-light--hover);
}

.product-thumb__price {
    display: inline-block;
    font-size: 1em;
    text-align: center;
}

.product--additional-info {
    padding: 12px;
    border-radius: 12px;
}

.product-block .product-page__textblock .product-page__textblock-inner {
    padding: 0;
}

.product-page .product-page__textblock .product-page__textblock-inner p {
    text-indent: 16px;
}

.product-page .product-page__textblock.left-side {
    margin-top: 24px;
}

.category-list__item:hover {
    border: solid 1px transparent;
    box-shadow: none;
}

.category-list__item img {
    margin: 0;
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.article_description {
    padding-top: 0;
}

.article_description h2 {
    margin-top: 24px;
}

.uni-slideshow_v2__title .showSlowly {
    padding-left: 19px;
}

#content .uni-wrapper {
    margin: 0 0 30px;
    padding: 20px;
    border: none;
}

/* Живой поиск */

.live-search__ul,
.live-search__price {
    width: 100% !important;
    max-width: 100% !important;
}

/* Страница товара */

.nav-tabs li a {
    font-weight: 400;
}

.nav-tabs li.active a:after,
.nav-tabs li a:hover:after {
    width: 0 !important;
}

#product .quick-order {
    height: 66px;
    margin-bottom: 0 !important;
}

#product .custom-date-fields {
    margin-top: 24px;
    margin-bottom: 24px;
}

/* Страница категории, поиска, 5 в 1, недавно смотрели, ... */

.product-layout,
.product-thumb .uni-item {
    border: none !important;
}

.product-thumb .price,
.product-page__price.price {
    font-weight: 400;
}

.products-block .uni-item,
[class*="-module"] .uni-item,
.uni-module[class*="five-in-one"] .uni-item {
    padding: 15px;
    border: solid 1px rgba(0 0 0 / .06);
    border-radius: var(--border-radius-1);
    box-shadow: none;
}

.news-thumb.uni-item,
.news-list__layout .uni-item {
    padding: 0;
}

.news-thumb__image {
    border-radius: 8px 8px 0 0;
}

.category-list {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-list .category-list__item {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 300;
    min-width: 185px;
    border: none;
}

.category-list .category-list__item:hover {
    border: none;
}

.sorts-block__span {
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 300;
}

.sorts-block__span.selected {
    font-weight: 700;
}

.product-page__image.fixed .product-page__image-close {
    color: var(--color-white);
    background: var(--color-red-dark);
}

/* Личный кабинет */

.account-wishlist__delete {
    color: var(--color-white);
    background: var(--color-red-dark);
}

.account-wishlist__delete:hover {
    color: var(--color-white);
    background: var(--color-red-dark--hover);
}

/* Регистрация */

.account-register .form-group a {
    text-decoration: none;
}

.account-register .form-group a:hover {
    text-decoration: underline;
}

/* Главная страница */

.uni-slideshow_v2__item:not(.text-over-image):before {
    background: transparent;
}

.our_reviews__item_simple {
    padding: 24px;
    transition: all 0.3s ease;
    margin: 24px 1%;
    width: 48%;
    min-height: 120px;
    text-align: center;
    border-radius: 16px;
}

.our_reviews__item--wrapper {
    max-width: 380px;
    margin: 0 auto;
}

.our_reviews__item--wrapper h3 {
    margin: 32px 16px;
}

.our_reviews__item--wrapper h3 {
    margin: 32px 16px;
}

.mainpage__text h3 {
    margin-top: 32px;
}

/* Странная ерунда со слайдером... Лайфхак, чтобы показывались изображения... */
.uni-slideshow_v2__image img,
.uni-slideshow_v2__image source {
    visibility: visible !important;
}

/* Прячем элементы, которые скрываются в обеих темах */

.top-menu__account,
.news-prevnext,
.product-page__cart .qty-switch,
.product-page__cart .product-page__add-to-cart.btn,
.product-thumb__add-to-cart,
.header-block__item-cart,
.fly-menu__cart,
.fly-menu__account,
.qty-indicator {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ocFilter */

.ocf-filter-header,
.ocf-theme-light .ocf-module-page-header {
    text-transform: uppercase;
    font-weight: 500 !important;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 16px;
}

.ocf-footer {
    border-radius: 8px !important;
    box-shadow: none !important;
}

.ocf-dropdown {
    margin: 0 auto !important;
}

.ocf-dropdown .ocf-filter-header {
    padding: 12px;
    margin: 0 auto 2px auto !important;
    font-weight: 400 !important;
}

.ocf-theme-light .ocf-selected-card {
    box-shadow: none;
    border-radius: 0;
}

/* Медиазапросы */

@media screen and (min-width: 768px) {
    .compact-view .product-thumb__price {
        min-width: 275px;
    }
}

@media screen and (max-width: 1344px) {
    .our_reviews__item_simple {
        margin-left: auto;
        margin-right: auto;
    }

    .our_reviews__item_simple.yandex-reviews {
        width: 40%;
    }

    .our_reviews__item_simple.yandex-reviews>div {
        width: 100% !important;
    }

    .our_reviews__item_simple.google-reviews {
        width: 60%;
    }
}

@media screen and (max-width: 1199px) {

    .our_reviews__item_simple,
    .our_reviews__item_simple.yandex-reviews,
    .our_reviews__item_simple.google-reviews {
        width: 100%;
        padding: 24px;
        margin: 24px auto;
    }

    .our_reviews__item_simple.yandex-reviews {
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .uni-slideshow_v2__title {
        font-size: 3rem;
    }

    .uni-slideshow_v2__title .showSlowly {
        padding-left: 0;
    }
}

@media screen and (max-width: 991px) {
    #menu .menu__header {
        padding-left: 72px !important;
    }

    .uni-slideshow_v2__title {
        font-size: 2.6rem;
    }

    .mainpage__text h3 {
        margin-top: 24px;
    }
}

@media screen and (max-width: 767px) {

    .btn-primary.big-button,
    .btn-primary.big-button:hover {
        display: flex;
        align-content: center;
        justify-content: center;
        font-size: 1.2rem;
        line-height: 1.4;
        font-weight: 400;
        text-decoration: none;
        width: 100%;
        margin: 12px auto;
    }

    #theme-toggle {
        padding: 0px 10px;
    }

    #theme-toggle,
    #theme-panel {
        top: 25px;
    }

    #theme-toggle img {
        display: block;
        width: 48px;
    }

    .heading {
        line-height: 1.2;
        justify-content: center;
        text-align: center;
    }

    .header-block {
        display: block;
        width: 100%;
    }

    #logo {
        max-width: 100%;
    }

    #logo img {
        width: 300px;
        height: auto;
        max-width: 300px;
    }

    .uni-slideshow_v2__description {
        margin-top: 237px;
    }

    .uni-slideshow_v2__title {
        font-size: 2.2rem;
    }

    .products-block .product-layout.product-grid.grid-view {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-thumb__name {
        text-align: center;
        font-weight: 600;
    }

    .our_reviews__item_simple>div {
        width: 100% !important;
        max-width: 100% !important;
    }

    .our_reviews__item_simple {
        margin-bottom: 24px;
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .uni-slideshow_v2__description {
        margin-top: 250px;
    }

    .uni-slideshow_v2__title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 575px) {
    .home-page .html-module h1 {
        margin-bottom: 32px;
    }

    .uni-slideshow_v2__description {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
}

@media screen and (max-width: 480px) {}

@media screen and (max-width: 400px) {
    .category-list .category-list__item {
        min-width: 0;
        min-height: 85px;
    }
}