form[name="checkout"] p.error_map {
    gap: 1rem;
    display: flex;
    padding: 1rem;
    color: #8e5e5a;
    font-weight: 600;
    background: #fff;
    border-radius: 24px;
    line-height: 1.5rem;
    align-items: center;
    letter-spacing: 0.04em;
}

p.error_map:before {
    content: '!';
    opacity: .9;
    color: #fff;
    display: flex;
    border-radius: 50%;
    align-items: center;
    background: #8e5e5a;
    justify-content: center;
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
}


body,
#main {
    background: #f4f4f4;
}

.loop_v2_end {
    padding: 20px 40px;
}

.loop_v2_end * {
    margin: 0;
    padding: 0;
    color: inherit;
    transition: .35s;
}

.loop_v2_end ul {
    gap: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.loop_v2_end > span {
    width: 100%;
}

.loop_v2_end ul li {
    gap: 5px;
    display: flex;
    font-size: 14px;
    align-items: center;
}

.loop_v2_end ul li::before {
    font-size: 19px;
}

#header {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
}


span.woocommerce-input-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}


.cart-v3,
.checkout-v3 .fields-v3 {
    gap: 10px;
    display: flex;
    overflow: hidden;
    border-radius: 24px;
    flex-direction: column;
}

.checkout-v3 .fields-v3 {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.cart-v3 .product-item {
    z-index: 2;
    position: relative;
    transition: margin .35s;
}

.cart-v3 .product-item,
.checkout-v3 {
    gap: 30px;
    display: flex;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
}

.cart-v3 .product-item > a:first-child {
    width: 144px;
    padding: 12px;
    min-width: 144px;
    border-radius: 24px;
    border: 1px solid #f4f4f4;
}

.cart-v3 .product-item img {
    width: 120px;
    min-width: 120px;
    min-height: 100%;
    object-fit: contain;
}

.product-item_line {
    gap: 10px;
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: space-between;
}

.cart-v3 .product-item .quantity {
    gap: 10px;
}

.cart-v3 .product-item_description {
    max-width: 400px;
    padding-top: 15px;
    letter-spacing: .04em;
}

.cart-v3 .product-item_description > a:first-child {
    color: #222529;
    font-size: 15px;
    font-weight: 500;
}

.cart-v3 .product-item_terms {
    gap: 5px;
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    margin-top: 5px;
}

.cart-v3 .product-item_terms a {
    color: #7b7f8a;
}

.cart-v3 .product-item_amount {
    display: flex;
    margin: 0 auto;
    padding-top: 15px;
    letter-spacing: .04em;
    flex-direction: column;
}

.cart-v3 .product-item_amount .total {
    color: #14a1c9;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.cart-v3 .product-item_amount .item {
    font-size: 13px;
    color: #7b7f8a;
}

.cart-v3 .product-item_amount .item:after {
    content: ' за шт.';
}

.cart-v3 .product-item .quantity .minus,
.cart-v3 .product-item .quantity .plus,
.cart-v3 .product-item .quantity .qty {
    width: 36px;
    border-radius: 12px;
}

.cart-v3 .product-item .quantity .qty {
    width: 54px;
    font-size: 15px;
    border-width: 0;
    font-weight: 500;
    background: #f4f4f4;
}

.cdek-select {
    height: 0;
    overflow: hidden;
}



h2 {
    margin-top: 48px;
    line-height: 120%;
    letter-spacing: .02em;
}

.woo-page-header.page-header-8 {
    display: none;
}



.checkout-v3 {
    gap: 40px;
    padding: 40px;
    box-shadow: 0 0 8px 0 rgb(51 51 51 / 5%);
}

.checkout-v3 .fields-v3 {
    width: 100%;
    gap: 30px;
    flex-wrap: wrap;
    flex-direction: initial;
}

.checkout-v3 .fields-v3 > * {
    flex: 40%;
    margin: 0px;
}

.checkout-v3 .fields-v3 label {
    color: #7b7f8a;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 0;
    padding-left: 12px;
    padding-bottom: 3px;
    letter-spacing: 0.04em;
}



.cdek-map[data-v-app] > div {
    z-index: 8!important;
    right: auto!important;
    bottom: auto!important;
    overflow: hidden!important;
    position: absolute!important;
    border-radius: 24px!important;
}

.cdek-map > div > div:first-child {
    padding: 0!important;
    height: 600px!important;
}

.cdek-map > div > div:first-child > a {
    display: none!important;
}

.cdek-map > div > div:first-child > a + div,
.cdek-map > div > div:first-child > a + div > div {
    height: 100%!important;
}



form[name="checkout"] {
    gap: 48px;
    display: flex;
    column-gap: 20px;
    flex-wrap: nowrap;
    margin-left: 0px!important;
    margin-right: 0px!important;
}

form[name="checkout"] > div {
    flex: 100%!important;
    width: auto!important;
    margin: 0px!important;
    padding: 0px!important;
}

form[name="checkout"] > .aside_v2 {
    flex: 410px!important;
    width: 410px!important;
}



.aside_v2 {
    position: sticky;
}

aside {
    top: 85px;
    width: 410px;
    padding: 20px;
    position: sticky;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 0 8px 0 rgb(51 51 51 / 5%);
}

aside > h2 {
    display: flex;
    padding: 0 20px;
    margin-top: 20px;
    padding-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 12px;
    border-top: 2px solid #f4f4f4;
}

aside > h2 > span {
    font-size: .7em;
}

aside > h2:first-child {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}

.shipping-v3,
.payment-v3  {
    gap: 12px;
    display: flex;
    flex-direction: column;
}

.shipping-v3 .item,
.payment-v3 .item {
    position: relative;
}

.shipping-v3 .item .bg,
.payment-v3 .item .bg {
    gap: 10px;
    display: flex;
    transition: .35s;
    padding: 10px 20px;
    position: relative;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    justify-content: space-between;
}

.shipping-v3 .item input,
.payment-v3 .item input {
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    bottom: 0;
    opacity: 0;
    z-index: 2;
    height: 100%;
    cursor: pointer;
    position: absolute;
}

.shipping-v3 .item label,
.payment-v3 .item label {
    margin: 0;
    color: #222529;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.04em;
}

.shipping-v3 .item .bg > span,
.payment-v3 .item .bg > span {
    opacity: .5;
    color: #222529;
    font-size: 13px;
    transition: .35s;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 6px;
    background: #f4f4f4;
}

.shipping-v3 .item ._rate {
    display: none;
}

.shipping-v3 .item input:checked + .bg,
.payment-v3 .item input:checked + .bg {
    background: #f4f4f4;
    border-color: transparent;
}

.shipping-v3 .item input:checked + .bg > span,
.payment-v3 .item input:checked + .bg > span {
    opacity: 1;
    background: #fff;
}



.shipping-v3 .item label,
.payment-v3 .item label {
    display: flex;
    overflow: hidden;
    border-radius: 6px;
    align-items: center;
}

.shipping-v3 .item label:before,
.payment-v3 .item label:before {
    content: '';
    width: 0;
    width: 24px;
    height: 24px;
    display: block;
    min-width: 24px;
    transition: .35s;
    margin-left: -24px;
    border-radius: 6px;
    background-size: 12px;
    background-color: #39a697;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFFFFF' viewBox='0 0 48 48' width='48px' height='48px'%3E%3Cpath d='M17.88 28.22l-5.66 5.66L2.3 23.96l2.57-2.82c1.54-1.69 4.17-1.76 5.79-.14L17.88 28.22zM47.685 13.975L45.14 11.15c-1.534-1.702-4.18-1.77-5.8-.151l-25 25 2.832 2.832c1.562 1.562 4.095 1.562 5.657 0L47.685 13.975z'/%3E%3C/svg%3E");
}

.shipping-v3 .item input:checked + div label:before,
.payment-v3 .item input:checked + div label:before {
    width: 24px;
    margin-left: 0;
    margin-right: 10px;
}



.el_loading {
    top: auto!important;
    overflow: hidden!important;
    position: relative!important;
    border-radius: 4px!important;
    border-color: transparent!important;
}

.el_loading::before {
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    width: 100%;
    height: 100%;
    position: absolute;
    backdrop-filter: blur(20px);
}

.el_loading::after {
    content: '';
    top: 0;
    left: -10%;
    width: 10%;
    z-index: 9;
    height: 100%;
    position: absolute;
    transform: skewX(-10deg);
    background: rgb(255 255 255 / 50%);
    animation: loadingBar 2s linear infinite;
}

@keyframes loadingBar {
    0% {
        left: -10%;
    }
    100% {
        left: 220%;
    }
}



#ymap,
#cmap,
.cdek__position,
.map__address__load {
    width: 100%;
    height: 600px;
    overflow: hidden;
    transition: .35s;
    border-radius: 24px;
}

#ymap ymaps[class*="-ground-pane"] > * {
    filter: grayscale(.8) !important;
}

