@charset "utf-8";

/* ============================================================================
   КОРЗИНА - УЛУЧШЕННЫЙ CSS
   Версия: 2.0
   ============================================================================ */

/* ----------------------------------------------------------------------------
   CSS ПЕРЕМЕННЫЕ (легко менять цвета и размеры)
   ---------------------------------------------------------------------------- */
:root {
    --cart-primary: #00b308;
    --cart-primary-hover: #00a007;
    --cart-secondary: #455c96;
    --cart-danger: #FF5722;
    --cart-bg: #ffffffba;
    --cart-bg-light: #fdfdfda3;
    --cart-bg-form: #b8cffe;
    --cart-text: #1c1f22;
    --cart-text-muted: #8f8d8d;
    --cart-border-radius: 20px;
    --cart-shadow: 0 0 2px rgba(0,0,0,.08), 0 2px 24px rgba(0,0,0,.06);
    --cart-shadow-hover: 0 4px 30px rgba(0,0,0,.12);
    --cart-transition: all 0.3s ease;
}

/* ----------------------------------------------------------------------------
   БАЗОВЫЕ СТИЛИ
   ---------------------------------------------------------------------------- */
.content {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
}

/* Убираем стрелки у input[number] */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

/* ----------------------------------------------------------------------------
   КОНТЕЙНЕР КОРЗИНЫ
   ---------------------------------------------------------------------------- */
.cart,
#cart-container {
    padding: 20px;
    display: grid;
    justify-content: space-evenly;
    align-items: baseline;
    background: var(--cart-bg);
    max-width: 1000px;
    justify-self: center;
    margin: 20px;
    border-radius: var(--cart-border-radius);
    box-shadow: var(--cart-shadow);
    grid-row: 1;
    height: max-content;
    transition: var(--cart-transition);
}

.cart_zagolovok {
    font-size: 25px;
    margin: 0;
    align-self: end;
    text-align: center;
    color: var(--cart-text);
}

.cart_opisanie {
    margin: 0;
}

.cart_opisanie_spasibo {
    font-size: 14px;
    color: var(--cart-primary);
    align-self: flex-start;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
}

.cart_opisanie_tel {
    font-size: 14px;
    color: var(--cart-text-muted);
}

/* ----------------------------------------------------------------------------
   СПИСОК ТОВАРОВ
   ---------------------------------------------------------------------------- */
.cart_tovary {
    list-style-type: none;
    display: grid;
    grid-gap: 12px;
    max-width: 1000px;
    padding: 0;
    border-radius: var(--cart-border-radius);
    margin-top: 40px;
}

.cart_tovar {
    display: grid;
    grid-template-areas:
        "foto nazvanie kolichestvo summa udalit"
        "foto dostavka kolichestvo summa .";
    background: var(--cart-bg-light);
    padding-right: 7px;
    grid-template-columns: 180px 7fr 1fr 100px;
    grid-template-rows: 2fr auto;
    align-items: center;
    border-radius: var(--cart-border-radius);
    transition: var(--cart-transition);
}

.cart_tovar:hover {
    box-shadow: var(--cart-shadow-hover);
    transform: translateY(-2px);
}

/* Товар в режиме оформления */
.cart_tovar_p {
    background: white;
}

/* ----------------------------------------------------------------------------
   ИЗОБРАЖЕНИЕ ТОВАРА
   ---------------------------------------------------------------------------- */
.cart_image {
    width: 150px;
    grid-area: foto;
    margin: 0;
    display: flex;
}

.cart_image_p {
    justify-self: center;
}

.cart_image_img {
    max-width: 150px;
    border-radius: var(--cart-border-radius);
    box-shadow: var(--cart-shadow);
    transition: var(--cart-transition);
}

.cart_image_img:hover {
    transform: scale(1.05);
}

.cart_image_img_p {
    max-width: 100px;
    padding: 7px;
    background: white;
    box-shadow: none;
}

