:root {
    --color-blue-100: #C9EBFD;
    --color-blue-200: #99D4FA;
    --color-blue-300: #63B4ED;
    --color-blue-400: #358ED3;

    --color-beige-100: #FFF1CF;
    --color-beige-200: #FFE4A5;
    --color-beige-300: #FFD272;
    --color-beige-400: #E9AE3B;

    --color-red-100: #FFD4D4;
    --color-red-200: #FFA6A6;
    --color-red-300: #FF6B6B;
    --color-red-400: #D92F2F;

    --color-text: #1F2D3D;
    --color-white: #FFFFFF;
    --color-bg: #FDFDFD;
    --color-shadow: rgba(0, 0, 0, 0.1);
}

/* --- Глобальні стилі --- */
html {
    box-sizing: border-box;
    height: 100%;
    overflow-x: hidden;
    /* Додаємо для кращого розрахунку висоти body */
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    /* Повертаємо простий фон для body */
    background: var(--color-blue-100);
    color: var(--color-text);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 90px;
    overflow-x: hidden;
    /* Додаємо відступ для фіксованого хедера */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: var(--color-blue-300);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-blue-400);
}

/* Стиль для основного контенту */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(to bottom,
            rgba(201, 235, 253, 0.85) 0%,
            rgba(220, 238, 230, 0.85) 40%,
            rgba(255, 241, 207, 0.9) 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    overflow-x: hidden;
}

/* Додано стилі для головного заголовка на index.html */
.main-title-container {
    padding: 20px 20px 10px 20px;
    text-align: center;
}

.main-page-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    /* Можна спробувати інший шрифт, якщо Inter не підходить */
    /* font-family: 'Інший_Шрифт', sans-serif; */
}

/* --- Загальні Компоненти --- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    overflow-x: hidden;
}

.section {
    padding: 30px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
}

.card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--color-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    height: 100%;
}

.button {
    display: inline-block;
    border-radius: 14px;
    padding: 12px 24px;
    background: var(--color-red-200);
    color: var(--color-text) !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background: var(--color-red-300);
}

.cta-button {
    display: inline-block;
    border-radius: 14px;
    padding: 12px 24px;
    background: var(--color-red-300);
    color: var(--color-white) !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: var(--color-red-400);
}

/* Стилі для телефонних посилань, щоб вони виглядали як кнопки */
.cta-button[href^="tel:"],
.call-me-button[href^="tel:"] {
    display: inline-block;
    border-radius: 14px;
    padding: 12px 24px;
    background: var(--color-red-300);
    color: var(--color-white) !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button[href^="tel:"]:hover,
.call-me-button[href^="tel:"]:hover {
    background: var(--color-red-400);
    color: var(--color-white) !important;
}



/* Стилі для кнопок месенджерів */
.messenger-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.messenger-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.messenger-button.telegram {
    background: #0088cc;
    color: white;
}

.messenger-button.telegram:hover {
    background: #006699;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}

.messenger-button.viber {
    background: #7360f2;
    color: white;
}

.messenger-button.viber:hover {
    background: #5a4bc7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(115, 96, 242, 0.3);
}

.button-details,
.button-details-alt {
    display: inline-block;
    border-radius: 14px;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.button-details {
    background: var(--color-blue-300);
    color: var(--color-white) !important;
}

.button-details:hover {
    background: var(--color-red-300);
}

.button-details-alt {
    background: var(--color-beige-300);
    color: var(--color-text) !important;
}

.button-details-alt:hover {
    background: var(--color-red-300);
    color: var(--color-white) !important;
}

.input,
select.filter-input,
input[type="text"].filter-input,
input[type="number"].filter-input,
textarea.input,
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid var(--color-shadow);
    outline: none;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--color-white);
    color: var(--color-text);
}

.input:focus,
select.filter-input:focus,
input[type="text"].filter-input:focus,
input[type="number"].filter-input:focus,
textarea.input:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--color-blue-300);
    box-shadow: 0 0 0 3px rgba(99, 180, 237, 0.2);
}

.form-field {
    margin-bottom: 10px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

/* --- Hero Section Styles --- */

.hero-section {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding: 20px 20px 30px 20px;
    flex-wrap: wrap;
    flex-grow: 1;
    /* Дозволяє секції розтягуватись */
}

.hero-option {
    border-radius: 16px;
    padding: 40px 30px;
    min-height: 420px;
    /* Збільшуємо мінімальну висоту */
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Змінюємо на центр замість flex-start */
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.hero-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.hero-option h2,
.hero-option p {
    position: relative;
    z-index: 2;
}

.hero-option h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--color-white);
    margin-top: 0;
    /* Прибираємо відступ зверху, оскільки контент центрований */
}

.hero-option p {
    margin-bottom: 0;
    font-size: 18px;
    color: var(--color-white);
}

.hero-option:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-option:hover::before {
    background: rgba(0, 0, 0, 0.3);
}

.hero-option--catalog {
    background-image: url('../img/buy.png');
    background-size: cover;
    background-position: top;
    /* Показуємо верхню частину зображення */
}