#ymap,
.map__address__load {
    background-position: left top;
    box-shadow: 0 0 8px 0 rgb(51 51 51 / 5%);
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAgMAAAAOFJJnAAAACVBMVEX6+vrn5+f09PSMzk0VAAAAGklEQVQY02MIYAADVoYECIOTYSQDWCDAgwUA204BfdYq8A4AAAAASUVORK5CYII=');
}

.map-v3 {
    position: relative;
}

.map-v3 > .map_search {
    left: 24px;
    z-index: 1;
    right: 24px;
    font-size: 1rem;
    transition: .35s;
    top: 24px!important;
    position: absolute!important;
}

.map-v3 > .map_search > span {
    gap: .5rem;
    display: flex;
    padding: .5rem;
    background: #fff;
    border-radius: 6px;
    line-height: 1.5rem;
    align-items: center;
    box-shadow: 0 0 8px 0 rgba(51 51 51 / 15%);
}

.map-v3 > .map_search > span:before {
    content: '';
    opacity: .9;
    display: block;
    width: 1.5rem!important;
    height: 1.5rem!important;
    min-width: 1.5rem!important;
    background-size: contain!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6'/%3E%3C/svg%3E")!important;
}

.map-v3 > .map_search > span > input {
    line-height: 1.5rem!important;
}

