/* Додайте це на самому початку CSS */
*, *::before, *::after {
    box-sizing: border-box; /* Дуже важливо для коректних розмірів */
}

/* Оновіть клас .glass-header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Замість width: 100% - це безпечніше */
    width: auto;

    /* Збільшуємо відступ справа, щоб корзина не липла до краю екрану */
    padding: 10px 50px 10px 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
}

/* Додатковий фікс для мобільного, щоб там теж не вилазило */
@media (max-width: 900px) {
    .glass-header {
        padding: 10px 20px !important;
        right: 0;
        width: auto;
    }
}
/* =========================================
   1. ЗМІННІ ТА БАЗОВІ СТИЛІ
   ========================================= */
:root {
    --brand-blue: #0f3460;
    --brand-orange: #ff8008;
    --brand-gradient: linear-gradient(135deg, #ffc837 0%, #ff8008 100%);
    --text-main: #0f3460;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0; padding: 0;
    background: linear-gradient(135deg, #f4f7f6 0%, #eef2f3 100%);
    color: var(--text-main);
    min-height: 100vh;
    display: flex; flex-direction: column;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* =========================================
   2. ХЕДЕР (ПРОЗОРИЙ + ПРОПУСКАЄ КЛІКИ)
   ========================================= */
.glass-header {
    position: fixed;
    top: 0; left: 0; width: 100%;

    /* Зменшив відступ зверху, щоб підняти елементи (було 25px) */
    padding: 10px 40px;

    display: flex; align-items: center; justify-content: space-between;
    z-index: 1000;
    background: transparent;

    /* !!! ГОЛОВНА ФІШКА !!! */
    /* Робить сам контейнер прозорим для кліків мишки.
       Можна клікати "крізь" пусте місце */
    pointer-events: none;
}

/* Відновлюємо кліки для логотипу */
.logo {
    pointer-events: auto;
    margin-right: 20px;
}

.logo a {
    font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; text-transform: uppercase;
    display: flex; align-items: center; line-height: 1;
}
.brand-roal { color: var(--brand-blue); }
.brand-go {
    color: transparent; background: var(--brand-gradient);
    background-clip: text; -webkit-background-clip: text;
}

/* Десктопна навігація: Розтягуємо, щоб розподілити місце */
.desktop-nav {
    display: flex; align-items: center;
    flex-grow: 1; /* Займає весь вільний простір */
    justify-content: space-between; /* Розносить пошук і кнопки по краях */
    gap: 20px;
    pointer-events: none; /* Контейнер теж пропускає кліки */
}

/* Контейнер пошуку */
.header-search-container {
    flex-grow: 1;
    max-width: 600px; /* Обмежуємо ширину, щоб не був гігантським */
    position: relative;
    margin: 0 auto; /* Центруємо пошук */
    pointer-events: auto; /* ВМИКАЄМО кліки для пошуку */
}

/* Блок з кнопками валюти і входу */
.header-actions {
    display: flex; align-items: center; gap: 15px;
    pointer-events: auto; /* ВМИКАЄМО кліки для кнопок */
}

/* Блок корзини (окремо праворуч) */
.glass-header > div:last-child {
    pointer-events: auto; /* ВМИКАЄМО кліки для корзини */
    margin-left: 20px;
}

/* === APPLE "LIQUID GLASS" ДИЗАЙН === */
.header-search-form {
    display: flex; align-items: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border-radius: 50px;
    padding: 6px 15px 6px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%; /* На всю ширину контейнера */
}

.header-search-form:hover,
.header-search-form:focus-within {
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, 1),
        0 15px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.header-search-input {
    border: none; background: transparent; width: 100%; outline: none;
    color: var(--brand-blue); font-weight: 500; font-size: 1.05rem;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.header-search-input::placeholder {
    color: rgba(15, 52, 96, 0.6); font-weight: 400;
}

.header-search-btn {
    width: 42px; height: 42px;
    border-radius: 50%; border: none;
    background: transparent;
    color: #2c2c2c; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s; font-size: 1.3rem; opacity: 0.8;
}
.header-search-btn:hover { transform: scale(1.1); opacity: 1; color: #000; }

/* КНОПКИ (Скло) */
.glass-btn {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 8px 16px; border-radius: 12px;
    font-weight: 700; color: var(--brand-blue);
    cursor: pointer; display: flex; align-items: center; gap: 8px;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15); transform: translateY(-2px);
    color: var(--brand-orange);
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 1), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.currency-switch button { background: none; border: none; cursor: pointer; font-weight: 700; color: rgba(15, 52, 96, 0.6); padding: 0 5px; transition: 0.3s; }
.currency-switch button.active { color: var(--brand-orange); transform: scale(1.1); text-shadow: 0 1px 0 rgba(255,255,255,0.8); }

/* =========================================
   КРАСИВА КОРЗИНА (ОНОВЛЕНО)
   ========================================= */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 52, 96, 0.6); /* Темно-синій фон */
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; opacity: 0; transition: opacity 0.3s;
    justify-content: flex-end;
}
.cart-overlay.active { display: flex; opacity: 1; }

.cart-modal {
    background: #fff;
    width: 100%; max-width: 450px; /* Трохи вужча, акуратніша */
    height: 100vh;
    display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}
.cart-overlay.active .cart-modal { transform: translateX(0); }

.cart-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex; justify-content: space-between; align-items: center;
    background: #fff;
}
.cart-title {
    font-size: 1.4rem; font-weight: 800; color: var(--brand-blue); margin: 0;
    display: flex; align-items: center; gap: 10px;
}
.cart-close {
    background: none; border: none; font-size: 2rem; color: #ccc;
    cursor: pointer; transition: 0.3s; line-height: 1;
    transform: rotate(45deg); /* Хрестик */
}
.cart-close:hover { color: var(--brand-orange); transform: rotate(135deg); }

.cart-body {
    flex-grow: 1; overflow-y: auto; padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-orange) #f1f1f1;
}

