
:root {
    --dark-blue: #272833;
    --dark-blue-2: #282935;
    --dark-blue-3: #1b365b;
    --main-yellow: #ffca03;
    --main-gray: #4b4d63;
    --main-gray-2: #8a8a8a;
}

a {
    color: var(--dark-blue-2);
}

a:hover {
    text-decoration: none;
}

/*header*/
.info_head_wrapper {
    background: var(--dark-blue);
    padding: 6px 0;

    .container {
        &:before, &:after {
            content: unset;
        }
    }
}

.info_footer_wrapper {
    background: var(--main-gray);
    padding: 10px 0;
    margin-top: 25px;
}

.info_head, .info_footer {
    display: flex;
    justify-content: flex-end;
    gap: 5px 25px;
    flex-wrap: wrap;
    color: #fff;
    align-items: center;
    line-height: 1;
}

.info_footer {
    justify-content: center;

    &.container {
        &:before, &:after {
            content: unset;
        }
    }
}

.info_head a {
    color: #fff;
}

#logo {
    display: flex;
}

#search .btn-lg, #search input {
    border: none;
}

#search {
    margin-bottom: 10px;
    border: solid 1px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.row_center {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 0;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 10px 0;
}

.header__menu-phone {
    display: flex;
    flex-direction: column;
}

.header__menu-search {
    flex: 1 1 auto;
    margin-left: 10%;
}

.header__menu__logo {
    flex: 0 0 auto;
}

header .callback_block {
    width: max-content;
}

header .phone_call, header .phone_call a, footer .phone_call, footer .phone_call a {
    color: var(--dark-blue-2);
    font-size: 20px;
    margin: 0 0 5px;
    font-weight: 700;
    white-space: nowrap;
    display: block;
}

.btn_callback {
    background: var(--dark-blue-2);
    color: #fff;
    font-size: 20px;
    padding: 5px;
    width: 100%;
    white-space: nowrap;
}

.btn_cart {
    border: none;
    background: none;
    position: relative;
    color: #000;
}

.btn_cart .cart-total {
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 100%;
    background: var(--main-yellow);
    color: #fff;
    padding: 10px;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.menu_wrapper {
    background: var(--main-yellow);
}

.navbar-nav > li a {
    position: relative;
    text-transform: uppercase;
    color: #000;
}

.navbar-nav > li a:hover {
    color: #fff;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-header:before, .navbar-header:after, .row:before, .row:after {
    display: none;
}

.separator_cat {
    position: absolute;
    right: 0;
    color: #fff;
}

.navbar-nav > li:hover > a, .navbar-nav > li:focus > a, .navbar-nav > li:active a, .navbar-nav .dropdown.open > a {
    color: #fff;
}

.navbar-nav > li:hover {
    background: none;
}

.nav > li > a:focus, .nav > li > a:hover, .nav > li > a:active {
    background: none;
    background-color: transparent;
}

.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
    background-color: transparent;
    border-color: transparent;
}

/* footer */
footer {
    margin-top: 30px;
    padding-top: 30px;
    background-color: var(--main-yellow);
    border-top: 1px solid #ddd;
    color: #e2e2e2;

    .informations {
        li {
            &:not(:last-child) {
                margin-bottom: 10px;
            }
        }
    }

    .categories_ul {
        li {
            &:not(:last-child) {
                margin-bottom: 5px;
            }
        }
    }

    h5 {
        margin-top: 0;
    }
}

footer a {
    color: #000;
    font-size: 18px;
}

footer a:hover {
    color: #fff;
}

.info_footer a {
    color: #fff;
}

footer h5 {
    color: var(--dark-blue-3);
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 20px;
}

.informations li a, footer h5 {
    text-transform: uppercase;
}

footer .categories_ul li {
    line-height: 1.2;
}

/* Слайдошоу */
.swiper-slide {
    position: relative;
}

.banner_title {
    position: absolute;
    background: rgba(255, 255, 255, .7);
    padding: 15px 20px;
    top: 50%;
    min-width: 50%;
    left: 50%;
    color: #000;
    text-transform: uppercase;
    font-size: 24px;
    transform: translate(-50%, -50%);
    font-weight: 600;
}


/* Блок категорий, стена категорий */

.category_block {
    margin: 40px 0;
}

.category_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /*gap: 25px;*/
}

.yellow, .title_category:first-letter, .block_title:first-letter {
    color: var(--main-yellow);
}

.block_title {
    font-size: 25px;
    font-weight: 500;
    margin: 0 0 25px;
}

