.cart-checkout-container {
    display: flex;
    flex-direction: column;
    padding: 0px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.cart-left {
    width: 100%;
}
.cart-items {
    margin-bottom: 50px;
}
.cart-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
.cart-item-thumbnail img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.cart-item-info {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    margin-left: 20px;
}
.cart-item-title {
    margin-left:20px;
color: var(--Black, #232323);
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
    margin-bottom: 8px;
}
.cart-item-price-block{
    margin-left:70px;
}
.cart-item-price {
    width: 100px;
}
.cart-item-price-total{
    color: var(--Black, #232323);
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
}
.cart-item-price-info{
    color: var(--Grey, #868686);
font-family: Roboto;
font-size: 13px;
font-style: normal;
font-weight: 400;
line-height: 18px; /* 138.462% */
}
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left:auto;
    
}
.cart-item-quantity button{
    background:none;
    border:none;
    cursor: pointer;
    padding: 0;
}
.cart-checkout-container{
    padding-top: 40px;
    padding-bottom: 70px;
}
.cart-checkout-container h2{
    width: 100%;
    color: var(--Black, #232323);

/* H1 - Title */
font-family: Roboto;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 40px; /* 125% */
margin-top:0;
margin-bottom: 20px;
}
.cart-checkout-container h3{
    color: var(--Black, #232323);
margin-top:0;
margin-bottom:20px;
font-family: Roboto;
font-size: 26px;
font-style: normal;
font-weight: 600;
line-height: 32px;
}
form.cart-checkout-form label.error {
  color: red;
  margin-top: 10px;
  flex: 0 0 100%;
  margin-top: -20px;
  margin-bottom: 20px;
}
.qty-input {
    width: 16px;
    height: 22px;
    text-align: center;
border-radius: 8px;
border: 1px solid var(--Divider, #DBDBDB);
padding: 8px 16px;    
}
.qty-input {
  -moz-appearance: textfield; /* Firefox */
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none; /* Chrome, Safari, Edge */
  margin: 0;
}
.cart-item-remove{
    margin-left:20px;
}
.cart-item-remove button {
    background: none;
    border: none;
    font-size: 22px;
    color: #868686;
    cursor: pointer;
    padding: 0;
}
.customer-info{
    margin-bottom: 30px;
}
.customer-info input {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid var(--Divider, #DBDBDB);
    color: var(--Grey, #868686);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
}
#shipping_address_input{
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--Divider, #DBDBDB);
    color: var(--Grey, #868686);
font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 133.333% */
}
.shipping-methods label,
.payment-methods label {
    display: flex;
    margin-bottom: 10px;
    flex-wrap: wrap;
    color: var(--Black, #232323);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */    
}
.cart-comment textarea {
    width: 100%;
    padding: 10px;
    height: 80px;
    border: 1px solid #ccc;
    margin-top: 15px;
    border-radius: 5px;
}
.cart-summary {
    padding: 30px;
    border-radius: 10px;
background: var(--Background, rgba(0, 0, 0, 0.03));
}
.cart-summary h3{
color: var(--Black, #232323);
margin-top:0;
margin-bottom: 20px;
font-family: Roboto;
font-size: 26px;
font-style: normal;
font-weight: 600;
line-height: 32px; /* 123.077% */
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}
.place-order-button {
    width: 100%;
    background-color: #4CAF50;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
font-style: normal;
font-weight: 500;
line-height: 24px;     
}
.place-order-button:hover {
    background-color: #45a049;
}
.cart-l{
    flex:1;
}
.cart-r{
    max-width: 373px;

}
.cart-checkout-form{
    display: flex;

flex-wrap: wrap;    gap:0 144px;
}
.shipping-methods, .payment-methods{
    display: flex;
    flex-direction: column;
}
.shipping-methods{
    margin-bottom: 50px;
}
.customer-info, .cart-comment{
    display: flex;
    flex-wrap: wrap;
}
.cart-checkout-form .form-block{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.cart-checkout-form .form-block *{
    box-sizing: border-box;
}
.cart-checkout-form .form-block .selectedCountry{
    height: 52px;
    z-index: 2;
}
.form-block .phone-1{
    width: auto;
    border-left:0;
    border-radius: 0 10px 10px 0;
}
.cart-r{
    width: 100%;
}

body.page-template-page-cart-checkout .wrap-block{
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.page-template-page-cart-checkout .wrap-block footer{
    margin-top: auto;
} 
.cart-empty-block {
    margin-top: 150px;
text-align: center;
}


.cart-empty-header {
    color: var(--Black, #232323);

/* H1 - Title */
font-family: Roboto;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 40px; /* 125% */
margin-bottom: 10px;
}

.cart-empty-p {
    color: var(--Black, #232323);

/* Medium - Text */
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
}

.cart-empty-button {
    margin-top: 30px;
}

.cart-empty-button a{
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--Divider, #DBDBDB);
    color: var(--Black, #232323);
    padding:15px;

/* Button - Big */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 150% */
}

/* === Радио SVG === */
.radio-custom {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 10px;
}
.radio-custom input[type="radio"] {
  display: none;
}
.custom-radio {
    display: flex;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url('../img/radio-inactive.svg') no-repeat center / contain;
}
input[type="radio"]:checked + .custom-radio {
    background-image: url('../img/radio-active.svg');
}
input[type="radio"]:checked + .custom-radio + span{
    color: var(--Black, #232323);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

/* === Комментарий и кнопка === */
.cart-comment textarea {
  width: 100%;
  height: 100px;
  border-radius: 10px;
  border: 1px solid var(--Divider, #DBDBDB);
  padding: 14px;
  color: var(--Grey, #868686);
font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 133.333% */
  margin-top: 40px;
  
}
.place-order-button {
  width: 100%;
  padding: 15px;
  background: #4CAF50;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* === Сводка заказа === */
.cart-summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  
}
.cart-summary-item>span{
    color: var(--Grey, #868686);
font-family: Roboto;
font-size: 15px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 160% */
}
.cart-summary-item-bold{
    color: var(--Black, #232323);
}
.cart-summary-item>span+span{
    color: var(--Black, #232323);
}
.cart-summary-item.total {

  color: var(--Black, #232323);
font-family: Roboto;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 24px;
  padding-top: 10px;
  margin-bottom: 30px;
}
.cart-summary-item.total>span{
  color: var(--Black, #232323);
font-family: Roboto;
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 24px;
}
.order#complete2{
    padding: 40px;
}
.order#complete2 .h4 { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.order#complete2 .message-text1,
.order#complete2 .message-text3 { font-size: 16px; margin-bottom: 5px; }
.order#complete2 .continue {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.order#complete2 .message-text1{
    color: var(--Black, #232323);

/* H4 - Title */
font-family: Roboto;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 24px; /* 133.333% */
}
.order#complete2 .message-text3{
    color: var(--Black, #232323);

/* Paragraph */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px;
margin-bottom: 40px;
}

.order#complete2 .message-text3 #order-number{
    color: var(--Black, #232323);

/* Paragraph - Semibold */
font-family: Roboto;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 24px;
}

/* Overlay fancybox уже рисует. Оформляем карточку */
#dellin-city-modal .dl-box{max-width:560px;background:#fff;border-radius:16px;padding:20px 20px 8px}
#dellin-city-modal .dl-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
#dellin-city-modal .dl-title{font-size:24px;font-weight:700}
#dellin-city-modal .dl-close{border:0;background:transparent;font-size:24px;cursor:pointer}
#dellin-city-modal .dl-search{position:relative;margin:8px 0 6px}
#dellin-city-modal .dl-search input{width:100%;height:40px;border:1px solid #E5E7EB;border-radius:10px;padding:0 36px 0 12px;font-size:15px}
#dellin-city-modal .dl-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:0;border-radius:6px;background:#F3F4F6;cursor:pointer}
#dellin-city-modal .dl-list{list-style:none;margin:0;padding:4px 0;max-height:380px;overflow:auto}
#dellin-city-modal .dl-list li{padding:12px;border-radius:8px;margin:0 2px}
#dellin-city-modal .dl-list li:hover{background:#F9FAFB}
#dellin-city-modal .dl-empty{padding:14px;color:#9CA3AF}
@media screen and (max-width: 767px){
   body.page-template-page-cart-checkout .wrap-block{
    height: auto;
   }
   .form-block .phone-1{
    flex:1;
   }
}