.hero-option--services {
    background-image: url('../img/serv.png');
    background-size: cover;
    background-position: top;
    /* Показуємо верхню частину зображення */
}

@media (min-width: 768px) {
    .hero-option {
        width: calc(50% - 15px);
        max-width: none;
    }
}

/* --- Services Section Styles --- */

.services-section {
    padding: 40px 20px;
}

.services-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-card-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-card-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    color: #aaa;
    font-style: italic;
}

.service-card-content {
    padding: 15px;
}

/* --- About Section Styles --- */

.about-section {
    max-width: 800px;
    /* Обмеження ширини для читабельності */
}

.about-content p {
    margin-bottom: 15px;
    /* Зменшуємо відступ між параграфами */
    font-size: 17px;
    /* Трохи збільшимо шрифт */
    line-height: 1.7;
    color: var(--color-text);
    /* Переконаємось, що колір застосовано */
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.about-section .title {
    margin-bottom: 20px;
    /* Зменшуємо відступ */
}

/* --- Header Styles --- */
.site-header {
    background: var(--color-blue-300);
    padding: 10px 0;
    color: var(--color-white);
    box-shadow: 0 2px 4px var(--color-shadow);
    position: fixed;
    /* Робимо хедер фіксованим */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 990;
    /* Ставимо нижче мобільного меню */
    border-bottom: 2px solid var(--color-beige-300);
    height: 90px;
    /* Задаємо фіксовану висоту */
    display: flex;
    /* Для центрування вмісту */
    align-items: center;
    /* Центруємо вміст по вертикалі */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Розтягуємо контейнер на всю ширину хедера */
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo {
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px 2px var(--color-beige-300);
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 0;
    padding: 0 20px;
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.2s ease;
    position: relative;
}

/* Вертикальні лінії між пунктами меню */
.nav a:not(:last-of-type)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background-color: var(--color-beige-300);
}

.nav a:hover {
    color: var(--color-beige-300);
}

.nav a.active {
    color: var(--color-beige-300);
    font-weight: 700;
}

.call-me-button {
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 700;
    background: var(--color-red-300);
    color: var(--color-white) !important;
    margin-left: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.call-me-button:hover {
    background: var(--color-red-400);
    transform: translateY(-2px);
}

/* --- Footer Styles --- */
.site-footer {
    background: var(--color-beige-200);
    text-align: center;
    padding: 15px 20px;
    font-size: 15px;
    color: var(--color-text);
    border-top: 2px solid var(--color-blue-300);
}

/* Центральна секція футера */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.footer-copyright {
    margin: 0;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-blue-300);
    color: var(--color-white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.footer-link:hover {
    background: var(--color-blue-400);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 142, 211, 0.3);
}

.footer-link-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.return-policy-link {
    background: var(--color-red-300);
}

.return-policy-link:hover {
    background: var(--color-red-400);
    box-shadow: 0 4px 12px rgba(217, 47, 47, 0.3);
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    gap: 30px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-contacts-label {
    font-weight: 600;
    background-color: var(--color-blue-300);
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--color-white);
}



.site-footer p {
    margin-bottom: 0;
    font-weight: 500;
    position: relative;
    color: var(--color-text);
}

/* Прибираємо раніше створені псевдоелементи */
.site-footer p::before,
.site-footer p::after {
    content: none;
}

/* Додано стилі для соціальних іконок у футері */
.footer-socials {
    margin-top: 0;
    display: flex;
    gap: 15px;
}

/* --- Floating Feedback Button & Modal Styles --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 998;
}

.modal-window {
    background: var(--color-white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

.modal-close {
    margin-top: 15px;
    background: var(--color-blue-300);
    color: var(--color-white);
    border: none;
    padding: 8px 14px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: var(--color-blue-400);
}

/* --- Return Policy Page Styles --- */
.return-policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.return-policy-page h1 {
    color: var(--color-blue-400);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.return-policy-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px var(--color-shadow);
    border-left: 4px solid var(--color-blue-300);
}

.return-policy-section h2 {
    color: var(--color-blue-400);
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.return-policy-section ul,
.return-policy-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.return-policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.return-policy-section strong {
    color: var(--color-blue-400);
}

.return-contacts,
.support-contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.contact-item,
.support-item {
    background: var(--color-blue-100);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--color-blue-300);
}

.return-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-red-300);
    color: var(--color-white);
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.return-button:hover {
    background: var(--color-red-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 47, 47, 0.3);
    color: var(--color-white);
}

.return-policy-footer {
    background: var(--color-beige-100);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
    border: 2px solid var(--color-beige-300);
}

.return-policy-footer p {
    margin-bottom: 10px;
    color: var(--color-text);
}

/* Responsive Design для сторінки повернення */
@media (max-width: 768px) {
    .return-policy-page {
        padding: 20px 15px;
        text-align: center;
    }

    .return-policy-page h1 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .return-policy-section {
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 20px;
        text-align: center;
    }

    .return-policy-section h2 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .return-contacts,
    .support-contacts {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-items: center;
    }
}

/* --- Modal Buttons Styles --- */
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-buttons .button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.modal-buttons .button-details {
    background: var(--color-blue-300);
    color: var(--color-white);
}

.modal-buttons .button-details:hover {
    background: var(--color-blue-400);
    color: var(--color-white);
}

@media (max-width: 768px) {
    .modal-buttons {
        gap: 12px;
    }
}

/* --- Product Detail Page Styles (Google Merchant Center 2025) --- */
.product-detail-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: var(--color-bg);
}

