/* БУРГЕР МЕНЮ */

body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100vh !important;
}

.container:has(.menu.active) {
    max-width: none;
}

.menu {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    background: var(--clr-white);
    padding: 15px 20px 40px 20px;
    display: none;
    flex-direction: column;
    overflow-y: scroll;
}

.menu.active {
    display: flex !important;
}

.menu__top-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.menu__nav {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu__item:not(:last-child) {
    border-bottom: 1px solid var(--clr-cool-gray-light);
}

.menu__link {
    display: block;
    padding: 24px 0;
    font-size: var(--fs-20);
}

.menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    margin-top: auto;
}

.menu__button-email,
.menu__button-phone {
    font-size: var(--fs-20);
}


/* HEADER */

.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--clr-white);
    font-weight: var(--fw-medium);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    z-index: 10;
}

.header::after {
    content: '';
    width: 500vw;
    position: absolute;
    top: 1;
    height: 100%;
    left: -300%;
    right: 500%;
    z-index: -1;
    background: var(--clr-white);
}

.header__logo img {
    width: 124px;
    height: 87px;
}

.header__nav {
    width: 100%;
    margin: 0 50px;
}

.header__list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.menu__link,
.header__link:hover {
    color: var(--clr-red);
}

.header__buttons {
    display: flex;
    gap: 12px;
}

.header__link,
.header__button-email,
.header__button-phone {
    font-size: var(--fs-16);
    font-weight: 600;
}

.header__button-phone {
    background: var(--clr-red);
    border: 0;
    color: var(--clr-white);
}

.header__button-phone:hover {
    background: var(--clr-dark-red)
}

.header__button-email {
    background: var(--clr-cool-gray-light);
    border: 0;
}

.header__button-email:hover {
    background: #D5D4D4;
    border: 0;
    color: black;
}

.header__burger-button {
    display: none;
}


/* HERO */
.hero {
    position: relative;
}

.hero__slider.swiper {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 11px;
    border-radius: 20px;
    padding-bottom: 20px;
}

.hero__slider .swiper-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero__slider .swiper-slide {
    display: block;
    width: 100%;
    flex-shrink: 0;
}

.hero__slider picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
}

.hero__title {
    position: absolute;
    font-weight: var(--fw-bold);
    font-size: var(--fs-36-28-20);
    color: var(--clr-white);
    margin: 50px 0 0 40px;
    z-index: 2;
}

.hero__slider .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 7px;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero__slider .swiper-pagination-bullet {
    display: block;
    width: 120px;
    height: 4px;
    background-color: #D5D6D6;
    border-radius: 2px;
    opacity: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero__slider .swiper-pagination-bullet-active {
    background-color: #CE0F2D;
}


/* ADVANTAGES */

.advantages__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.advantages__card {
    color: var(--clr-white);
    display: flex;
    gap: 18px;
    flex-direction: column;
    position: relative;
    background: var(--clr-cool-gray-light);
    border-radius: 20px;
    padding: 32px 20px;
}

.advantages__name {
    font-size: var(--fs-40-32-20);
    text-transform: uppercase;
}

.advantages__name span {
    text-transform: lowercase;
}

.advantages__text {
    color: var(--clr-cool-gray);
    font-size: var(--fs-20-16);
}

.advantages__icon {
    position: absolute;
    right: 20px;
    top: 20px;
}


/* PRODUCT */

.product {
    position: relative;
    padding: 150px 0 100px 0;
}

.product::after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-image: url('../img/product-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.product__cards {
    width: 100%;
}

.product__card {

    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 0;
    background: var(--clr-white);
    height: auto;
    border-radius: 20px;
    z-index: 1;
    transition: z-index 0s, border-color 0.3s;
}

.product__card:hover {
    z-index: 10 !important;
}

.product__swiper .swiper-slide {
    display: flex;
    position: relative;
}

.product__swiper .swiper-slide:hover {
    z-index: 10 !important;
}

.product__card::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: calc(100% - 40px);
    bottom: 80px;
    height: 100%;
    background-image: url('../img/product-bg.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.product__about {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    z-index: 5;
}

.product__about::after {
    content: '';
    position: absolute;
    background-image: url('../img/icons/i-info.svg');
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    z-index: 2;
    top: 0;
    left: 0;
}

.product__about-text {
    position: absolute;
    width: 230px;
    left: 10px;
    background: var(--clr-white);
    font-size: var(--fs-14);
    padding: 20px 13px 20px 20px;
    border-radius: 20px;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.15)) drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.08));
    opacity: 0;
    visibility: hidden;
    transform: translate(-20px, -20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
    z-index: 10;
}

.product__card:last-child .product__about-text {
    left: auto;
    right: -20px;
}

.product__about:hover .product__about-text {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    z-index: 20;
}

.product__btn:hover {
    color: var(--clr-white);
    background: var(--clr-ozon);
    border-color: var(--clr-ozon);
}