/* ----------------------------------------------------------------------------
   НАЗВАНИЕ ТОВАРА
   ---------------------------------------------------------------------------- */
.cart_nazvanie {
    text-align: left;
    grid-area: nazvanie;
    padding-right: 30px;
    margin: 0;
    align-self: center;
    color: var(--cart-secondary);
    text-decoration: none;
    transition: var(--cart-transition);
    font-weight: 500;
}

.cart_nazvanie:hover {
    color: var(--cart-primary);
}

/* ----------------------------------------------------------------------------
   КОЛИЧЕСТВО ТОВАРА
   ---------------------------------------------------------------------------- */
.cart_kolich {
    grid-area: kolichestvo;
    margin: 0;
    text-align: center;
    font-weight: bold;
    background-color: #fbfbfb;
    border: none;
    border-radius: 24px;
    color: var(--cart-text);
    display: grid;
    justify-content: space-around;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    width: 120px;
    height: 40px;
    grid-template-areas: "min count plus";
}

.cart_kolich_p {
    background: none;
    color: #4e4d4a;
}

.cart_kn_kolich {
    border: 0;
    background: #ffffff;
    font-size: 20px;
    padding: 0;
    color: var(--cart-primary);
    box-shadow: var(--cart-shadow);
    cursor: pointer;
    transition: var(--cart-transition);
}

.cart_kn_kolich:hover:not(:disabled) {
    background: #4CAF50;
    color: white;
}

.cart_kn_kolich_disabled,
.cart_kn_kolich:disabled {
    cursor: not-allowed;
    border: solid 1px #e0e0e1;
    opacity: 0.5;
    color: #999;
}

.cart_kn_kolich_minus {
    border-radius: 24px 0 0 24px;
    height: 40px;
    margin-bottom: 5px;
}

.cart_kn_kolich_plus {
    margin-bottom: 5px;
    border-radius: 0 24px 24px 0;
    height: 40px;
}

.cart_kolich_znachenie {
    text-align: center;
    display: block;
    width: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    justify-self: center;
    align-self: center;
    outline: none;
    grid-area: count;
    white-space: nowrap;
    font-weight: bold;
    font-size: 14px;
}

.cart_kolich_znachenie:focus-visible {
    color: #616263;
    font-weight: bold;
    background: white;
    border-bottom: 1px solid rgb(239 227 227);
}

/* ----------------------------------------------------------------------------
   ЦЕНА И СУММА
   ---------------------------------------------------------------------------- */
.cart_cena {
    font-size: 12px;
    color: #3a3a3a;
    margin: 0;
    text-align: center;
    margin-top: 60px;
    grid-area: kolichestvo;
}

.cart_summa {
    grid-area: summa;
    padding-left: 15px;
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    color: var(--cart-text);
}

.cart_itogo {
    margin: 0;
    justify-self: end;
    font-size: 20px;
    font-weight: bold;
    color: var(--cart-text);
}

.cart_itogo_txt {
    color: var(--cart-text-muted);
    font-weight: normal;
}

/* ----------------------------------------------------------------------------
   КНОПКА УДАЛЕНИЯ
   ---------------------------------------------------------------------------- */
