/* ==========================================================================
   СТРАНИЦА КОРЗИНЫ (НОВЫЙ ДИЗАЙН)
   ========================================================================== */

/* 1. ГЛОБАЛЬНЫЙ СБРОС ТАБЛИЦЫ */
.a-cart-table {
    display: block; /* Отключаем жесткое поведение таблицы */
    width: 100%; /* Растягиваем на всю ширину */
    border-collapse: collapse; /* Убираем двойные рамки */
}

.a-cart-table tbody {
    display: block; /* Отключаем поведение tbody как таблицы */
    width: 100%; /* Растягиваем на всю ширину */
}

/* 2. КАРТОЧКА ТОВАРА (СТРОКА ТАБЛИЦЫ) */
.a-cart-table__row {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 10px; /* Чуть меньше скругление */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); /* Более легкая тень */
    margin-bottom: 8px; /* Уменьшили отступ между карточками */
    padding: 10px 15px; /* Уменьшили внутренние отступы */
    transition: all 0.2s ease;
}

.a-cart-table__row:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #d0d0d0;
}

/* 3. ЯЧЕЙКИ ТАБЛИЦЫ */
.a-cart-table__td {
    display: flex; /* Делаем ячейку флекс-контейнером */
    align-items: center; /* Центрируем содержимое ячейки по вертикали */
    border: none !important; /* Убираем стандартные рамки ячеек */
    padding: 0 !important; /* Убираем стандартные отступы ячеек */
}

/* 4. БЛОК С КАРТИНКОЙ */
.a-cart-table__td_img {
    width: 60px; /* Уменьшили картинку */
    height: 60px;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 15px !important; /* Уменьшили отступ от картинки */
}

.a-cart-table__td_img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
    border: none;
    padding: 0;
    background: #fff;
}

/* 5. БЛОК С НАЗВАНИЕМ ТОВАРА */
.a-cart-table__td_name {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 20px !important;
}