.category_wrapper .category_item {
    /*box-shadow: 0 1px 4px rgba(0, 0, 0, .2);*/
    position: relative;
    display: block;
    overflow: hidden;
    border: none;
    box-shadow: none;
    /*min-width: 100%;*/
    /*max-height: 300px;*/
    transition: all ease 0.2s;
}

.category_wrapper .category_item img {
    min-width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    width: 100%;
    transition: all ease 0.5s;
}

.category_wrapper .category_item .name {
    position: absolute;
    color: #fff;
    text-transform: uppercase;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    transition: all ease 0.2s;
    padding: 10%;
}

.category_wrapper .category_item:hover {
    background-color: #4B4D63;
}

.category_wrapper .category_item:hover img {
    opacity: 0;
}

.category_wrapper .category_item:hover .name {
    padding: 0;
    margin: 10%;
    width: 80%;
    height: 80%;
    background-color: #4B4D63;
    border: 1px solid #fff;
}

/*.category_wrapper .category_item:hover img {*/
/*    transform: scale(1.1, 1.1);*/
/*}*/

.big_btn {
    width: 100%;
    padding: 15px;
    background: var(--main-yellow);
    text-transform: uppercase;
    border: none;
    color: #000;
}

.category_block .big_btn {
    margin: 30px 0 0 0;
    font-weight: 600;
    padding: 20px;
}


/* Блок популярные, товары */

.products_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
    margin: 0 0 30px;
}

#product-category .products_wrapper {
    grid-template-columns: 1fr 1fr 1fr;
}

#product-category .catalog_category .products_wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.products_wrapper .product {
    display: flex;
    flex-direction: column;
}

.products_wrapper .product .product_info {
    margin: auto 0 0 0;
}

.product .big_btn {
    margin: 0 0 10px 0;
    font-weight: 600;
    font-size: 15px;
    color: #000;
    padding: 10px;
}

.big_btn.gray {
    background: var(--main-gray);
    color: #fff;
    text-transform: none;
    font-weight: 500;
}

.product_top_wrapper {
    position: relative;
    text-align: center;
}

.special_stock {
    position: absolute;
    background: #ff3333;
    top: 0;
    left: 0;
    padding: 5px;
    color: #fff;
    border-radius: 5px;
}

.product .model {
    color: #c2c2c2;
}

.product_info .price {
    border-top: solid .5px #c2c2c2;
    padding: 10px 0;
    margin: 10px 0;
    font-size: 20px;
}

.product_info .old-price {
    text-decoration: line-through;
}

.product_info .stock {
    margin: 7px 0;
    font-size: 12px;
    color: #000;
}

.product_info .name {
    display: block;
    color: #000;
}

.product_info .kol_reviews {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    color: #c2c2c2;
}

.product_info .rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #000;
}

.products_wrapper .rating *, .rating span:has(i), .rating .fa-stack i {
    width: 10px;
    /*height: 10px;*/
    font-size: 12px;
}

.rating {
    margin-right: 5px;
}

/* о компании */
.about_block {
    margin: 0 0 50px;
    position: relative;
}

.about_block .text-wrapper {
    background: rgba(75, 77, 99, 0.9);
    width: 100%;
    height: 100%;
    padding: 5% 10%;
    color: #fff;
    text-align: center;
}

.about_block p {
    margin: 0 0 25px;
}

.about_block .text_black {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    margin: 10px 0 0 0;
}

/* форма на главной */
.form_block {
    margin: 0 0 50px;
    position: relative;
    height: 500px;
}

.abs_back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
}

.input_wrappper {
    width: 100%;
    background: rgba(0, 0, 0, .3);
    padding: 100px 0;
    height: 100%;
}

.form_title {
    font-size: 20px;
    color: #fff;
    margin: 0 auto 40px;
    font-weight: 600;
}

.form_home {
    width: 50%;
    min-width: 300px;
    max-width: 750px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.form_home .big_btn {
    font-size: 15px;
}

.form_home input, .form_home input:active, .form_home input:focus, .form_home input:focus-visible, .form_home input:focus-within {
    width: 100%;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 25px;
    border: none;
    margin: 0 0 15px 0;
    color: #000;
}

.form_home input::placeholder {
    color: #000;
}

/* Категория */

.child_categories_block {
    gap: 30px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 0 10px;
}

.child_categories_block .title_item {
    text-align: center;
    color: var(--main-gray);
    font-weight: 600;
}

.item_child_category {
    text-align: center;
    flex: 0 0 calc(20% - 24px);
}

.btn_view {
    border: none;
    box-shadow: none;
    margin-left: 10px;
    background: #e9f0f3;
}

.btn_view.active {
    background: #dfe6e9;
    box-shadow: none;
}

.wrapper-setting {
    background: #f2fafd;
    display: flex;
    align-items: center;
    padding: 20px;
}

.wrapper-setting__limit select, .wrapper-setting__buttons button {
    height: 30px;
}

.wrapper-setting__buttons {
    flex: 1 1 auto;
    text-align: right;
}

.wrapper-setting__sort {
    margin-right: 10%;
}

#product-category .description .title {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0;
}