.product-container {
    padding: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    padding: 15px 0;
    font-size: 14px;
    color: var(--color-text);
}

.breadcrumb-link {
    color: var(--color-blue-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--color-blue-300);
}

.breadcrumb-separator {
    color: #999;
    margin: 0 4px;
}

.breadcrumb-current {
    color: var(--color-text);
    font-weight: 500;
}

/* Product Detail Grid */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Product Images Section */
.product-images-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.main-image-container {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-main-image:hover {
    transform: scale(1.05);
}

/* Image Gallery */
.image-gallery {
    margin-top: 20px;
}

.thumbnail-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: var(--color-bg);
}

.thumbnail:hover {
    border-color: var(--color-blue-300);
    transform: translateY(-2px);
}

.active-thumbnail {
    border-color: var(--color-blue-400);
}

/* Product Info Section */
.product-info-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-sku {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Availability & Price */
.product-availability-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--color-beige-100);
    border-radius: 16px;
}

.availability-badge {
    display: flex;
    align-items: center;
}

.availability {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.availability.in-stock {
    background: #dcfce7;
    color: #166534;
}

.availability.out-of-stock {
    background: #fee2e2;
    color: #dc2626;
}

.product-price-container {
    text-align: right;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-red-400);
    display: block;
}

.price-note {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* Product Specifications */
.product-specifications {
    margin-bottom: 40px;
}

.specs-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-blue-50);
    border-radius: 12px;
    border-left: 4px solid var(--color-blue-300);
}

.spec-label {
    font-weight: 500;
    color: var(--color-text);
}

.spec-value {
    font-weight: 600;
    color: var(--color-blue-400);
}

/* Product Actions */
.product-actions {
    margin-bottom: 30px;
}

.primary-action {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--color-red-300);
    color: var(--color-white);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.primary-action:hover:not(:disabled) {
    background: var(--color-red-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(217, 47, 47, 0.3);
}

.primary-action:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Product Benefits */
.product-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--color-beige-100);
    border-radius: 12px;
    color: var(--color-text);
    font-weight: 500;
}

.benefit-item svg {
    color: var(--color-blue-400);
    flex-shrink: 0;
}

/* Product Description */
.product-description-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.description-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
}

.description-content {
    line-height: 1.7;
    color: var(--color-text);
}

/* Similar Products Section */
.similar-products-section {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.similar-product-card {
    background: var(--color-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.similar-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-container {
    width: 100%;
    height: 200px;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.similar-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.similar-product-card:hover .similar-product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-brand {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue-400);
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-specs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.spec-badge {
    background: var(--color-blue-100);
    color: var(--color-blue-400);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-red-400);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-container {
        padding: 15px;
        text-align: center;
    }

    .product-images-section,
    .product-info-section,
    .similar-products-section {
        padding: 20px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .product-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .product-price {
        font-size: 2rem;
        text-align: center;
    }

    .product-availability-price {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 15px;
        border-radius: 12px;
    }

    .similar-products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
    }

    .thumbnail-grid {
        justify-content: center;
        gap: 10px;
    }

    .product-actions {
        align-items: center;
        gap: 15px;
    }

    .primary-action {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px auto;
    }

    .product-benefits {
        align-items: center;
        gap: 10px;
    }

    .benefit-item {
        text-align: center;
        padding: 10px 15px;
    }
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--color-text);
}

.breadcrumbs a {
    color: var(--color-blue-400);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--color-blue-300);
}

.breadcrumbs span {
    margin: 0 8px;
    color: #999;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 4px 16px var(--color-shadow);
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: var(--color-bg);
}

.additional-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: var(--color-bg);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumb:hover {
    border-color: var(--color-blue-300);
}

.product-info h1 {
    color: var(--color-blue-400);
    font-size: 2rem;
    margin-bottom: 30px;
}

.product-specs {
    background: var(--color-blue-100);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.in-stock {
    color: #22c55e;
    font-weight: 600;
}

.out-of-stock {
    color: var(--color-red-400);
    font-weight: 600;
}

.product-price {
    text-align: center;
    margin: 30px 0;
}

.product-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-red-400);
}

.product-description {
    margin-bottom: 40px;
}

.product-description h3 {
    color: var(--color-blue-400);
    margin-bottom: 15px;
}

.product-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-actions .button-details {
    background: var(--color-blue-300);
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-actions .button-details:hover {
    background: var(--color-blue-400);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 142, 211, 0.3);
}

