:root {
    --bg: #050a14;
    --white: #ffffff;
    --gray: rgba(255, 255, 255, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--white); scroll-behavior: smooth; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 900; letter-spacing: 4px; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { margin-left: 40px; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 13px; text-transform: uppercase; transition: 0.3s; }

.btn-outline {
    background: transparent; border: 1px solid var(--white); color: var(--white);
    padding: 12px 28px; cursor: pointer; transition: 0.4s ease; text-transform: uppercase; font-size: 11px;
}
.btn-outline:hover { background: var(--white); color: var(--bg); }

/* Hero */
.hero { padding: 150px 0; }
.hero h1 { font-size: 72px; font-weight: 900; line-height: 1; margin-bottom: 30px; }
.hero p { font-size: 18px; color: var(--gray); max-width: 550px; margin-bottom: 40px; }
.btn-white { background: var(--white); color: var(--bg); padding: 20px 50px; border: none; font-weight: 800; cursor: pointer; transition: 0.3s; }

/* Workflow (Процес) */
.workflow { padding: 100px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.step { 
    padding: 40px; border: 1px solid rgba(255,255,255,0.2); 
    transition: 0.4s; position: relative;
}
.step:hover { background: var(--white); color: var(--bg); }
.step-num { font-size: 40px; font-weight: 900; opacity: 0.2; margin-bottom: 10px; }
.step h3 { margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }

/* Pricing */
.pricing-section { padding: 100px 0; background: rgba(255,255,255,0.02); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.price-card { 
    padding: 60px 40px; border: 1px solid var(--white); text-align: center; 
    cursor: pointer; transition: 0.5s; background: transparent;
}
.price-card:hover { background: var(--white); color: var(--bg); transform: translateY(-10px); }
.cost { font-size: 45px; font-weight: 900; margin: 20px 0; }
.price-link { text-transform: uppercase; font-size: 12px; font-weight: 800; border-bottom: 1px solid currentColor; }

/* Modal */
.modal { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); }
.modal-content { background: #0d1b2a; margin: 5% auto; padding: 40px; border: 1px solid var(--white); width: 450px; position: relative; }
.close-modal { position: absolute; right: 20px; top: 10px; font-size: 30px; cursor: pointer; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 11px; text-transform: uppercase; color: var(--gray); }
.form-group select, .form-group textarea, .file-input { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; }
.btn-submit { width: 100%; padding: 15px; background: var(--white); color: var(--bg); border: none; font-weight: 900; cursor: pointer; }

/* Footer */
footer { padding: 80px 0 40px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 50px; }
.footer-bottom { text-align: center; font-size: 11px; color: var(--gray); margin-top: 50px; }

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

footer a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-worktime p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 5px;
}

.btn-submit {
    display: block;
    text-align: center;
    text-decoration: none;
    width: 100%;
    padding: 15px;
    background: var(--white);
    color: var(--bg);
    border: none;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 14px;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
    display: inline-block;
}

.price-list li {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--gray);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4px;
}

.price-list li strong {
    color: var(--white);
}

/* Робимо картки ще більш схожими на кнопки в хедері при наведенні */
.price-card:hover .price-list li {
    color: var(--bg);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.price-card:hover .price-list li strong {
    color: var(--bg);
}

:root {
    --bg: #050a14;
    --white: #ffffff;
    --gray: rgba(255, 255, 255, 0.6);
}

/* Базові стилі */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--white); scroll-behavior: smooth; overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 900; letter-spacing: 3px; }
.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 12px; text-transform: uppercase; }

/* Кнопки */
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); padding: 10px 20px; cursor: pointer; transition: 0.3s; font-size: 11px; text-transform: uppercase; }
.btn-outline:hover { background: var(--white); color: var(--bg); }
.btn-white { background: var(--white); color: var(--bg); padding: 15px 40px; border: none; font-weight: 800; cursor: pointer; margin-top: 20px; transition: 0.3s; }

/* Hero */
.hero { padding: 100px 0; text-align: left; }
.hero h1 { font-size: 48px; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 16px; color: var(--gray); max-width: 500px; }

/* Grid системи */
.steps-grid, .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }

/* Картки */
.step, .price-card { padding: 30px; border: 1px solid rgba(255,255,255,0.2); transition: 0.4s; cursor: pointer; }
.step:hover, .price-card:hover { background: var(--white); color: var(--bg); transform: translateY(-5px); }
.cost { font-size: 32px; font-weight: 900; margin: 15px 0; }
.price-list { list-style: none; margin-bottom: 20px; }
.price-list li { font-size: 14px; margin-bottom: 5px; opacity: 0.8; }

/* МОДАЛКА (Виправлено прокрутку) */
.modal { 
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background: rgba(0,0,0,0.9); 
    backdrop-filter: blur(5px);
    overflow-y: auto; /* Дозволяє гортати всю модалку */
    padding: 20px 0;
}
.modal-content { 
    background: #0a1120; 
    margin: auto; 
    padding: 30px; 
    border: 1px solid var(--white); 
    width: 90%; 
    max-width: 400px; 
    position: relative;
}
.close-modal { position: absolute; right: 15px; top: 10px; font-size: 28px; cursor: pointer; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 11px; text-transform: uppercase; margin-bottom: 5px; color: var(--gray); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); color: white; outline: none; }
.btn-submit { width: 100%; padding: 15px; background: var(--white); color: var(--bg); border: none; font-weight: 900; cursor: pointer; }

/* Footer */
footer { 
    padding: 60px 0 30px; 
    border-top: 1px solid rgba(255,255,255,0.1); 
    background-color: rgba(255,255,255,0.02);
}

.footer-grid { 
    display: grid; 
    /* Змінюємо на 4 колонки: перша трохи ширша (2fr), інші рівні (1fr) */
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr; 
    gap: 20px; 
    align-items: start;
}

.footer-grid h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-grid p, .footer-grid a { 
    color: var(--gray); 
    text-decoration: none; 
    font-size: 14px;
    line-height: 1.5;
    transition: 0.3s;
}

.footer-grid a:hover { 
    color: var(--white); 
}

/* Обов'язково оновіть медіа-запити, щоб на мобілках воно не злипалося */
@media (max-width: 992px) {
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); /* 2x2 на планшетах */
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid { 
        grid-template-columns: 1fr; /* В один стовпчик на телефонах */
        text-align: center;
    }
}

