 /* Настраиваем Flexbox для body, чтобы подвал всегда был в самом низу, 
           даже если товаров на странице мало */
        body {
           display: flex;
            flex-direction: column;
            min-height: 100vh;
			font-family: 'Arial', sans-serif;
        }

        /* Основной контент занимает все свободное пространство */
        main {
            flex: 1;
        }

        /* Настройки для картинки в шапке */
        /*.header {
            /* Укажите здесь путь к вашей картинке */
            background-image: url('header.jpg');
            background-size: cover;      /* Картинка заполняет весь блок без искажений */
            background-position: center; /* Центрируем картинку */
            height: 400px;               /* Высота шапки на компьютерах */
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* Тень для текста, чтобы он читался на любом фоне */
        }*/

        /* Делаем шапку чуть уже на мобильных телефонах */
        @media (max-width: 768px) {
            .header {
                height: 250px;
            }
        }
        
        /* Эффект при наведении на карточку товара */
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

       /* Базовые стили */
        .header {
            margin: 0;
            padding: 0;
            background-color: #bde4fc; /* Голубой фон страницы */
            font-family: 'Arial', sans-serif;
            display: flex;
            justify-content: center;
            padding: 40px 20px;

        }

        /* Белая карточка */
        .header-card {
            background-color: #ffffff;
            border-radius: 40px;
            padding: 40px 50px 50px;
            max-width: 1200px;
            width: 100%;
            box-sizing: border-box;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        /* Верхняя часть (Лого, Заголовок, Телефон) */
        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 30px;
        }

        /* Логотип-картинка */
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none; /* Убираем подчеркивание у ссылки */
        }
        .logo-img {
            height: 50px; /* Отрегулируйте высоту под вашу картинку */
            width: auto;
            display: block;
        }

        /* Центральные заголовки */
        .titles {
            text-align: center;
            flex-grow: 1;
            padding: 0 20px;
        }
        .titles h1 {
            color: #0b60b0;
            font-size: 38px;
            margin: 0 0 15px 0;
            font-weight: bold;
        }
        .titles p {
            color: #9a9a9a;
            font-size: 24px;
            margin: 0;
            line-height: 1.3;
        }

        /* Телефон */
        .phone {
            font-size: 26px;
            font-weight: bold;
            color: #0b60b0;
            text-decoration: none;
            white-space: nowrap;
        }

        /* Блок с условиями заказа */
        .conditions-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }
        .conditions {
            max-width: 700px;
            width: 100%;
            font-size: 15px;
            line-height: 1.5;
            color: #333;
        }
        .conditions strong {
            display: block;
            margin-bottom: 5px;
            font-size: 15px;
        }
        .conditions ol {
            margin: 0 0 15px 0;
            padding-left: 0;
            list-style: none;
        }
        .conditions p {
            margin: 0;
        }

        /* Кнопка */
        .action-button-wrapper {
            text-align: center;
        }
        .action-button {
            display: inline-block;
            background-color: #bde4fc;
            color: #000;
            text-decoration: none;
            font-weight: bold;
            font-size: 14px;
            padding: 18px 45px;
            border-radius: 30px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: background-color 0.3s ease;
        }
        .action-button:hover {
            background-color: #a1d8fb;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 992px) {
            .header-top {
                flex-direction: column;
                align-items: center;
                gap: 20px;
            }
            .titles h1 { font-size: 28px; }
            .titles p { font-size: 18px; }
        }

/* Обертка для плавающей корзины */
.floating-cart-wrapper {
    position: fixed;
    bottom: 30px;  /* Отступ снизу */
    right: 30px;   /* Отступ справа */
    z-index: 1040; /* Значение чуть меньше модальных окон Bootstrap (1050), чтобы корзина их не перекрывала */
    background-color: #0b60b0; /* Цвет вашего бренда (взял с шапки) */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.floating-cart-wrapper:hover {
    transform: scale(1.05); /* Легкое увеличение при наведении */
}

/* Сбрасываем стандартные отступы компонента Битрикса внутри нашей кнопки */
.floating-cart-wrapper .bx-basket {
    padding: 15px 25px;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Цвет текста и ссылок внутри корзины делаем белым */
.floating-cart-wrapper .bx-basket,
.floating-cart-wrapper .bx-basket a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}
