html {
    box-sizing: border-box;
    background: #f1f1f1;
    font-family: 'Montserrat', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.list__reset {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: 1230px;
    width: 100%;
    margin: 0 auto;
}

.flex {
    display: flex;
}

/* header */

.header__top {
    min-height: 77px;
    background: #E4E4E4;
}

.header__container {
    align-items: center;
}

.header__logo {
    margin-right: 35px;
}

.logo {
    width: 81px;
}

.nav__link {
    padding: 10px 14px 0 14px;
    padding-bottom: 0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.5px;
    color: #000;
    transition: color .3s linear;
}

.nav__link:hover{
    color: #ce2222;
}

.nav__menu--list {
    gap: 78px;
    padding: 22px 0;
}

.nav__item {
    margin-right: 73px;
}

.menu__item--link {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 17.07px;
    color: #000;
    transition: color .3s linear;
}

.menu__item--link:hover {
    border-bottom: 1px solid #ce2222;
    color: #ce2222;
}

.header__search {
    padding: 8px 18px;
    max-width: 137px;
    border-radius: 27px;
    background: rgba(122, 122, 122, 0.81);
    color: rgba(255, 255, 255, 0.72);
    border: none;
}

.header__search::placeholder {
    color: #fff;
}

.header__top--contacts {
    margin-left: auto;
    align-items: center;
}

.header__phone {
    margin-right: 21px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.5px;
    color: #000;
    transition: color .3s linear;
}

.header__phone:hover{
    color: #ce2222;
}

.phone__icon:hover{
    fill: #ce2222;
}

.header__whatsapp {
    margin-right: 18px;
    transition: .4s;
}

.header__whatsapp:hover{
    transform: scale(1.2);
}

.header__tg{
    transition: .4s;
}

.header__tg:hover{
    transform: scale(1.2);
}

.header-burger {
    display: none;
}

.header-burger img {
    height: 35px;
}

.dropdown-content {
    width: 170px;
    z-index: 2;
    display: block;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    right: 0;

    a {
        text-decoration: none;
    }
}

.dropdown-content a:hover {
    color: #0177de;
    text-decoration: none;
    background-color: #e8e8ff;
}

.open-drop {
    list-style-type: none;
    min-width: max-content;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s;
}

.open-drop li,
ol {
    padding: 0;
    margin: 0;
    display: block;
    text-align: left;
}

.header-burger:hover .open-drop {
    max-height: 270px;
}

.open-drop a {
    padding: 10px;
    display: block;
    color: black;
}

/* main */


.hero {
    margin-bottom: 40px;
    background: url('https://eli-irkutsk.ru/img/NEV05224_11zon-_3_.webp');
    opacity: 0.9;
    background-repeat: none;
    background-size: cover;
}

.hero__container {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 610px;
}

.hero__title {
    margin: 0 auto;
    margin-bottom: 70px;
    text-align: center;
    max-width: 1000px;
    font-size: 40px;
    font-weight: 800px;
    line-height: 48.76px;
    color: rgba(255, 255, 255, 1);
}

.hero__button--wrap{
margin: 0 auto;
}

.hero__button {
    cursor: pointer;
    border-radius: 38px;
    padding: 21px 58px;
    border: none;
    text-transform: uppercase;
    background: #1F422B;
    box-shadow: #0FC800 0px 0px 120px;
    color: #fff;
    transition: .4s;
}

.hero__button:hover{
    transform: scale(1.2);
}

/* shop */

.title__shop {
    margin: 0 auto;
    margin-bottom: 40px;
    text-align: center;
    max-width: 477px;
    font-size: 36px;
    font-weight: 800;
    line-height: 51.17px;
    letter-spacing: -0.03em;
}

.products__list {
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product__item {
    padding: 17px 14px;
    border-radius: 9px;
    border: 1px solid #DDDDDD;
    transition: color .5s linear;
}

.product__img{
    width: 315px;
    height: 450px;
    border-radius: 9px;
}

.product__item:hover {
    background: #E4E4E4;
    transition: .3s;
}

.title__product {
    font-size: 16px;
    font-weight: 700;
    line-height: 19.5px;
}

.product__category {
    display: inline-block;
    margin-bottom: 26px;
    font-size: 14px;
    font-weight: 400;
    line-height: 17.07px;
    color: #626262;
}

.price__detail {
    margin-bottom: 23px;
}

.product__detail {
    margin-left: auto;
}

.detail__link{
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.detail__link:hover{
    border-bottom: 1px solid #5E2E1D;
    color: #5E2E1D;
}

.btn {
    cursor: pointer;
    width: 315px;
    height: 66px;
    font-size: 21px;
    font-weight: 800;
    line-height: 25.6px;
    color: #ffffff;
    background: #5E2E1D;
    opacity: 0px;
    border-radius: 38px;
    border: none;
    transition: color .3s linear;
}

.btn:hover {
    background: #6d4131;
    color: #fff;
}

/* responses */
.responses .container {
    max-width: auto;
    justify-content: center;
    gap: 50px;
}

.responses__box-slide {
    display: none;
}

.active {
    display: block;
}

.responses__box {
    /* width: 762px; */
}

.responses__box-wrapper {
    display: flex;
    gap: 100px;
    align-items: center;
}

.responses__arrow-back,
.responses__arrow-next {
    cursor: pointer;
}

.responses__title {
    max-width: 413px;
    font-size: 36px;
    font-weight: 800;
    line-height: 51.17px;
    letter-spacing: -0.03em;
    text-align: left;

}

.responses__descr {
    max-width: 425px;
    font-size: 24px;
    font-weight: 500;
    line-height: 29.26px;
    text-align: left;

}

/* footer */

.footer {
    background: #000000;
}

.footer__container {
    padding: 20px 0 20px 0;
}

.footer__logo {
    margin-right: 65px;
}

.list__footer--menu {
    width: 959px;
    justify-content: space-between;
}

.footer__list {}

.title__footer {
    margin: 0;
    margin-bottom: 40px;
    font-size: 21px;
    font-weight: 600;
    line-height: 25.6px;
    text-align: left;
    color: #fff;
}

.list__item {
    align-items: center;
}

.item__link {
    text-decoration: none;
    color: #fff;
}

.footer__item--title {
    color: #fff;
}

.footer__item--title {
    margin: 0;
    margin-right: 5px;
}

.error-form {
    background-color: #6d4131;
    border-radius: 5px;
    margin: 0;
}

.error-form-active {
    padding: 5px 10px;
}

.popup-agree-wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    opacity: 0;
}

.popup-agree-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.popup-agree-flex h3 {
    margin: 0;
}

.popup-agree-flex img {
    cursor: pointer;
    display: block;
}

.popup-agree-wrapper-active {
    opacity: 1;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
}

.popup-agree {
    color: #ffffff;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 21;
    background: #5E2E1D;
    padding: 16px;
    border-radius: 10px;

    input {
        box-sizing: border-box;
        font-family: "Montserrat", sans-serif;
        width: 100%;
        font-size: 16px;
        outline: none;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
    }
}

.popup-agree-btn-flex {
    display: flex;
    gap: 20px;
}

.popup-agree-btn-flex .popup-agree-ok {
    cursor: pointer;
    margin: 0;
    transition: all 0.3s;
    color: #ffffff;
    display: inline-block;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid #ffffff;
    /* background-color: #4178BE; */
}

.popup-agree-btn-flex .popup-agree-ok:hover {
    background-color: #6d4131;
}

.inputs-popup {
    p {
        margin-bottom: 5px;
    }
}

.tel-flex {
    display: flex;
    align-items: center;
}

@media (max-width: 1290px) {
    .nav__list {
        margin-right: 40px;
        gap: 40px;

        .nav__item {
            margin: 0;
        }
    }
}

@media (max-width: 1260px) {
    .footer__container {
        width: auto;
        box-sizing: border-box;
        display: flex;
        margin: 0 30px 0 30px;
        justify-content: space-between;
    }
    .responses__box-wrapper {
        gap:50px;
    }
    .list__footer--menu {
        width: auto;
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .nav__menu--list {
        margin: 0 30px 0 30px;
        gap: 30px;
        justify-content: space-between;
    }
    .responses__box-wrapper {
        gap:20px;
    }
    .responses .container {
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .nav__list {
        gap: 20px;
        margin-right: 20px;
    }
    .responses .container {
        flex-direction: column;
        align-items: center;
    }
    #left-el {
        order: 2;
    }
    #right-el {
        order: 1;
    }
}

@media (max-width: 926px) {
    .header-burger {
        display: block;
    }

    .header__nav {
        display: none;
    }

    .header__search {
        display: none;
    }

    .header__top--contacts {
        margin-right: 20px;
    }

    .header__container {
        justify-content: space-between;
        margin: 0 30px 0 30px;
    }
}

@media (max-width: 910px) {
    .nav__menu--list {
        gap: 20px;
        margin: 0 20px 0 20px;
    }
}

@media (max-width: 835px) {
    .nav__menu {
        display: none;
    }

    .footer__container {
        display: block;
    }

    .list__footer--menu {
        display: block;
    }

    .footer__logo {
        margin-bottom: 20px;
    }
}

@media (max-width: 700px) {
    .hero__title {
        font-size: 30px;
    }

    .title__shop {
        font-size: 20px;
    }

    .responses__title {
        font-size: 24px;
    }

    .responses__descr {
        font-size: 18px;
    }
}
@media (max-width: 500px) {
    .responses__box-slide img {
        width: 250px;
    }
    .header__top--contacts {
        margin-right: 5px;
        .header__whatsapp {
            display: none;
        }
        .header__phone {
            margin-right: 0;
        }
        a:last-of-type {
            display: none;
        }
    }
}