@charset "UTF-8";


@font-face {
    font-family: "Averta";
    src: url(../fonts/Averta.otf) format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: Baskervville_new;
    src: url(../fonts/Baskervville.ttf);
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}


@font-face {
    font-family: 'Baskerville_bt';
    src: url('../fonts/baskervillebtrusbyme_bold.otf') format('opentype');
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    /* bold */
}

@font-face {
    font-family: 'Baskerville_bt';
    src: url('../fonts/baskervillebtrusbyme_bolditalic.otf') format('opentype');
    font-display: swap;
    font-style: italic;
    font-weight: 700;
    /* bold italic */
}

@font-face {
    font-family: 'Baskerville_bt';
    src: url('../fonts/baskervillebtrusbyme_italic.otf') format('opentype');
    font-display: swap;
    font-style: italic;
    font-weight: 400;
    /* italic */
}

@font-face {
    font-family: 'Baskerville_bt';
    src: url('../fonts/baskervillebtrusbyme_roman.otf') format('opentype');
    font-display: swap;
    font-style: normal;
    font-weight: 400;
    /* roman */
}


/* @font-face {
    font-family: 'Baskervville';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/baskervville/v16/YA9Ur0yU4l_XOrogbkun3kQQvpmptvY.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
} */

body {
    font-family: 'Baskervville_new';
    font-size: 1.25rem !important;
}

a.nav-link {
    font-family: Averta;
}

* {
    border-radius: 0 !important;
}

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: white !important;
}


input::-webkit-input-placeholder {
    padding-left: 10px;
}

/* ______________________________________________________________________________________ */

/* .cart-btn__counter {
    position: absolute;
    transform: translate(12px, -2px);
    padding: 5px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: .875em;
} */

.cart-btn__counter {
    position: absolute;
    transform: translate(40%, 50%);
    padding: 5px;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 14px;
    background-color: #1b4677;
    color: white;
    width: 20px;
    height: 20px;
}


@media (max-width: 576px) {
    .cart-btn__counter {
        font-size: 12px;
    }
}

.css_button_cart {
    border: 1px solid #212529;
    text-align: center;
    padding: 0.375rem 0.75rem;
    display: inline-block;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 1rem;
}



.css_imgs_gallery {
    position: relative;
    height: 50vh;
    padding: 0;
}


.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 12px)) !important;
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 12px)) !important;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    position: absolute;
    height: 3px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
    cursor: pointer;
}

.root-nav li span::before {
    content: "";
    display: block;
    height: 15px;
    width: 15px;
    background-repeat: no-repeat;
    top: 50%;
    position: sticky;
    float: right;
}

.root-nav {
    display: flex;
    padding: 0;
    margin: 0;
    z-index: 11;
}

.root-nav li {
    list-style-type: none;
    padding: 0px;
    position: relative;
    display: flex;
    justify-content: space-between;
    min-width: 27%;
}

.root-nav span,
.root-nav a {
    text-decoration: none;
    display: block;
    padding: 10px 10px;
    cursor: pointer;
    width: 100%;
}

.root-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    padding: 0;
    z-index: 2;
}

ul.sub-menu-active {
    display: block;
}


@media(max-width:992px) {
    .root-nav {
        display: none;
    }
}

@media(min-width:992px) {
    ul.root-nav li:hover>ul {
        display: block;
    }
}

#menu-toggle {
    display: none;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

.menu-button-container {
    display: none;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 992px) {
    .menu-button-container {
        display: flex;
        width: 30px;
    }

    .menu {
        position: absolute;
        left: 0;
        width: 100%;
        top: 52px;
    }
}





h1,
h2,
h3,
h4,
h5,
h6 {
    /* text-align: center; */
    text-transform: uppercase;
    /* overflow-wrap: break-word; */
    text-wrap: balance;
}



.css_search_m_0_w_100 {
    margin: 0;
    max-width: 100%;
}

:root {
    --swiper-navigation-size: 48px !important;
}






/* single-news and single-items single category_list allpage*/
.css_news_img {
    width: 100%;
    height: 10vw;
    object-fit: cover;
}

@media(max-width: 768px) {
    .css_news_img {
        height: 75vw;
    }
}

.css_news_card:hover {
    box-shadow: 0.5em 1em 1.5em -0.125em rgb(51 144 236 / 30%), 0 0 0 3px rgb(51 144 236 / 2%);
}

/* single-news and single-items single category_list allpage*/
/* single-news allpage*/
.css_img_fluid {
    object-fit: cover;
    width: 100%;
    /* height: 70vh; */

}

.css_news_title_text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 50px;
}

/* single-news allpage*/
/* footer */
.btn-up {
    position: fixed;
    right: 20px;
    bottom: 120px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 50px;
    z-index: 3;

}

.btn-up::before {
    content: "";
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .16);
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%336699' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

.btn-up_hide {
    display: none;
}

div#map {
    position: relative;
}

div#map:before {
    cursor: pointer;
    transition: .3s;
    background: transparent;
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 140%;
}

div#map:hover:before {
    content: 'Кликните для активации карты';
    background: #000000ab;

}

/* footer */

/* single_models */
.w-full {
    width: 100%;
}

.aspect-4 {
    aspect-ratio: 4 / 3;
}

/* single_models */

.css_button {
    background-color: transparent;
    color: #1b4677;
    border: 2px solid #1b4677;
    padding: 10px 20px;
    position: relative;
    text-decoration: none;
    text-align: center;
}

.css_button::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid #1b4677;
    pointer-events: none;
}

.css_button:hover {
    color: white;
    background-color: #1b4677;

}