.map-v3 > .map_search > span > ymaps {
    top: 100%!important;
    left: 0px!important;
    right: 0px!important;
    width: auto!important;
    margin-top: -6px!important;
}

.map-v3 > .map_search > span > ymaps .ymaps-2-1-79-search__suggest-item {
    padding: 8px 16px;
    line-height: 140%;
    white-space: initial;
    letter-spacing: 0.02em;
}

.map-v3 > .map_search > span > ymaps .ymaps-2-1-79-search__suggest {
    top: 0;
    left: 0;
    right: 0;
    border: 0;
    padding-bottom: 8px;
    box-shadow: none!important;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.map-v3 > .map_search > span > ymaps .ymaps-2-1-79-search__suggest:before {
    content: '';
    width: 100%;
    height: 2px;
    display: block;
    margin: 8px 0;
    background: #f4f4f4;
}

.map-v3 > .map_search > span > ymaps .ymaps-2-1-79-suggest-item-0 {
    margin-top: 0
}

.map-v3 > .map_search > span > ymaps .ymaps-2-1-79-suggest-item:last-of-type {
    margin-bottom: 0;
}

.map-v3 > .map_search input {
    border: 0;
    padding: 0;
    width: 100%;
    letter-spacing: 0.04em;
    background: transparent;
}


.map-v3.cdek > .map_search {
    z-index: 9;
    top: 13px!important;
    left: 13px!important;
    width: 16rem!important;
}

.map-v3.cdek > .map_search > span {
    gap: .5rem!important;
    width: 16rem!important;
    padding: .5rem!important;
    font-size: 1rem!important;
}


.map-v3 {
    position: relative;
}

.map-v3 .map_search > span:after {
    content: '125009, г. Москва, пл. Манежная, д. 1, стр. 2, пом. №2049';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    opacity: 0;
    display: flex;
    padding: .5rem;
    transition: .35s;
    background: #fff;
    line-height: 2.3;
    position: absolute;
    font-size: 0.85rem;
    visibility: hidden;
    border-radius: 6px;
    align-items: center;
    padding-left: 2.5rem;
    background-size: 1.5rem;
    background-position: .5rem;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23aaa' d='M136 127.42V232a8 8 0 0 1-16 0V127.42a56 56 0 1 1 16 0'/%3E%3C/svg%3E");
}

.map-v3 #ymap:after {
    content: '';
    top: 50%;
    left: 50%;
    opacity: 0;
    width: 3rem;
    height: 3rem;
    display: block;
    transition: .35s;
    position: absolute;
    visibility: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -90%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2339a697' d='M136 127.42V232a8 8 0 0 1-16 0V127.42a56 56 0 1 1 16 0' stroke-width='3' stroke='%2339a697'/%3E%3C/svg%3E");
}

.map-v3[shipping="local_pickup"] .map_search > span ymaps {
    display: none!important
}

.map-v3[shipping="local_pickup"] .map_search > span:after,
.map-v3[shipping="local_pickup"] #ymap:after,
.map-v3.map_changed #ymap:after {
    opacity: 1;
    visibility: visible;
}

.map-v3[shipping="local_pickup"] .el_loading ~ #ymap:after {
    opacity: 0;
    visibility: hidden;
}

#suggest_cdek {
    top: 100%;
    left: 0px;
    right: 0px;
    z-index: 9;
    opacity: 0;
    padding: 0px;
    margin-top: -6px;
    background: #fff;
    position: absolute;
    visibility: hidden;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 4px 4px 0 #0003;
}

#suggest_cdek.visible {
    opacity: 1;
    visibility: visible;
}

#suggest_cdek:before {
    content: '';
    width: 100%;
    height: 2px;
    margin: 8px 0;
    display: block;
    background: #f4f4f4;
}

#suggest_cdek ul {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: 380px;
    margin-bottom: 8px;
}

#suggest_cdek ul > .item {
    cursor: pointer;
    transition: .35s;
    padding: 8px 16px;
    white-space: initial;
    letter-spacing: 0.02em;
}

#suggest_cdek ul > .item:hover {
    background: #ffeba0;
}

#suggest_cdek ul > .item p {
    font: 13px / 28px Arial, sans-serif;
    line-height: 140%;
    margin: 0;
}



