#checkout-cart #content{
    background: none;
}
.checkout-cart__wrap{
    margin-top:24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.checkout-cart__main{
    display: flex;
    flex-direction: column;
    gap:12px;
}
.checkout-cart__cart,
.checkout-cart__contact-info,
.checkout-cart__shipping_info,
.checkout-cart__payment_info,
.checkout-cart__additional_info
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 10px;
    background: #1A1A1A;
    border: 1px solid #262626;
    border-radius:10px;
    padding:16px;
}
.checkout-cart__login{
    background: #1a1a1a;
}
.checkout-cart__login .drawer-inner-block {
    gap:16px;
}
.checkout-cart__login .drawer-section-info{
    display: flex;
    flex-direction: column;
    font-size:16px;
    font-weight: 600;
    line-height: 1.3;
    color:#fff;
}
.checkout-cart__login .drawer-section-info span{
    font-size:16px;
    font-weight: 600;
    line-height: 1.3;
    color:#fff;
}
.checkout-cart__login .drawer-section-info__buttons{
    display: flex;
    gap: 8px;
    background: #141414;
    border-radius: 10px;
    border:1px solid #262626;
    padding: 8px;
    width: 100%;
}
.checkout-cart__login .sms-card{
    gap:16px;
}
.sms-card__wrap{
    display: flex;
    flex-direction: column;
    gap:16px;
    align-self: center;
}
.checkout-cart__login .sms-card span{
    font-size:14px;
    font-weight: 500;
    line-height: 1.3;
    color:#fff;
}
.checkout-cart__login .sms-code{
    justify-content: flex-start;
    gap:24px;
    margin-top: 0;
}
.checkout-cart__login .sms-actions{
    justify-content: flex-start;
    margin-top: 0;
}
.checkout-cart__login .sms-actions button{
    display: flex;
    justify-content: center;
    flex:1 0 0;
    max-width: 500px;
}
.checkout-cart__login .sms-remember.visible{
    justify-content: flex-start;
}
.checkout-cart__login .sms-remember.visible span{
    font-size: 10px;
    line-height: 1.3;
    color:#fff;
    margin-top: 0;
}
.checkout-cart__login .sms-resend span{
    font-size: 12px;
}
.checkout-cart__login .sms-error-notification{
    justify-content: flex-start;
}
.checkout-cart__login .sms-error-notification{
    font-size:12px;
}
#cart-signup-block .signup-input{
    padding:14px;
}
#cart-signup-block .signup-form{
    gap:8px;
}
#cart-signup-block .signup-btn-primary{
    margin:0;
}

/* CART TOTAL BLOCK */
.sticky {
  position: sticky;
  top: 0; 
  z-index: 10;
}
.checkout-cart__total{
    display: flex;
    flex-direction: column;
    gap:16px;
    padding: 16px;  
    border-radius:10px;
    background: #FFD11A0A;
}
.checkout-cart__total span:first-of-type{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}
.checkout-cart__total span:last-of-type{
    font-size: 12px;
    color:#B3B3B3;
    line-height: 1.3;
    text-align: center;
}
.checkout-cart__total-info{
    display: flex;
    flex-direction: column;
    gap:8px;
}
.checkout-cart__total-info div{
    display: inline-flex;
    justify-content: space-between;
}
.checkout-cart__total-info div span:last-of-type,
.checkout-cart__total-info div span:first-of-type
{
    font-size: 12px;
    line-height: 1.3;
    color:#CCCCCC;
}
.checkout-cart__total hr{
    margin:0;
    width: 100%;
    border-top:1px solid #333333;
}
.checkout-cart__total-total{
    display: flex;
    justify-content: space-between;
}
.checkout-cart__total-total span:first-of-type{
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #F1F1F3;
}
.checkout-cart__total-total span:last-of-type{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #F1F1F3;
}
.checkout-cart__btn-submit{
    padding:12px;
    background: #FFD11A;
    border-radius:6px;
    font-size:16px;
    font-weight: 600;
    line-height: 1.5;
    color:#141414;
}

.drawer-section-info__button{
    background: #141414;
    border-radius: 6px;
    border:1px solid #262626;
    padding: 12px;
    color:#ccc;
    font-size:14px;
    font-weight: 500;
    line-height: 1.3;
    color:#98989A;
    flex: 1 1 0;
}
.login-btn-active{
    background: #1a1a1a;
    color:#fff;
}
.checkout-cart__login .drawer-section-title{
    font-size:14px;
    font-weight: 500;
    line-height: 1.3;
    color:#B3B3B3;
    margin-bottom:8px;
}
.checkout-cart__login .drawer-phone-input{
    gap:8px;
    margin-bottom:8px;
}
.checkout-cart__login .drawer-btn-primary{
    margin-bottom: 0;
}
.checkout-cart__product-total{
    display: flex;
    justify-content: space-between;
    padding:16px;
    background:#262626;
    border-radius:6px;
}
.checkout-cart__product-total span:first-of-type{
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color:#ccc;
}
.checkout-cart__product-total span:last-of-type{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color:#F1F1F3;
}