/* Стиль елемента в корзині */
.cart-item {
    display: flex; align-items: center; gap: 15px;
    padding: 15px; margin-bottom: 15px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.2s;
}
.cart-item:hover { transform: translateY(-2px); border-color: rgba(255, 128, 8, 0.3); }

.cart-item-img {
    width: 70px; height: 70px; object-fit: contain;
    border-radius: 10px; background: #f9f9f9; padding: 5px;
}
.cart-item-info { flex-grow: 1; }
.cart-item-title {
    font-weight: 700; color: var(--brand-blue); display: block;
    margin-bottom: 5px; font-size: 0.95rem; line-height: 1.2;
}
.cart-item-details { font-size: 0.8rem; color: #888; }
.cart-item-price {
    font-weight: 800; color: var(--brand-orange); font-size: 1.1rem; whitespace: nowrap;
}
.cart-item-remove {
    background: rgba(255,0,0,0.05); color: #ff4757; border: none;
    width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.2s; margin-left: 10px;
}
.cart-item-remove:hover { background: #ff4757; color: white; }

.cart-trigger {
    position: relative;
    width: 48px; height: 48px;
    border-radius: 50%; /* Робить кнопку круглою */

    /* Скляний ефект */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0,0,0,0.05);

    color: var(--brand-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; transition: 0.3s;

    /* Прибираємо стандартні стилі кнопки */
    padding: 0; margin: 0;
}

.cart-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: var(--brand-orange);
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 1), 0 10px 25px rgba(0,0,0,0.1);
}

/* Червоний кружечок з цифрою */
.cart-badge {
    position: absolute;
    top: -2px; right: -2px;
    background: var(--brand-orange);
    color: white;
    font-size: 0.7rem; font-weight: 800;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid white; /* Біла обводка, щоб відділятися від фону */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Порожня корзина */
.empty-cart-container {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    height: 100%; text-align: center; color: #999;
}
.empty-cart-icon-bg {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, rgba(255, 200, 55, 0.1) 0%, rgba(255, 128, 8, 0.1) 100%);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
}
.empty-cart-btn {
    margin-top: 25px; padding: 15px 40px; border: none;
    background: var(--brand-gradient);
    color: white; border-radius: 30px;
    cursor: pointer; font-weight: 700; font-size: 1rem;
    box-shadow: 0 10px 20px rgba(255, 128, 8, 0.3);
    transition: 0.3s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.empty-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 128, 8, 0.4);
}