.product__img {
    margin: auto;
    object-fit: contain;
    width: 100%;
    max-width: 365px;
    height: 362px;
    position: relative;
    z-index: 0 !important;
}

.product__img-no-photo {
    margin: auto;
    margin-bottom: 16px;
    object-fit: contain;
    width: 100%;
    height: 362px;
    position: relative;
    z-index: 0 !important;
    background: var(--clr-white);
}

.product__name {
    margin-bottom: 12px;
    font-size: var(--fs-16);
    font-weight: var(--fw-medium);
    position: relative;
    min-height: 65px;
    z-index: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-transform: uppercase;
    overflow: hidden;
}

.product__info-box {
    margin: 0 0;
    margin-top: auto;
    margin-bottom: 20px;
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.product__info {
    font-size: var(--fs-14);
    display: flex;
    justify-content: space-between;
}

.product__btn {
    margin: auto 0;
    margin-bottom: 0px;
    text-align: center;
    position: relative;
    z-index: 1;
    display: block;
}

.product__swiper {
    padding-bottom: 50px !important;
    position: relative;
    overflow: hidden;
}

.product__about-text {
    position: absolute;
    width: 230px;
    left: 10px;
    right: auto;
}

.product__swiper .swiper-wrapper {
    overflow: visible !important;
}

.product__swiper .swiper-pagination {
    bottom: 0px;
}

.product__swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: var(--clr-white);
    border: 1px solid var(--clr-cool-gray);
    opacity: 1;
}

.product__swiper .swiper-pagination-bullet-active {
    background-color: var(--clr-cool-gray);
}

/*VIDEO*/
.video video{
    border-radius: 20px;
}
/* REDESIGN */

.redesign__banner {
    width: 100%;
    overflow: hidden;
}

.redesign__banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ABOUT */

.about__card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: 20px;
    background: var(--clr-cool-gray-light);
    width: 416px;
    height: auto;
}

.about__img {
    height: 215px;
    object-fit: cover;
    margin-bottom: 22px;
    border-radius: 20px;
}

.about__img img {
    border-radius: 20px;
}

.about__name {
    font-size: var(--fs-16);
    font-weight: var(--fw-medium);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.about__text {
    margin-bottom: 32px;
    font-size: var(--fs-14);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about__btn {
    margin: 0 auto;
    margin-top: auto;
    margin-left: 0;
    font-size: var(--fs-14)
}

.about__card:hover .about__btn {
    color: var(--clr-red);
}

.about__swiper {
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.about__swiper .swiper-wrapper {
    overflow: visible !important;
}

.about__swiper .swiper-pagination {
    bottom: 0px;
}

.about__swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: var(--clr-white);
    border: 1px solid var(--clr-cool-gray);
    opacity: 1;
}

.about__swiper .swiper-pagination-bullet-active {
    background-color: var(--clr-cool-gray);
}


/* sosial */

.sosial {
    padding: 60px 0;
    position: relative;
}

.sosial::after {
    content: '';
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-image: url('../img/sosial-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.sosial__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sosial__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 18px 0;
    background: var(--clr-white);
    color: red;
    border-radius: 20px;
    font-size: var(--fs-36);
}

.sosial__item:hover {
    background: var(--clr-red);
}

.sosial__item:hover .sosial__item-name {
    color: var(--clr-white);
}

.sosial__item:hover path {
    fill: var(--clr-white);
}


/* FOOTER */

.footer {
    display: grid;
    grid-template-columns: repeat(4, auto);
    position: relative;
    gap: 120px;
    padding: 60px 0;
    color: var(--clr-white);
}

.footer::after {
    content: '';
    width: 500vw;
    position: absolute;
    top: 1;
    height: 100%;
    left: -300%;
    right: 500%;
    z-index: -1;
    background: var(--clr-red);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer__contacts-title,
.footer__address-title {
    font-weight: var(--fw-medium);
    font-size: var(--fs-24-18);
    color: var(--clr-white);
    white-space: nowrap;
}

.footer__contacts-number {
    font-size: var(--fs-24);
    white-space: nowrap;
    color: var(--clr-white);
}

.footer__contacts-email {
    color: var(--clr-white);
}

.footer__contacts-sub {
    font-size: var(--fs-14);
    color: var(--clr-light-gray);
}

.footer__contacts-sosials {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer__address {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__address-item {
    color: var(--clr-light-gray);
    font-size: var(--fs-16-12);
}

.footer__contacts-number:hover,
.footer__contacts-email:hover {
    color: var(--clr-yellow);
}

.footer__contacts-sosials-box {
    display: flex;
    gap: 30px;
}

.footer__contacts-sosial:hover svg path {
    fill: var(--clr-yellow);
}

.footer__policy-link:hover {
    color: var(--clr-yellow);
}

.footer__policy-item {
    color: var(--clr-white);
}

.footer__policy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--clr-light-gray);
    font-size: var(--fs-16-12);
}