.product-order-btn {
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-blue-400);
    font-weight: 500;
}

.similar-products {
    margin-top: 60px;
}

.similar-products h2 {
    color: var(--color-blue-400);
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-specs-mini {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--color-blue-400);
    margin-bottom: 10px;
}

/* Responsive Design для сторінки товару */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .product-info h1 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .product-price .price {
        font-size: 2.2rem;
        text-align: center;
    }

    .product-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
        max-width: 350px;
        margin: 0 auto;
    }

    .product-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

/* --- Product Catalog & Modal Styles --- */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.product-card {
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 4px 16px var(--color-shadow);
    transform: translateY(-5px);
}

.product-card-content {
    margin-bottom: 10px;
}

.product-card-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.product-card-content .price {
    font-weight: bold;
    color: var(--color-blue-400);
    margin-bottom: 10px;
    display: block;
}

.product-detail {
    /* Стилі для деталей товару */
}

.product-detail h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-blue-400);
}

.product-detail p {
    margin-bottom: 8px;
}

.product-detail img {
    max-width: 90%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    margin: 10px auto 15px auto;
    border-radius: 12px;
    display: block;
}

.product-detail .cta-button {
    margin-top: 10px;
}

/* --- Стилі для сторінки каталогу товарів --- */
.catalog-page {
    display: flex;
    gap: 30px;
    width: 90%;
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--color-white);
    position: relative;
    min-height: calc(100vh - 85px - 50px);
    /* Висота екрану мінус хедер і футер */
}

/* Фільтри (ліва панель) */
.catalog-filters {
    width: 280px;
    background-color: var(--color-white);
    border: 1px solid var(--color-blue-100);
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 110px;
    /* Оновлюємо top: висота хедера (90px) + відступ (20px) */
    height: calc(100vh - 130px);
    /* Оновлюємо height: висота вікна - top (110px) - нижній відступ (20px) */
    overflow-y: auto;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.catalog-filters h2 {
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 20px;
    color: var(--color-blue-400);
}

.catalog-filters h2:first-child {
    margin-top: 0;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group .filter-input {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid var(--color-blue-200);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-range .filter-input {
    width: calc(50% - 15px);
}

.price-range span {
    font-weight: bold;
    color: var(--color-blue-300);
}

/* Основний контент (права частина) */
.catalog-content {
    flex-grow: 1;
    padding: 0;
}

.catalog-content h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--color-blue-400);
    text-align: center;
}

/* Сітка товарів */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.article-card {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--color-shadow);
    overflow: hidden;
    transition: height 0.3s ease;
}

.article-card-image {
    width: 100%;
    aspect-ratio: 3/2;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-bg);
}

.article-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
}

.article-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.article-card-price {
    font-weight: bold;
    color: var(--color-blue-400);
    margin-top: auto;
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.articles-grid.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Саме 3 товари на десктопі з центруванням */
@media (min-width: 993px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
        width: calc(100% - 40px);
        /* Відступи з боків для кращого вигляду */
        max-width: 1200px;
    }

    /* Для останнього ряду - центрування, якщо не кратно 3 */
    .article-card {
        max-width: 350px;
        width: 100%;
        justify-self: center;
    }
}

/* Медіа-запити для сітки товарів */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* Специфічний стиль для сторінки послуг */
#service-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 40px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#service-list-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#service-list-container .article-card {
    flex: 0 0 calc(33.33% - 15px);
    max-width: calc(33.33% - 15px);
    margin-bottom: 20px;
}

/* Адаптивність для планшетів */
@media (max-width: 992px) {
    #service-list-container .article-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* Адаптивність для мобільних */
@media (max-width: 576px) {
    #service-list-container .article-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
    font-size: 18px;
    color: var(--color-text);
}

/* Картка товару */
.article-card {
    background: linear-gradient(to right, rgba(201, 235, 253, 0.4), rgba(255, 241, 207, 0.4));
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background: linear-gradient(to right, rgba(201, 235, 253, 0.5), rgba(255, 241, 207, 0.5));
}

.article-card-image {
    aspect-ratio: 64 / 45;
    overflow: hidden;
    background-color: var(--color-beige-100);
}

.article-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.article-card-title a {
    color: var(--color-blue-400);
    text-decoration: none;
}

.article-card-excerpt {
    color: var(--color-text);
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1.5em * 3);
}

.article-card-price {
    font-weight: bold;
    font-size: 20px;
    color: var(--color-blue-400);
    margin-bottom: 15px;
    display: block;
    margin-top: auto;
}

.article-card .button {
    align-self: center;
    margin-top: 15px;
}

