/* =============================================
   1. Базові змінні, Reset, Типографіка
   ============================================= */ :root {
    /* Кольори */
    --color-main: #5a1082;
    --color-accent: #8a2bd6;
    --color-accent-light: #d8bfd8;
    --color-bg: #fafafa;
    --color-text: #252b42;
    --color-link: #0057B7;
    --color-dark: #3a2a6a;
    --color-subtitle: #5e4b8b;
    /* Тіні */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-main: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 24px rgba(0, 0, 0, 0.12);
    /* Шрифти */
    --font-base: "Noto Serif", Georgia, "Times New Roman", serif;
    --font-title: "Playfair Display", serif;
    /* Додаткові */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease;
    --radius-soft: 10px;
    --radius-strong: 20px;
    --shadow-dark: 0 6px 20px rgba(0, 0, 0, 0.25);
    --shadow-light: 0 4px 12px rgba(255, 255, 255, 0.2);
}
/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-size: 18px;
    font-family: var(--font-base);
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga", "kern";
    font-variant-ligatures: common-ligatures;
}
/* Базові елементи */
a {
    text-decoration: none;
    color: inherit;
}
ul, ol, li {
    list-style: none;
}
img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
}
/* Контейнер */
.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}
@media (min-width: 1600px) {
    .container {
        max-width: 1440px;
    }
}
@media (max-width: 768px) {
    .container {
        width: 96%;
        padding: 0;
    }
}
/* Заголовки */
h1, h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 30px 15px 15px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: var(--color-dark);
    text-shadow: 0 1px 3px rgba(58, 42, 106, 0.2);
}
h3 {
    margin: 12px 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-subtitle);
    letter-spacing: 0.03em;
}
/* Абзаци */
p {
    margin: 12px;
    text-align: justify;
    font-size: 17px;
    font-weight: 400;
    color: #3a3a4a;
    line-height: 1.6;
    hyphens: auto;
    max-width: 100%;
}
section p:first-of-type {
    margin-top: 0;
}
section p + p {
    margin-top: 1em;
}
/* Акценти */
strong, b {
    font-weight: 700;
    color: var(--color-main);
}
em, i {
    font-style: italic;
    color: var(--color-accent);
}
/* ============================================
   2. Інтерактив: Кнопки, breadcrumbs, TOC
   ============================================ */