.checout-cart__product{
    padding:16px;
    background-color: #262626;
    border-radius: 6px;
    display: flex;
    flex-direction: column ;
    gap: 10px;
}
.checkout-cart__product-info{
    display: flex;
    gap:10px;
}
.checkout-cart__product-info img {
    width: 100px;
    height: 70px;
    border-radius: 6px;
}
.checkout-cart__product-info a{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #CCCCCC;
}
.checkout-cart__product-price{
    display: flex;
    justify-content: space-between;
}
.checkout-cart__prices {
    display: flex;
    flex-direction: column;
    gap:2px;
    align-items: center;
    width:100px;
}
.checkout-cart__prices-old-price{
    font-size: 12px;
    line-height: 1.3;
    color:#FFEB99;
    text-decoration: line-through;
}
.checkout-cart__prices-price{
    font-size: 16px;
    font-weight: 600;
    color:#FFFEFA;
}

/* Quantity change block */
.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #333333;
    border-radius:6px;
    background: #333333;
    color: #F1F1F3;
    font-size: 18px;
    cursor: pointer;
}

.qty-input {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #333333;
    border-radius: 6px;
    background: #262626;
    color: #F1F1F3;
    font-size: 16px;
    font-weight: 500;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* IE 10+ */
input[type=number]::-ms-clear,
input[type=number]::-ms-expand {
    display: none;
}



/* Shipping block */
.checkout-cart__shipping_info{
    gap:16px;
}
.checkout-shipping__title,
.checkout-cart__additional_info span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color:#fff;
}
.checkout-shipping__wrap,
.checkout-payment__wrap{
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 10px;
    background: #141414;
    border: 1px solid #262626;
    border-radius: 10px;
}
.checkout-payment__desc{
    font-size:12px;
    line-height: 1.3;
    color:#B3B3B3;
}
.checkout-shipping__options,
.checkout-payment__options
 {
  display: flex;
  gap: 8px;
}
.checkout-shipping-option__wrap{
    display: flex;
    flex-direction: column;
    gap:16px;
}
.checkout-shipping-option__wrap span{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color:#F7F7F8;
}
.form-delivery, .form-delivery .form-group{
    display: flex;
    flex-direction: column;
    gap:8px;
    margin:0;
}
.form-delivery__label{
    font-size: 14px;
    font-weight: 500;
    color: #B3B3B3;
    margin:0;
}
.form-delivery__select{
    background-color: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 6px;
    padding:16px;
}
.form-delivery__input{
    background-color: #1a1a1a;
    border: 1px solid #262626;
    border-radius: 6px;
    padding:16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color:#F1F1F3;
    height: 48px;
}
.form-delivery__input:focus{
    border-color: #262626;
    box-shadow: none;
}
.form-delivery__select option{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color:#F1F1F3;
}

/* SELECT CUSTOM */
.select-trigger {
  cursor: pointer;
  padding:  8px 16px;
  height: 48px;
  background: #1A1A1A;
  border: 1px solid #262626;
  border-radius: 6px;
  box-shadow: 0px 0px 0px 3px #191919;
  font-size: 14px;
  line-height: 1.5;
  color:#CCCCCC;

}

.select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.select-arrow {
    transition: transform 0.3s ease;
}

.custom-select.open .select-arrow {
    transform: rotate(180deg);
}

.select-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: #1A1A1A;
  border: 1px solid #262626;
  border-radius: 6px;
  box-shadow: 0px 0px 0px 3px #191919;
}

.custom-select.open .select-dropdown {
  max-height: 300px; /* ← именно это растягивает родителя */
}

.option {
  padding: 8px 16px;
  border-top: 1px solid #262626;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color:#CCCCCC;
}


/* UI AUTOCOMPLETE */

 .autocomplete-wrap {
    display: flex;
    flex-direction: column; 
    position: relative;
}

