:root {
    --font-family: "Inter", sans-serif;
    --second-family: "Anjhay", sans-serif;
    --color-black: #000;
    --color-white: #fff;
    --color-red: #d32a23;
    --color-grey: #f7f7f7;
    --color-light: #808080;
}

* {
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 4px;
    background: var(--color-yellow);
}

*::-webkit-scrollbar-button {
    background: var(--color-black-light);
}

*::-webkit-scrollbar-track {
    border-radius: 5px;
    background: var(--color-black-light);
}

*::-webkit-scrollbar-track-piece {
    background-color: var(--color-yellow);
    border: 1px solid var(--color-yellow);
}

*::-webkit-scrollbar-thumb {
    border-radius: 2px;
    width: 100%;
    background: var(--color-black-lightn);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-black-light) transparent;
}

html {
    font-size: calc(100vw / 192);
}

body {
    position: relative;
    font-family: var(--font-family);
    font-size: 1.4rem;
    font-weight: normal;
    color: var(--color-black-light);
    overflow-x: hidden;
}

body._lock {
    overflow-y: hidden;
}

html._lock {
    overflow-y: hidden;
}

main {
    width: 100%;
    overflow: hidden;
}

section {
    width: 100%;
}

h1, h2, h3, h4, h5 {
    margin: 0;
}

a, button, p, ul {
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    list-style: none;
    background: transparent;
}

button {
    cursor: pointer;
}

svg {
    transition: fill 0.3s, stroke 0.3s;
}

.container {
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    max-width: 144rem;
}

.row {
    margin: 0 auto;
    width: 100%;
    max-width: 120rem;
}

.button-red {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 2rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.6rem;
    color: var(--color-white);
    border-radius: 6.8rem;
    background-color: var(--color-red);
    border: .1rem solid var(--color-red);
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow .3s;
}

.button-red:hover,
.button-red:focus,
.button-red:active {
    box-shadow: .2rem .2rem .2rem .10rem var(--color-red);
}

.title {
    margin: 4rem auto;
    max-width: 94rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 4.4rem;
    color: var(--color-black);
    text-align: center;
}

.content {
    margin-bottom: 5rem;
    font-size: 1.6rem;
}

/*header*/
header {
    margin-bottom: .5rem;
}

.header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.9rem 0;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2.6rem;
    width: 46.5rem;
}

.header-logo {
    margin: 0 auto;
    width: 26rem;
}

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

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.4rem;
    width: 46.5rem;
}

.header-address {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--color-black);
    white-space: nowrap;
}

.header-address br {
    display: none;
}

.header-label {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    border-radius: 6.8rem;
    white-space: nowrap;
}

.header-open {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--color-black);
    white-space: nowrap;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: .9rem;
    white-space: nowrap;
}

.header-phone-mobile {
    display: none;
}

.header-burger {
    display: none;
}

.header-fixed-wrapper {
    position: fixed;
    top: 0;
    left: -110%;
    z-index: 15;
    padding: 2rem 1.4rem;
    width: 37.5rem;
    height: 89.3rem;
    max-height: 100vh;
    background-color: var(--color-white);
    transition: left .6s;
}

.header-fixed-wrapper._open {
    left: 0;
}

.header-fixed-block {
    position: relative;
    width: 100%;
    height: 100%;
}

.header-fixed {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.header-fixed-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    stroke: var(--color-black);
    transition: stroke .3s;
}

.header-fixed-close:hover,
.header-fixed-close:focus,
.header-fixed-close:active {
    stroke: var(--color-red);
}

.header-fixed-phone {
    margin-bottom: 6rem;
    width: 21rem;
    height: 4rem;
    white-space: nowrap;
}

.header-fixed-slogan {
    margin-bottom: 6rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 3.2rem;
    color: var(--color-black);
}

.header-fixed-slogan span {
    color: var(--color-red);
}

.header-fixed-menu {
    margin-bottom: 1rem;
    padding: 2rem 1.2rem;
    border-radius: 2rem;
    background: var(--color-grey);
}

.header-menu-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3.2rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    color: #878787;
}