.cart_udalit {
    padding: 0;
    border: 0;
    grid-area: udalit;
    margin: 0;
    margin-top: 7px;
    background: #ffffff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #939393;
    font-size: 14px;
    box-shadow: var(--cart-shadow);
    align-self: start;
    cursor: pointer;
    transition: var(--cart-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart_udalit:hover {
    background: var(--cart-danger);
    color: white;
    transform: scale(1.1);
}

/* ----------------------------------------------------------------------------
   ДОСТАВКА
   ---------------------------------------------------------------------------- */
.cart_poluchenie_tovara {
    grid-area: dostavka;
    font-size: 12px;
    color: var(--cart-text-muted);
    margin: 0;
    display: grid;
    grid-template-areas:
        "i_point t_point"
        "i_dostavka t_dostavka";
    grid-template-columns: 26px 1fr;
    min-height: 35px;
}

.cart_icon {
    width: 16px;
    height: 16px;
    justify-self: center;
    fill: var(--cart-text-muted);
}

.cart_icon-point {
    grid-area: i_point;
}

.cart_poluchenie_tovara_salon {
    grid-area: t_point;
}

.cart_icon-dostavka {
    grid-area: i_dostavka;
}

.cart_poluchenie_tovara_dostavka {
    grid-area: t_dostavka;
}

/* ----------------------------------------------------------------------------
   ФОРМА ПОКУПАТЕЛЯ
   ---------------------------------------------------------------------------- */
.cart_info_pokupatela {
    display: grid;
    background: var(--cart-bg-form);
    grid-gap: 12px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 20px;
    border-radius: var(--cart-border-radius);
}

.cart_info_pokupatela_input {
    height: 50px;
    font-size: 16px;
    border: 1px solid rgba(54, 101, 212, 0.3);
    padding-left: 15px;
    background: rgb(249 249 249);
    border-radius: var(--cart-border-radius);
    outline: none;
    transition: var(--cart-transition);
}

.cart_info_pokupatela_input:focus {
    border-color: var(--cart-secondary);
    box-shadow: 0 0 0 3px rgba(69, 92, 150, 0.2);
}

.cart_info_pokupatela_input::placeholder {
    color: #999;
}

.cart_info_pokupatela_input_komment {
    height: 85px;
    padding-top: 12px;
    resize: vertical;
}

/* Валидация полей */
.cart_info_pokupatela_input.invalid,
.cart_info_pokupatela_input_tel.invalid {
    border: 2px solid #d32f2f;
    background: #fff5f5;
}

.cart_info_pokupatela_input.invalid:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2);
}

.cart_info_pers {
    font-size: 14px;
    color: #2f2f2f;
    margin: 10px 0 5px;
}

.cart_info_pers_ssylka {
    color: var(--cart-secondary);
    text-decoration: underline;
}

.cart_info_pers_ssylka:hover {
    color: var(--cart-primary);
}

.cart_info_nash_mail {
    font-size: 14px;
    color: var(--cart-secondary);
    font-style: italic;
    margin: 10px 0;
}

/* ----------------------------------------------------------------------------
   ФОРМА СОГЛАСИЙ (БЕЗ <br> !)
   ---------------------------------------------------------------------------- */
.consent_form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    margin: 10px 0;
    border: 2px solid transparent;
    transition: var(--cart-transition);
}

.consent_form label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
    padding: 8px 10px;
    border-radius: 8px;
    transition: var(--cart-transition);
}

.consent_form label:hover {
    background: rgba(255, 255, 255, 0.7);
}

.consent_form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--cart-primary);
}

.consent_form.invalid {
    border: 2px solid #d32f2f;
    background: rgba(255, 200, 200, 0.3);
}

/* ----------------------------------------------------------------------------
   КНОПКИ
   ---------------------------------------------------------------------------- */

/* Кнопка "Оформить заказ" / "Отправить заказ" */
.cart_oformit_zakaz {
    align-self: center;
    justify-self: center;
    background: var(--cart-primary);
    color: white;
    min-height: 50px;
    border-radius: 25px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 179, 8, 0.3);
    padding: 14px 40px;
    cursor: pointer;
    opacity: 1;
    margin-top: 20px;
    transition: var(--cart-transition);
}

.cart_oformit_zakaz:hover:not(:disabled) {
    background: var(--cart-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 179, 8, 0.4);
}

.cart_oformit_zakaz:active:not(:disabled) {
    transform: translateY(0);
}

.cart_oformit_zakaz:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #cccccc;
    box-shadow: none;
    transform: none;
}

/* Кнопка "Назад" / "Редактировать заказ" */
.cart_nazad {
    width: auto;
    min-width: 260px;
    align-self: center;
    background: #56b35f;
    color: white;
    min-height: 40px;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(86, 179, 95, 0.3);
    padding: 10px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--cart-transition);
}