.input-arrow-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.autocomplete-arrow {
    position: absolute;
    right: 10px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.autocomplete-wrap.open .autocomplete-arrow {
    transform: rotate(180deg);
}

.autocomplete-dropdown {
    max-height: 200px;
    overflow-y: auto;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border: 1px solid #262626;
    background: #1a1a1a;
    margin-top:-10px;
}

.autocomplete-option {
    padding: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.3;
    color: #F1F1F3;
    border-top:1px solid #262626;
}

/* .autocomplete-option:hover {
    background: #eee;
} */



#pickup-info,
#flat-info,
#r-nova-poshta-info {
    display: none;
}
.np-branch-block,
.np-courier-block
{
    display: flex;
    flex-direction: column;
    gap:8px;
}
.pickup-info{
    font-size: 12px;
    line-height: 1.3;
    color:#B3B3B3;
}
.d-none{
    display: none;
}
.shipping-option,
.payment-option {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 8px;
  padding: 24px 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 174px;
}

.shipping-option input, 
.payment-option input{
  display: none;
}

.shipping-radio,
.payment-radio{
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #777;
  position: relative;
}
.shipping-radio::after,
.payment-radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #ffd400;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.shipping-option.active .shipping-radio::after,
.shipping-option:has(input:checked) .shipping-radio::after,
.payment-option.active .payment-radio::after,
.payment-option:has(input:checked) .payment-radio::after{
  opacity: 1;
}

.shipping-option.active,
.shipping-option:has(input:checked), 
.payment-option.active,
.payment-option:has(input:checked){
  border-color: #ffd400;
}

.shipping-option:has(input:checked) .shipping-radio,
.payment-option:has(input:checked) .payment-radio{
  border-color: #ffd400;
}

.shipping-text,
.payment-text{
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #E4E4E7;
}

.checkout-shipping__info,
.checkout-payment__info {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #B3B3B3;
}
.checkout-shipping__info strong,
.checkout-payment__info strong{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color:#F7F7F8;
}

.checkout-shipping__map iframe {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  border: none;
}


/* modal window */
.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-modal-overlay.inactive {
    display: none;
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0f0f0f;
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 24px;
    max-width: 370px;
    width: 90%;
    z-index: 2001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.cart-modal.inactive {
    display: none;
}

.cart-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cart-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    background: #FFD11A;
    border-radius: 50%;
    margin-top:32px;
}
.cart-modal__text{
    display: flex;
    flex-direction: column;
    gap:12px;
}
.cart-modal__text span:first-of-type {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.cart-modal__text span:last-of-type {
    font-size: 12px;
    color: #DDDDDD;
    margin: 0;
    line-height: 1.3;
}
.cart-modal__buttons{
    display: flex;
    gap:8px;
    width: 100%;
}
#modal-success .cart-modal__buttons{
    flex-direction: column;
}
#modal-success .cart-modal-btn:hover,
#modal-success .cart-modal-btn:active{
    color: #141414;
}
#modal-success .cart-modal-btn-no:hover,
#modal-success .cart-modal-btn-no:active{
    color: #F1F1F3;
}
.cart-modal-btn, .cart-modal-btn-no {
    display: flex;
    flex: 1 0 0;
    padding: 11px 24px;
    background: #FFD11A;
    color: #141414;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    justify-content: center;
}
.cart-modal-btn-no:hover, 
.cart-modal-btn-no:focus, 
.cart-modal-btn-no:active{
    background: #262626;
    color: #F1F1F3;
}
.cart-modal-btn-no{
    background: #262626;
    border: 1px solid #262626;
    color: #F1F1F3;
}
.cart-modal-btn:hover,
.cart-modal-btn-no:focus,
.cart-modal-btn-no:active {
    background: #FFDB4D;
    color: #141414;
}

.signup-country-trigger svg {
    pointer-events: none;
}

/* EMPTY CART */
.cart-empty__wrap{
    display: flex;
    flex-direction: column;
    gap:8px;
    padding:24px;
    background-color: #1A1A1A;
    border-radius: 10px;
    margin-top:24px;
}
.cart-empty__wrap > span{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color:#fff;
}
.cart__empty{
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 96px;
}
.cart__empty p {
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  vertical-align: middle;
  color:#B3B3B3;
  margin:0;
}
.cart__empty .btn {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:8px;
  width: 360px;
}
#modal-fail .cart-modal__buttons{
    flex-direction: column;
}




@media(max-width: 992px){
    #checkout-cart #content{
        padding: 16px 0 0;
    }
    .account-panel__header{
        padding:0 16px 8px;
    }
    .checkout-cart__wrap{
        flex-direction: column;
        gap:8px;
        margin-top: 8px;
    }
    .checkout-cart__total,
    .checkout-cart__main{
        gap:8px;
        width: 100%;
    }
    .checkout-cart__login{
        width: 100%;
    }
}

@media(max-width: 768px){
    
}