		#delivery-widget  {
			position:relative;
		}
		
		.widget__header {
			/*display:none;*/
		}
	        .checkout-block { 
                    padding: 20px;
		    border-radius: 15px;
		    margin-bottom: 20px;
		    border: 1px solid #ddd;
		 }
        	.checkout-title { 
			font-weight: bold; 
			margin-bottom: 20px; 
			padding-bottom: 10px;
			border-bottom: 1px solid #eee; 
		}
	        .sidebar-sticky { 
			position: sticky; 
			top: 20px; 
		}
	        .checkout-block input, .checkout-block select, .checkout-block textarea { 
		    border-radius: 15px;
		 }



.delivery-item, 
.payment-item,
.time-item {
    background: #ffffff; /* Тот самый серый фон */
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;

}


/* Стилизация заголовков внутри блоков */
.delivery-name, 
.payment-name,
.time-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Стилизация подписей (цена, сроки, условия) */
.delivery-desc, 
.payment-desc,
.time-desc {
    font-size: 12px;
}


 /*   .payment-item {
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        position: relative;
    }

    .delivery-item-inner {
        padding: 15px;
        display: flex;
        align-items: center;
    }


    .payment-item:hover {
        border-color: #bdc3c7;
    }

    .payment-item.active {
        border-color: #ff4d4d; 
        background-color: #fff9f9;
    }

    .payment-item-inner {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .payment-item.active .payment-check::after {
        content: '✓';
        font-weight: bold;
        font-size: 1.2rem;
    }


    .delivery-item {
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        cursor: pointer;
        transition: border-color 0.2s;
        height: 100%;
        background: #fff;
    }


    .delivery-details {
        background: #fdfdfd;
        padding: 15px;
        border-radius: 0 0 8px 8px;
        border-top: 1px dashed #ddd;
    }

*/


    .qty-input {
        border-left: 0;
        border-right: 0;
        background: #fff !important;
        font-weight: bold;
    }
    .product-item:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
    }
    .price-value {
        font-size: 1.1rem;
    }

    .mybtn {
	    top: inherit;
	    left: inherit;
	    height: inherit;
	    position: inherit;
	    border-radius: 15px;
	    padding: .5rem 1rem;
	    line-height: initial;
	}


    .product-select {
    	cursor: pointer;
	margin: 0;
    	position: static !important;
    	opacity: 1 !important;
    	visibility: visible !important;
    }


    /* 1. Карточки выбора (Оплата и Доставка) */
    .delivery-item.active, 
    .payment-item.active,
    .time-item.active,
    .delivery-item:has(input:checked),
    .payment-item:has(input:checked),
    .time-item:has(input:checked) {
        border-color: #177245 !important; /* Зеленый при выборе */

    }



    /* 2. Кастомный чекбокс в товарах */
    .product-select:checked {
        background-color: #177245 !important;
        border-color: #177245 !important;
    }

    /* 3. Кнопка "Оформить заказ" */
    /* Используем оранжевый #ff914d как акцентный для главного действия */
    .btn-warning, 
    #checkout-submit-btn { 
        background-color: #ff914d !important;
        border-color: #ff914d !important;
        color: #fff !important;
        transition: background-color 0.2s ease;
    }

    .btn-warning:hover {
        background-color: #e67e39 !important; /* Чуть темнее при наведении */
        border-color: #e67e39 !important;
    }

    /* 4. Кнопки +/- в количестве товара */
    .btn-outline-secondary:hover {
        background-color: #177245 !important;
        border-color: #177245 !important;
        color: #fff !important;
    }





.sbp-link-res {
    width: 100%;
    border-radius: 15px;
    color: #fff;
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    padding: 20px 20px;
    background: #38ad53;
    margin-top: 30px;
    transition: 0.3s;
    border: 3px solid #38ad53;
}
.sbp-link-res:hover {
    background: #fff;
    color: #38ad53;
}

.tks-pay-link-res {
    width: 100%;
    border-radius: 15px;
    display: inline-block;
    font-weight: bold;
    line-height: 1;
    padding: 20px 20px;
    background: #fff;
    margin-top: 30px;
    transition: 0.3s;
    border: 3px solid #ccc; 
    background-color: #ccc;
}

