.cart-status-top {
    float: right;
    display: flex;
    align-items: center;
    height: 45px; /* Высота серой полосы */
    margin-right: 0px; /* отступ кнопки от правого края */
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--main-color); /* Фон кнопки корзины */
    padding: 5px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

.cart-link:hover {
    filter: brightness(0.9);
}

.cart-icon {
    width: 26px !important;
    height: 26px !important;
    filter: brightness(0) invert(1); /* Делаем иконку белой */
}

.cart-label {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 400 !important; /* Тонкий шрифт */
    font-size: 18px !important;
    color: #fff !important; /* Белый текст */
    text-transform: none !important;
}

.cart-count {
    background: #fff !important; /* Белый кружок */
    color: #a1a1a1 !important; /* Красные цифры */
    padding: 5px 5px;
    border-radius: 3px;
    font-size: 13px !important;
    font-weight: 600 !important;
    min-width: 20px;
    text-align: center;
    font-family: 'Oswald', sans-serif;
}

/* Кнопка "В корзину" в каталоге */
.buy-btn {
    width: auto !important; /* Кнопка по размеру текста */
    background: var(--main-color) !important; /* Фон кнопки корзины */
    color: #fff !important;
    border: none !important;
    padding: 8px 20px !important; /* Отступы как на твоем скриншоте */
    font-family: 'Oswald', sans-serif !important;
    font-weight: 300 !important; /* Тонкий шрифт */
    font-size: 18px !important;
    text-transform: none !important; /* Без заглавных (как ты просил) */
    cursor: pointer !important;
    border-radius: 4px !important;
    transition: background 0.3s !important;
}

.buy-btn:hover {
    background: filter: brightness(0.8) !important;
}

/* Единый стиль плейсхолдеров точно как в админке */
.cart-wrapper textarea::placeholder,
.cart-wrapper input::placeholder {
    color: #bebebe !important;
    font-weight: 300 !important;
    font-size: 14px !important; /* Устанавливаем аккуратный размер */
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
    opacity: 1 !important;
}

/* Кроссбраузерная поддержка — везде меняем на 14px */
.cart-wrapper textarea::-webkit-input-placeholder, 
.cart-wrapper input::-webkit-input-placeholder { 
    color: #bebebe !important; 
    font-size: 14px !important; 
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
    opacity: 1 !important; 
}

.cart-wrapper textarea::-moz-placeholder, 
.cart-wrapper input::-moz-placeholder { 
    color: #bebebe !important; 
    font-size: 14px !important; 
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
    opacity: 1 !important; 
}

.cart-wrapper textarea:-ms-input-placeholder, 
.cart-wrapper input:-ms-input-placeholder { 
    color: #bebebe !important; 
    font-size: 14px !important; 
    font-family: 'Segoe UI', Tahoma, sans-serif !important;
    opacity: 1 !important; 
}




/* Мобильная версия */
@media (max-width: 1000px) {
    .cart-label {
        display: none !important; /* Прячем текст, оставляем иконку и цифру */
    }
    
    .cart-status-top {
        position: absolute !important;
        right: 10px !important; 
        top: 50% !important;
        transform: translateY(-50%) !important; 
        margin-right: 0 !important; 
        height: auto !important;
    }

    .cart-link {
        padding: 6px 10px !important;
        gap: 5px !important;
    }

    .cart-icon {
        width: 25px !important;
        height: 25px !important;
    }

    .cart-count {
        background: transparent !important; 
        color: #fff !important;                               
        padding: 0 !important;                                
        min-width: auto !important;           
        font-size: 15px !important; 
        font-weight: 300 !important; /* ДЕЛАЕМ ЦИФРУ ТОНКОЙ */
    }

    /* --- ИСПРАВЛЕНИЕ ОГРОМНЫХ ШРИФТОВ В КОРЗИНЕ --- */
    
    /* Названия товаров в таблице корзины */
    .cart-table td {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    /* Заголовки таблицы (Товар, Цена, Кол-во) */
    .cart-table th {
        font-size: 15px !important; /* Чуть меньше основного, чтобы не давило */
        text-transform: none !important;
    }

    /* Надписи над полями (Ваше имя, Телефон и т.д.) */
    #order-form-section label,
    .cart-wrapper label {
        font-size: 17px !important;
        margin-bottom: 5px !important;
        display: block !important;
    }

    /* Итоговая сумма */
    .cart-total {
        font-size: 18px !important; /* Чуть акцентнее, но не огромная */
    }

    /* Текст политики конфиденциальности и другие мелкие приписки */
    .cart-wrapper .privacy-policy,
    .cart-wrapper .form-note {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .buy-btn {
        font-size: 17px !important; /* Кнопка тоже 17px */
    }

    .hide-mobile {
        display: none !important;
    }

    .cart-table td, 
    .cart-table th {
        padding: 10px 5px !important;
    }
     
    /* Адаптивность формы заказа для мобильных устройств */
    @media (max-width: 768px) {
        #order-form-section div[style*="grid-template-columns: 1fr 1fr"] {
            grid-template-columns: 1fr !important;
            gap: 15px !important;
        }

        #order-form-section {
            padding: 15px !important;
        }

        #order-form-section div[style*="display: flex"] {
            gap: 15px !important;
        }
    }
}