/* Футер корзини */
.cart-footer {
    padding: 30px; background: #fff;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 10;
}
.summary-total {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; color: var(--brand-blue);
}
.btn-checkout {
    width: 100%; padding: 18px;
    background: var(--brand-blue); /* Синя кнопка */
    color: white; border: none; border-radius: 15px;
    font-size: 1.1rem; font-weight: 800; cursor: pointer;
    transition: 0.3s;
}
.btn-checkout:hover { background: #0b2a4e; transform: translateY(-2px); }

/* Екран успіху (виправляємо глюк з відображенням) */
.success-screen {
    display: none; /* Приховано за замовчуванням! */
    flex-direction: column; align-items: center; justify-content: center;
    height: 100%; text-align: center; padding: 40px;
}
.order-code-box {
    font-size: 2.2rem; font-weight: 900; letter-spacing: 2px;
    color: var(--brand-blue); margin-bottom: 20px;
    padding: 15px 30px; border: 2px dashed #ccc; border-radius: 15px;
    background: #f8f9fa;
}

/* БУРГЕР */
.mobile-burger-btn {
    display: none; width: 48px; height: 48px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1),
        0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    z-index: 1100; transition: all 0.3s;
    pointer-events: auto; /* ВМИКАЄМО кліки для бургера */
}
.burger-line { width: 22px; height: 2.5px; background: var(--brand-blue); border-radius: 2px; transition: 0.3s; }
.mobile-burger-btn.open { background: rgba(255, 255, 255, 0.9); }
.mobile-burger-btn.open .burger-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-burger-btn.open .burger-line:nth-child(2) { opacity: 0; }
.mobile-burger-btn.open .burger-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Меню Overlay */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 35px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(1.1); padding: 30px;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: auto; transform: scale(1); }

.content-wrapper { margin-top: 100px; flex: 1; width: 100%; max-width: 1400px; margin: 100px auto 0; padding: 30px; }