/* Модальне вікно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.is-open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 16px;
    z-index: 1002;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.modal-scroll-container {
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--color-blue-400);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1003;
    border: none;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: var(--color-red-300);
}

.modal-title {
    margin-bottom: 20px;
}

.modal-title h2 {
    font-size: 28px;
    color: var(--color-blue-400);
    margin: 0;
}

.product-gallery {
    margin-bottom: 20px;
    text-align: center;
}

.main-product-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
    background-color: var(--color-blue-100);
    padding: 20px;
    border-radius: 12px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
}

.spec-value {
    font-size: 16px;
}

.spec-value.price {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-blue-400);
}

.product-description {
    margin-bottom: 25px;
}

.product-description h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--color-blue-400);
}

.product-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.feedback-form-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-blue-100);
    display: none;
}

/* Стилі для адаптивності */
@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .catalog-page {
        flex-direction: column;
    }

    .catalog-filters {
        width: 100%;
        position: static;
        height: auto;
        margin-bottom: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }
}

.article-card-image-link {
    display: block;
    text-decoration: none;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--color-bg);
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

/* === Стилі для контентних сторінок === */
.content-page {
    --color-bg: var(--color-white);
    --color-text: var(--color-text);
    --color-accent: var(--color-blue-300);
    --color-soft: rgba(0, 0, 0, 0.1);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.content-block {
    padding-bottom: 100px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-soft);
}

.content-block:last-child {
    border-bottom: none;
}

.content-block h2 {
    font-weight: 700;
    line-height: 1.3;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 40px;
    color: var(--color-accent);
}

.block-body {
    display: flex;
    gap: 40px;
    align-items: center;
}

.block-text {
    flex: 1;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
}

.block-text p {
    margin-bottom: 20px;
}

.block-text p:last-child {
    margin-bottom: 0;
}

.block-image {
    flex: 1;
    max-width: 500px;
}

.block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Анімація появи елементів */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивність для контентних сторінок */
@media (max-width: 992px) {
    .block-body {
        flex-direction: column;
    }

    .block-image {
        max-width: 100%;
        order: 1;
    }

    .content-block:nth-child(even) .block-image {
        order: 1;
    }

    .block-text {
        order: 2;
    }
}

@media (max-width: 767px) {
    .page-container {
        padding: 40px 15px;
    }

    .content-block {
        padding-bottom: 60px;
        margin-bottom: 30px;
    }

    .content-block h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .block-text {
        font-size: 1rem;
        text-align: center;
    }
}

/* Центрування тексту */
.text-center {
    text-align: center;
}

/* Стилі для блоку переваг */
.advantages-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.advantages-column {
    flex: 1;
    min-width: 300px;
}

