/* ============================================
   ПЕРЕМЕННЫЕ
   ============================================ */
   :root {
    --primary-color: #65b6b7;
    --primary-dark: #5aa5a6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --error-color: #ef4444;
    --bg-light: #f8fafc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}


/* ============================================
   ОГЛАВЛЕНИЕ БЛОКОВ (ШАГИ ОФОРМЛЕНИЯ)
   ============================================ */
.one-page-checkout {
    padding: 0;
    list-style: none;
    margin: 0;
}

.one-page-checkout ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.one-page-checkout .section {
    margin-bottom: 20px;
}

.one-page-checkout .step-title {
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}

.one-page-checkout .step-title:hover .number {
    background: var(--primary-color);
    color: white;
}

.one-page-checkout .step-title:hover h3 {
    color: var(--primary-color);
}

.one-page-checkout .active .step-title {
    cursor: default;
}

.one-page-checkout .step-title .number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.one-page-checkout .active .step-title .number {
    background: var(--primary-color);
    color: white;
}

.one-page-checkout .step-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    transition: var(--transition);
}

.one-page-checkout .active .step-title h3 {
    font-size: 22px;
    color: var(--text-dark);
}

.one-page-checkout .step {
    padding: 0;
    background-color: transparent;
}


/* ============================================
   ОБЩИЕ СЕКЦИИ
   ============================================ */
.checkout-section {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    animation: fadeInUp 0.5s ease;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}


/* ============================================
   ПУСТАЯ КОРЗИНА
   ============================================ */
.empty-cart-modern {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.empty-cart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(101, 182, 183, 0.1), rgba(101, 182, 183, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.empty-cart-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px 0;
}

.empty-cart-text {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}


/* ============================================
   КОРЗИНА - ТОВАРЫ
   ============================================ */
.cart-section {
    padding: 0;
    overflow: hidden;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border-color);
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: #fff;
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--bg-light);
}

/* Изображение товара */
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-link {
    display: block;
    height: 100%;
}

/* Информация о товаре */
.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cart-item-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.cart-item-title a:hover {
    color: var(--primary-color);
}

.cart-item-price-mobile {
    display: none;
}

/* Цена, количество, сумма */
.cart-item-price,
.cart-item-quantity,
.cart-item-total {
    text-align: center;
}

.price-label,
.quantity-label,
.total-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
}

.price-value,
.total-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Контроль количества */
.quantity-form {
    margin: 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-input {
    width: 70px;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    transition: var(--transition);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(101, 182, 183, 0.1);
}

.quantity-update {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-update:hover {
    background: var(--primary-dark);
    transform: rotate(180deg);
}

/* Кнопка удаления */
.cart-item-remove {
    margin-left: 10px;
}

.remove-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    border-color: var(--error-color);
    background: var(--error-color);
    color: white;
    transform: rotate(90deg);
}


/* ============================================
   КОРЗИНА - ИТОГИ
   ============================================ */
.cart-summary {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 0 0 var(--radius) var(--radius);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
}

.summary-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

.summary-total {
    font-size: 18px;
    padding: 16px 0;
}

.summary-total .summary-label {
    color: var(--text-dark);
    font-weight: 600;
}

.summary-total .summary-value {
    color: var(--primary-color);
    font-size: 24px;
}

.promo-code-section {
    margin: 20px 0;
}

.cart-actions {
    margin-top: 20px;
}

.btn-clear-cart {
    width: 100%;
    padding: 14px 24px;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-clear-cart:hover {
    background: var(--error-color);
    border-color: var(--error-color);
    color: white;
}


/* ============================================
   СПОСОБЫ ОПЛАТЫ
   ============================================ */
.payment-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 -8px;
}

.payment-col {
    flex: 1 1 calc(50% - 16px);
    min-width: 280px;
    padding: 0 8px;
}

.payment-option {
    cursor: pointer;
    display: block;
    max-width: 400px;
    height: 100%;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
    position: relative;
}

.payment-option input[type="radio"]:checked ~ .payment-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(101, 182, 183, 0.05), rgba(101, 182, 183, 0.08));
    box-shadow: 0 0 0 3px rgba(101, 182, 183, 0.1);
}

.payment-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.payment-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: white;
    transition: var(--transition);
    overflow: hidden;
}

.payment-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    background: white;
    border-radius: 50%;
}

.payment-option input[type="radio"]:checked ~ .payment-card .payment-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(101, 182, 183, 0.4);
}

.payment-text {
    flex: 1;
}

.payment-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.payment-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.payment-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}

.payment-option input[type="radio"]:checked ~ .payment-card .payment-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}


/* ============================================
   СОВРЕМЕННЫЕ ПОЛЯ ВВОДА
   ============================================ */
.form-group-modern {
    position: relative;
    margin-bottom: 24px;
}

.form-control-modern {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
    outline: none;
    color: var(--text-dark);
}