/* Cart overlay styles ... (ті самі) */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 52, 96, 0.4); backdrop-filter: blur(8px); z-index: 2000; display: none; opacity: 0; transition: opacity 0.3s; justify-content: flex-end; }
.cart-overlay.active { display: flex; opacity: 1; }
.cart-modal { background: #fff; width: 100%; max-width: 500px; height: 100vh; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.4s; }
.cart-overlay.active .cart-modal { transform: translateX(0); }
.cart-header { padding: 25px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.cart-body { flex-grow: 1; overflow-y: auto; padding: 25px; }
.cart-footer { padding: 30px; border-top: 1px solid #eee; background: #fff; }
.btn-checkout { width: 100%; padding: 18px; background: var(--brand-gradient); color: white; border: none; border-radius: 15px; font-size: 1.1rem; font-weight: 800; cursor: pointer; }
footer { background: #1a1a1a; color: #888; text-align: center; padding: 40px; margin-top: auto; }
.messages { list-style: none; padding: 0; margin: 0 auto 20px; width: 100%; max-width: 800px; }
.messages li { padding: 15px; border-radius: 12px; margin-bottom: 10px; text-align: center; }
.messages li.success { background: #d1e7dd; color: #0f5132; }
.messages li.error { background: #f8d7da; color: #842029; }

/* MOBILE */
@media (max-width: 900px) {
    .glass-header { padding: 10px 20px !important; justify-content: flex-end !important; pointer-events: none; }
    .logo, .desktop-nav { display: none !important; }
    .glass-header > div:last-child { pointer-events: auto; display: flex !important; gap: 12px; margin-left: auto !important; }
    .mobile-burger-btn { display: flex !important; }
    .mobile-menu-overlay .header-search-form { width: 90%; background: #fff; padding: 8px 15px; }
    .mobile-menu-overlay .header-search-btn { width: 45px; height: 45px; }
    .content-wrapper { margin-top: 0 !important; padding-top: 20px; }

    /* =========================================
   СТИЛІ ДЛЯ МОБІЛЬНОГО МЕНЮ
   ========================================= */

.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;

    /* Білий фон, як ви просили */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px); /* Розмиття того, що під меню */

    z-index: 2000; /* Вище ніж хедер */
    display: flex; flex-direction: column; align-items: center;
    justify-content: flex-start; /* Вирівнювання зверху */
    padding: 30px 25px; gap: 30px;

    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(1.05);
}

.mobile-menu-overlay.active {
    opacity: 1; pointer-events: auto; transform: scale(1);
}

/* Верхня смуга: Лого + Хрестик */
.mobile-menu-top {
    width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px;
}

.mobile-logo {
    font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; text-transform: uppercase;
    line-height: 1;
}

/* Кнопка закриття (Хрестик) */
.mobile-close-btn {
    width: 40px; height: 40px;
    border: none; background: transparent;
    font-size: 1.5rem; color: var(--brand-blue);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}
.mobile-close-btn:hover {
    background: rgba(0,0,0,0.05);
    transform: rotate(90deg);
    color: var(--brand-orange);
}

/* Адаптація "Скла" під білий фон меню */
/* Оскільки фон білий, прозоре скло не видно.
   Робимо його трохи сірим (Tinted Glass) */
.mobile-menu-overlay .header-search-form,
.mobile-glass-item {
    background: rgba(240, 242, 245, 0.6) !important; /* Легкий сірий фон */
    border: 1px solid rgba(0, 0, 0, 0.05) !important; /* Тонка темна рамка */
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 1), /* Блік всередині */
        0 5px 15px rgba(0, 0, 0, 0.05) !important; /* Тінь зовні */
    width: 100%;
    justify-content: center;
}

.mobile-search {
    justify-content: space-between !important;
}

.mobile-glass-item {
    padding: 15px !important; /* Більші кнопки для пальців */
    font-size: 1.1rem;
}

.mobile-auth-block {
    width: 100%; display: flex; flex-direction: column; gap: 15px;
}
}
    /* === 1. ПОШУК (Робимо 48px) === */
.header-search-form {
    height: 48px; /* Фіксована висота як у корзини */
    padding: 0 20px; /* Тільки бокові відступи (зверху/знизу 0) */
    display: flex;
    align-items: center; /* Центруємо текст вертикально */

    /* Ваші старі стилі */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 0 rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

/* === 2. КНОПКИ ВАЛЮТИ ТА ВХОДУ (Робимо 48px) === */
.glass-btn {
    height: 48px !important; /* Жорстко задаємо висоту */
    padding: 0 20px !important; /* Бокові відступи */
    display: flex;
    align-items: center; /* Центруємо вміст */
    justify-content: center;
    border-radius: 50px !important; /* Щоб були кругліші, як пошук */
    line-height: 1;

    /* Ваші старі стилі фону залишаються тут... */
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1.5px 0 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 0 rgba(255, 255, 255, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    color: var(--brand-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Специфічний фікс для кнопки валют (бо у вас там inline стилі в HTML) */
.currency-switch.glass-btn {
    padding: 0 15px !important; /* Трохи менше місця для значків валют */
}

/* === 3. КОРЗИНА (Вона вже 48px, але перевіримо) === */
.cart-trigger {
    width: 48px;
    height: 48px;
    flex-shrink: 0; /* Щоб вона не сплющувалася */
}

/* === КНОПКА АВТОРИЗАЦІЇ В ХЕДЕРІ === */
.header-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(15, 52, 96, 0.05); /* Легкий сіро-синій фон */
    border: 1px solid rgba(15, 52, 96, 0.1);
    border-radius: 50px; /* Овальна кнопка (pill shape) */
    color: #0f3460;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.header-auth-btn:hover {
    background: #fff;
    color: #ff8008;
    border-color: #ff8008;
    box-shadow: 0 4px 10px rgba(255, 128, 8, 0.15);
    transform: translateY(-2px);
}

/* Іконка для "Вхід" */
.header-auth-btn i {
    font-size: 1.1rem;
    color: inherit;
}

/* Аватарка для "Кабінет" */
.header-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc837 0%, #ff8008 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 2px 5px rgba(255, 128, 8, 0.4);
}

/* Адаптація під мобільні телефони */
@media (max-width: 600px) {
    .header-auth-btn {
        padding: 8px; /* Робимо кнопку круглою */
        gap: 0;
    }
    .header-auth-btn .auth-text {
        display: none; /* Ховаємо текст, залишаємо тільки іконку/аватар */
    }
}
/* Контейнер віджета (фіксований знизу справа) */
.callback-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1400; /* Вище контенту, але нижче Корзини (2000) */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    font-family: 'Onest', sans-serif;
    pointer-events: none;
}

/* Плаваюча кнопка (Трубка) */
.callback-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-gradient);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 128, 8, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    pointer-events: auto;
}

.callback-btn:hover {
    transform: scale(1.1);
}

/* Анімація пульсації */
.callback-btn::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: var(--brand-orange);
    opacity: 0.6;
    z-index: -1;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Самий Попап (віконце) */
.callback-popup {
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 20px;
    pointer-events: auto;

    /* Початковий стан: прихований */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

/* Клас для відображення */
.callback-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Елементи всередині попапа */
.cb-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.cb-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.2;
}
.cb-close {
    background: none; border: none;
    color: #999; cursor: pointer;
    font-size: 1.2rem;
    transition: 0.2s;
}
.cb-close:hover { color: var(--brand-orange); }

.cb-phone-display {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 15px;
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.cb-input-group {
    display: flex; flex-direction: column; gap: 10px;
}
.cb-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #f8f9fa;
    outline: none;
    transition: 0.3s;
    font-family: 'Onest', sans-serif;
}
.cb-input:focus { border-color: var(--brand-orange); background: #fff; }

.cb-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.cb-submit-btn:hover {
    background: #0b2a4e;
    transform: translateY(-2px);
}

/* Адаптив для мобільних */
@media (max-width: 600px) {
    .callback-widget { bottom: 20px; right: 20px; }
    .callback-popup { width: 280px; }
}

/* =========================================
   ВИДІЛЕНІ З INLINE STYLE КЛАСИ ТА ID
   ========================================= */
.desktop-currency-switch { border-radius: 30px; padding: 6px 15px; }
.currency-separator { opacity: 0.3; font-weight: 300; }
.currency-separator-mobile { opacity: 0.2; }
.cabinet-icon { font-size: 1.1rem; }
.message-icon { margin-right: 8px; }
.cart-bag-icon { color: var(--brand-orange); }
.cart-spinner-container { text-align: center; padding: 50px; color: #999; display: flex; justify-content: center; }
.cart-spinner-icon { color: var(--brand-orange); }

#guestCheckoutForm { display: none; padding: 25px; }
.guest-form-title { color: var(--brand-blue); margin-bottom: 20px; font-size: 1.3rem; }
.guest-form-group { margin-bottom: 20px; }
.guest-form-group-textarea { margin-bottom: 15px; }
.guest-form-label { display: block; font-weight: 600; color: #555; margin-bottom: 8px; }
.required-star { color: var(--brand-orange); }
.guest-input { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 12px; font-size: 1.1rem; outline: none; background: #f9f9f9; transition: 0.3s; }
.guest-form-hint { color: #888; display: block; margin-top: 5px; }
.guest-textarea { width: 100%; padding: 14px; border: 1px solid #ddd; border-radius: 12px; font-size: 1rem; outline: none; resize: none; background: #f9f9f9; }

.success-check-circle { width: 90px; height: 90px; background: #d1e7dd; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.success-check-icon { font-size: 3rem; color: #2ecc71; }
.success-title { color: var(--brand-blue); font-size: 2rem; margin-bottom: 10px; font-weight: 800; }
.success-text { color: #666; font-size: 1.1rem; margin-bottom: 20px; }
.success-code-hint { color: #888; font-size: 0.95rem; margin-bottom: 10px; }
.success-manager-text { color: var(--brand-orange); font-weight: 700; font-size: 1rem; margin-bottom: 30px; max-width: 80%; line-height: 1.5; }
.success-close-btn { background: #eee; color: var(--brand-blue); width: auto; padding: 15px 40px; box-shadow: none; }

#cartTotalPrice { color: var(--brand-orange); }
.btn-icon { margin-left: 10px; font-size: 0.9rem; }
#btnConfirmGuest { display: none; }
.btn-confirm-guest { background: var(--brand-gradient); }
#btnBackToCart { display: none; }
.btn-back-to-cart { width: 100%; background: transparent; border: none; color: #999; margin-top: 15px; padding: 10px; cursor: pointer; font-weight: 600; }

.footer-copyright { opacity: 0.5; font-size: 0.9rem; }

.empty-cart-icon { font-size: 3.5rem; color: var(--brand-orange); }
.empty-cart-title { color: var(--brand-blue); font-size: 1.5rem; margin-bottom: 10px; }
.empty-cart-desc { font-size: 0.95rem; max-width: 250px; margin: 0 auto; }
.cart-item-part { color:#333; font-weight:600; }

.cb-phone-circle { width: 36px; height: 36px; background: rgba(15, 52, 96, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cb-phone-icon { color: var(--brand-blue); font-size: 0.9rem; }
.cb-phone-link { text-decoration: none; }
.cb-subtitle { font-size: 0.85rem; color: #666; margin-bottom: 10px; }

/* =========================================
   ФУТЕР (SITE FOOTER)
   ========================================= */
.site-footer {
    background: var(--brand-blue); /* Темно-синій фірмовий колір */
    color: #fff;
    padding: 60px 0 0 0;
    margin-top: auto;
    font-family: 'Onest', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Колонка 1: Бренд */
.footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 20px;
    text-decoration: none;
}
.footer-logo .brand-roal { color: #fff; }
.footer-logo .brand-go { color: var(--brand-orange); }

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    max-width: 400px;
}

.footer-schedule {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}
.footer-schedule i {
    color: var(--brand-orange);
    font-size: 1.2rem;
    margin-top: 3px;
}

/* Колонка 2: Посилання */
.footer-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px; height: 3px;
    background: var(--brand-orange);
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-size: 0.95rem;
}
.footer-links a i {
    font-size: 0.7rem;
    color: var(--brand-orange);
    transition: transform 0.3s;
}
.footer-links a:hover {
    color: var(--brand-orange);
    transform: translateX(5px);
}
.footer-links a:hover i {
    transform: translateX(3px);
}

/* Колонка 3: Контакти */
.footer-phone {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    transition: 0.3s;
}
.footer-phone i { color: var(--brand-orange); }
.footer-phone:hover { color: var(--brand-orange); }

.footer-contact-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.social-btn {
    padding: 10px 15px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}
.viber-btn { background: #7360f2; }
.viber-btn:hover { background: #5c4cd9; transform: translateY(-2px); }
.tg-btn { background: #2AABEE; }
.tg-btn:hover { background: #228bcf; transform: translateY(-2px); }

.footer-location {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.4;
}
.footer-location i {
    color: var(--brand-orange);
    font-size: 1.2rem;
    margin-top: 3px;
}
.footer-location small { opacity: 0.7; }

/* Нижня смуга */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    gap: 20px;
}
.badge-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge-text i { color: var(--brand-orange); }

/* Адаптивність */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px 40px;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-badges {
        justify-content: center;
    }
}

/* =========================================
   ІНФОРМАЦІЙНІ СТОРІНКИ (Доставка, Гарантія, FAQ)
   ========================================= */
.info-page-container {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    color: var(--brand-blue);
}

/* --- Всі стилі діють ТІЛЬКИ всередині .info-page-container --- */

.info-page-container .info-header {
    text-align: center;
    margin-bottom: 50px;
}
.info-page-container .info-header-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(255, 200, 55, 0.1) 0%, rgba(255, 128, 8, 0.1) 100%);
    color: var(--brand-orange);
    font-size: 2.5rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.info-page-container .info-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}
.info-page-container .info-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.info-page-container .info-section {
    margin-bottom: 50px;
}
.info-page-container .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}
.info-page-container .section-title i { color: var(--brand-orange); }

.info-page-container .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.info-page-container .info-grid.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.info-page-container .info-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.info-page-container .info-card .card-icon {
    font-size: 2.5rem;
    color: var(--brand-blue);
    margin-bottom: 20px;
    opacity: 0.8;
}
.info-page-container .info-card .card-icon.orange { color: var(--brand-orange); opacity: 1; }
.info-page-container .info-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}
.info-page-container .info-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.info-page-container .payment-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.05) 0%, rgba(15, 52, 96, 0.02) 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--brand-orange);
    margin-bottom: 30px;
}
.info-page-container .banner-icon { font-size: 3rem; color: var(--brand-orange); }
.info-page-container .banner-text h3 { margin: 0 0 10px 0; font-size: 1.3rem; font-weight: 800; }
.info-page-container .banner-text p { margin: 0; color: #444; line-height: 1.5; font-size: 1rem; }

.info-page-container .highlight-section {
    background: var(--brand-blue);
    color: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}
.info-page-container .highlight-content {
    position: relative;
    z-index: 2;
    max-width: 60%;
}
.info-page-container .highlight-content h2 { font-size: 1.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 15px; color: #fff;}
.info-page-container .highlight-content h2 i { color: var(--brand-orange); }
.info-page-container .highlight-content p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.info-page-container .highlight-content ul { list-style: none; padding: 0; }
.info-page-container .highlight-content li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.info-page-container .highlight-content li i { color: #2ecc71; }
.info-page-container .highlight-image {
    position: absolute;
    right: -20px;
    bottom: -40px;
    opacity: 0.1;
    z-index: 1;
}
.info-page-container .hero-icon-large { font-size: 15rem; color: #fff; }

/* Адаптивність */
@media (max-width: 900px) {
    .info-page-container .info-grid,
    .info-page-container .info-grid.two-cols { grid-template-columns: 1fr; }
    .info-page-container .payment-banner { flex-direction: column; text-align: center; }
    .info-page-container .highlight-section { flex-direction: column; padding: 30px; }
    .info-page-container .highlight-content { max-width: 100%; }
}
@media (max-width: 600px) {
    .info-page-container { padding: 30px 20px; margin: 20px 10px; }
    .info-page-container .info-title { font-size: 2rem; }
}

/* === ЕФЕКТ СПРАВЖНЬОГО СКЛА ДЛЯ КНОПОК ШАПКИ === */
@media (max-width: 991px) {
    .cart-trigger,
    .mobile-burger-btn {
        /* Дуже прозорий фон (лише 25% білого) */
        background: rgba(255, 255, 255, 0.25) !important;

        /* Сильне розмиття того, що знаходиться ПІД кнопкою */
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;

        /* Напівпрозора біла рамка (імітація краю скла) */
        border: 1px solid rgba(255, 255, 255, 0.6) !important;

        /* Зовнішня тінь + внутрішній білий блік скла */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 1px 1px 3px rgba(255, 255, 255, 0.9) !important;

        /* Робимо іконку темно-синьою з білою тінню, щоб читалася і на темному, і на світлому фоні */
        color: #0f3460 !important;
        text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8) !important;
    }

    /* Лінії бургер-меню */
    .mobile-burger-btn .burger-line {
        background-color: #0f3460 !important;
        box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8) !important;
    }

    /* Яскравий оранжевий лічильник корзини для акценту */
    .cart-badge {
        background: #ff8008 !important;
        color: white !important;
        border: 2px solid white !important;
        box-shadow: 0 2px 5px rgba(255, 128, 8, 0.4) !important;
    }
}