.header-fixed-menu-list {
    width: 100%;
}

.header-fixed-menu-item {
    padding: 2rem 0;
    border-bottom: .1rem solid #dbdbdb;
}

.header-fixed-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 3.2rem;
    color: var(--color-black);
    transition: color .3s;
}

.header-fixed-menu-link:hover,
.header-fixed-menu-link:focus,
.header-fixed-menu-link:active {
    color: var(--color-red);
}

.header-fixed-menu-link svg {
    stroke: var(--color-black);
    transition: stroke .3s;
}

.header-fixed-menu-link:hover svg,
.header-fixed-menu-link:focus svg,
.header-fixed-menu-link:active svg {
    stroke: var(--color-red);
}

.header-fixed .contact {
    margin-bottom: 1rem;
    width: 100%;
}

/*home*/
.slider {
    position: relative;
    margin-bottom: 11rem;
    width: 100%;
    overflow: hidden;
}

.slider-slide-image {
    width: 100%;
}

.slider-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 2rem;
    object-fit: cover;
}

.slider-slide-image .slider-slide-image-mobile {
    display: none;
}

.slider-slide-info {
    position: absolute;
    top: 0;
    left: 0;
    padding: 6rem 1rem 1rem 6rem;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.slider-slide-title {
    display: block;
    margin-bottom: 1.7rem;
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 6.4rem;
    line-height: 100%;
    text-transform: uppercase;
    color: #f7f7f7;
    pointer-events: none;
}

.slider-slide-title span {
    font-weight: 700;
}

.slider-slide-desc {
    margin-bottom: 3.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 2rem;
    color: #f7f7f7;
    pointer-events: none;
}

.slider-slide-link {
    width: 30rem;
    max-width: 100%;
    height: 5rem;
    white-space: nowrap;
    overflow: hidden;
    transition: all .3s;
    pointer-events: all;
}

.slider-slide-link:hover,
.slider-slide-link:focus,
.slider-slide-link:active {
    width: 35rem;
    box-shadow: none;
}

.slider-slide-link span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.6rem;
    background: linear-gradient(90deg, #fff 0%, #bc5e32 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all .3s;
}

.slider-slide-link:hover span,
.slider-slide-link:focus span,
.slider-slide-link:active span {
    background: linear-gradient(90deg, #fff 0%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slider-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.7rem;
    padding: 0 2rem;
    width: 100%;
    bottom: 1.5rem !important;
}

.swiper-pagination-bullet {
    display: block;
    margin: 0 !important;
    width: .9rem;
    height: .9rem;
    background-color: var(--color-white);
    border-radius: 100%;
    opacity: 1 !important;
    transition: background-color .3s;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-red);
}

.menu {
    position: relative;
    width: 100%;
}

.menu:before {
    content: '';
    position: absolute;
    top: -6rem;
    left: -37%;
    display: block;
    width: 78rem;
    height: 80rem;
    background-image: url("/wp-content/themes/times/assets/image/decor.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.menu > * {
    position: relative;
}

.menu-small-title {
    margin: 0 auto;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 7.4rem;
    color: var(--color-red);
    text-align: center;
}

.menu-title {
    margin: 0 auto 3.5rem auto;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 4.4rem;
    color: var(--color-black);
    text-align: center;
}

.menu-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto 8rem auto;
}

.menu-category-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.4rem 1rem 4rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.6rem;
    color: #000;
    border-radius: 8.5rem;
    background-color: var(--color-grey);
    transition: color .3s;
}

.menu-category-button:hover,
.menu-category-button:focus,
.menu-category-button:active,
.menu-category-button._active {
    color: var(--color-red);
}

.menu-category-button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2.4rem;
    display: block;
    width: .5rem;
    height: .5rem;
    background-color: var(--color-black);
    border-radius: 100%;
    transform: translateY(-50%);
    transition: background-color .3s;
}

.menu-category-button:hover:before,
.menu-category-button:focus:before,
.menu-category-button:active:before,
.menu-category-button._active:before {
    background-color: var(--color-red);
}

.menu-category {
    margin-bottom: 11.4rem;
    width: 100%;
}