.advantage-item {
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--color-shadow);
    padding: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.advantage-item h3 {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantage-item p {
    margin-bottom: 0;
}

/* Адаптивність для переваг */
@media (max-width: 768px) {
    .advantages-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .advantages-column {
        width: 100%;
        max-width: 350px;
    }

    .advantage-item {
        text-align: center;
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Стилі для великого логотипу на сторінці "Про нас" */
.logo-title-container {
    margin: 20px auto 40px;
    max-width: 400px;
}

.logo-large {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;
    background-color: transparent;
}

.centered-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.centered-block .block-text {
    width: 100%;
    font-size: 1.2rem;
}

/* Стилі для карток, що перевертаються */
.flip-cards-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: 20px;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 220px;
    width: 280px;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 16px var(--color-shadow);
    border-radius: 16px;
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.flip-card-front {
    background: linear-gradient(135deg, var(--color-blue-100), var(--color-beige-100));
    color: var(--color-text);
}

.flip-card-front h3 {
    font-size: 1.4rem;
    color: var(--color-blue-400);
    margin: 0;
    position: relative;
}

.flip-card-front h3::after {
    content: "✨";
    display: block;
    font-size: 1.5rem;
    opacity: 0.8;
    margin-top: 15px;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--color-beige-100), var(--color-blue-100));
    color: var(--color-text);
    transform: rotateY(180deg);
}

.flip-card-back p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Анімація підсвітки картки при ховері */
.flip-card:hover .flip-card-inner {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Адаптивність для flip-cards */
@media (max-width: 992px) {
    .flip-cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .flip-card {
        width: 100%;
        max-width: 280px;
    }
}

/* === Стилі для сторінки "Про нас" (перенесено з about.html) === */

/* Стильний текст та заголовки */
.about-page .page-container {
    margin-top: 40px;
}

.about-page .content-block h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.about-page .content-block h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(to right, var(--color-blue-300), var(--color-beige-300));
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.about-page .block-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.about-page .block-text {
    padding: 0 20px;
}

/* Більш насичені кольори для карток тільки на сторінці "Про нас" */
.about-page .flip-card-front {
    background: linear-gradient(135deg, var(--color-blue-200), var(--color-beige-200));
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page .flip-card-back {
    background: linear-gradient(135deg, var(--color-blue-100), var(--color-blue-200));
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.about-page .flip-card-back p {
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Виправлення проблеми з прямими краями та обрізанням при обертанні */
.about-page .flip-cards-container {
    overflow: visible;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.about-page .flip-card {
    perspective: 1500px;
    overflow: visible;
    transform-style: preserve-3d;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 15px;
    flex: 1 1 250px;
    max-width: 320px;
    min-height: 200px;
}

.about-page .flip-card:hover {
    transform: translateY(-5px);
}

.about-page .flip-card-inner {
    transform-origin: center center;
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Центрування заголовків і прибирання зірочок */
.about-page .flip-card-front h3 {
    text-align: center;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    position: relative;
    padding: 15px 20px;
    margin: 0;
    transition: all 0.3s ease;
}

.about-page .flip-card:hover .flip-card-front h3 {
    transform: scale(1.05);
    color: var(--color-blue-400);
}

.about-page .flip-card-front h3::after {
    content: none;
}

/* Уніфікація розмірів зображень у блоках */
.about-page .block-image {
    width: 100%;
    max-width: 450px;
    height: 300px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-page .block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-page .block-image:hover img {
    transform: scale(1.05);
}

/* Нові анімації появи блоків з різних сторін */
.about-page .from-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.about-page .from-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
}

.about-page .from-left.is-visible,
.about-page .from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Стилі для кнопки "Дізнатися більше" */
.about-page .btn-learn-more {
    display: inline-block;
    background: linear-gradient(to right, var(--color-blue-300), var(--color-blue-400));
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: none;
    cursor: pointer;
}

.about-page .btn-learn-more:hover {
    background: linear-gradient(to right, var(--color-beige-300), var(--color-beige-400));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Стилі для заголовка сторінки */
.about-page .page-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.about-page .page-title h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--color-blue-400), var(--color-beige-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    margin-bottom: 1rem;
}

.about-page .logo-large {
    max-width: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Стилі для блоків контенту */
.about-page .content-block {
    margin-bottom: 4rem;
    padding: 20px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-page .content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-page .block-body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
}

.about-page .block-image,
.about-page .block-text {
    flex: 1 1 300px;
}

@media (max-width: 768px) {
    .about-page .content-block h2 {
        font-size: 2rem;
    }

    .about-page .page-title h1 {
        font-size: 2.5rem;
    }

    .about-page .block-body {
        flex-direction: column;
    }
}

/* === Стилі для сторінки Послуг (перенесено з services.html) === */
.services-section {
    padding: 40px 20px;
}

.services-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-card-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.service-card-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0;
    color: #aaa;
    font-style: italic;
}

.service-card-content {
    padding: 15px;
}

/* === Стилі для сторінки Каталог (перенесено з catalog.html) === */
.modal-product-content-storage {
    display: none;
}

/* === Стилі для компонента product_modal_detail.html === */
.product-detail-image {
    max-width: 100%;
    border-radius: 12px;
    margin: 15px 0;
    display: block;
}

/* === Стилі для компонента product_card.html === */
.product-image-placeholder {
    opacity: 0.5;
}

.service-modal-content {
    position: relative;
    background-color: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1002;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

.service-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.65);
    z-index: -1;
    border-radius: 16px;
}

.service-modal-content .modal-scroll-container {
    position: relative;
    z-index: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 30px;
}

/* Модальне вікно */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.is-open {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: 16px;
    z-index: 1002;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.is-service-modal {
    background-size: 110% auto !important;
    position: relative;
}

.is-service-modal::before {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: contrast(1.1) !important;
    -webkit-backdrop-filter: contrast(1.1) !important;
}

.is-service-modal .modal-scroll-container {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.is-service-modal h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    color: var(--color-blue-400);
    position: relative;
    z-index: 2;
}

.is-service-modal .product-specs {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
}

.is-service-modal .product-description {
    position: relative;
    z-index: 2;
}

/* ----- Бургер-меню та мобільна навігація ----- */
/* Бургер-меню для мобільних пристроїв - базові стилі (діють на всіх пристроях) */
.burger-menu {
    display: none;
    /* За замовчуванням приховано на всіх пристроях */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-blue-400);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Анімація активного стану бургера */
.burger-menu.active .burger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Адаптивні стилі для меню на мобільних пристроях */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: relative;
        text-align: center;
    }

    .logo-link {
        margin-bottom: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
    }

    .logo {
        height: 35px;
        margin: 0 auto;
    }

    /* ВАЖЛИВО: Показуємо бургер-меню тільки на мобільних пристроях */
    .burger-menu {
        display: flex;
        /* На мобільних пристроях показуємо бургер */
    }

    .nav {
        position: fixed;
        top: 90px;
        /* Оновлюємо top: висота хедера */
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        /* Оновлюємо height: висота вікна - висота хедера */
        background: linear-gradient(135deg, var(--color-blue-300), var(--color-beige-300));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transform: translateY(-100%);
        /* Початковий стан залишається без змін */
        transition: transform 0.3s ease;
        padding: 50px 20px;
        overflow-y: auto;
        /* Додаємо скрол, якщо контенту багато */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        text-align: center;
    }

    .nav.active {
        transform: translateY(0);
        /* Анімація виїзду залишається */
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav a {
        margin: 15px 0;
        font-size: 1.3rem;
        padding: 15px 25px;
        color: var(--color-text);
        display: block;
        text-align: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        width: 100%;
        max-width: 250px;
    }

    .nav a:not(:last-of-type)::after {
        content: none;
    }

    .nav a:hover {
        color: var(--color-beige-400);
        transform: scale(1.1);
    }

    .call-me-button {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 20px;
        padding: 15px 25px;
        font-size: 1.2rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .site-footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 15px;
    }

    .footer-services,
    .footer-center,
    .footer-contacts {
        width: 100%;
        text-align: center;
    }

    .footer-contacts {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
        gap: 10px;
    }

    .footer-nav {
        justify-content: center;
        gap: 10px;
    }

    .footer-nav a {
        padding: 8px 15px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
}

.footer-icon {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-blue-300);
    text-align: center;
    border: 2px solid var(--color-blue-300);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-icon:hover {
    color: var(--color-white);
    border-color: transparent;
}

/* Специфічні ховери для кожної кнопки */
.footer-icon-telegram:hover {
    background-color: #2AABEE;
}

.footer-icon-viber:hover {
    background-color: #7360F2;
}

.footer-icon-gmail:hover {
    background-color: #EA4335;
}

/* === Стилі для Галереї Товару в Модалці === */
.product-gallery-container {
    margin-bottom: 25px;
}

.gallery-main-image {
    width: 100%;
    max-height: 450px;
    /* Можна налаштувати максимальну висоту */
    margin-bottom: 15px;
    text-align: center;
    /* Центруємо зображення, якщо воно менше контейнера */
    border: 1px solid var(--color-blue-100);
    /* Легка рамка */
    border-radius: 12px;
    overflow: hidden;
    /* Ховаємо частини зображення, якщо воно більше */
    background-color: var(--color-bg);
    /* Фон на випадок прозорих зображень */
}

.gallery-main-image .active-gallery-image {
    display: block;
    /* Важливо для правильного розрахунку розмірів */
    width: 100%;
    height: 100%;
    /* Розтягуємо на всю висоту контейнера */
    max-height: 450px;
    object-fit: contain;
    /* Вписуємо зображення, зберігаючи пропорції */
    transition: opacity 0.3s ease;
    /* Плавна зміна фото */
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    /* Горизонтальний скрол */
    padding-bottom: 10px;
    /* Невеликий відступ знизу для скролбару */
    /* Покращення скролу на мобільних */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    /* Для Firefox */
    scrollbar-color: var(--color-blue-300) var(--color-blue-100);
    /* Кольори скролбару */
}

/* Стилізація самого скролбару для Chrome/Safari */
.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--color-blue-100);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background-color: var(--color-blue-300);
    border-radius: 3px;
}

.gallery-thumb {
    width: 70px;
    height: 55px;
    object-fit: contain;
    background: var(--color-bg);
    /* Відображаємо мініатюру повністю з пропорціями */
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    /* Прозора рамка для активного стану */
    transition: border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
    /* Забороняємо мініатюрам стискатися */
    opacity: 0.7;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumb.active-thumb {
    border-color: var(--color-blue-400);
    /* Рамка для активної мініатюри */
    opacity: 1;
}

/* Стилі для кнопки "Викликати майстра" */
#master-call-button {
    padding: 16px 32px;
    /* Збільшені падінги */
    font-size: 1.1em;
    /* Трохи більший шрифт */
    /* Можна додати інші стилі, якщо потрібно */
}

/* Стилі для пагінації */
.pagination-controls {
    text-align: center;
    margin-top: 30px;
}

.pagination {
    display: inline-block;
    /* Щоб центрування працювало */
}

.pagination .step-links a,
.pagination .step-links .current-page {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    border: 1px solid var(--color-blue-200);
    border-radius: 4px;
    color: var(--color-blue-400);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination .step-links a:hover {
    background-color: var(--color-blue-100);
    color: var(--color-blue-400);
}

.pagination .step-links .current-page {
    background-color: var(--color-blue-300);
    color: var(--color-white);
    border-color: var(--color-blue-300);
    font-weight: bold;
}

/* Стилі для сторінок помилок */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 0;
}

.error-box {
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 16px var(--color-shadow);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.error-box h1 {
    font-size: 80px;
    color: var(--color-red-300);
    margin-bottom: 0;
}

.error-box h2 {
    color: var(--color-blue-400);
    margin-bottom: 20px;
}

.error-box p {
    margin-bottom: 30px;
    font-size: 18px;
}

.error-box .cta-button {
    display: inline-block;
}

/* ===========================================
   SEO PAGES STYLES
   =========================================== */

.seo-page {
    padding: 2rem 0;
    min-height: calc(100vh - 160px);
}

.seo-hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--color-blue-100) 0%, var(--color-blue-200) 100%);
    border-radius: 15px;
    margin-bottom: 3rem;
    color: var(--color-text);
}

.seo-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.seo-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: var(--color-text);
}

.seo-content {
    max-width: 1000px;
    margin: 0 auto;
}

.seo-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.seo-accordion summary {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    list-style: none;
    position: relative;
}

.seo-accordion summary::-webkit-details-marker {
    display: none;
}

.seo-accordion summary::after {
    content: '▼';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--color-blue-300);
}

.seo-accordion[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
    padding: 1.5rem;
    line-height: 1.6;
}

.accordion-content h3 {
    color: #333;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.1rem;
}

.accordion-content ul {
    margin: 1rem 0;
    padding-left: 0;
}

.accordion-content li {
    list-style: none;
    margin: 0.5rem 0;
    padding-left: 0;
}

.price-table {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row span:last-child {
    font-weight: 600;
    color: var(--color-blue-300);
}

.warning-signs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sign-item {
    background: linear-gradient(135deg, #fff3cd 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sign-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8c00 100%);
}

.sign-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.2);
    border-left-color: #ff8c00;
}

.sign-item h4 {
    margin: 0 0 1rem 0;
    color: #856404;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.sign-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ffc107 0%, #ff8c00 100%);
    border-radius: 1px;
}

.sign-item p {
    color: #6c5600;
    line-height: 1.6;
    margin: 0;
}

.faq-item {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-item h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--color-blue-100) 0%, var(--color-blue-200) 100%);
    border-radius: 15px;
    margin-top: 3rem;
    color: var(--color-text);
}