div > .shipping-v3,
div > .payment-v3 {
    display: flex;
    padding: 20px;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 24px;
    flex-direction: initial;
}

div > .shipping-v3 > *,
div > .payment-v3 > * {
    flex: 45%;
}


.outcome-v3 {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.outcome-v3 .item {
    gap: 10px;
    margin: 0;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    align-items: center;
    letter-spacing: 0.04em;
    color: rgb(34 37 41 / 85%);
    justify-content: space-between;
}

.outcome-v3 .item span {
    color: #222529;
    font-size: 13px;
    transition: .35s;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 6px;
    background: rgb(57 166 151 / 15%);
}

.outcome-v3 > div {
    margin-top: 10px;
}

.outcome-v3 > .check_ui ~ .check_ui {
    margin-top: 0px;
}

aside button {
    padding: 0;
    width: 100%;
    color: #fff;
    padding: 15px;
    transition: .35s;
    font-weight: 600;
    overflow: hidden;
    line-height: 130%;
    border-radius: 6px;
    align-items: center;
    letter-spacing: .1em;
    border-width: 0!important;
    justify-content: space-between;
    background: rgb(57 166 151 / 80%);
}

aside button:hover {
    background: rgb(57 166 151);
}

aside > div:last-child {
    margin-top: 20px;
}

.outcome-v3 + .check_ui {
    margin-top: 15px;
}

.outcome-v3 ~ .check_ui {
    margin-bottom: 10px;
}


@media(max-width: 1140px){
    form[name="checkout"] {
        gap: 0px;
        flex-direction: column;
    }

    form[name="checkout"] > .aside_v2,
    form[name="checkout"] > .aside_v2 aside {
        flex: 100%!important;
        width: 100%!important;
    }
}

@media(max-width: 835px){
    div > .shipping-v3 {
        flex-direction: column;
    }
}

@media(max-width: 718px){
    .cart-v3 .product-item_line {
        display: flex;
        margin-left: 0;
        padding-top: 15px;
        flex-direction: initial;
    }

    .cart-v3 .product-item > a {
        top: 20px;
        left: 20px;
        bottom: 20px;
        position: absolute;
        width: 167px!important;
    }

    .cart-v3 .product-item img {
        width: 143px!important;
    }
    
    .cart-v3 .product-item {
        gap: 0;
        min-height: 207px;
        padding-left: 207px;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .cart-v3 .product-item_line .product-item_amount {
        margin: 0;
        padding: 0;
    }
    
    .cart-v3 .product-item_line .buttons_added {
        align-items: center;
    }
    
    .cart-v3 .product-item_description {
        max-width: 100%;
    }

    .checkout-v3 .fields-v3 > * {
        flex: 100%;
    }
}


@media(max-width: 540px){
    .cart-v3 .product-item_line {
        flex-direction: column;
        align-items: center;
    }

    .cart-v3 .product-item_line .product-item_amount {
        width: 146px;
        text-align: center;
    }

    .cart-v3 .product-item_description {
        justify-content: center;
        text-align: center;
    }

    .cart-v3 .product-item_terms {
        justify-content: center;
    }

    .cart-v3 .product-item {
        min-height: 0px;
        padding-left: 20px;
    }

    .cart-v3 .product-item > a {
        margin: 0 auto;
        position: initial;
        width: 100%!important;
    }

    .cart-v3 .product-item > a img {
        width: 100%!important;
    }

    .cart-v3 .product-item {
        max-width: 300px;
    }

    .cart-v3 {
        align-items: center;
    }

    form[name="checkout"] > div:nth-child(3) > h2:first-child {
        text-align: center;
    }
}

.product-item_actions {
    display: none
}



.promocode-v3 {
    gap: 10px;
    display: flex;
    transition: .35s;
    padding: 10px 20px;
    position: relative;
    align-items: center;
    border-radius: 12px;
    border: 1px solid #e7e7e7;
    justify-content: space-between;
}

.promocode-v3 input {
    border: 0;
    margin: 0;
    opacity: 1;
    width: 100%;
    cursor: auto;
    height: 32px;
    padding: 0px;
    font-size: 13px;
    color: #222529;
    font-weight: 300;
    position: initial;
    line-height: 32px;
    letter-spacing: 0.06em;
}

.promocode-v3 input + span {
    opacity: .5;
    display: flex;
    padding: 7px 0;
    cursor: pointer;
    min-width: 90px;
    font-size: 10px;
    color: #222529;
    transition: .35s;
    font-weight: 600;
    border-radius: 6px;
    background: #f4f4f4;
    letter-spacing: 0.06em;
    justify-content: center;
    text-transform: lowercase;
}

.promocode-v3 input.edited + span {
    opacity: 1;
    background: rgb(57 166 151 / 15%);
}