.form-new {

    padding: 50px 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}



.form-new__title {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    margin: 20px 0 0 0;
}

.controls_button {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.btn-clear {
    opacity: 0.6;
}

.error {
    font-size: 14px;
}

.form__policy label {
    display: flex;
    align-items: flex-start;

}

.form__policy input {
    flex: 0 0 30px;
    margin-top: 7px;
}



.form-new_white .error {
    font-size: 14px;
    color: #fff;
}

.form__policy label {
    display: flex;
    align-items: flex-start;
    line-height: normal;

}

.form-new_white label {
    color: #fff;
}

.form-new_white input {
    background: transparent;
    color: #fff;
}

.form__policy span {
    font-size: 14px;
}

#modal-popup3 {
    display: none;
}

#modal-thanks {
    max-width: 500px;
    background: #fff;
    padding: 50px 20px;

}

#modal-thanks h2 {
    font-size: 30px;
    text-align: center;
}


/* Показываем попап при готовности magnificPopup */
.mfp-ready #modal-popup3 {
    display: block;
}


.h1_title {
    font-size: 3rem;
    line-height: 3.8rem;
}

.map-wrapper iframe {

    height: 500px;
    width: 100%;
    border: none;
}


.box-2025 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    padding: 0 16px;
}

.box-2025__item img {
    aspect-ratio: 4.5 / 3;
    transition: all 0.8s ease;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.box-2025__item:hover img {
    transform: scale(1.07);
}




/* pos and cart  */

.container_grid_pt40 {
    padding-top: 40px;
    gap: 10px;
}

.ms2_total_count {
    font-size: 26px;
}

.minicart_new__order {

    font-size: 16px;
}

.title_cart {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    flex-flow: wrap;

    position: sticky;
    top: 87px;
    background-color: #fff;
    z-index: 30;
    border-bottom: 1px solid lightgray;
}

.title_cart h1,
.title_cart h2 {
    font-size: 3rem;
}

.article-product {
    display: grid;
    grid-template-columns: auto 1fr 1fr 1fr;
    grid-gap: 20px;
    align-items: center;
    border-bottom: 1px solid lightgray;
    padding: 0 0 10px 0;
}

.article-product p,
.article-product img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.article-product img {
    aspect-ratio: 1/1;
    height: 150px;
}

.article-product__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article__counters {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article__counters input[type=number] {
    width: 60px;
    padding: 10px 5px 10px 10px;
}


.article__counters-inner {
    display: flex;
    gap: 10px;
    align-items: center;

}

.article__counters span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid lightgray;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    flex: 0 0 40px;
    transition: all 0.2s ease;
    font-size: 18px;
    cursor: pointer;
}


.article__counters span:hover {

    border-color: black;
    color: black;
    background-color: #fff;
}

.article-product .ms2_cart_change {
    border: 1px solid black;
    background-color: black;
    color: #fff;
    padding: 10px 30px;
    flex: 1;
    transition: all 0.2s ease;
}

.article-product .ms2_cart_change:hover {

    border-color: black;
    color: black;
    background-color: #fff;
}

.article__button {
    flex: 0 0 auto;
}

.button_black {
    height: 50px;
    padding: 10px 30px;
    background-color: black;
    border: 1px solid black;
    color: #fff;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    transition: all 0.2s ease;


}

.button_black:hover {
    background-color: #fff;
    color: black;
}

.minicart_new svg {
    opacity: 0.3;
    transition: all 0.2s ease;
}

.minicart_new:hover svg {
    opacity: 1;
}

.msearch2 {

    position: relative;
}

/* .msearch2>div:nth-child(1) {
        position: sticky;
        top: 200px;
    } */

.msearch2 h3,
.msearch2 h4 {
    font-size: 20px;
    line-height: normal;
    margin-bottom: 20px;
}

.msearch2 label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msearch2 label input[type=checkbox] {
    height: 20px;
    width: 20px;
    flex: 0 0 20px;
}

/* .msearch2 button[type=submit] {
        display: none;
    } */
.hidden {
    display: none;
}

button[type=reset] {
    border: 1px solid lightgrey;
    background-color: lightgrey;
    color: gray;
}

button[type=reset]:hover {
    border-color: black;
}

.msearch2_grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-gap: 30px;
}

.msearch2_filter {
    z-index: 20;
}


.msearch2_filter_box {
    position: sticky;
    top: 200px;
    background-color: #fff;
    z-index: 20;
}

.gallery-box {
    overflow: unset;
    z-index: 0;
}

@media (width < 1200px) {
    .msearch2_grid {
        grid-template-columns: 1fr;
    }

    .msearch2_filter form fieldset {
        display: flex;
        flex-flow: wrap;

        gap: 10px;
    }

    .msearch2_filter form fieldset h4 {
        flex: 0 0 auto;
        display: flex;
        width: 100%;
        margin: 0;
    }

    .article-product {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

    }

    .title_cart h1,
    .title_cart h2 {
        font-size: 2rem;
    }

    .msearch2_filter_box {}

    .title_cart {
        top: 15px;
        z-index: 1000;

    }

    .article__counters {
        flex-direction: column
    }
}

.btn-success {
    display: none;
}

button[type=reset] {
    border: 1px solid lightgrey;
    background-color: lightgrey;
    color: gray;
}

button[type=reset]:hover {
    border-color: black;
}






.cart__title td {
    vertical-align: middle
}

.cart__title {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

@media (width < 600px) {
    .cart__table tr:not(:first-child) {
        display: flex;
        flex-flow: wrap;
        justify-content: space-between;
    }

    .cart__table tr:first-child {
        display: none;
    }

    .cart__table tr td {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
    }

    .cart__table input[name="count"] {
        /* width: 80px;
        width: 80px;
        flex: 0 0 80px;
        margin: 0 auto 0 0; */

    }

    .cart__table input[name="count"]~div {
        display: none;
    }

    .cart__table .ms-footer {
        margin-top: 20px;
    }

    .cart__table .ms-footer th {
        --bs-table-bg-type: #fff !important;
    }

    .msearch2_filter {
        position: unset;
    }

    .title_cart {
        gap: 10px;
        padding: 0 0 10px 0;
    }

    .title_cart h1 {
        margin: 0;
    }
}

button[value="cart/remove"] {
    margin: 0 auto;

}

.button_white {
    border: 1px solid black;
}

.header_final {
    gap: 10px;
}

.button_corner {
    border-radius: 30px;
    height: 38px;
    font-size: 14px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_black_svg {

    color: #fff;
    gap: 6px;
    margin: 0 0 0 auto;

}

.button_black_svg:hover svg path {
    fill: #000;
}

.button_white_svg:hover {
    color: #fff;
    background-color: black;
}

.button_white_svg:hover svg path {
    fill: #fff;
}

.button_white_svg {
    color: black;
    gap: 6px;
}

.button_white_svg svg path {
    fill: black;
}

@media (width < 1024px) {
    .button_black_svg span {
        display: none;
    }
    .button_white_svg span {
        display: none;
    }

    .button_black_svg {
        padding: 0;
        width: 38px;
    }
    .button_white_svg {
        padding: 0;
        width: 38px;
    }

    .header_final {
        margin: 0 !important;
    }
}