.ens-tks-desktop .tks-pay-link-res {
    max-width: 177px;
    
}
.sbp-link-res2 {
    width: 100%;
    border-radius: 15px;
    color: #fff;
    display: inline-block;
    line-height: 1;
    padding: 10px 20px;
    background: #0e1552;
    margin-top: 30px;
    transition: 0.3s;
    font-size: 16px;
}
.sbp-link-res2:hover{
    color: #fff;
    background: #393c51;
}

.tks-pay-link-res2 {
    width: 100%;
    border-radius: 15px;
    display: inline-block;
    line-height: 1;
    padding: 20px 20px;
    background: #38ad53;
    color: #fff;
    margin-top: 30px;
    transition: 0.3s;
    font-size: 16px;
}
.tks-pay-link-res2:hover {
    background: #026318;
    color: #fff;    
}

.ens-knopka-modal-cat, .ens-knopka-modal-items {
	text-align: left;
	display: inline-block;
	text-decoration: none;
	background-color: #ffffff ;
	color: #313432;
	border: 1px solid #9fa3a1 ;
	border-radius: 12px ;
	font-size: 15px ;
	padding: 6px 10px ;
	cursor: pointer;
	transition: 0.3s;
        margin-bottom: 5px;
}
.ens-knopka-modal-cat:hover, .ens-knopka-modal-items:hover {
	border: 1px solid #9fa3a1;
}
.ens-knopka-modal-cat.current, .ens-knopka-modal-items.current {
	background-color: #177245 !important;
	color: #fff !important;
	border: 1px solid #9fa3a1 !important;

}
.ens-knopka-modal-cat-empty {
    background-color: #9b9595;
    text-decoration: 2px solid line-through #c00;
    color: #ccc;
    cursor: not-allowed;
}

/*
input.easynetshop-customfield::placeholder {
  color: #999; 
  font-style: italic; 
  font-size: 0.9em; 
  opacity: 1; 
}

*/
@media screen and (max-width: 400px){
	.ens-knopka-modal-cat1, .ens-knopka-modal-items1 {
	    display: block;
	    width: 100%;
	}
	.ens-search-name {
	    white-space: initial;
	}
}

#ens-before-order-info {
    display: inline-block;
    margin-right: 10px;
}

.knopka_obiom_addtocart-gray {
    display: inline-block ;
    text-decoration: none ;
    background-color: #e7e7e7 ;
    color: #000000 ;
    border-radius: 12px ;
    font-size: 16px ;
    padding: 15px 15px ;
    cursor: pointer;
    white-space: nowrap;
    border: none
}
.knopka_obiom_addtocart-gray:hover {
    background-color: #177245 ;
    color: #fff ;
}


@media screen and (min-width: 1200px){
	.product-how-open {
	    margin-left: 120px;
	}
}


.icon-cart .count-style {
    background-color: #de2732;
    border-radius: 100%;
    color: #fff;
    display: inline-block;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 400;
    height: 22px;
    line-height: 23px;
    position: absolute;
    right: -13px;
    top: -6px;
    width: 22px;
    text-align: center;
}




.custom-qty-selector {
    width: 110px;
    background-color: #eceff8;
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.custom-qty-btn {
    background: transparent;
    border: none;
    color: #333;
    box-shadow: none;
    width: 35px;
}

/* Стили при наведении и фокусе, чтобы кнопки не меняли фон и не появлялась тень */
.custom-qty-btn:hover,
.custom-qty-btn:focus,
.custom-qty-btn:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #333 !important;
}

.custom-qty-input {
    background: transparent !important;
    border: none;
    color: #333;
    box-shadow: none;
    font-weight: bold;
    pointer-events: none;
}

.custom-product-price {
    min-width: 90px;
}

.btn-locked {
    background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    pointer-events: none; /* Отключает клики */
    filter: grayscale(0.5); /* Делает цвет тусклее */
}


/* Обязательно для родителя */
#cart-checkout-products {
    position: relative;
    min-height: 150px; /* Чтобы блок не схлопывался, если список пуст */
    font-size: 13px;
}

/* Оверлей */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 100;
    
    /* Центрирование спиннера */
    display: none; 
    justify-content: center;
    align-items: center;
}