.form-control-modern:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(101, 182, 183, 0.1);
}

.form-control-modern.error {
    border-color: var(--error-color);
}

.form-control-modern.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Floating label */
.form-label-modern {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-light);
    font-size: 15px;
    transition: var(--transition);
    pointer-events: none;
    background: #fff;
    padding: 0 4px;
    z-index: 1;
}

.form-control-modern:focus ~ .form-label-modern,
.form-control-modern:not(:placeholder-shown) ~ .form-label-modern {
    top: -10px;
    left: 12px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-control-modern.error ~ .form-label-modern {
    color: var(--error-color);
}

/* Скрываем placeholder по умолчанию */
.form-control-modern::placeholder {
    opacity: 0;
    transition: var(--transition);
}

/* Показываем placeholder только при фокусе */
.form-control-modern:focus::placeholder {
    opacity: 0.5;
}

/* Textarea */
.textarea-modern {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

/* Select */
.form-label-select {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-label-select .label-text {
    display: inline-block;
}

.form-control-modern[type="select"],
select.form-control-modern {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}


/* ============================================
   ПЕРЕКЛЮЧАТЕЛЬ ПОЛУЧАТЕЛЯ
   ============================================ */
.receiver-selector {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.receiver-option {
    cursor: pointer;
    display: block;
}

.receiver-option input[type="radio"] {
    display: none;
}

.option-card {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: var(--transition);
    position: relative;
}

.receiver-option input[type="radio"]:checked ~ .option-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(101, 182, 183, 0.05), rgba(101, 182, 183, 0.08));
    box-shadow: 0 0 0 3px rgba(101, 182, 183, 0.1);
}

.option-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.option-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
    color: white;
    transition: var(--transition);
}

.receiver-option input[type="radio"]:checked ~ .option-card .option-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(101, 182, 183, 0.4);
}

.option-text {
    flex: 1;
}

.option-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.option-desc {
    font-size: 13px;
    color: var(--text-light);
}

.option-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    flex-shrink: 0;
}

.receiver-option input[type="radio"]:checked ~ .option-card .option-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.receiver-fields {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.receiver-fields.show {
    max-height: 300px;
    opacity: 1;
    margin-top: 20px;
}


/* ============================================
   НОВАЯ ПОЧТА (CHOICES.JS)
   ============================================ */
.msnp__wrap {
    position: relative;
}

.msnp__wrap input[type="hidden"] {
    display: none;
}

.form-group-modern .msnp__wrap {
    margin-top: 0;
}

/* Переопределение стилей Choices.js */
.choices {
    margin-bottom: 0 !important;
}

.choices__inner {
    min-height: 52px !important;
    padding: 0 !important;
    font-size: 15px !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius) !important;
    background: #fff !important;
    transition: var(--transition) !important;
}

.choices__inner:hover {
    border-color: var(--primary-color) !important;
}

.choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 0 !important;
}

.choices__list--single {
    padding: 16px !important;
    height: auto !important;
}

.choices__item {
    font-size: 15px !important;
    color: var(--text-dark) !important;
}

.choices__placeholder {
    opacity: 0.5 !important;
    color: var(--text-light) !important;
}

/* Активное состояние */
.choices.is-open .choices__inner,
.choices.is-focused .choices__inner {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(101, 182, 183, 0.1) !important;
}

/* Стрелка выпадающего списка */
.choices[data-type*="select-one"]::after {
    border-color: var(--text-light) transparent transparent transparent !important;
    margin-top: -4px !important;
    right: 16px !important;
    transition: var(--transition) !important;
}

.choices.is-open[data-type*="select-one"]::after {
    border-color: transparent transparent var(--primary-color) transparent !important;
    margin-top: 0 !important;
}

/* Выпадающий список */
.choices__list--dropdown {
    border: 2px solid var(--primary-color) !important;
    border-radius: var(--radius) !important;
    margin-top: 4px !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 100 !important;
    animation: dropdownSlide 0.2s ease;
}

.choices__list--dropdown .choices__list {
    max-height: 300px !important;
}

/* Поиск в выпадающем списке */
.choices__input--cloned {
    padding: 12px 16px !important;
    font-size: 15px !important;
    border: none !important;
    border-bottom: 2px solid var(--border-color) !important;
    border-radius: 0 !important;
    background: var(--bg-light) !important;
}

.choices__input--cloned:focus {
    outline: none !important;
    border-bottom-color: var(--primary-color) !important;
}

/* Элементы списка */
.choices__item--choice {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: var(--text-dark) !important;
    transition: var(--transition) !important;
}

.choices__item--choice.is-highlighted,
.choices__item--choice:hover {
    background-color: rgba(101, 182, 183, 0.1) !important;
    color: var(--primary-color) !important;
}

.choices__item--choice.is-selected {
    background-color: rgba(101, 182, 183, 0.15) !important;
    color: var(--primary-color) !important;
    font-weight: 600 !important;
}