.cta-section h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--color-text);
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 1;
    color: var(--color-text);
}

/* Мобільна адаптація для нових елементів */
@media (max-width: 768px) {
    .seo-hero h1 {
        font-size: 2rem;
    }

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

    .seo-accordion summary {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .accordion-content {
        padding: 1rem;
    }

    .warning-signs,
    .districts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0;
    }

    .district-item,
    .sign-item {
        padding: 1.25rem;
    }

    .district-item h4,
    .sign-item h4 {
        font-size: 1rem;
    }

    .price-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    /* Покращені touch targets для мобільних */
    .cta-button,
    .call-me-button,
    .button {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 48px;
    }

    .seo-accordion summary {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
}

/* Додаткові стилі для контактів */
.contact-info h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-blue-300);
}

.contact-info a {
    color: var(--color-blue-300);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.district-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-blue-300);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.district-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-blue-300);
}

.district-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(99, 180, 237, 0.15);
    border-left-color: var(--color-blue-400);
}

.district-item h4 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.district-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-blue-300);
    border-radius: 1px;
}

.district-item ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.district-item li {
    margin: 0.5rem 0;
    padding-left: 1.2rem;
    position: relative;
    color: #555;
    transition: color 0.2s ease;
}

.district-item li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--color-blue-300);
    font-size: 0.8rem;
    top: 0.1rem;
}