.menu-category-icon {
    margin: 0 auto .7rem auto;
    text-align: center;
}

.menu-category-title {
    position: relative;
    margin: 0 auto 4rem auto;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 3.4rem;
    color: var(--color-black);
    text-align: center;
}

.menu-category-title-line {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: block;
    width: 100%;
    height: .1rem;
    background-color: #dbdbdb;
    transform: translate(-50%, -50%);
}

.menu-category-title-text {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
    background-color: var(--color-white);
}

.menu-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.product {
    width: calc((100% - 6rem) / 4);
    background-color: var(--color-grey);
    border-radius: 2rem;
}

.product-image {
    width: 100%;
}

.product-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 2rem;
}

.product-info {
    padding: 1.6rem 1.6rem 2rem 1.6rem;
}

.product-info-title {
    margin-bottom: 1.6rem;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 2rem;
    color: var(--color-black);
}

.product-info-compound {
    margin-bottom: 2rem;
    width: 100%;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--color-light);
}

.product-info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.product-info-price {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 2.8rem;
    color: var(--color-red);
}

.product-info-weight {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--color-light);
}

.category-label {
    display: flex;
    align-items: center;
    gap: 2.3rem;
    margin: 0 auto;
    padding: 1rem 3.4rem 1rem .8rem;
    width: max-content;
    max-width: 100%;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--color-black);
    border-radius: 2rem;
    background-color: var(--color-grey);
}

.contacts {
    margin-bottom: 5rem;
    width: 100%;
}

.contacts-map {
    height: 35rem;
}

.contacts-subtitle {
    margin: 0 auto;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 7.4rem;
    color: var(--color-red);
    text-align: center;
}

.contacts-title {
    margin-bottom: 5rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 4.4rem;
    color: var(--color-black);
    text-align: center;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact {
    width: calc((100% - 4rem) / 3);
    padding: 2rem 1.2rem;
    border-radius: 2rem;
    background-color: var(--color-grey);
}

.contact-top {
    display: flex;
    gap: .8rem;
    margin-bottom: 1.4rem;
}

.contact-name {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.6rem;
    color: #878787;
}

.contact-info {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 1.8rem;
    color: var(--color-black);
    transition: color .3s;
}

.contact-info br {
    display: none;
}

a.contact-info:hover,
a.contact-info:focus,
a.contact-info:active {
    color: var(--color-red);
}

.contact-map {
    margin-top: 3rem;
    height: 35rem;
}

.contact-map > ymaps, .contact-map ymaps {
    border-radius: 2rem;
}

[class*="balloon"], [class*="balloon"] ymaps{
    border-radius: .5rem !important;
}

[class*="balloon__content"] > ymaps{
    width: max-content !important;
}

/*footer*/
footer {
    width: 100%;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 1.9rem 2.6rem;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--color-black);
    border-radius: 8.5rem;
    background: #efefef;
}

.footer-policy {
    padding-bottom: .3rem;
    color: var(--color-black);
    border-bottom: .1rem solid var(--color-black);
    transition: color .3s, border-bottom .3s;
}

.footer-policy:hover,
.footer-policy:focus,
.footer-policy:active {
    color: var(--color-red);
    border-color: var(--color-red);
}

body .cookie-notice-consent {
    background-color: #f7f7f7;
    color: #000;
}

@media (max-width: 1600px) {
    html {
        font-size: calc((100vw / 160));
    }
}

@media (max-width: 1400px) {
    html {
        font-size: calc((100vw / 140));
    }

    .header-address {
        max-width: 20rem;
        white-space: wrap;
    }

    .header-open {
        max-width: 18rem;
        white-space: wrap;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: calc((100vw / 120));
    }

    /*home*/
    .product {
        width: calc((100% - 4rem) / 3);
    }

    .contact-info br {
        display: block;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: calc((100vw / 102.4));
    }

    /*header*/
    .header-left {
        display: none;
    }

    .header-open {
        display: none;
    }

    .header-right {
        width: auto;
    }

    .header-burger {
        display: flex;
        flex-direction: column;
        gap: .4rem;
        width: 3rem;
    }

    .header-burger span {
        display: block;
        width: 100%;
        height: .3rem;
        background-color: var(--color-black);
    }

    .header-logo {
        margin: 0 auto 0 0;
        width: 17.7rem;
    }

    /*home*/
    .slider-slide-title {
        font-size: 4.4rem;
    }

    .contact-info br {
        display: block;
    }
}