.choices__item--choice.has-no-choices {
    color: var(--text-light) !important;
    font-style: italic !important;
}

/* Состояние загрузки */
.choices.is-loading::after {
    border-color: var(--primary-color) transparent transparent transparent !important;
    animation: spin 0.6s linear infinite;
}

/* Disabled состояние */
.choices.is-disabled .choices__inner {
    background-color: var(--bg-light) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* Ошибка валидации */
.form-control-modern.error,
.choices.is-invalid .choices__inner,
.form-group-modern.has-error .choices__inner {
    border-color: var(--error-color) !important;
}

.choices.is-invalid.is-focused .choices__inner,
.form-group-modern.has-error .choices.is-focused .choices__inner {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

/* Скроллбар для списка */
.choices__list--dropdown .choices__list::-webkit-scrollbar {
    width: 8px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Кнопка карты отделений */
.msnp-map__toggle {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.msnp-map__toggle::before {
    content: "📍";
    font-size: 18px;
}

.msnp-map__toggle--show {
    display: flex;
}

.msnp-map__toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(101, 182, 183, 0.4);
}

.msnp-map__toggle--bounce {
    animation: mapButtonBounce 2s ease-in-out infinite;
}

.msnp__wrap:has(.msnp-map__toggle--show) .choices__inner {
    padding-right: 52px !important;
}


/* ============================================
   КНОПКА ОТПРАВКИ
   ============================================ */
.btn-submit-modern {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(101, 182, 183, 0.3);
    margin-top: 30px;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(101, 182, 183, 0.4);
}

.btn-submit-modern:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: var(--transition);
}

.btn-submit-modern:hover .btn-arrow {
    transform: translateX(4px);
}


/* ============================================
   АНИМАЦИИ
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes mapButtonBounce {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
    }
}


/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшеты и меньше (до 991px) */
@media (max-width: 991px) {
    /* Корзина */
    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 16px;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-price,
    .cart-item-quantity,
    .cart-item-total {
        display: none;
    }
    
    .cart-item-price-mobile {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: var(--text-light);
        margin-top: 8px;
    }
    
    .cart-item-price-mobile .price-value {
        color: var(--text-dark);
        font-weight: 600;
    }
    
    /* Оплата */
    .payment-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Мобильные (до 767px) */
@media (max-width: 767px) {
    /* Общие секции */
    .checkout-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    /* Корзина */
    .cart-item {
        grid-template-columns: 70px 1fr auto;
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-title {
        font-size: 14px;
    }
    
    .cart-summary {
        padding: 20px;
    }
    
    .summary-total {
        font-size: 16px;
    }
    
    .summary-total .summary-value {
        font-size: 20px;
    }
    
    /* Оплата */
    .payment-selector {
        gap: 12px;
    }
    
    .payment-col {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .payment-card {
        padding: 14px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .payment-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .payment-title {
        font-size: 14px;
    }
    
    .payment-desc {
        font-size: 12px;
    }
    
    /* Переключатель получателя */
    .option-card {
        padding: 14px;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .option-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .option-title {
        font-size: 14px;
    }
    
    .option-desc {
        font-size: 12px;
    }
    
    /* Поля ввода */
    .form-control-modern {
        font-size: 14px;
        padding: 14px;
    }
    
    /* Кнопка отправки */
    .btn-submit-modern {
        padding: 16px 24px;
        font-size: 15px;
    }
    
    /* Новая Почта */
    .choices__inner {
        min-height: 48px !important;
    }
    
    .choices__list--single {
        padding: 14px !important;
    }
    
    .choices__item {
        font-size: 14px !important;
    }
    
    .choices__input--cloned {
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
    
    .choices__item--choice {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }
    
    .msnp-map__toggle {
        width: 36px;
        height: 36px;
        right: 44px;
    }
    
    .msnp-map__toggle::before {
        font-size: 16px;
    }
}

/* Маленькие мобильные (до 576px) */
@media (max-width: 576px) {
    .cart-item {
        grid-template-columns: 70px 1fr auto;
        gap: 12px;
        padding: 16px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-title {
        font-size: 14px;
    }
    
    .cart-summary {
        padding: 20px;
    }
    
    .summary-total {
        font-size: 16px;
    }
    
    .summary-total .summary-value {
        font-size: 20px;
    }
    
    /* Шаги оформления */
    .one-page-checkout .step-title {
        padding: 0;
    }
    
    .one-page-checkout .step-title .number {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-right: 10px;
    }
    
    .one-page-checkout .step-title h3 {
        font-size: 16px;
    }
    
    .one-page-checkout .active .step-title h3 {
        font-size: 18px;
    }
}

/* Планшеты средние (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .payment-col {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Десктопы (от 992px) */
@media (min-width: 992px) {
    .payment-col {
        flex: 1 1 calc(50% - 16px);
    }
}