.a-cart-table__item-title {
    font-size: 14px; /* Уменьшили размер шрифта */
    font-weight: 500; /* Сделали тоньше */
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.a-cart-table__props {
    font-size: 12px; /* Уменьшили размер шрифта */
    color: #888;
    line-height: 1.4;
}

/* 6. БЛОК С КОЛИЧЕСТВОМ */
.a-cart-table__td_count {
    width: 130px; /* Фиксированная ширина блока */
    flex-shrink: 0; /* Запрещаем сжиматься */
    justify-content: center; /* Центрируем счетчик по горизонтали */
}

/* 7. БЛОК С ЦЕНОЙ */
.a-cart-table__td_price {
    width: 120px; /* Уменьшили ширину блока */
    flex-shrink: 0;
    justify-content: flex-end;
    color: #0B8661;
    font-size: 14px; /* Уменьшили размер шрифта */
    font-weight: 600;
    padding-right: 15px !important;
}

/* 8. БЛОК С ИКОНКОЙ УДАЛЕНИЯ */
.a-cart-table__td_remove {
    width: 24px;
    flex-shrink: 0;
    justify-content: center;
}

.a-cart-table__td_remove a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.a-cart-table__td_remove .icon--remove,
.a-cart-table__td_remove svg {
    width: 16px !important; /* Уменьшили иконку мусорки */
    height: 16px !important;
    fill: #cccccc;
    transition: fill 0.2s ease;
}

.a-cart-table__td_remove:hover .icon--remove,
.a-cart-table__td_remove:hover svg {
    fill: #d9534f;
}

/* ==========================================================================
   ПОДВАЛ КОРЗИНЫ (ИТОГО И КНОПКА)
   ========================================================================== */
.a-cart-page__footer {
    margin-top: 15px;
}

.a-cart-page__footer .product-cart {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 10px;
    padding: 12px 15px; /* Сделали подвал еще компактнее */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.c-table__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.c-table__total {
    display: flex;
    align-items: center;
    margin: 0;
}

.c-table__total-sum {
    display: flex;
    align-items: center;
    margin: 0;
}

.c-table__total-sum .title {
    font-size: 14px; /* Уменьшили */
    color: #666;
    margin-right: 10px;
    font-weight: 400; /* Сделали тоньше */
}

.c-table__total-sum .total-sum strong {
    color: #0B8661;
    font-size: 18px; /* Уменьшили с 22px */
    font-weight: 600;
}

/* Кнопка оформления */
.checkout-btn {
    background-color: #0B8661 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 20px !important; /* Сделали кнопку аккуратнее */
    font-size: 13px !important; /* Шрифт кнопки меньше */
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
}

.checkout-btn:hover {
    background-color: #0a6e51 !important;
    box-shadow: 0 4px 10px rgba(11, 134, 97, 0.2) !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   АДАПТИВ ДЛЯ МОБИЛЬНЫХ ТЕЛЕФОНОВ
   ========================================================================== */
@media (max-width: 767px) {
    .a-cart-table__row {
        flex-wrap: wrap; /* Разрешаем перенос элементов */
        position: relative; /* Для абсолютного позиционирования крестика */
        padding: 15px; /* Уменьшаем отступы */
        gap: 10px; /* Отступы между элементами */
    }

    .a-cart-table__td_img {
        width: 60px; /* Уменьшаем картинку */
        height: 60px;
        margin-right: 0 !important; /* Убираем жесткий отступ, работает gap */
    }

    .a-cart-table__td_name {
        width: calc(100% - 80px); /* Текст занимает оставшееся место */
        padding: 0 !important; /* Убираем отступы */
    }

    .a-cart-table__td_count {
        width: 100%; /* Количество на новую строку */
        justify-content: flex-start; /* Прижимаем влево */
        margin-top: 10px; /* Отступ сверху */
        padding-left: 70px !important; /* Выравниваем под текст */
    }

    .a-cart-table__td_price {
        width: 100%; /* Цена на новую строку */
        justify-content: flex-start; /* Прижимаем влево */
        margin-top: 5px; /* Отступ сверху */
        padding-left: 70px !important; /* Выравниваем под текст */
        text-align: left; /* Выравнивание текста влево */
    }

    .a-cart-table__td_remove {
        position: absolute; /* Абсолютное позиционирование */
        top: 15px; /* В правом верхнем углу */
        right: 15px;
        width: auto; /* Авто-ширина */
    }

    .c-table__footer {
        flex-direction: column; /* Элементы друг под другом */
        align-items: stretch; /* Растягиваем на всю ширину */
    }
    
    .c-table__total {
        justify-content: center; /* Центрируем сумму */
    }

    .checkout-btn {
        width: 100%; /* Кнопка на всю ширину */
        text-align: center; /* Текст по центру */
    }
}

/* ==========================================================================
   ПУСТАЯ КОРЗИНА
   ========================================================================== */
.empty-cart-block {
    display: flex; /* Флекс-контейнер */
    flex-direction: column; /* Элементы друг под другом */
    align-items: center; /* Центрируем по горизонтали */
    padding: 40px 20px; /* Отступы */
    text-align: center; /* Текст по центру */
    background: #fff; /* Белый фон */
    border-radius: 12px; /* Скругленные углы */
    border: 1px solid #ececec; /* Рамка */
}

.empty-cart-block__text {
    margin-bottom: 20px; /* Отступ до кнопки */
    font-size: 16px; /* Размер шрифта */
    color: #666; /* Серый цвет */
}

/* Отделяем контент корзины от верхнего баннера */
.a-cart-page .block-wrapper {
    margin-top: 20px; /* Отступ сверху */
}

/* ==================== ФОРМА ОФОРМЛЕНИЯ ЗАКАЗА ==================== */

.c-order {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Главная белая карточка */
.beauty-order-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid #ececec;
    padding: 40px;
    box-sizing: border-box;
    width: 100%;
}

/* Сетка из двух колонок */
.beauty-order-grid {
    display: flex;
    gap: 60px; /* Увеличили отступ между колонками */
    align-items: flex-start;
}

.beauty-order-col {
    flex: 1;
    min-width: 0; /* Защита от переполнения */
}

.beauty-order-section {
    margin-bottom: 40px;
}

/* Заголовки секций */
.beauty-order-card .auth-form-title {
    border-bottom: 1px solid #ececec;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==================== СПИСКИ ДОСТАВКИ И ОПЛАТЫ ==================== */
.beauty-custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.beauty-custom-list > li {
    margin-bottom: 12px;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.beauty-custom-list > li:hover {
    background: #f0f9f5;
    border-color: #cbe9cd;
}

/* Если элемент выбран (active) */
.beauty-custom-list > li.active {
    background: #ffffff;
    border-color: #0B8661;
    box-shadow: 0 2px 8px rgba(11, 134, 97, 0.08);
}

.beauty-custom-list label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.beauty-custom-list input[type="radio"] {
    margin-right: 15px;
    accent-color: #0B8661;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.beauty-custom-list .deliveryName {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.beauty-custom-list .deliveryPrice {
    font-weight: 700;
    color: #0B8661;
    white-space: nowrap;
}

.beauty-custom-list .deliveryInfo {
    width: 100%;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
    padding-left: 33px;
}

/* ==================== БЛОК КОНТАКТНЫХ ДАННЫХ ==================== */
/* Стилизация полей ввода внутри карточки (аккуратные отступы) */
.beauty-order-card input[type="text"],
.beauty-order-card input[type="email"],
.beauty-order-card input[type="tel"],
.beauty-order-card textarea,
.beauty-order-card select {
    width: 100% !important;
    padding: 10px 15px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 14px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    transition: border-color 0.15s ease !important;
    background: #fff !important;
    box-sizing: border-box !important;
}

.beauty-order-card input:focus,
.beauty-order-card textarea:focus,
.beauty-order-card select:focus {
    outline: none !important;
    border-color: #0B8661 !important;
    box-shadow: 0 0 0 3px rgba(11, 134, 97, 0.12) !important;
}

/* ==================== ИТОГОВАЯ СУММА ==================== */
.beauty-order-total {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #ececec;
    margin-bottom: 20px;
}

.beauty-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

.beauty-total-row:last-child {
    margin-bottom: 0;
}

.beauty-total-price {
    font-weight: 700;
    color: #0B8661;
    font-size: 20px;
}

/* Кнопка оформления */
.agreement-wrapper {
    margin-bottom: 20px;
}

.submit-wrapper .list-orders-btn-submit {
    width: 100% !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    background-color: #0B8661 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.submit-wrapper .list-orders-btn-submit:hover:not([disabled]) {
    background-color: #0a6e51 !important;
    box-shadow: 0 4px 12px rgba(11, 134, 97, 0.3) !important;
    transform: translateY(-1px) !important;
}

.submit-wrapper .list-orders-btn-submit[disabled] {
    background-color: #cccccc !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Адаптив */
@media (max-width: 900px) {
    .beauty-order-grid {
        flex-direction: column;
        gap: 20px;
    }
    .beauty-order-card {
        padding: 20px;
    }
}

/* ==================== ПЕРЕКЛЮЧАТЕЛЬ ДОСТАВКИ (В СТИЛЕ ЛК) ==================== */
/* Общая зеленая подложка для всего переключателя */
.delivery-toggle-wrap {
    display: flex;
    background: #e8f5ec; /* Светло-зеленый фон */
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid #cbe9cd;
    list-style: none; /* Убираем точки списка */
}

/* Обертка для каждой кнопки */
.delivery-toggle-item {
    flex: 1; /* Кнопки делят ширину поровну */
    display: block;
    margin: 0;
    padding: 0;
}

/* Стилизация самой кнопки */
.delivery-toggle-wrap .toggle-label {
    display: block;
    cursor: pointer;
    position: relative;
    margin: 0;
    width: 100%;
}

/* Скрываем стандартный кружок */
.delivery-toggle-wrap input[type="radio"] {
    display: none;
}

/* Текст внутри кнопки */
.delivery-toggle-text {
    display: flex;
    justify-content: center; /* Центрируем содержимое */
    align-items: center;
    gap: 10px; /* Отступ между названием и ценой */
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #0B8661; /* Зеленый текст у неактивной */
    border-radius: 6px;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

/* АКТИВНАЯ КНОПКА (Ярко-зеленая, белый текст) */
.delivery-toggle-wrap input[type="radio"]:checked + .delivery-toggle-text {
    background: #0B8661;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(11, 134, 97, 0.2);
}

/* Цена внутри */
.delivery-toggle-wrap .deliveryPrice {
    font-weight: 700;
}

/* Мобильная версия */
@media (max-width: 767px) {
    .delivery-toggle-wrap {
        flex-direction: column;
        gap: 4px; /* Небольшой отступ между кнопками на мобилке */
    }
}

/* ==================== ПЕРЕКЛЮЧАТЕЛЬ ФИЗ/ЮР ЛИЦО ==================== */
.customer-type-toggle {
    display: flex;
    background: #e8f5ec;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 15px;
    border: 1px solid #cbe9cd;
}

.customer-type-toggle .toggle-label {
    flex: 1;
    text-align: center;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.customer-type-toggle input[type="radio"] {
    display: none;
}

.customer-type-toggle .toggle-text {
    display: block;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0B8661;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.customer-type-toggle input[type="radio"]:checked + .toggle-text {
    background: #0B8661;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(11, 134, 97, 0.2);
}

/* ==================== КОРРЕКТИРОВКА ОТСТУПОВ В ФОРМЕ ЗАКАЗА ==================== */
/* Убираем лишний отступ снизу у поля "Комментарий к заказу" */
.beauty-order-card .form-list .c-order__list--width {
    margin-bottom: 5px !important;
}

/* Уменьшаем отступ у блока с Плательщиком */
.beauty-order-card .form-list .c-order-field.flex100 {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

/* Уменьшаем отступ у заголовка "Плательщик" */
.beauty-order-card .c-order-field__title {
    margin-bottom: 5px !important;
}

/* Уменьшаем отступ у самого переключателя Физ/Юр */
.beauty-order-card .customer-type-toggle {
    margin-bottom: 0 !important;
}

/* Уменьшаем отступ у блока с Реквизитами */
.beauty-order-card .yur-field-requisites {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

/* Убираем лишний отступ у самого поля ввода реквизитов, так как отступы задаются li */
.beauty-order-card .yur-field-requisites textarea {
    margin-bottom: 0 !important;
}

/* Уменьшаем отступ у блока с загрузкой Макета */
.beauty-order-card .form-list li:has(.orderFileContainer) {
    margin-top: 10px !important;
}

/* ==================== УБИРАЕМ ИКОНКИ КАРТ В БЛОКЕ ОПЛАТЫ ==================== */
/* Скрываем картинки и пустые спаны с иконками внутри списка оплат */
.payment-details-list img,
.payment-details-list span[class^="icon-payment-"],
.payment-details-list .payment-icon {
    display: none !important;
}

/* Делаем сам блок оплаты чуть аккуратнее, так как иконки исчезнут */
.payment-details-list label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

/* ==================== КРАСИВЫЙ ЧЕКБОКС СОГЛАСИЯ ==================== */
.agreement-wrapper {
    margin-bottom: 20px;
}

.agreement-wrapper label,
.agreement__label {
    display: flex;
    align-items: center; /* Центрирование по вертикали */
    gap: 10px; /* Отступ между квадратиком и текстом */
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.agreement-wrapper input[type="checkbox"],
.js-agreement-checkbox-checkout-btn {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    margin: 0;
    transition: all 0.2s ease;
    position: relative;
}

.agreement-wrapper input[type="checkbox"]:hover,
.js-agreement-checkbox-checkout-btn:hover {
    border-color: #0B8661;
}

.agreement-wrapper input[type="checkbox"]:checked,
.js-agreement-checkbox-checkout-btn:checked {
    background-color: #0B8661;
    border-color: #0B8661;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.agreement-wrapper input[type="checkbox"]:focus,
.js-agreement-checkbox-checkout-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 134, 97, 0.15);
}

.agreement-wrapper a {
    color: #0B8661;
    text-decoration: underline;
    text-decoration-color: rgba(11, 134, 97, 0.3);
    transition: text-decoration-color 0.2s;
}

.agreement-wrapper a:hover {
    text-decoration-color: #0B8661;
}

/* ==================== СТИЛИ БЛОКА "ВСЕГО К ОПЛАТЕ" ==================== */
/* Делаем "Сумму изделий" и "Доставку" одинаковыми, аккуратными, серыми */
.beauty-order-total .summ-info .beauty-total-price,
.beauty-order-total .delivery-summ {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #555555 !important;
}

/* Финальная строка "К оплате" */
.beauty-total-final {
    border-top: 1px solid #ececec;
    padding-top: 12px;
    margin-top: 12px;
}

.beauty-total-final span:first-child {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0B8661 !important;
}

.beauty-total-final #final-total-price {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #0B8661 !important;
}

/* Убираем черточку при самовывозе */
.beauty-total-final.is-pickup {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Метка (предварительно) */
.delivery-preliminary-label {
    font-size: 12px;
    color: #888888;
    font-weight: 400;
    display: inline-block;
    margin-left: 2px;
}

/* ==================== УБИРАЕМ ПРЫЖКИ ПРИ СМЕНЕ ОПЛАТЫ ==================== */
/* Фиксируем минимальную высоту для списка оплат, чтобы он не схлопывался при загрузке */
.payment-details-list {
    min-height: 110px; /* Высота примерно под 2 варианта оплаты. Если вариантов больше, увеличьте это число (например, до 160px) */
    transition: min-height 0.3s ease;
}

/* Также забронируем высоту для самой секции оплаты, чтобы заголовок "3. Способ оплаты" стоял на месте */
.beauty-order-section:nth-child(1) {
    min-height: 180px;
}

/* ============================================================================
   BEAUTY-PRINT: «x1» не показываем нигде
   ============================================================================
   В корзине количество всегда 1 (тираж — единица товара), поэтому подпись
   вида «x1» лишняя и в выпадающей мини-корзине, и во всплывающем окне.
   Правило оставлено страховкой: всплывающее окно наполняется скриптом,
   и если он строит строку по своему шаблону, эта строка всё равно скроется.
   ============================================================================ */
.qty__inner {
    display: none !important;
}

/* ==========================================================================
   ЗАГРУЗКА МАКЕТОВ КЛИЕНТОМ (страница заказа)
   ========================================================================== */

.beauty-upload-cell {
    padding: 0.4rem 0.8rem 0.6rem;
    background: #fbfdfc;
}

.beauty-upload-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.beauty-upload-btn {
    border: 1px dashed #0b8661;
    background: #fff;
    color: #0b8661;
    border-radius: 4px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.beauty-upload-btn:hover {
    background: #eef7f3;
}

.beauty-upload-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.beauty-upload-comment {
    flex: 1 1 220px;
    min-width: 160px;
    border: 1px solid #dfe9e5;
    border-radius: 4px;
    padding: 0.28rem 0.45rem;
    font-size: 0.8rem;
}

.beauty-upload-status {
    font-size: 0.75rem;
    color: #6d7d78;
}

.beauty-upload-status.is-error {
    color: #c2453f;
}

.beauty-upload-status.is-ok {
    color: #0b8661;
}

.beauty-upload-progress {
    margin-top: 0.35rem;
    height: 4px;
    background: #e8f0ed;
    border-radius: 2px;
    overflow: hidden;
}

.beauty-upload-bar {
    height: 100%;
    width: 0;
    background: #0b8661;
    transition: width 0.2s ease;
}

.beauty-upload-list {
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.beauty-upload-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    background: #f2f8f5;
    border: 1px solid #dcebe4;
    border-radius: 4px;
    padding: 0.22rem 0.45rem;
}

.beauty-upload-item-name {
    color: #0b8661;
    word-break: break-all;
}

.beauty-upload-item-size {
    color: #8a9a95;
    font-size: 0.72rem;
}

.beauty-upload-item-remove {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #b3c0bb;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

.beauty-upload-item-remove:hover {
    color: #c2453f;
}

/* ==========================================================================
   ЗОНА ПЕРЕТАСКИВАНИЯ МАКЕТА
   ==========================================================================
   Клиент может приложить макет двумя способами: кнопкой (системный диалог)
   или перетащив файл прямо в эту строку. Второй способ важен: диалог
   Windows на «тяжёлых» папках (десятки архивов) может подвисать, а drag & drop
   от него не зависит.
   ========================================================================== */

.beauty-upload-dropzone {
    border: 1px dashed #d9ece3;
    border-radius: 6px;
    background: linear-gradient(180deg, #fbfdfc 0%, #f5faf7 100%);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Файл тащат над строкой — подсвечиваем её. */
.beauty-upload-dropzone.is-dragover {
    background: #eef7f3;
    border-color: #0b8661;
    box-shadow: inset 0 0 0 2px rgba(11, 134, 97, 0.12);
}

/* Подпись подсказки. */
.beauty-upload-hint {
    font-size: 0.78rem;
    color: #8aa39a;
    white-space: nowrap;
}

.beauty-upload-dropzone.is-dragover .beauty-upload-hint {
    color: #0b8661;
    font-weight: 600;
}

/* На узких экранах подсказку переносим под кнопку. */
@media (max-width: 640px) {
    .beauty-upload-hint {
        flex: 1 1 100%;
        white-space: normal;
    }
}

/* ==================== СРОК ИЗГОТОВЛЕНИЯ В КОРЗИНЕ ==================== */

.beauty-cart-terms {
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #8a9a95;
}

.beauty-cart-terms__title {
    color: #8a9a95;
}

.beauty-cart-terms__date {
    color: #0B8661;
    font-weight: 600;
}

.beauty-cart-terms__note {
    color: #8a9a95;
}