.pagination li a {
    border: none;
    color: #000;
    font-weight: 600;
}

.pagination .active span, .pagination .active span:hover, .pagination li a:hover, .pagination li a:focus, .pagination li a:focus-within, .pagination li a:focus-visible, .pagination li a:active {
    border: none;
    background: #ebebeb;
    color: rgba(0, 0, 0, 0.5);;
    font-weight: 600;
}

.pagination {
    border: 1px solid #ddd;
}

.pagination_wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.show_more, .show_more:hover, .show_more:active, .show_more:focus {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 3px;
}

.title_subcategories {
    text-transform: uppercase;
}


/* Товар */
.thumbnail {
    border: none;
    border-radius: 2px;
    position: relative;
}

.info_list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.info_list .item {
    background: #f5f5f7;
    padding: 3px 10px;
}

.info_list .item b {
    color: #000;
}

.price span {
    font-size: 14px;
    color: #666;
}

.price h2 {
    margin-top: 0;
}

.attributes_block .title_wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.attributes_block .title_wrapper .title {
    font-weight: 600;
}

.attributes_block .title_wrapper a {
    color: #53bfe5;
    margin-bottom: 10px;
}

.attributes_block .item_wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0 0 5px;
}

.item_wrapper div:nth-child(2) {
    flex: 1 0;
    border-bottom: 1px dotted #666;
    margin: 0 .4em;
}

#product-product .thumbnail img {
    width: 100%;
}

#button-cart, #product-product .big_btn {
    margin: 0 0 10px;
    padding: 10px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating_text i, .stock i, .stock, .rating_text, .blue {
    color: #53bfe5;
}

.info_product .stock, .info_product .rating, .info_product .rating_text {
    background: #f4f6f8;
    padding: 2px 5px;
    width: max-content;
    margin-bottom: 5px;
}

.quantity {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity_group {
    display: flex;
}

.quantity_group input {
    width: 50px;
    border-right: none;
    border-left: none;
    box-shadow: none;
    text-align: center;
    height: 25px;
}

.quantity_btn {
    border: none;
    font-weight: 800;
    font-size: 15px;
    width: 30px;
    border-radius: 2px;
}

.nav-tabs li a {
    color: #fff !important;
}

.nav-tabs li {
    background: var(--main-yellow);
    margin: 0 20px 0 0;
    border-radius: 4px 4px 0 0;
    border: none;
}

.nav-tabs li.active, .nav-tabs li:hover {
    background: var(--main-gray-2) !important;
}

.nav-tabs li.active a, .nav-tabs li a:hover, .nav-tabs li a:focus, .nav-tabs li a:focus-visible, .nav-tabs li a:focus-within {
    background: var(--main-gray-2) !important;
    border-color: transparent !important;
}

.fa-stack-1x, .fa-stack-2x {
    position: static;
}

.related_products {
    margin: 30px 0 30px;
    border-top: 1px solid var(--main-gray-2);
    padding: 30px 0 0;
}

.nav-tabs {
    border-bottom: 1px solid var(--main-gray-2);
}

#menu .navbar-collapse.collapse {
    padding: 0;
    margin: 0 -15px;
}

.breadcrumb {
    background: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    border-bottom: 1px solid #ddd;

    a {
        color: #000;
    }
}

.row_flex {
    display: flex;
    flex-wrap: wrap;
}

#product-product h1 {
    margin-top: 0;
}

#product-product .tab-content {
    margin: 20px 0;
    padding-left: 0;
}

#product-category #content {
    margin-bottom: 80px;
}

.thumbnails {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
}

.thumbnails li:first-child {
    width: 100%;
}

.thumbnails .image-additional {
    flex: 0 0 25%;
}

.image-additional {
    width: 25%;
    display: inline-flex;
}

.navbar-nav > li > .dropdown-menu {
    background: var(--main-yellow);
    border: none;
    padding: 10px;
}

.navbar-nav > li > .dropdown-menu .dropdown-inner li {
    margin-bottom: 10px;
}

.breadcrumb {
    padding: 8px 15px 8px 0;
}

/* Фильтр */
.ocf-theme-light .ocf-filter-header, .ocf-theme-light .ocf-module-page-header {
    background-color: var(--main-yellow);
    padding: 10px;
    font-weight: 500;
    text-transform: none;
    color: #000;
}