.district-item:hover li {
    color: #333;
}

/* Accessibility improvements - адаптовано під загальний стиль */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-blue-300);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(99, 180, 237, 0.3);
}

/* Core Web Vitals optimizations - оптимізовано під наш дизайн */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Lazy loading support з нашими анімаціями */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Preload critical resources */
.critical-resource {
    font-display: swap;
}

/* Reduce layout shift з нашими пропорціями */
.aspect-ratio-16-9 {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.aspect-ratio-4-3 {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.aspect-ratio-1-1 {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Enhanced focus styles адаптовані під наш дизайн */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-blue-300);
    outline-offset: 2px;
    border-radius: 8px;
}

/* High contrast mode з нашою палітрою */
@media (prefers-contrast: high) {
    :root {
        --color-text: #000000;
        --color-bg: #ffffff;
        --color-blue-400: #0066cc;
    }

    .cta-button,
    .button {
        background: #000000 !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Better mobile touch targets адаптовані під наш дизайн */
@media (hover: none) and (pointer: coarse) {

    .nav a,
    .cta-button,
    .button,
    .call-me-button {
        min-height: 48px;
        min-width: 48px;
        padding: 0.875rem 2rem;
        font-size: 1rem;
        border-radius: 8px;
    }

    .article-card,
    .product-card {
        padding: 1.5rem;
    }
}

/* Стилі для розділу послуг у футері */
.footer-services {
    text-align: center;
    flex: 1;
}

.footer-services h3 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-nav a {
    color: var(--color-blue-300);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-blue-400);
}

/* Мобільна адаптація */
@media (max-width: 768px) {
    .site-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .footer-services,
    .footer-center,
    .footer-contacts {
        width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-nav a {
        display: block;
        text-align: center;
        min-width: 200px;
    }

    /* Виправлення about-page на мобільних */
    .about-page .page-container {
        padding: 0 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .about-page .content-block {
        margin: 0 0 2rem 0;
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .about-page .block-body {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .about-page .block-text {
        padding: 0;
        width: 100%;
        max-width: 100%;
    }

    .about-page .block-image {
        width: 100%;
        max-width: 100%;
        height: 250px;
    }

    .about-page .flip-cards-container {
        padding: 20px 0;
        gap: 15px;
        overflow-x: hidden;
    }

    .about-page .flip-card {
        margin: 0;
        max-width: 100%;
        width: 100%;
    }
}