/* МОБІЛЬНА АДАПТАЦІЯ (Media Queries) */
@media (max-width: 992px) {
    .steps-grid, .price-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 36px; }
    .nav-links li:not(:last-child) { display: none; } /* Сховати посилання, лишити кнопку */
    .steps-grid, .price-grid, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 60px 0; }
    .modal-content { padding: 20px; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Повертаємо великі відступи для секцій */
section {
    padding: 120px 0; /* Великі пробіли між блоками */
}

/* Hero секція знову стає масивною */
.hero { 
    padding: 200px 0 150px 0; 
}

.hero h1 { 
    font-size: 72px; /* Повертаємо величезний шрифт */
    font-weight: 900; 
    line-height: 1; 
    margin-bottom: 35px; 
    letter-spacing: -2px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* Збільшуємо відстань у сітках */
.steps-grid, .price-grid { 
    gap: 40px; /* Більше повітря між картками */
    margin-top: 60px; 
}

/* Самі картки робимо масивнішими */
.step, .price-card { 
    padding: 60px 40px; 
}

/* Налаштування для мобілок (щоб на телефонах відступи лишалися адекватними) */
@media (max-width: 768px) {
    section {
        padding: 60px 0; /* На мобілці менше, щоб не гортати вічність */
    }
    .hero {
        padding: 100px 0 60px 0;
    }
    .hero h1 {
        font-size: 42px;
    }
    .steps-grid, .price-grid { 
        gap: 20px;
    }
}

.phone-link {
    color: inherit; /* Колір буде такий самий, як у тексту навколо */
    text-decoration: none; /* Прибрати підкреслення */
    font-weight: 600; /* Зробити трохи жирнішим */
}
.phone-link:hover {
    text-decoration: underline; /* Підкреслення з'явиться тільки при наведенні */
}

/* Контейнер для кнопок */
.floating-contact-wrap {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 500; /* Нижче ніж модалка (яка має 1000+) */
}

/* Спільні стилі кнопок */
.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

/* Ефект нахилу при наведенні */
.floating-btn:hover {
    transform: scale(1.1) rotate(15deg); /* Нахил на 15 градусів */
}

/* Колір Дзвінка (білий, як було) */
.call-btn {
    background-color: #ffffff;
    color: #050a14;
}

/* Пульсація тільки для дзвінка */
.call-btn .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: pulse-animation 2s infinite;
    z-index: -1;
}

@keyframes pulse-animation {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Адаптація мобілки */
@media (max-width: 600px) {
    .floating-contact-wrap {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
    }
}

.payment-step:hover {
    background: #7360f2 !important; /* Фіолетовий колір Viber при наведенні */
    color: white !important;
    border-color: #7360f2 !important;
}

.payment-step:hover .step-num {
    opacity: 0.8;
    color: white;
}

/* Розмітка Hero */
.hero-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

/* Права колонка з банками */
.bank-cards-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 280px;
}

.bank-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bank-item:hover {
    background: var(--white);
    color: var(--bg);
    transform: translateX(-10px); /* Легкий рух назустріч тексту */
}

.bank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bank-name {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.bank-item:hover .bank-name {
    opacity: 0.8;
}

.card-num {
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: 600;
}

.copy-icon {
    font-size: 18px;
    opacity: 0.3;
}

.bank-item:hover .copy-icon {
    opacity: 1;
}

/* Адаптація для мобілок (картки стають під текст) */
@media (max-width: 992px) {
    .hero-layout {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .bank-cards-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .bank-cards-sidebar {
        flex-direction: column;
    }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Автоматично підлаштує колонки */
    gap: 20px;
}

/* Стилізація карток архіву */
.archive-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.archive-card p {
    font-size: 14px;
    line-height: 1.5;
    margin-top: auto; /* Притискає текст до низу, якщо заголовки різної довжини */
}

.viber-hint {
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 15px;
    display: block;
    opacity: 0.6;
}

/* Відступ між архівом та футером */
.archive-section {
    padding-bottom: 100px; /* Великий відступ перед футером */
}

.workflow {
padding-bottom: 100px; /* Великий відступ перед футером */
}

/* Додайте або оновіть ці стилі */
.btn-white {
    background: var(--white);
    color: var(--bg);
    padding: 20px 50px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase; /* Якщо хочете капсом, як у Розпочати */
    font-size: 14px; /* Адаптуйте під ваш загальний стиль */
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-white:hover {
    opacity: 0.9;
    transform: translateY(-2px); /* Легкий ефект підйому */
}

/* Контейнер для кнопок, щоб на мобілках вони були одна під одною */
@media (max-width: 600px) {
    .hero-btns {
        flex-direction: column;
    }
    .btn-white {
        width: 100%; /* На весь екран на мобілці */
    }
}

/* Специфічні стилі для інформаційної модалки */
.info-modal-content {
    max-width: 600px; /* Робимо її трохи ширшою за форму */
    padding: 20px;
}

.info-image-container {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.info-image-container img {
    transition: transform 0.3s ease;
}

/* Ефект при наведенні на карту */
.info-image-container:hover img {
    transform: scale(1.02);
}

/* Колір тексту всередині списку (опцій), щоб він був чорним або темним */
.form-group select option {
    background-color: #0a1120; /* Темний фон як у модалки */
    color: white;              /* Білий текст */
    padding: 10px;
}

/* Специфічне виправлення для системних випадаючих списків */
select {
    color: white !important;   /* Колір обраного тексту */
    background: rgba(255, 255, 255, 0.05) !important;
}

/* Щоб при фокусі (кліку) текст не зникав */
select:focus {
    background: #0d1b2a !important;
    color: white !important;
}


/* Центрування всієї секції */
.products-section {
    padding: 100px 0;
    text-align: center; /* Центрує заголовок H2 та інлайнові елементи */
}

.products-section h2 {
    margin-bottom: 50px;
}

/* Контейнер для сітки */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Центрує картки в ряду */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Сама картка товару */
.product-card {
    flex: 0 1 300px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
    
    /* Центрування вмісту всередині картки */
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрує елементи по горизонталі всередині flex-контейнера */
    text-align: center;  /* Центрує багаторядковий текст */
    padding-bottom: 25px; /* Відступ знизу */
}

/* Контейнер для фото */
.product-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Текстова інформація */
.product-info {
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрує назву, ціну та кнопку */
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-price {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
}

/* Кнопка */
.btn-buy {
    display: inline-block;
    width: 80%; /* Кнопка буде трохи вужча за картку для краси */
    padding: 12px 0;
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.btn-buy:hover {
    background: var(--white);
    color: var(--bg);
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.product-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

/* Стилізація клікабельної текстової картки */
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 0 1 300px; /* Ширина як у ваших попередніх карток */
}

.product-card-text-only {
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    min-height: 250px;
}

/* Ефект при наведенні на всю картку */
.product-card-link:hover .product-card-text-only {
    background: var(--white);
    color: var(--bg);
    transform: translateY(-10px);
}

.product-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 15px;
    display: block;
}

.product-card-link:hover .product-tag {
    color: rgba(5, 10, 20, 0.6);
}

.product-card-text-only h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.product-price {
    font-size: 28px;
    font-weight: 900;
    margin: 20px 0;
}

/* Псевдокнопка, яка змінює вигляд разом з карткою */
.btn-fake {
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-top: 10px;
}

.product-card-link:hover .btn-fake {
    border-top: 1px solid rgba(5, 10, 20, 0.2);
}

/* Специфічні стилі для картки запиту */
.viber-card .product-card-text-only {
    border: 1px dashed rgba(255, 255, 255, 0.4); /* Пунктирна рамка, щоб відрізнити від товару */
    justify-content: center; /* Центруємо контент по вертикалі */
    text-align: center;
}

.viber-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* Ефект при наведенні — фарбуємо в колір Viber */
.viber-card:hover .product-card-text-only {
    background: #7360f2 !important; /* Фіолетовий Viber */
    border-color: #7360f2 !important;
    color: #ffffff !important;
}

.viber-card:hover .product-tag,
.viber-card:hover .btn-fake {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}

.viber-card .btn-fake {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.gallery-content {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border: 2px solid rgba(255,255,255,0.1);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

.gallery-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.nav-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 30px;
    padding: 20px 15px;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--white);
    color: var(--bg);
}

/* Робимо курсор-лупу для фото товарів */
.product-img {
    cursor: zoom-in;
}

#gallery-img {
    border: 1px solid #ffffff;
    border-radius: 0px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Контейнер для позиціонування знижки відносно заголовка */
.header-with-badge {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

/* Стиль напису зі знижкою */
.sale-badge {
    position: absolute;
    top: -10px;    /* Зміщення вгору */
    right: -130px; /* Зміщення праворуч */
    background-color: #ff4757; /* Яскраво-червоний колір */
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 5px;
    transform: rotate(15deg); /* Кут 35 градусів */
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    pointer-events: none; /* Щоб не заважало клікам */
    
    /* Анімація */
    animation: pulse-badge 2s infinite ease-in-out;
}

/* Анімація пульсації та легкого погойдування */
@keyframes pulse-badge {
    0% {
        transform: rotate(15deg) scale(1);
        background-color: #ff4757;
    }
    50% {
        transform: rotate(12deg) scale(1.1); /* Трохи змінюємо кут і масштаб */
        background-color: #ff6b81;
    }
    100% {
        transform: rotate(15deg) scale(1);
        background-color: #ff4757;
    }
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 600px) {
    .sale-badge {
        right: -50px;
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* Віджет графіка работи */
.work-schedule-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    background: rgba(13, 27, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 50px;
    z-index: 500;
    backdrop-filter: blur(10px);
    cursor: default;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Лампа */
.schedule-lamp {
    width: 12px;
    height: 12px;
    background-color: #00ff88; /* Зеленый - работаем */
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    margin-right: 10px;
    flex-shrink: 0;
    animation: lamp-blink 2s infinite;
}

@keyframes lamp-blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Контейнер для текста */
.schedule-text-container {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: toggle-text 10s infinite;
}

.schedule-text {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

/* Анімація: 5 сек відкрито, 5 сек закрито */
@keyframes toggle-text {
    0%, 45% { max-width: 200px; margin-left: 5px; } /* Открыто */
    50%, 95% { max-width: 0; margin-left: 0; }     /* Закрыто */
    100% { max-width: 200px; margin-left: 5px; }
}

/* Адаптація для телефонів */
@media (max-width: 600px) {
    .work-schedule-widget {
        bottom: 20px;
        left: 20px;
        padding: 8px 12px;
    }
}

/* Ефект при наведенні */
.work-schedule-widget:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Стилізація тексту */
#scheduleModal p {
    font-size: 16px;
    line-height: 1.6;
}