@media (max-width: 992px) {
    html {
        font-size: calc((100vw / 99.2));
    }
}

@media (max-width: 850px) {
    html {
        font-size: calc((100vw / 85));
    }

    /*home*/
    .slider {
        margin-bottom: 6.2rem;
    }

    .slider-slide-info {
        padding: 5rem 1rem 1rem 4rem;
    }

    .menu:before {
        width: 45rem;
        height: 56rem;
    }

    .menu-category {
        margin-bottom: 5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: calc((100vw / 76.8));
    }

    /*home*/
    .product {
        width: calc((100% - 2rem) / 2);
    }

    .slider-slide-image {
        height: 30rem;
    }

    .slider-slide-image img {
        height: 30rem;
    }

    /*footer*/
    .footer {
        border-radius: 2rem;
    }
}

@media (max-width: 650px) {
    html {
        font-size: calc((100vw / 65));
    }

    .title {
        font-size: 3.4rem;
    }

    /*home*/
    .slider-slide-info {
        padding: 2.9rem 1rem 1rem 1.7rem;
    }

    .slider-slide-title {
        font-size: 3.8rem;
    }

    .slider-slide-desc {
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    .menu-categories {
        flex-wrap: wrap;
    }

    .menu-small-title {
        font-size: 4.4rem;
    }

    .menu-title {
        font-size: 3rem;
    }

    .menu-categories {
        margin: 0 auto 6rem auto;
    }

    .menu-category-title {
        font-size: 2.4rem;
    }

    .menu-category-title-text {
        padding: 0 3.6rem;
    }

    .product-info {
        padding: 1.4rem 1rem 1.6rem 1rem;
    }

    .category-label {
        font-size: 1.4rem;
    }

    .category-label-image {
        display: block;
        width: 7.3rem;
    }

    .category-label {
        border-radius: 1.3rem;
    }

    .contact {
        width: 100%;
    }

    .contacts-subtitle {
        font-size: 4.4rem;
    }

    .contacts-title {
        font-size: 3.4rem;
    }

    .contacts-grid {
        gap: 1rem;
    }

    .contact-info br {
        display: none;
    }

    .category-label {
        width: 100%;
    }

    .category-label-text {
        display: block;
        max-width: 25rem;
    }

    .menu-category-button {
        width: calc((100% - 3rem) / 3);
    }
}

@media (max-width: 576px) {
    html {
        font-size: calc((100vw / 57.6));
    }

    .container {
        padding: 0 1rem;
    }

    /*header*/
    .header-fixed-wrapper {
        width: 100%;
    }

    /*home*/
    .menu-category-grid {
        gap: 1rem;
    }

    .product {
        width: calc((100% - 1rem) / 2);
    }

    .menu:before {
        display: none;
    }

    .product-info-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: calc((100vw / 48));
    }

    /*header*/
    .header-phone-mobile {
        display: block;
    }

    .header-phone {
        display: none;
    }

    .header-right {
        gap: 3rem;
    }

    /*home*/
    .slider-slide-image .slider-slide-image-desktop {
        display: none;
    }

    .slider-slide-image .slider-slide-image-mobile {
        display: block;
    }

    .slider-slide-image {
        height: auto;
    }

    .slider-slide-image img {
        height: 40rem;
    }

    .slider-slide-image img {
        object-position: center bottom;
    }

    .contact-info br {
        display: block;
    }
}

@media (max-width: 400px) {
    html {
        font-size: calc((100vw / 40));
    }

    /*home*/
    .slider-slide-image img {
        height: auto;
    }
}

@media (max-width: 370px) {
    html {
        font-size: calc((100vw / 37));
    }

    .category-label {
        gap: 1rem;
    }
}
