*{
    box-sizing: border-box;
    font-family: "Montserrat", Sans-serif;
    outline: none;
    margin: 0;
}
.container {
    max-width: 1330px;
    margin: 20px auto;
}
header .container {
    max-width: 1140px;
}
.flex {
    display: flex;
}
.remove-bg svg{
    cursor: pointer;
    opacity: .3;
}
.remove-bg svg:hover{
    opacity: 1;
}
.quantity_inner {
    display: inline-flex;
    border-radius: 6px;
    background: #EFF0F2;
    height: 30px;
    margin-bottom: 3px;
}        
.quantity_inner .bt_minus,
.quantity_inner .bt_plus,
.quantity_inner .quantity {
    height: 30px;
    width: 30px;
    padding: 0;
    border: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    outline: 0;
}
.quantity_inner .quantity {
    cursor: default;
    width: 30px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #000;
}
.quantity_inner .bt_minus svg,
.quantity_inner .bt_plus svg {
    stroke: #000;
    stroke-width: 2;
    transition: 0.5s;
    margin: 5px;
}    
.quantity_inner .bt_minus:hover,
.quantity_inner .bt_plus:hover{
    background: #E8E9ED;
}
.quantity_inner .bt_minus:hover{
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}
.quantity_inner .bt_plus:hover{
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
.list-table {
    width: 100%;
}
.item-picture {
    box-sizing: content-box;
    width: 100px;
    padding-right: 15px!important;
}
.item-picture img{
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
}
.amount-outer {
    width: 122px;
}
.price-current {
    font-size: 12px;
    line-height: 16px;
    color: #8D8D8D;
}
.item-name {
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}
.item-price {
    width: 200px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    padding-left: 24px!important;
    text-align: right;
}
.checkout-container {
    border: 1px solid #EBECEF;
    border-radius: 8px;
    padding: 24px 20px 24px;
    margin-bottom: 25px;
    width: 360px;
}
.total-block {
    margin-bottom: 15px;
}
.total-title,
.total-price {
    font-weight: 500;
    font-size: 23px;
}
.block-total {
    justify-content: space-between;
}
.btn-checkout {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color:#000;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    padding: 0 20px;
    height: 50px;
    color: #fff;
}
.block-clear {
    font-size: 13px;
    text-align: center;
    color: #747474;
}
.coupon-input {
    display: block;
    width: 100%;

    color:  #000;
    border: 1px solid #d7d8da;
    padding: 9px 12px;
    line-height: 1.5;
    border-radius: 6px;
    position: relative;
}
.coupon-input:not([readonly]):not([disabled]):focus {
    box-shadow: 0 1px 1px rgba(0,0,0,.015) inset;
    border-color: #999999;
    background-color: var(--input_bg_color-focus);
    border-color: var(--input_border_color-focus);
}
.form-group{
    margin-top: 35px;
    margin-bottom: 20px;
}
.list-wrapper {
    box-shadow: inset 0 0 0 1px #EBECEF;
    border-radius: 8px;
}
.list-outer{
    flex: 1;
}
.block-info {
    padding-right: 55px!important;
    padding-left: 10px!important;
}
.item-wrapper > td {
    border-top: 1px solid #EBECEF;
    padding: 24px 0 24px;
    vertical-align: top;
}

.item-wrapper:first-of-type > td {
    border-top-width: 0;
}

.list-table td:last-of-type {
    padding-right: 24px;
}

.list-table td:first-of-type {
    padding-left: 24px;
}

.list-table .variations td:last-of-type {
    padding-right: 0;
}

.list-table .variations td:first-of-type {
    padding-left: 0;
}

.price-action-wrap {
    gap: 24px;
}

.basket-item-price {
    flex: 1;
}

.item-amount {
    text-align: center;
}
.form_radio_btn label:hover {
	background: #f2f2f2;
}
.form_radio_btn input[type=radio]:checked + label {
    color: #fff;
	background: #0a0a0a;
    opacity: 1;
}
.form_radio_btn {
	display: flex;
	margin-right: 5px;
}
.form_radio_btn input[type=radio] {
	display: none;
}
.form_radio_btn label {
    font-family: "Montserrat", Sans-serif;
	display: flex;
    align-items: center;
    justify-content: center;
	cursor: pointer;
    min-width: 33px;
    min-height: 33px;
	background: rgb(0 0 0 / 6%);
    border-radius: 4px;
	user-select: none;
    font-size: 12px;
}
.page-cart {
    gap: 40px;
    display: flex;
}
.coupon-btn {
    cursor: pointer;
    position: absolute;
    right: 4px;
    top: 0;
    width: 35px;
    height: 40px;
    line-height: 0;
    transition: all .1s ease-in-out;
}
.coupon-btn:hover .svg-inline-coupon {
    opacity: 1;
}
.svg-inline-coupon {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -5px 0 0 -7px;
    opacity: .35;
}
.star-required {
    color: rgba(255, 79, 100, 1);
}
/* checkout */
.form-customer {
    width: 100%;
    color: #000;
    border: 1px solid #d7d8da;
    height: 44px;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 6px;
}
textarea.form-customer{
    resize: none;
}
.form-customer:not([readonly]):not([disabled]):hover{
    border-color: #B8B8B9;
}
.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.customer-field {
    display: flex;
    flex-direction: column;
    width: calc(50% - 8px);
    margin-top: 3px;
}
.required-info {
    color: #8D8D8D;
    font-size: 12px;
    margin-top: 4px;
}
.customer-title {
   font-size: 12px;
   padding-bottom: 4px;
   margin-bottom: 2px;
   display: inline-block;
}
.iti__country-list{
    border-color: #EBECEF!important;
    color:#000;
    max-width: 396px;
    font-size: 13px;
    max-height: 250px!important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1)!important;
    border-radius: 2px;
}
.iti__country {
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-icon {
    position: absolute;
    left: 19px;
    top: 50%;
    margin: -8px 0 0;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    background: url(../img/search.png) no-repeat;
}
 .dropdown-block {
    padding: 1px 44px 1px;
    border: 1px solid #d7d8da;
    line-height: 1.47;
    border-radius: 6px;
    position: relative;
}
 .dropdown-block:hover .dropdown-icon{
    opacity: 1;
 }
.form-delivery {
    width: 100%;
    height: 44px;
    border: none;
    font-size: 14px;
    line-height: 1.5;
        color: #000;
}
.delivery-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.wrapper-content {
    padding: 26px 35px 30px;
    border: 1px solid #e8e9eb;
    border-radius: 8px;
}
.wrapper-content:not(:last-child){
    margin-bottom: 30px;
}
.user-info{
    width: 75%;
}
.checkout-info{
    width: 25%;
}
.order-main {
    gap: 30px;
    display: flex;
}
.cart-total {
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 22px 28px;
}
.total-button-container {
    padding-top: 20px;
    margin: 0px -29px -23px;
}
.btn-order {
    cursor: pointer;
    width: 100%;
    color: #fff;
    background: #000;
    border: none;
    height: 44px;
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}
.checkout-info .coupon-input{
    padding-right: 35px;
    margin-top: 20px;
    background-color: #F8F8FC;
}
.total-line {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.total-line:before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    height: 1px;
    background: url(../img/dots.png) 0 0 repeat-x;
}
.total-line span{
    font-size: 13px;
    line-height: 23px;
}
.cart-t {
    padding-right: 10px;
    background-color: #fff;
    position: relative;
}
.cart-d {
    padding-left: 10px;
    background-color: #fff;
    position: relative;
}
.ch-section-title {
    font-size: 19px;
    font-weight: 400;
}
.ch-headline {
    font-size: 35px;
    font-weight: 500;
    margin-bottom: 23px;
}
.ui-autocomplete {
    border-radius: 0 0 4px 4px;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}
.pickup-info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.pickup-info-card div {
    margin-bottom: 6px;
}

.pickup-info-card div:last-child {
    margin-bottom: 0;
}

.pickup-info-card strong {
    color: #495057;
}
.order-info {
    margin: 50px 0 150px 0;
}
table.order-status {
    margin: 0 auto;
    text-align: center;
}
table.order-status tr{
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-infot{
    margin-bottom: 25px;
}
.order-pay {
    width: 216px;
    border-radius: 6px;
    background: #000;
    height: 50px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Стили для кнопки изменения ПВЗ */
.btn-change-pickup {
    background: none;
    border: 1px solid #ccc;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-change-pickup:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

/* Анимация для появления/скрытия */
.delivery-field {
    transition: all 0.3s ease;
}

.pickup-info-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
}

.pickup-info-card div {
    margin-bottom: 8px;
}

.pickup-info-card div:last-child {
    margin-bottom: 0;
}

#file {
    width: 100%;
    margin-bottom: 25px;
    accent-color: black; 
}
/* Стили для индикатора загрузки */
/* Стили для индикатора загрузки */
.dropdown-block {
    position: relative;
}

.loading-input {
    background-color: #f5f5f5;
    cursor: not-allowed !important;  /* Запрещающий курсор */
    opacity: 0.7;
    pointer-events: auto; /* Чтобы курсор работал */
}

/* Запрещающий курсор при наведении на disabled input */
input:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed !important;
}

/* Дополнительно для контейнера с autocomplete */
.dropdown-block input.loading-input,
.dropdown-block input:disabled {
    cursor: not-allowed !important;
}

.input-loader {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none; /* Чтобы спиннер не мешал курсору */
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.disabled-label {
    opacity: 0.5;
    cursor: not-allowed;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.checkout {
    margin-bottom: 50px;
}
@media (max-width: 767px){
    .price-action-wrap {
        gap: 0;
    }
    .btn-order {
        border-radius: 6px;
    }
    .total-button-container {
        margin: 0;
    }
    .cart-total {
        padding: 15px 22px;
    }
    .ch-headline {
        font-size: 25px;
    }
    .ch-section-title {
        font-size: 17px;
    }
    .total-price {
        font-size: 19px;
    }
    .customer-field:not(:last-child){
        margin-bottom: 30px;
        margin-top: 20px;
    }
    .wrapper-content {
        border: none;
        padding: 0;
        border-top: 1px solid #e8e9eb;
    }
     .wrapper-content:last-child{
        margin-bottom: 25px;
     }
    .form-row{
        display: block;

    }
    .customer-field {
        width: 100%;
    }
    .user-info,
    .checkout-info {
        width: 100%;
        padding: 0;
    }
    .order-main {
        display: block;
    }
    .checkout-container {
        width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }
    .total-block {
        padding-left: 0px;
    }
    .page-cart {
        flex-direction: column;
    }
    .list-table{
        margin-bottom: 15px;
    }
    .list-table .item-wrapper:first-of-type {
        border-top-width: 0px;
    }
    .list-table .item-wrapper > td {
        padding: 0 0 10px;
        border: none;
    }
    .block-info {
        flex-basis: calc(100% - 75px);
        padding-right: 32px!important;
        padding-left: 0px!important;
    }   
    .item-picture{
        min-width: 75px;
        max-width: 120px;
        width: 75px;
    }
    .item-price {
        flex: 1;
        width: auto;
        padding: 0!important;
        text-align: right;
    }
    .total-title {
        font-size: 19px!important;
    }
    .amount-outer{
        width: auto;
        padding: 0!important;
    }
    .item-amount{
        text-align: left!important;
    }
    .item-wrapper{
        padding: 16px;
        border-top: 1px solid #EBECEF;
        display: flex;
        flex-wrap: wrap;
        position: relative;
    }
    .remove-bg{
        position: absolute;
        top: 16px;
        right: 16px;
    }
}