/* Показываем, когда добавлен класс */
#cart-checkout-products.is-loading .loading-overlay {
    display: flex;
}

/* Спиннер */
.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Базовые стили для контейнера переключателя */
#cart-confirm .custom-switch,
#cart-checkout-split .custom-switch {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 2.75rem; /* Отступ слева под ползунок */
}

/* Скрываем стандартный квадратный чекбокс */
#cart-confirm .custom-control-input,
#cart-checkout-split .custom-control-input {
  position: absolute;
  left: 0;
  z-index: -1;
  opacity: 0;
}

/* Формируем основу ползунка (овал) */
#cart-confirm .custom-switch .custom-control-label,
#cart-checkout-split .custom-switch .custom-control-label {
  position: relative;
  cursor: pointer;
  margin-bottom: 0;
  vertical-align: top;
}

#cart-confirm .custom-switch .custom-control-label::before,
#cart-checkout-split .custom-switch .custom-control-label::before {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: -2.75rem;
  display: block;
  width: 2.25rem;
  height: 1.25rem;
  pointer-events: all;
  background-color: #dee2e6; /* Серый цвет в выключенном состоянии */
  border: #adb5bd solid 1px;
  border-radius: 0.75rem;
  transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Формируем круглую кнопку внутри овала */
#cart-confirm .custom-switch .custom-control-label::after,
#cart-checkout-split .custom-switch .custom-control-label::after {
  content: "";
  position: absolute;
  top: calc(0.15rem + 2px);
  left: calc(-2.75rem + 2px);
  display: block;
  width: calc(1.25rem - 4px);
  height: calc(1.25rem - 4px);
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.15s ease-in-out;
}

/* Стили при активации (клике) */
#cart-confirm .custom-control-input:checked ~ .custom-control-label::before,
#cart-checkout-split .custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #28a745;     /* Цвет рамки активного (зеленый) */
  background-color: #28a745; /* Цвет фона активного (зеленый) */
}
#cart-confirm .custom-control-input:checked ~ .custom-control-label::after,
#cart-checkout-split .custom-control-input:checked ~ .custom-control-label::after {
  transform: translateX(1rem); /* Смещение кружка вправо */
}

/* Выравнивание текста по центру ползунка */
#cart-confirm .custom-switch .custom-control-label,
#cart-checkout-split .custom-switch .custom-control-label {
  padding-top: 2px; /* Опускает текст на 2 пикселя вниз */
  line-height: 2; /* Делает высоту строки компактной */
}

.delivery-main-cost {
    background-color: #f1fdf3;
    padding: 5px 10px;
    border-radius: 10px;
    margin-bottom: 10px;

}

.delivery-pre-cost {
    background-color: #fdf5f1;
    padding: 5px 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

input.fields-in-cart, select.fields-in-cart, textarea.fields-in-cart {
    background-color: #f5f5f5;
    border-radius:10px;
}
body {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* Общий контейнер для позиционирования */
.sber-pulse-wrapper {
  position: relative;
  width: 80px; 
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Центральный зеленый круг (100px) */
.sber-icon-circle {
  position: relative;
  width: 50px; 
  height: 50px;
  background: linear-gradient(135deg, #21a038 0%, #117924 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(23, 131, 38, 0.4);
  z-index: 3;
}

/* Крупная галочка */
.sber-icon-circle svg {
  width: 55px;
  height: 55px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 5.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Базовые стили для волн */
.sber-pulse-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px; 
  height: 50px;
  border-radius: 50%;
  background: rgba(33, 160, 56, 0.35); 
  transform: translate(-50%, -50%) scale(1);
  z-index: 1;
}

/* Исправленное подключение анимации */
.wave-1 {
  animation: sberPulseLarge 2.2s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

.wave-2 {
  animation: sberPulseLarge 2.2s cubic-bezier(0.215, 0.610, 0.355, 1) 0.7s infinite;
}

/* Название анимации теперь совпадает в точности */
@keyframes sberPulseLarge {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8); 
    opacity: 0;
  }
}

#cart-checkout-customer input::placeholder {
  color: #cacaca !important;
}

b.promo-to-cart {
border: 1px solid;
    padding: 2px 10px;
    border-radius: 10px;
    cursor: pointer;
}