.cart_nazad:hover:not(:disabled) {
    background: #4da656;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(86, 179, 95, 0.4);
}

.cart_nazad:disabled {
    background: #cccccc;
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----------------------------------------------------------------------------
   ПУСТАЯ КОРЗИНА
   ---------------------------------------------------------------------------- */
.zp_pusto {
    padding: 40px 20px;
    background: linear-gradient(135deg, #f0f4f8, #e8ecf1);
    border-radius: var(--cart-border-radius);
    text-align: center;
}

.zp_pusto h1 {
    color: var(--cart-text);
    margin-bottom: 20px;
}

.zp_pusto_zag {
    font-size: 18px;
    color: var(--cart-text-muted);
    margin-bottom: 20px;
}

.zp_pusto_ssylka {
    color: var(--cart-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    background: white;
    border-radius: 20px;
    display: inline-block;
    transition: var(--cart-transition);
}

.zp_pusto_ssylka:hover {
    background: var(--cart-primary);
    color: white;
}

/* ----------------------------------------------------------------------------
   СТРАНИЦА ПОДТВЕРЖДЕНИЯ ЗАКАЗА
   ---------------------------------------------------------------------------- */
.main-block.osnova {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    gap: 30px;
    grid-column: 1;
    grid-row: 1;
    height: max-content;
}

.zp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: var(--cart-transition);
    text-align: center;
}

.zp:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.zp_zag {
    font-size: 28px;
    color: var(--cart-primary);
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.zp_nomer,
.zp_svyaz {
    font-size: 16px;
    color: #333;
    margin: 8px 0;
    line-height: 1.5;
}

.zp h2 {
    font-size: 22px;
    color: var(--cart-primary);
    margin: 20px 0 0;
    font-weight: 600;
}

/* Блок отзывов */
.zp.otz {
    background: var(--cart-bg);
    border-radius: var(--cart-border-radius);
    padding: 25px;
    box-shadow: var(--cart-shadow);
    text-align: center;
}

.otz_zag {
    font-size: 18px;
    font-weight: bold;
    color: var(--cart-secondary);
    margin: 0 0 15px;
    line-height: 1.4;
}

.otz_text {
    font-size: 14px;
    color: #4e4d4a;
    margin: 10px 0;
    text-align: left;
}

.otz_skrin {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    margin: 10px auto;
    display: block;
    transition: var(--cart-transition);
    cursor: zoom-in;
    position: relative;
}

.otz_skrin:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

/* Подсказка "Нажмите для увеличения" */
.otz_skrin_wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.otz_skrin_wrapper::after {
    content: '🔍 Нажмите для увеличения';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.otz_skrin_wrapper:hover::after {
    opacity: 1;
}

/* ----------------------------------------------------------------------------
   LIGHTBOX (увеличение изображений)
   ---------------------------------------------------------------------------- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 95%;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
}

.lightbox-overlay.is-active .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--cart-transition);
    z-index: 10002;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: rotate(90deg);
}

.lightbox-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    pointer-events: none;
}

/* Мобильная адаптация lightbox */
@media screen and (max-width: 500px) {
    .lightbox-image {
        max-width: 100%;
        border-radius: 0;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .otz_skrin_wrapper::after {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Gmail предупреждение */
.zp_vnimanie_gmail {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

/* ----------------------------------------------------------------------------
   AJAX: LOADER
   ---------------------------------------------------------------------------- */
#cart-loader {
    display: none;
}

.cart-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.cart-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--cart-primary);
    border-radius: 50%;
    animation: cart-spin 0.8s linear infinite;
}

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

/* ----------------------------------------------------------------------------
   AJAX: УВЕДОМЛЕНИЯ
   ---------------------------------------------------------------------------- */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    background: #333;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transform: translateY(-20px) translateX(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 300px;
}

.cart-notification.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.cart-notification--success {
    background: linear-gradient(135deg, #00b308, #00a007);
}

.cart-notification--error {
    background: linear-gradient(135deg, #d32f2f, #c62828);
}

.cart-notification--info {
    background: linear-gradient(135deg, #1976d2, #1565c0);
}

/* ----------------------------------------------------------------------------
   СОСТОЯНИЯ ЭЛЕМЕНТОВ
   ---------------------------------------------------------------------------- */
.is-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--cart-primary);
    border-radius: 50%;
    animation: cart-spin 0.8s linear infinite;
}

.is-success {
    background: var(--cart-primary) !important;
    color: #fff !important;
}

/* Анимация удаления товара */
.cart_tovar.is-removing {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease-out;
}

/* ----------------------------------------------------------------------------
   АДАПТИВНОСТЬ: ПЛАНШЕТЫ
   ---------------------------------------------------------------------------- */
@media screen and (max-width: 690px) {
    .cart_tovar {
        grid-template-areas:
            "foto nazvanie nazvanie nazvanie udalit"
            "dostavka dostavka kolichestvo summa summa";
        padding-right: 7px;
        grid-template-columns: 114px 1fr 1fr 1fr 20px;
        align-items: center;
    }

    .cart_image {
        width: 114px;
    }

    .cart_image_img {
        width: 114px;
    }

    .cart_nazvanie {
        padding-right: 3px;
        font-size: 14px;
        padding-left: 7px;
    }

    .cart_cena {
        margin-top: 30px;
        margin-bottom: 8px;
    }

    .cart_kolich {
        justify-self: center;
        align-self: flex-end;
        height: auto;
        margin-bottom: 30px;
    }

    .main-block.osnova {
        margin: 10px;
        padding: 10px;
        gap: 20px;
    }

    .zp {
        padding: 20px;
        border-radius: 16px;
    }

    .zp_zag {
        font-size: 24px;
    }

    .zp h2 {
        font-size: 20px;
    }

    .zp.otz {
        padding: 15px;
    }

    .otz_zag {
        font-size: 16px;
    }

    .cart-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* ----------------------------------------------------------------------------
   АДАПТИВНОСТЬ: МОБИЛЬНЫЕ
   ---------------------------------------------------------------------------- */
@media screen and (max-width: 500px) {
    .cart_tovar {
        grid-template-areas:
            "foto udalit"
            "nazvanie nazvanie"
            "dostavka dostavka"
            "kolichestvo kolichestvo"
            "summa summa";
        grid-template-columns: 1fr 30px;
        padding: 15px;
    }

    .cart_summa {
        justify-self: center;
        padding: 10px;
        font-size: 17px;
    }

    .cart_cena {
        margin-top: 22px;
    }

    .cart,
    #cart-container {
        margin: 0;
        border-radius: 0;
    }

    .cart_info_pokupatela {
        border-radius: 12px;
        padding: 15px;
    }

    .cart_info_pokupatela_input {
        font-size: 16px; /* Предотвращает zoom на iOS */
    }

    .consent_form {
        padding: 10px;
    }

    .consent_form label {
        font-size: 12px;
        padding: 6px 8px;
    }

    .cart_oformit_zakaz {
        width: 100%;
        padding: 14px 20px;
    }

    .cart_nazad {
        width: 100%;
        min-width: auto;
    }

    .zp {
        padding: 15px;
    }

    .otz_text {
        text-align: center;
    }

    .cart-notification {
        top: auto;
        bottom: 20px;
        left: 10px;
        right: 10px;
    }
}

/* ----------------------------------------------------------------------------
   ПЕЧАТЬ
   ---------------------------------------------------------------------------- */
@media print {
    .cart_oformit_zakaz,
    .cart_nazad,
    .cart_udalit,
    .cart_kn_kolich,
    .cart-notification,
    #cart-loader {
        display: none !important;
    }

    .cart,
    #cart-container {
        box-shadow: none;
        background: white;
    }
}