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: 16px;
    font-weight: 800;
    line-height: 19.5px;
    color: #000;
}

.nav__link:hover {
    color: #5E2E1D;
}


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

.nav__item {
    margin-right: 73px;
}

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

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

.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__top--contacts {
    margin-left: auto;
    align-items: center;
}

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

.header__phone {
    margin-right: 21px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    line-height: 19.5px;
    color: #000;
}

.header__phone:hover {
    color: #5E2E1D;
}

.header__whatsapp {
    margin-right: 18px;
}

.header__bottom {
    margin-bottom: 40px;
}

.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;
}

/* single__item */

.item__image {
    width: 493px;
}

.box__image-wrapper {
    min-height: 700px;
    overflow: hidden;
}

.box__image {
    /* transition: all 0.1s; */
    position: relative;
    background-position: 50% 50%;
    background-size: 900px 1438px;
    width: 100%;
    overflow: hidden;

    img {
        margin: auto;
        transition: opacity .5s;
        display: block;
        width: 100%;

        &:hover {
            opacity: 0;
        }
    }
}

.single__item .container {
    justify-content: center;
}

.single__item--box {
    flex-direction: column;
    margin-right: 40px;
    max-width: 600px;
}

.slider-flex {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 5px;

    div {
        max-height: 150px;
    }

    img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

.slider-flex-item {
    cursor: pointer;
    position: relative;
}

.slider-blur {
    position: absolute;
    inset: 0;
    background-color: rgb(255, 255, 255, 0.3);

}

.slider-active {
    .slider-blur {
        background-color: rgb(255, 255, 255, 0);
    }
}

.slider-flex-item:hover {
    .slider-blur {
        background-color: rgb(255, 255, 255, 0);
    }
}

/* .box__image--bottom {
    width: 116.91px;
    height: 118.09px;
} */

.title__item {
    flex-direction: column;
    font-size: 40px;
    font-weight: 800;
    line-height: 56.85px;
    letter-spacing: -0.03em;
}

.title__item--span {
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: 400;
    line-height: 34.11px;
    letter-spacing: -0.03em;
    color: #808080;
}

.product__descr {
    margin-bottom: 32px;
    max-width: 529px;
}

.label-descr {
    align-items: center;
}

.descr__unput {
    margin-right: 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22.74px;
    letter-spacing: -0.03em;
}

.form {
    margin-bottom: 52px;
}

.select {
    padding: 10px 30px;
}

.descr__height {
    font-size: 13px;
    font-weight: 300;
    line-height: 18.48px;
    letter-spacing: -0.03em;
}

.btn {
    cursor: pointer;
    padding: 20px 80px;
    font-size: 20px;
    font-weight: 800;
    line-height: 24.38px;
    background: #0FC800;
    border-radius: 38px;
    border: none;
    color: #fff;
}

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

.product__item {
    padding: 17px 14px;
    border-radius: 9px;
    border: 1px solid #DDDDDD;
}

.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;
}

.product__btn {
    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;
}

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

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

/* .box__image img {
    width: 100%;
    transition: transform 0.3s ease;
} */
/* .slider-flex {
    display: flex;
    flex-direction: column;
} */
.slider-flex-item {
    cursor: pointer;
    margin-bottom: 10px;
}

/* 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;
    }

    .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;
    }

    .item__image {
        width: 100%;
    }
}

@media (max-width: 991px) {
    .nav__list {
        gap: 20px;
        margin-right: 20px;
    }
}

@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;
    }

    .title__item {
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .single__item .container {
        display: block;
    }
    .header__top--contacts {
        margin-right: 5px;
        .header__whatsapp {
            display: none;
        }
        .header__phone {
            margin-right: 0;
        }
        a:last-of-type {
            display: none;
        }
    }
}