/* ===== BANNER.CSS - СТИЛИ ДЛЯ МИНИМАЛЬНОГО ЗАКАЗА ===== */
/* Файл: assets/css/banner.css */

/* Основной контейнер banner */
.minimum-order-banner {
    background: linear-gradient(135deg, #efa8b0, #a89cc8, #8cc9f0);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;  /* auto = по центру */
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(140, 201, 240, 0.3);
    transition: all 0.3s ease;
    border: none;
    width: 100%; 
    box-sizing: border-box;
    font-family: inherit;
}

.minimum-order-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(140, 201, 240, 0.4);
}

/* Декоративные элементы */
.banner-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bannerFloat 3s ease-in-out infinite;
    pointer-events: none;
}

.banner-decoration:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: block;
}

@keyframes bannerFloat {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* Контент banner */
.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Иконка */
.banner-icon {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin: 0;
    padding: 0;
}

.banner-icon img {
width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;     /* НЕ contain, а COVER! */
    border-radius: 50% !important;
}

/* Текстовый блок */
.banner-text {
    flex: 1;
    color: white;
    margin: 0;
    padding: 0;
}

/* Заголовок banner */
.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    padding: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: white !important;
    line-height: 1.2;
    font-family: inherit;
    letter-spacing: normal;
}

/* Подзаголовок banner */
.banner-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    opacity: 0.95;
    line-height: 1.4;
    color: white;
    font-family: inherit;
}

/* Выделенная сумма */
.banner-amount {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin: 0 0.2rem;
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    text-decoration: none;
}

/* Кнопка CTA */
.banner-cta {
    flex-shrink: 0;
    background: white;
    color: #8cc9f0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: inline-block;
    line-height: 1;
    font-family: inherit;
    margin: 0;
}

.banner-cta:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #7bb8df;
    text-decoration: none;
}

/* ===== АДАПТИВНЫЕ СТИЛИ ===== */

/* Планшеты */
@media screen and (max-width: 768px) {
    .minimum-order-banner {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .banner-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .banner-cta {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .banner-decoration {
        display: none;
    }
}

/* Мобильные устройства */
@media screen and (max-width: 480px) {
    .minimum-order-banner {
        padding: 1.2rem;
        border-radius: 12px;
        margin: 1rem 0;
    }

    .banner-title {
        font-size: 1.3rem;
    }

    .banner-subtitle {
        font-size: 0.95rem;
    }

    .banner-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .banner-content {
        gap: 1rem;
    }

    .banner-cta {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

/* Очень маленькие экраны */
@media screen and (max-width: 320px) {
    .minimum-order-banner {
        padding: 1rem;
        margin: 0.8rem 0;
    }

    .banner-title {
        font-size: 1.1rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .banner-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .minimum-order-banner {
        width: calc(100% - 20px) !important;  /* Меньше отступы на мобиле */
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        transform: none !important;
        margin: 1.5rem 10px !important;  /* Отступы по 10px */
    }
}

@media screen and (max-width: 480px) {
    .minimum-order-banner {
        width: calc(100% - 10px) !important;  /* Еще меньше отступы */
        margin: 1rem 5px !important;  /* Отступы по 5px */
    }
}