/* Універсальні кнопки та псевдокнопки */
button, input[type="button"], input[type="submit"], .page-link, .video__link, .card__link, .toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    min-height: 32px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--color-main), var(--color-accent));
    color: #fff;
    border: none;
    border-radius: var(--radius-soft);
    box-shadow: 0 4px 10px rgba(90, 16, 130, 0.4), inset 0 -2px 5px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    line-height: 1;
    transition:
        background var(--transition-normal), color var(--transition-normal), box-shadow var(--transition-normal), transform 0.15s ease;
}
button:hover, .page-link:hover, .video__link:hover, .card__link:hover, .toggle-btn:hover {
    background: linear-gradient(135deg, #7a30d3, #a355ff);
    box-shadow: 0 8px 20px rgba(122, 48, 211, 0.5), inset 0 -3px 6px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}
button:active, .page-link:active, .video__link:active, .card__link:active, .toggle-btn:active {
    transform: scale(0.96);
    box-shadow: 0 3px 8px rgba(122, 48, 211, 0.4), inset 0 -2px 4px rgba(255, 255, 255, 0.2);
}
button:disabled, .page-link.disabled, .disabled {
    background: #c7badc;
    color: #f2f2f2;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
/* Toggle-кнопка зі стрілкою */
.toggle-btn::before {
    content: "▶";
    font-size: 14px;
    color: var(--color-accent-light);
    transition: transform var(--transition-normal);
}
.toggle-btn.active::before {
    transform: rotate(90deg);
}
/* Контент, що розгортається */
.toggle-content {
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.toggle-content.active {
    display: block;
    opacity: 1;
}
/* Хлібні крихти */
.breadcrumbs {
    font-size: 14px;
    font-family: var(--font-base);
    color: #666;
    margin: 16px 0 24px;
}
.breadcrumbs::before {
    content: '';
    display: block;
    height: 1px;
    background: #ddd;
    margin-bottom: 8px;
}
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    padding: 0;
    margin: 0;
}
.breadcrumbs ul li::after {
    content: "›";
    margin: 0 0.5em;
    color: #aaa;
}
.breadcrumbs ul li:last-child::after {
    content: "";
}
.breadcrumbs a {
    color: var(--color-link);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
.breadcrumbs span {
    font-weight: bold;
    color: #000;
}
/* TOC — зміст */
.toc {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 30px;
}
.toc ul {
    padding-left: 20px;
}
.toc li {
    margin-bottom: 5px;
}
/* Кнопки поширення */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
    font-family: var(--font-base);
    font-weight: 600;
}
.share-buttons a img {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}
.share-buttons a:hover img {
    transform: scale(1.1);
}
/* плагінація */
.pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
/* ============================================
   3. Верхнє меню (головне + адаптивність)
   ============================================ */
/* Контейнери верхніх ліній */
.header__top-line-1, .header__top-line-2 {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 30px;
}
@media (min-width: 1600px) {
    .header__top-line-1, .header__top-line-2 {
        max-width: 1440px;
    }
}
@media (max-width: 767px) {
    .header__top-line-1, .header__top-line-2 {
        width: 100%;
    }
}
/* Нижній рядок — соцмережі, мови */
.header__top-line-1 {
    height: 35px;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(135deg, #4b0d7a, #8a62d6);
    color: #f3ebff;
    justify-content: flex-end;
    gap: 16px;
    box-shadow: 0 6px 16px rgba(75, 13, 130, 0.2), inset 0 -1px 3px rgba(255, 255, 255, 0.06);
    z-index: 10;
}
.header__top-line-1 img {
    height: 22px;
    vertical-align: middle;
    filter: brightness(0.85) saturate(0.6) sepia(0.2) hue-rotate(220deg);
    opacity: 0.75;
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.header__top-line-1 img:hover {
    transform: scale(1.12);
    filter: none;
    opacity: 1;
}
/* Головний рядок з логотипом і меню */
.header__top-line-2 {
    height: 55px;
    justify-content: space-between;
    background: linear-gradient(135deg, #3d0c60, #7a45d4);
    color: #f5f1fc;
    box-shadow: 0 6px 20px rgba(64, 20, 100, 0.25), inset 0 -1px 1px rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: visible;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header__top-line-2:hover {
    background: linear-gradient(135deg, #542a90, #9e6eff);
    box-shadow: 0 8px 24px rgba(90, 20, 150, 0.35), inset 0 -2px 2px rgba(255, 255, 255, 0.15);
}
.header__top-line-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(3px);
    pointer-events: none;
    z-index: 1;
}
.header__top-line-2 > * {
    position: relative;
    z-index: 2;
}
/* Логотип */
.header__logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 0 6px rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.header__logo:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(106, 13, 173, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.15);
}
/* Бургер-меню */
.menu__icon {
    display: none;
}
@media (max-width: 767px) {
    .menu__icon {
        display: block;
        width: 30px;
        height: 18px;
        position: relative;
        cursor: pointer;
        z-index: 5;
    }
    .menu__icon::before, .menu__icon::after, .menu__icon span {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 10%;
        background-color: var(--color-accent-light);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    .menu__icon::before {
        top: 0;
    }
    .menu__icon::after {
        bottom: 0;
    }
    .menu__icon span {
        top: 50%;
        transform: translateY(-50%);
    }
    .menu__icon._active span {
        opacity: 0;
    }
    .menu__icon._active::before {
        top: 50%;
        transform: rotate(-45deg);
    }
    .menu__icon._active::after {
        bottom: 50%;
        transform: rotate(45deg);
    }
}
/* Меню: список */
.menu__list {
    display: flex;
    align-items: center;
    gap: 24px;
}
.menu__list > li {
    position: relative;
}
.menu__link {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 19px;
    color: #e7dbf9;
    letter-spacing: 0.03em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.menu__link:hover, .menu__link:focus {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(186, 151, 255, 0.4);
}
/* Підменю */
.menu__sub-list {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(45, 20, 70, 0.92);
    backdrop-filter: blur(4px);
    padding: 16px 20px;
    min-width: 220px;
    max-width: 320px;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 5;
}
.menu__list > li:hover > .menu__sub-list, .menu__list > li:focus-within > .menu__sub-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.menu__sub-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}
.menu__sub-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.menu__sub-link {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    color: #e8defc;
    padding: 10px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.menu__sub-link:hover, .menu__sub-link:focus {
    color: #fff;
    background-color: rgba(186, 151, 255, 0.12);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    outline: none;
}
/* Кастомний скролбар для підменю */
.menu__sub-list::-webkit-scrollbar {
    width: 8px;
}
.menu__sub-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}
.menu__sub-list::-webkit-scrollbar-thumb {
    background: #b99be9;
    border-radius: 8px;
}
.menu__sub-list::-webkit-scrollbar-thumb:hover {
    background: #e4dcfa;
}
/* Touch-режим */
body._touch .menu__list > li {
    display: flex;
    align-items: center;
}
body._touch .menu__link {
    flex: 1 1 auto;
}
body._touch .menu__arrow {
    display: block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #fff;
    transition: transform 0.3s ease;
    cursor: pointer;
}
body._touch .menu__list > li._active .menu__arrow {
    transform: rotate(-180deg);
}
body._touch .menu__list > li._active .menu__sub-list {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    pointer-events: all;
}
/* Fullscreen-меню (мобільне, iOS/Android fix) */
@media (max-width: 767px) {
    body._lock {
        overflow: hidden;
    }
    .menu__body {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(60, 20, 90, 0.95), rgba(30, 0, 50, 0.92));
        /* темно-фіолетовий напівпрозорий фон */
        padding: 100px 30px 30px;
        transition: top 0.3s ease;
        overflow-y: auto;
        z-index: 9999; /* поверх шапки */
        -webkit-overflow-scrolling: touch;
        touch-action: manipulation;
    }
    .menu__body._active {
        top: 0;
    }
    /* Вертикальний список */
    .menu__list {
        flex-direction: column;
        gap: 20px;
    }
    .menu__list > li {
        margin-bottom: 26px;
        flex-wrap: wrap;
        position: relative;
    }
    .menu__list > li:last-child {
        margin-bottom: 0;
    }
    /* Підменю: */
    .menu__sub-list {
        position: relative; /* ключ: не absolute */
        top: auto;
        left: auto;
        right: auto;
        width: 100%; /* тягнеться на всю ширину колонки */
        margin-top: 16px; /* відступ вниз від назви розділу */
        background: rgba(255, 255, 255, 0.75); /* <-- біло-фіолетовий напівпрозорий */
        color: #000;
        border-radius: 8px;
        padding: 0 16px;
        max-height: 0; /* приховано за замовчуванням */
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height .3s ease, opacity .2s ease, visibility .2s ease;
        /* iOS-фікси, щоб текст не “зникав” */
        isolation: isolate;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    }
    /* Відкрите підменю: з фіксованою висотою і скролом */
    .menu__list > li._active .menu__sub-list {
        max-height: 480px; 
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 1;
        visibility: visible;
        padding: 10px 16px;
    }
    /* Якщо дуже маленький екран — трохи менше,*/
    @media (max-width: 360px) {
        .menu__list > li._active .menu__sub-list {
            max-height: 360px;
        }
    }
    /* Посилання у підменю */
    .menu__sub-link {
        display: block;
        font-size: 18px;
        color: #000;
        padding: 2px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .menu__sub-link:last-child {
        border-bottom: 0;
    }
    .menu__sub-link:hover, .menu__sub-link:focus {
        background-color: rgba(0, 0, 0, 0.06);
    }
    /* Стрілка-«трикутник» і збільшений хітбокс */
    .menu__arrow {
        position: relative;
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 8px;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid #fff; /* класичний білий трикутник */
        transition: transform 0.3s ease;
        cursor: pointer;
    }
    /* збільшений хітбокс (невидимий шар для зручного тапу) */
    .menu__arrow::before {
        content: "";
        position: absolute;
        top: -10px;
        left: -10px;
        width: 28px;
        height: 28px;
        background: transparent;
    }
    body._touch .menu__list > li._active .menu__arrow {
        transform: rotate(-180deg);
    }
    /* Бургер поверх */
    .menu__icon {
        position: relative;
        z-index: 10000;
    }
}
/* ============================================
   4. Хедер, банер та блок "Про автора"
   ============================================ */
/* Фіксована шапка сайту */
.header__body {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}
/* Відступ контенту вниз, щоб не перекривала шапка */
.page {
    flex: 1 1 auto;
    padding-top: 90px;
}
.page__index {
    padding-top: 0;
}
/* Банер під хедером */
.header__baner {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #f7f2ff, #ffffff);
    padding-top: 90px;
    box-shadow: 0 4px 20px rgba(90, 16, 130, 0.1);
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}
.header__baner.animate {
    opacity: 1;
    transform: translateY(0);
}
.header__baner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.header__baner img:hover {
    transform: scale(1.01);
}
/* ============================================
   Блок "Про автора"
   ============================================ */
.about__body {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 24px;
}
.about__photo {
    max-width: 320px;
}
.about__photo img {
    width: 100%;
    border-bottom: 2px solid #000;
}
.about__article {
    position: relative;
    width: 75%;
    padding-bottom: 30px;
}
/* Соцмережі автора — анімація при hover на .page */
.about__social {
    position: absolute;
    left: 0;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 1s ease;
    width: 320px;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.page:hover .about__social {
    left: 50%;
    opacity: 1;
}
/* Мобільна адаптація */
@media (max-width: 768px) {
    .about__body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about__article {
        width: 100%;
        padding: 20px 15px;
    }
    .about__photo {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .about__social {
        position: static;
        transform: none;
        opacity: 1;
        justify-content: center;
        margin-top: 20px;
    }
}
/* ============================================
   5. Картки товарів та відео (галерея)
   ============================================ */
/* Контейнер галереї: відео / товари */
.video, .card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 48px;
    padding: 15px 0 0 0;
    background-color: var(--color-bg);
}
/* Універсальні картки */
.video__body, .card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 320px;
    max-width: 400px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 5px;
    box-shadow: var(--shadow-main), inset 0 0 8px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    user-select: none;
    will-change: transform, box-shadow;
}
.video__body:hover, .card__body:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), inset 0 0 12px rgba(255, 255, 255, 0.8);
}
/* Заголовок/текст у картках */
.video__body p, .card__body p {
    min-height: 48px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 0;
    padding: 0 8px;
    line-height: 1.4;
}
/* Контент картки (під відео/зображенням) */
.video__article, .card__content {
    flex: 1 1 auto;
    padding-top: 8px;
}
/* Відеоблок: YouTube iframe в картках */
.video__you-tube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.product-video, .video-container {
    position: relative;
    width: 80%; /* Адаптивна ширина */
    max-width: 960px; /* Щоб не було надто широким на великих екранах */
    aspect-ratio: 16 / 9; /* Співвідношення сторін */
    max-height: 70vh; /* Не виходить за межі екрану по висоті */
    margin: 0 auto; /* Центрування по горизонталі */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .product-video, .video-container {
        width: 100%;
    }
}
.product-video iframe, .video__you-tube iframe, .video-container iframe {
    position: absolute; /* Абсолютне позиціонування для повного заповнення контейнера */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* Ціна товару */
.product__price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c2c2c;
}
.product__price-value {
    color: #d42c2c;
}
/* Статті */
.article-image {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}
.article-image img {
    width: 100%;
    max-width: 600px; /* обмеження по ширині для великих екранів */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}
.article-image img:hover {
    transform: scale(1.01);
}
.article-container h2 {
    text-align: center;
}
/* ============================================
   6. Footer — Преміум стиль, адаптивність
   ============================================ */
/* Основний контейнер футера */
.footer__body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    padding: 40px 24px;
    background: linear-gradient(135deg, #3d0c60, #7a45d4);
    color: #e7dbf9;
    font-family: var(--font-base);
    font-size: 13px;
    line-height: 1.5;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.04), 0 -4px 20px rgba(0, 0, 0, 0.15);
}
.footer__item {
    flex: 1 1 200px;
    max-width: 280px;
    padding: 0 10px;
    text-align: left;
}
.footer__item p {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d4c3f5;
    margin-bottom: 10px;
}
/* Меню в футері */
.footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer__menu a {
    display: inline-block;
    width: 180px;
    padding: 2px 5px;
    font-size: 12px;
    font-weight: 500;
    color: #e0d3f9;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer__menu a:hover {
    color: #ffffff;
    background-color: rgba(186, 151, 255, 0.12);
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}
/* Іконки мов / соцмереж */
.footer__flag img, .footer__icons img {
    width: 22px;
    height: 22px;
    margin: 3px 5px;
    border-radius: 50%;
    opacity: 0.65;
    filter: grayscale(0.3);
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.footer__flag img:hover, .footer__icons img:hover {
    transform: scale(1.08);
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(186, 151, 255, 0.4));
}
/* Нижній рядок */
.footer__bottom {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #cdbef0;
    padding-top: 16px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* Адаптація для мобільних */
@media (max-width: 768px) {
    .footer__body {
        text-align: center;
        gap: 16px;
        padding: 32px 16px;
    }
    .footer__item {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 0;
    }
    .footer__menu a {
        width: 100%;
    }
    .footer__bottom {
        font-size: 11px;
        padding-top: 12px;
    }
}
/* ============================================
   Утиліти, Теми, Анімації
   ============================================ */
/* Приховування */
.hidden {
    display: none !important;
    visibility: hidden !important;
}
/* Вирівнювання */
.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}
/* Відступи */
.mt-0 {
    margin-top: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
/* Темні / світлі секції */
.section--light {
    background-color: #ffffff;
    color: #2c2c2c;
}
.section--dark {
    background-color: #2b1c4d;
    color: #f0eafd;
}
/* Анімація з’явлення знизу */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in-up {
    animation: fade-in-up 0.8s ease-out forwards;
}
#cookie-banner {
    width: 200px;
    height: 280px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    z-index: 9999;
    font-family: sans-serif;
    font-size: 13px;
}
#cookie-banner p {
    margin: 0;
    line-height: 1.3em;
}
#cookie-banner button {
    margin-top: 10px;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
}
#accept-cookies {
    background: #1a73e8;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}
#decline-cookies {
    background: #e0e0e0;
    color: #777;
    font-size: 12px;
    opacity: 0.6;
    pointer-events: none;
}