.ocf-theme-light .ocf-value-count {
    background-color: var(--dark-blue-2);
    border-radius: 5px;
    color: #fff;
}

.ocf-noUi-connect:before, .ocf-noUi-handle {
    background-color: var(--main-gray-2);
}

.ocf-noUi-handle {
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid var(--main-gray-2);
    width: 30px;
}

.ocf-noUi-handle:before {
    content: "||";
    color: var(--main-gray-2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.ocf-input-group-addon {
    visibility: hidden;
}

.ocf-filter-сollapse {
    text-align: center;
    font-weight: 900;
    font-size: 22px;
    line-height: 0.5;
}

.ocf-value-list {
    height: auto;
}

.ocf-value-list, .ocf-filter {
    transition: all ease 0.5s;
}

.hide_сollapse .ocf-value-list {
    height: 0;
    overflow: hidden;
}

.ocf-theme-light .ocf-filter.hide_сollapse {
    margin-bottom: 0;
}

.ocf-btn-link:hover, .ocf-btn-link:focus {
    color: #000;
}

.navbar-nav .dropdown > a {
    display: flex;
    gap: 10px;
}

.row_ {
    display: flex;
}

.slideshow .swiper-slide {
    height: 500px;
}

.slideshow .swiper-slide img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.slideshow.swiper-viewport {
    border: none;
    overflow: hidden;
    border-radius: unset;
}

#checkout-cart {
    margin-bottom: 30px;
}

#information-contact {
    margin-bottom: 30px;
}

.blog-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin: 0 0 30px;
}

.blog-thumb {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-thumb .caption {
    flex: 1 1 auto;
}

.blog-thumb .image a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-thumb .description {
    color: #c2c2c2;
}

.blog-more-button {
    margin: 0 0 10px 0;
    font-weight: 600;
    font-size: 15px;
    color: #000;
    padding: 10px;
    width: 100%;
    background: var(--main-yellow);
    text-transform: uppercase;
    border: none;
}

#blog-article .products_wrapper {
    grid-template-columns: 1fr 1fr 1fr;
}

@media screen and (max-width: 1200px) {
    .header__menu-search {
        margin-left: 0;
    }
}

@media screen and (max-width: 991px) {
    .header__menu {
        gap: 20px;
    }

    .products_wrapper {
        grid-template-columns: 1fr 1fr;
    }

    #product-category .products_wrapper {
        grid-template-columns: 1fr 1fr;
    }

    #product-category .catalog_category .products_wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .logo_footer img {
        width: 100%;
    }

    header .phone_call, footer .phone_call, footer .phone_call a {
        font-size: 15px;
        text-align: center;
    }

    .category_wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /*gap: 25px;*/
    }

    .navbar-nav {
        padding: 0 10px;
    }

    .ocf-between {
        flex-wrap: wrap !important;
    }

    .item_child_category {
        text-align: center;
        flex: 0 0 calc(25% - 23px);
    }

    .blog-list {
        grid-template-columns: 2fr;
    }

    .wrapper-setting__sort {
        margin-right: 0;
    }

    .wrapper-setting {
        justify-content: space-between;
        gap: 10px;
    }
}

@media screen and (max-width: 767px) {
    .ocf-filter-сollapse {
        display: none;
    }

    .header__menu {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header__menu-search {
        order: 5;
    }

    .item_child_category {
        text-align: center;
        flex: 0 0 calc(33.333333333% - 22px);
    }
}

@media screen and (max-width: 576px) {
    .wrapper-setting__buttons {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .products_wrapper {
        grid-template-columns: 1fr;
    }

    #product-category .products_wrapper, #product-category .catalog_category .products_wrapper {
        grid-template-columns: 1fr;
    }

    .search {
        padding: 5px;
    }

    header .row_center {
        justify-content: space-between;
    }

    .category_wrapper .category_item .name, .btn_callback, footer a {
        font-size: 12px;
    }

    footer h5 {
        font-size: 16px;
    }

    .info_head, .info_footer, .info_footer a {
        font-size: 12px;
    }

    .ocf-between {
        flex-wrap: nowrap !important;
    }

    .header__menu {
        gap: 10px;
    }

    .header__menu__logo {
        width: 100%;
        flex: 1 1 auto;
        justify-content: center;
    }

    header .phone_call a {
        font-size: 22px;
    }

    .item_child_category {
        text-align: center;
        flex: 0 0 calc(50% - 20px);
    }

    .blog-list {
        grid-template-columns: 1fr;
    }

    .wrapper-setting {
        flex-wrap: wrap;
    }

    .wrapper-setting__sort, .wrapper-setting__limit {
        width: 100%;
    }
}
