:root {
    --color-black-wood: #1a1a1a;
    --color-gold: #D4AF37;
    --color-red-heart: #E63946;
    --color-blue-azure: #457B9D;
    --color-white: #F1FAEE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--color-black-wood);
    color: var(--color-white);
    line-height: 1.6;
}

p,
h1,
h2,
h3,
span,
div {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

main {
    animation: smoothFadeIn 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: 0.05em;
}

@keyframes smoothFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cinematicReveal {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.5)) blur(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

.reveal.delay-3 {
    transition-delay: 0.3s;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section.container {
    margin-top: 120px;
    margin-bottom: 120px;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}

.main-header.scrolled {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.logo-svg {
    height: 45px;
    width: auto;
}

.power-e,
.hero-power-e {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.4s ease;
    transform-origin: 19px 20px;
    transform: rotate(-45deg);
}

.hero-power-e {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-link:hover .power-e {
    transform: rotate(360deg);
}

.hero-logo-svg:hover .hero-power-e {
    transform: rotate(0deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
}

.nav-links a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 30px;
}

.main-nav .dropdown-content {
    display: block !important;
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.4s ease !important;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-top: 2px solid var(--color-gold);
    border-radius: 8px;
    padding: 30px;
    min-width: 380px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.main-nav .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-grid {
    display: flex;
    gap: 50px;
}

.dropdown-grid .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dropdown-grid .column a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.4s ease;
    display: inline-block;
    transform: translateX(0);
}

.dropdown-grid .column a:hover {
    color: var(--color-gold);
    transform: translateX(8px);
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: var(--color-black-wood);
}

.hero-minimalist {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-minimalist-content {
    transform: translateY(-8vh) translateX(2vw);
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-logo-svg {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
}

.hero-animate {
    animation: cinematicReveal 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

.scroll-down {
    position: absolute;
    bottom: 22vh;
    color: var(--color-gold);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.scroll-down:hover {
    color: var(--color-white);
}

.scroll-animate {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1.2s forwards, bounce 2s infinite 2.2s;
}

main>section:not(.hero-minimalist) {
    background-color: transparent;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.exposition-section {
    padding-top: 50px;
}

.expo-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.expo-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 2px solid var(--color-gold);
    padding-left: 15px;
}

.expo-text h2 {
    font-size: 3rem;
    color: var(--color-white);
    margin-bottom: 30px;
    line-height: 1.1;
}

.expo-text p {
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 40px;
}

.expo-image {
    flex: 1;
    height: 500px;
    position: relative;
}

.expo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.philosophy {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
}

.philosophy-text {
    flex: 1;
}

.philosophy-text h2 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 2rem;
}

.philosophy-text p {
    color: #e0e0e0;
}

.philosophy-image {
    flex: 1;
    height: 400px;
    position: relative;
    background-color: transparent;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-black-wood);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.image-accent {
    position: absolute;
    top: 30px;
    right: -30px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-gold);
    z-index: 1;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.expo-image:hover .image-accent,
.philosophy-image:hover .image-accent {
    top: 15px;
    right: -15px;
    background-color: rgba(212, 175, 55, 0.05);
}

.carousel-section {
    padding: 60px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: var(--color-gold);
    font-size: 2rem;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
    cursor: grab;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel.active {
    cursor: grabbing;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.nav-btn:hover {
    background: var(--color-gold);
    color: var(--color-black-wood);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.nav-btn.prev {
    left: -25px;
    opacity: 0;
    visibility: hidden;
}

.nav-btn.next {
    right: -25px;
}

.nav-btn.visible {
    opacity: 1;
    visibility: visible;
}

.carousel-card,
.artwork-card,
.artist-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex: 0 0 auto;
    user-select: none;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.carousel-card {
    min-width: 320px;
}

.carousel-card:hover,
.artwork-card:hover,
.artist-card:hover {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.image-wrapper {
    overflow: hidden;
}

.carousel-img,
.artist-img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
    will-change: transform;
}

.carousel-card:hover .carousel-img,
.artist-card:hover .artist-img {
    transform: scale(1.06);
}

.carousel-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.artist-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 30px auto 20px;
    display: block;
    border: 3px solid var(--color-gold);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* =========================================
   ЧИСТА КНОПКА "VOIR TOUT" (БЕЗ КАРТКИ)
   ========================================= */
.voir-tout-end {
    flex: 0 0 auto;
    width: 120px;
    /* Вужча зона */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 12px;
    /* МАГІЯ ЦЕНТРУВАННЯ: */
    align-self: center;
    margin-left: 20px;
    background: none !important;
    /* Прибираємо будь-який фон */
    border: none !important;
    /* Прибираємо будь-які рамки */
    box-shadow: none !important;
    /* Прибираємо тіні */
}

.voir-tout-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: all 0.4s ease;
    background: transparent;
}

.voir-tout-text {
    color: #666;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    transition: color 0.3s ease;
    font-weight: bold;
}

/* Ефекти при наведенні */
.voir-tout-end:hover .voir-tout-circle {
    background: var(--color-gold);
    color: var(--color-black-wood);
    border-color: var(--color-gold);
    transform: scale(1.1);
}

.voir-tout-end:hover .voir-tout-text {
    color: var(--color-gold);
}


.card-info {
    padding: 20px;
    position: relative;
}

.card-info h3 {
    margin-bottom: 10px;
    color: var(--color-white);
}

.card-info .description {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-info .price {
    font-weight: bold;
    color: var(--color-gold);
    font-size: 1.2rem;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-white);
    cursor: pointer;
    margin-right: 10px;
    margin-top: 15px;
    transition: color 0.3s;
}

.btn-icon:hover {
    color: var(--color-red-heart);
}

.artist-card {
    text-align: center;
    padding-bottom: 20px;
}

.artist-card p {
    color: #ccc;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-actions>a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.user-actions>a:hover {
    color: var(--color-gold);
}

#search-app {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 8px 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box:focus-within {
    border-color: var(--color-gold);
    background: rgba(15, 15, 15, 0.9);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-white);
    width: 140px;
    font-size: 0.95rem;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box input:focus {
    width: 230px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.search-box:focus-within input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.search-box button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    margin-left: 10px;
    transition: color 0.4s;
}

.search-box:focus-within button {
    color: var(--color-gold);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 400px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-top: 2px solid var(--color-gold);
    border-radius: 8px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow: hidden;
}

.search-fade-enter-active,
.search-fade-leave-active {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-fade-enter-from,
.search-fade-leave-to {
    opacity: 0;
    transform: translateY(-15px);
}

.search-fade-enter-to,
.search-fade-leave-from {
    opacity: 1;
    transform: translateY(0);
}

.search-state {
    padding: 25px;
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(212, 175, 55, 0.08);
}

.search-img-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.search-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-info h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    transition: color 0.3s;
}

.search-result-item:hover .search-info h4 {
    color: var(--color-gold);
}

.search-info span {
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-page {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.auth-container {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 40px 50px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.5s ease-out;
}

.auth-form h2 {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 5px;
    text-align: center;
}

.auth-subtitle {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
}

.input-group {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #ddd;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 15px;
    border-radius: 4px;
    color: var(--color-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.85rem;
}

.remember-me {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.forgot-password {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.auth-submit {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 15px 0;
    margin-bottom: 20px;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    font-size: 0.95rem;
    color: #ccc;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 10px;
}

.auth-footer a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 5px;
}

.auth-footer a:hover {
    color: var(--color-white);
    text-decoration: underline;
}

.main-footer {
    background-color: transparent;
    color: var(--color-white);
    padding: 80px 50px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
}

.footer-brand .footer-logo {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-brand p,
.footer-brand a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    display: block;
    font-size: 0.95rem;
}

.footer-brand a:hover {
    color: var(--color-gold);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--color-gold);
}

.link-group a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.big-action-link {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-blue-azure);
    text-decoration: none;
    line-height: 1.1;
    text-align: right;
    transition: all 0.4s ease;
}

.big-action-link i {
    font-size: 2.5rem;
    font-weight: 300;
}

.big-action-link:hover {
    color: var(--color-gold);
    transform: translateX(15px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
    color: #999;
    font-size: 0.85rem;
}

.social-links-footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.suivre-text {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    color: var(--color-white);
    font-size: 0.9rem;
}

.social-links-footer a {
    color: var(--color-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links-footer a:hover {
    color: var(--color-red-heart);
    transform: translateY(-3px);
}

.page-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-content {
    transform: translateY(-8vh);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--color-white);
}

.page-hero p {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.gold {
    color: var(--color-gold);
}

/* =========================================
   ЖУРНАЛ / ACTUALITÉS (КОМПАКТНИЙ ДИЗАЙН)
   ========================================= */
.news-section {
    margin-bottom: 120px;
}

.news-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.news-card:hover {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

/* Зменшена висота картинки з 350px до 250px */
.news-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Зменшені внутрішні відступи з 40px до 25px */
.news-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: bold;
}

/* Зменшено шрифт заголовків з 1.8rem до 1.4rem */
.news-title {
    font-size: 1.4rem !important;
    color: var(--color-white);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-excerpt {
    color: #bbb;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* ================= СТАТТЯ НА ПЕРШІЙ ШПАЛЬТІ ================= */
.news-card.featured {
    flex-direction: row;
    margin-bottom: 60px;
}

/* Зменшено висоту головної картинки з 500px до 380px */
.news-card.featured .news-image-wrapper {
    width: 55%;
    height: 380px;
}

/* Зменшено відступи головної статті з 60px до 40px */
.news-card.featured .news-content {
    width: 45%;
    justify-content: center;
    padding: 40px;
}

/* Зменшено шрифт головного заголовку з 2.8rem до 2.2rem */
.news-card.featured .news-title {
    font-size: 2.2rem !important;
    margin-bottom: 20px;
}

/* СІТКА НОВИН */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* Трохи менший відступ між картками */
}

/* Адаптивність для мобільних екранів */
@media (max-width: 992px) {
    .news-card.featured {
        flex-direction: column;
    }

    .news-card.featured .news-image-wrapper,
    .news-card.featured .news-content {
        width: 100%;
    }

    .news-card.featured .news-image-wrapper {
        height: 300px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   АДМІН-ПАНЕЛЬ (DASHBOARD)
   ========================================= */
/* =========================================
   АДМІН-ПАНЕЛЬ (DASHBOARD)
   ========================================= */
.admin-wrapper {
    min-height: 100vh;
    padding-top: 0;
    background: #0a0a0a;
    padding-left: 280px;
    /* Зсуваємо весь контент вправо на ширину сайдбару */
}

/* Бокове меню (Жорстко зафіксоване на екрані) */
.admin-sidebar {
    width: 280px;
    background: rgba(20, 20, 20, 0.98);
    border-right: 1px solid rgba(212, 175, 55, 0.15);

    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    /* Гарантує, що меню дійде до самої підлоги */
    height: 100%;

    padding: 100px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 10;
    box-sizing: border-box;
}

/* Головна зона контенту */
.admin-content {
    width: 100%;
    padding: 100px 50px 40px 50px;
    box-sizing: border-box;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.admin-nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: #888;
    text-align: left;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-nav-btn i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.admin-nav-btn:hover {
    background: rgba(212, 175, 55, 0.05);
    color: var(--color-white);
}

.admin-nav-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border-left: 3px solid var(--color-gold);
}



.admin-header-title {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 5px;
}

.admin-subtitle {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

/* Сітки та картки */
.admin-grid {
    display: grid;
    gap: 30px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
    grid-template-columns: 2fr 1fr;
}

.admin-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s, border-color 0.3s;
}

.admin-card:hover {
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-white);
}

/* Таблиці керування */
.admin-table-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 15px;
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Елементи таблиці */
.admin-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-disponible {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-vendu {
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-red-heart);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    margin-right: 5px;
}

.action-btn:hover {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.action-btn.delete:hover {
    background: var(--color-red-heart);
    color: #fff;
    border-color: var(--color-red-heart);
}

@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
        padding: 20px 10px;
    }

    .admin-nav-btn span {
        display: none;
    }

    .admin-content {
        margin-left: 80px;
        padding: 20px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}



/* =========================================
   ПРОФІЛЬ АРТИСТА (MASONRY & BIO)
   ========================================= */
[v-cloak] {
    display: none;
}

/* Асиметрична сітка картин (Masonry Layout) */
.masonry-gallery {
    column-count: 3;
    column-gap: 40px;
    padding-top: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
}

.masonry-img-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.masonry-img-wrapper img {
    width: 100%;
    display: block;
    /* Прибирає нижній відступ у картинок */
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover .masonry-img-wrapper img {
    transform: scale(1.06);
}

.masonry-info {
    padding: 20px;
    position: relative;
}

.masonry-info h3 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.masonry-info .description {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Секція Біографії */
.elegant-story-grid {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    background: rgba(255, 255, 255, 0.01);
    padding: 60px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.story-image-refined {
    flex: 0 0 400px;
}

.story-image-refined img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: -15px 15px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.story-text-refined {
    flex: 1;
    padding-top: 20px;
}

.artist-quote {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--color-gold);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
}

.artist-quote::before {
    content: '"';
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.2);
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: serif;
}

.bio-paragraph {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #bbb;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 2;
        gap: 30px;
    }
}


/* =========================================
   ОПТИМІЗАЦІЯ ДЛЯ НОУТБУКІВ (Екрани до 1440px)
   ========================================= */
@media (max-width: 1440px) {

    /* 1. ГЛОБАЛЬНІ ВІДСТУПИ ТА ШРИФТИ */
    section.container {
        margin-top: 70px;
        margin-bottom: 70px;
    }

    h2 {
        font-size: 2.2rem !important;
    }

    /* Зменшуємо гігантські заголовки на сторінках каталогів (Peintures, Sculptures) */
    .page-header h1,
    .page-hero h1 {
        font-size: 3.5rem !important;
    }

    /* 2. HEADER ТА НАВІГАЦІЯ */
    .main-header {
        padding: 12px 30px;
        /* Робимо хедер тоншим */
    }

    .logo-svg {
        height: 35px;
        /* Менший логотип у хедері */
    }

    .nav-links {
        gap: 25px;
        /* Зменшуємо відстань між пунктами меню */
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    /* Компактніший рядок пошуку */
    .search-box input {
        width: 110px;
    }

    .search-box input:focus {
        width: 180px;
    }

    /* 3. ГОЛОВНА СТОРІНКА (INDEX.PHP) */
    .hero-logo-svg {
        max-width: 380px;
        /* Зменшений логотип по центру */
    }

    .expo-grid {
        gap: 30px;
    }

    .expo-image {
        height: 360px;
        /* Картина експозиції більше не займає весь екран */
    }

    .expo-text p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .philosophy {
        padding: 50px 0;
        gap: 30px;
    }

    .philosophy-image {
        height: 300px;
    }

    /* 4. КАРУСЕЛІ ТА КАРТКИ (INDEX) */
    .carousel-img {
        height: 260px;
        /* Менші картини в каруселі */
    }

    .carousel-card {
        min-width: 260px;
        /* Більше карток влізає на екран */
    }

    .artist-img {
        width: 150px;
        height: 150px;
        margin: 20px auto 10px;
    }

    /* 5. КАТАЛОГИ (СІТКИ КАРТИН ТА СКУЛЬПТУР) */
    .gallery-grid,
    .favoris-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        /* Менші картки в каталозі */
        gap: 30px 20px;
    }

    .gallery-image-wrapper {
        margin-bottom: 15px;
    }

    .gallery-card-info h3,
    .card-info h3 {
        font-size: 1.2rem;
    }

    /* 6. ПРОФІЛЬ АРТИСТА */
    .elegant-story-grid {
        gap: 40px;
        padding: 40px;
    }

    .story-image-refined {
        flex: 0 0 300px;
        /* Менше фото артиста */
    }

    .artist-quote {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .bio-paragraph {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .elegant-story-grid {
        flex-direction: column;
        padding: 30px 20px;
        align-items: center;
        text-align: center;
    }

    .story-image-refined {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }

    .artist-quote::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.masonry-item:hover .masonry-title-link {
    color: var(--color-gold) !important;
}



@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}

/* =========================================
   СТОРІНКА ВИТВОРУ (COMPACT EDITORIAL)
   ========================================= */
[v-cloak] {
    display: none;
}

.oeuvre-editorial {
    max-width: 1000px;
    /* Зменшили загальну ширину контенту */
    margin: 0 auto;
    padding: 0 20px;
}

/* Верхня частина: Назва та Автор (Компактніше) */
.oeuvre-header-center {
    text-align: center;
    margin-bottom: 50px;
    /* Менший відступ до картини */
}

.oeuvre-cat-label {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    /* Менший трекінг */
    font-size: 0.8rem;
    /* Менший шрифт */
    margin-bottom: 15px;
    display: block;
}

.oeuvre-title-huge {
    font-size: 3rem;
    /* Було 5rem, тепер набагато акуратніше */
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 15px;
}

.oeuvre-artist-link {
    font-size: 1rem;
    /* Було 1.2rem */
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.oeuvre-artist-link .gold {
    color: var(--color-gold);
    font-weight: bold;
}

.oeuvre-artist-link:hover {
    color: var(--color-white);
}

/* Центральна частина: Акуратна картина */
.oeuvre-hero-img-container {
    width: 100%;
    height: 65vh;
    /* Було 85vh, тепер картина менша за висотою */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    /* Менший відступ до тексту */
}

.oeuvre-hero-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Трохи м'якша тінь */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    border-radius: 2px;
}

/* Нижня частина: Опис (Більш читабельний) */
.oeuvre-story-center {
    max-width: 650px;
    /* Звузили текстовий блок */
    margin: 0 auto 100px;
    /* Великий відступ до ціни збережено */
    text-align: center;
}

.oeuvre-story-center p {
    font-size: 1rem;
    /* Стандартний, приємний шрифт */
    line-height: 1.9;
    /* Трохи щільніший рядок */
    color: #bbb;
    white-space: pre-wrap;
}

/* Самий низ: Комерція (Мінімалізм) */
.oeuvre-purchase-footer {
    max-width: 400px;
    /* Вужчий блок */
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

.oeuvre-final-price {
    font-size: 1.2rem;
    /* Акуратна ціна */
    color: var(--color-white);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 1px;
}

.oeuvre-small-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.btn-acquire-small {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    /* Більш тьмяна рамка */
    color: var(--color-gold);
    padding: 8px 20px;
    /* Менша кнопка */
    font-size: 0.75rem;
    /* Дрібний шрифт */
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-acquire-small:hover {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.btn-fav-small {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 8px;
    color: #555;
    /* Тьмяне сердечко за замовчуванням */
}

.btn-fav-small:hover {
    color: #888;
}

/* Адаптивність */
@media (max-width: 992px) {
    .oeuvre-title-huge {
        font-size: 2.2rem;
    }

    .oeuvre-hero-img-container {
        height: 50vh;
    }

    .oeuvre-story-center {
        padding: 0 10px;
    }
}


/* =========================================
   ФІКСАЦІЯ ХЕДЕРА ТІЛЬКИ ДЛЯ АДМІНКИ ТА СТОРІНКИ ТВОРУ
   ========================================= */

body:has(#admin-dashboard) .main-header,
body:has(#oeuvre-app) .main-header,
body:has(#peintures-app) .main-header,
body:has(#paiement-app) .main-header,
body:has(#sculptures-app) .main-header,
body:has(#favoris-app) .main-header,
body:has(#actualites-app) .main-header,
body:has(#ateliers-app) .main-header,
body:has(#evenement-details-app) .main-header,
body:has(#evenements-app) .main-header,
body:has(#atelier-details-app) .main-header,
body:has(#client-dashboard) .main-header,
body:has(#photographies-app) .main-header,
body:has(#artistes-page-app) .main-header {
    transform: translateY(0) !important;
    background-color: rgba(20, 20, 20, 0.98) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* =========================================
   ФУТЕР (Приховуємо в адмінці)
   ========================================= */

footer {
    position: relative;
    z-index: 20;
    background-color: #0a0a0a;
}

body:has(#admin-dashboard) {
    background-color: #0a0a0a !important;
}

@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
        padding: 100px 10px 20px 10px;
    }

    .admin-wrapper {
        padding-left: 80px;
    }

    .admin-content {
        padding: 100px 20px 20px 20px;
    }
}


/* =========================================
   КАТАЛОГИ (Peintures, Sculptures, Photographies)
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 50px 30px;
}

.gallery-card {
    background: transparent;
    transition: transform 0.4s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
}

.gallery-card:hover h3 a {
    color: var(--color-gold) !important;
}

.gallery-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.artist-name {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.oeuvre-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 10px;
}

.gallery-description {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================
   ЖУРНАЛ / ACTUALITÉS
   ========================================= */

/* Панель керування: фільтри та пошук */
.journal-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #bbb;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.chip.active,
.chip:hover {
    background: var(--color-gold);
    color: var(--color-black-wood);
    border-color: var(--color-gold);
    font-weight: bold;
}

.news-search {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 10px 40px 10px 20px;
    color: white;
    outline: none;
    width: 280px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-search:focus {
    border-color: var(--color-gold);
    background: rgba(20, 20, 20, 0.9);
    width: 320px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
}

/* Кнопка "Lire l'article" */
.read-more-btn {
    display: inline-block;
    margin-top: auto;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    align-self: flex-start;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--color-gold);
    color: var(--color-black-wood);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* =========================================
   Анімації для плавного переходу (фільтри новин)
   ========================================= */

/* Плавна поява, зникнення та ПЕРЕМІЩЕННЯ карток (.list-move) */
.list-move,
.list-enter-active,
.list-leave-active {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Стан, з якого картка з'являється і в який зникає */
.list-enter-from,
.list-leave-to {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
}

/* МАГІЯ ТУТ: коли картка зникає, ми виймаємо її з сітки (absolute), 
   щоб інші картки могли плавно "переїхати" на її місце, а не стрибати різко */
.list-leave-active {
    position: absolute;
    z-index: -1;
}


/* =========================================
   КАТАЛОГИ (Peintures, Sculptures, Photographies)
   ========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 50px 30px;
}

.gallery-card {
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-10px);
}

.gallery-card:hover h3 a,
.gallery-card:hover h3 {
    color: var(--color-gold) !important;
}

.gallery-image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background: #111;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Легкий зум при наведенні (для мистецтва це виглядає дуже дорого) */
.gallery-card:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.gallery-card-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    line-height: 1.2;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.artist-name {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: bold;
}

.oeuvre-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 10px;
}

.gallery-description {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================
   STYLES DU DASHBOARD ADMIN
   ========================================= */

/* СТИЛІ ДЛЯ СТАТУСІВ В ТАБЛИЦІ */
.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.new {
    background: rgba(230, 57, 70, 0.1);
    color: var(--color-red-heart);
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.status-badge.processing {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-badge.success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-badge.canceled {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* СТИЛІ ПАГІНАЦІЇ */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: #888;
    font-size: 0.9rem;
}

/* ІНПУТИ ТА ВИПРАВЛЕННЯ ВИПАДАЮЧОГО СПИСКУ */
.admin-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.admin-input:focus {
    border-color: var(--color-gold);
    outline: none;
}

.admin-input option {
    background-color: #1a1a1a;
    color: white;
}

/* Ось цей рядок фіксить білий фон! */

/* МОДАЛЬНІ ВІКНА */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-modal-content {
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.3s ease-out;
}

.admin-modal-btn {
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.admin-modal-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.2);
}

.admin-modal-btn.confirm {
    background: var(--color-red-heart);
    color: white;
}

.admin-modal-btn.confirm:hover {
    background: #ff1a1a;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

[v-cloak] {
    display: none;
}


/* СТИЛІ ДЛЯ ФІЛЬТРАЦІЇ */
.filter-select {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.filter-select:focus,
.filter-select:hover {
    border-color: var(--color-gold);
}

.filter-select option {
    background: #111;
    color: white;
}


/* =========================================
   ПРЕМІАЛЬНИЙ КАСТОМНИЙ ФІЛЬТР (Dropdown)
   ========================================= */
.custom-dropdown {
    position: relative;
    width: 250px;
    font-family: 'Inter', sans-serif;
    user-select: none;
    z-index: 1000;
    /* ПІДНЯЛИ МЕНЮ ПОВЕРХ УСЬОГО */
}

.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(25, 25, 25, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 14px 20px;
    border-radius: 6px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.dropdown-trigger:hover {
    border-color: var(--color-gold);
    background: rgba(40, 40, 40, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    /* Зробили тінь сильнішою */
    backdrop-filter: blur(15px);
    z-index: 1001;
    /* МЕНЮ ПОВЕРХ КАРТИН */

    /* АНІМАЦІЯ ВСПЛИВАННЯ */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.98);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-item {
    padding: 12px 20px;
    color: #bbb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    color: white;
    background: rgba(212, 175, 55, 0.08);
    padding-left: 28px;
}

.dropdown-item.active {
    color: var(--color-gold);
    font-weight: bold;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--color-gold);
    padding-left: 17px;
}


/* =========================================
   CLIENT DASHBOARD (Mon Compte)
   ========================================= */

/* Головний контейнер: відступ зверху, щоб не наїжджати на закріплений хедер */
.account-page {
    padding-top: 120px;
    /* ВАЖЛИВО: безпечна зона для фіксованого хедера */
    padding-bottom: 80px;
    min-height: 80vh;
    color: white;
    box-sizing: border-box;
}

.client-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.client-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.client-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* SIDEBAR (Бокове меню) */
.client-sidebar {
    flex: 0 0 280px;
    /* Фіксована ширина бокового меню */
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 20px;
    position: sticky;
    top: 100px;
    /* Меню "прилипає" при скролі, не заходячи під хедер */
    z-index: 10;
}

.sidebar-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.avatar-circle {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-gold);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 15px;
}

.client-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.client-nav-btn {
    background: transparent;
    border: none;
    color: #aaa;
    text-align: left;
    padding: 12px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-family: inherit;
}

.client-nav-btn i {
    width: 20px;
    text-align: center;
}

.client-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.client-nav-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    font-weight: bold;
    border-left: 3px solid var(--color-gold);
}

.gold-badge {
    background: var(--color-gold);
    color: black;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: auto;
}

.sidebar-footer {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.logout-btn {
    color: #ff4d4d;
}

.logout-btn:hover {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

/* CONTENT AREA (Контентна зона) */
.client-content {
    flex: 1;
    min-width: 0;
    /* Важливий фікс для CSS Grid всередині Flex-контейнера */
}

.client-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.client-title {
    color: var(--color-gold);
    font-size: 2rem;
    margin: 0;
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Інформація профілю */
.profile-info-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 30px;
}

.info-group {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-label {
    color: #888;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.info-value {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Форма редагування */
.client-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 6px;
    color: white;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.client-input:focus {
    border-color: var(--color-gold);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.client-actions-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cancel {
    background: transparent;
    border: 1px solid #666;
    color: #bbb;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.msg-success {
    color: #2ecc71;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.msg-error {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* FAVORITES GRID (Сітка фаворитів) */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
}

.fav-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    transition: transform 0.3s, border-color 0.3s;
}

.fav-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-img-link {
    position: relative;
    display: block;
    height: 220px;
}

.card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.vendu-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-red-heart);
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 15px;
}

.card-details h4 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 1.1rem;
}

.card-details .price {
    color: var(--color-gold);
    font-weight: bold;
    margin: 0;
}

.remove-fav-btn {
    background: none;
    border: none;
    color: var(--color-red-heart);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}

/* СПИСКИ (Запити та Покупки) */
.client-empty-box {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.client-empty-box i {
    font-size: 3rem;
    color: #555;
    margin-bottom: 15px;
}

.list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-item {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    transition: background 0.3s;
}

.list-item:hover {
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(212, 175, 55, 0.2);
}

.item-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.item-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.item-thumb.placeholder {
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #555;
}

.item-info {
    flex: 1;
    min-width: 200px;
}

.item-info h4 {
    color: white;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
}

.item-info .date {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.item-status {
    text-align: right;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.new {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.5);
}

.status-badge.processing {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.5);
}

.status-badge.success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.5);
}

.status-badge.canceled {
    background: rgba(150, 150, 150, 0.2);
    color: #aaa;
    border: 1px solid #666;
}

.purchase-item {
    border-left: 4px solid #2ecc71;
}

.order-id {
    color: #aaa;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 5px;
}

.price-paid {
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 5px 0 0 0;
}

.price-paid span {
    font-size: 0.8rem;
    font-weight: normal;
    color: #888;
}

.item-date {
    color: #888;
    font-size: 0.85rem;
}

/* АНІМАЦІЇ */
.fade-in {
    animation: smoothFadeIn 0.4s ease forwards;
}

/* АДАПТИВНІСТЬ ДЛЯ МОБІЛОК */
@media (max-width: 900px) {
    .client-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .client-sidebar {
        flex: none;
        width: 100%;
        position: static;
    }

    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .item-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
    }

    .item-status {
        text-align: left;
        width: 100%;
    }
}


/* --- СТИЛІ ДЛЯ МОДАЛЬНОГО ВІКНА (ПОПАПУ) --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    /* Затемнення заднього фону */
    backdrop-filter: blur(5px);
    /* Легке розмиття фону */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Щоб вікно було поверх усього */
}

.modal-content {
    background: #0c0c0c;
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Золота рамка */
    width: 90%;
    max-width: 650px;
    max-height: 90vh;
    /* Щоб не вилазило за межі екрану */
    overflow-y: auto;
    /* Скрол, якщо форма дуже довга */
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* Кастомний скролбар для модалки */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.modal-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal-btn:hover {
    color: #ff4d4d;
    transform: scale(1.1);
}


/* Кнопка підписки на художника (Сторінка профілю) */
.artist-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    color: var(--color-white, #fff);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 12px 25px;
    border-radius: 30px;
    /* Круглі краї виглядають елегантно */
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.artist-follow-btn i {
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.artist-follow-btn:hover:not(:disabled) {
    border-color: var(--color-gold, #d4af37);
    color: var(--color-gold, #d4af37);
}

/* Стан, коли клієнт вже підписаний */
.artist-follow-btn.followed {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.artist-follow-btn.followed i {
    color: var(--color-red-heart, #ff4757);
}

.artist-follow-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- PINTEREST MASONRY GRID --- */
.masonry-grid {
    column-count: 3;
    /* Кількість колонок на великому екрані */
    column-gap: 25px;
    /* Відстань між колонками */
    width: 100%;
    margin-top: 20px;
}

/* Налаштування для кожної картки */
.masonry-item {
    break-inside: avoid;
    /* Забороняє розривати картку між колонками */
    margin-bottom: 25px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    /* Важливо для masonry */
    width: 100%;
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
    /* Золотий акцент при наведенні */
}

/* --- СКИДАЄМО СТАРІ ВИСОТИ ДЛЯ MASONRY --- */
.masonry-item .gallery-image-wrapper {
    width: 100%;
    height: auto !important;
    /* Вбиваємо стару фіксовану висоту */
    min-height: unset !important;
    /* Забираємо мінімальну висоту, якщо вона була */
    display: block;
}

.masonry-item .gallery-image-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.masonry-item .gallery-img {
    width: 100%;
    height: auto !important;
    /* Дозволяємо картинці розтягуватись по своїй пропорції */
    display: block;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    /* Заокруглюємо тільки верхні кути картинки */
}

/* Робимо відступи тексту акуратнішими */
.masonry-item .gallery-card-info {
    padding: 20px;
    height: auto !important;
}

/* Адаптивність (Responsive) */
@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* --- СТИЛІ ДЛЯ ПАНЕЛІ ФІЛЬТРІВ --- */
.filters-panel {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeInUp 0.6s ease-out forwards;
}

.filter-group {
    flex: 1;
    min-width: 160px;
}

.filter-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.filter-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.filter-input:focus {
    border-color: var(--color-gold, #d4af37);
}

/* Прибираємо стандартні стрілочки у інпутів типу number */
.filter-input[type="number"]::-webkit-inner-spin-button,
.filter-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filters-panel {
        flex-direction: column !important; /* Примусово ставимо елементи в стовпчик */
        align-items: stretch !important; /* Розтягуємо їх на всю ширину екрану */
        padding: 15px !important; /* Трохи зменшуємо внутрішні відступи для мобілки */
    }
    
    .filter-group {
        width: 100% !important; /* Інпут займає всю ширину */
        min-width: 100% !important;
        margin-bottom: 5px !important; /* Робимо акуратний відступ знизу */
    }
    
/* --- FIX ДЛЯ ФУТЕРА (щоб колонки не стрибали при hover) --- */
.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    /* Відстань між колонками */
    width: 45%;
}

.footer-links .link-group {
    flex: 1;
    /* Колонки будуть однакової ширини */
    min-width: 200px;
    /* Мінімальна ширина, щоб довгі слова мали місце для зсуву */
}

.footer-links .link-group a {
    display: inline-block;
    /* Важливо для плавного transform без зламу верстки */
    width: 100%;
    /* Текст не буде розширювати контейнер */
}

/* =========================================
   PAGES LÉGALES, FAQ & CONTACT
========================================= */
.legal-container {
    max-width: 800px;
    margin: 120px auto 80px auto;
    padding: 0 20px;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.legal-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-subtitle {
    color: #d4af37;
    font-size: 1.2rem;
    margin-bottom: 50px;
    font-weight: 300;
}

.legal-content h3 {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-content p,
.legal-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Специфічні стилі для сторінки Contact */
.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.contact-box a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.contact-box a:hover {
    text-decoration: underline;
}


/* =========================================
   COOKIE BANNER & MODAL (RGPD)
========================================= */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: calc(100% - 60px);
    max-width: 450px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Золотий акцент EXIT */
    border-radius: 8px;
    padding: 25px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);

    /* Анімація появи */
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-white);
    font-size: 1.2rem;
}

.cookie-banner-content p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 20px;
}

.cookie-banner-content a {
    color: var(--color-gold);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons button {
    font-size: 0.85rem;
    padding: 10px 15px;
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--color-white);
}

.btn-text {
    background: transparent;
    color: #888;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--color-white);
}

/* Модальне вікно налаштувань */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-box {
    background: #111;
    border: 1px solid var(--color-gold);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    border-radius: 8px;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.show .cookie-modal-box {
    transform: scale(1);
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.cookie-option:last-of-type {
    border-bottom: none;
}

.cookie-option-info h4 {
    margin: 0 0 5px 0;
    color: var(--color-white);
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

/* Toggle Switch (Дизайн "повзунка") */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-left: 15px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--color-gold);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

input:disabled+.slider {
    opacity: 0.5;
    cursor: not-allowed;
}



/* =========================================
   МОБІЛЬНА АДАПТАЦІЯ (Екрани до 768px) - УЛЬТРА-КОМПАКТНА ВЕРСІЯ
   ========================================= */
@media (max-width: 768px) {

    /* --- 1. СИЛЬНІШЕ ЗМЕНШЕННЯ МАСШТАБУ --- */
    html {
        font-size: 14px !important;
        overflow-y: scroll !important;
        /* Було 14px. Це магічно зменшить всі шрифти і відступи, які задані в rem */
    }

    /* ФІКС ГОРИЗОНТАЛЬНОГО СКРОЛУ НА iOS */
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative; 
    }
    
    /* Обмежуємо контейнер картини, щоб зум не ламав сайт */
    .oeuvre-hero-img-container, .gallery-image-wrapper {
        overflow: hidden !important; 
    }

    h2 {
        font-size: 1.8rem !important;
        /* Ще менші заголовки */
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    p {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }

    body.compensate-for-scrollbar,
    /* Якщо плагін додає цей клас */
    body[style*="overflow: hidden"] {
        padding-right: 0 !important;
    }

    /* --- 2. ХЕДЕР І БОКОВЕ МЕНЮ --- */
    .main-header {
        padding: 8px 12px !important;
        /* Менші відступи від країв екрану */
        justify-content: space-between !important;
        align-items: center !important;
    }



    .logo-svg {
        width: 60px !important;
        height: auto !important;
    }

    /* Логотип-крихітка */

    .mobile-menu-btn,
    .mobile-menu-close-btn {
        display: block !important;
    }

    .mobile-menu-close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
    }

    .search-container {
        width: 100px !important;
        margin-right: 80px;
    }

    .search-box input {
        padding: 5px 8px !important;
        font-size: 0.8rem !important;
    }

    /* --- ФІКС ПОШУКУ (щоб не розширювався при кліку) --- */
    .search-box input:focus {
        width: 100% !important;
        /* Забороняємо ставати ширшим, ніж контейнер */
    }

    /* --- ФІКС ВИПАДАЮЧОГО СПИСКУ (щоб був по центру екрану) --- */
    .search-results-dropdown {
        position: fixed !important;
        /* Відв'язуємо від маленької строки пошуку */
        top: 60px !important;
        /* Опускаємо рівно під хедер (висота хедера) */
        left: 15px !important;
        /* Робимо рівні відступи по краях екрану */
        right: 15px !important;
        width: auto !important;
        /* Автоматична ширина між left та right */
        max-width: none !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .user-actions {
        gap: 20px;
    }

    /* Менша відстань між іконками */

    /* Бокове меню */
    .main-nav {
        display: flex !important;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: #0a0a0a;
        z-index: 9999;
        padding: 60px 15px 20px !important;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
    }



    /* =========================================
       ІДЕАЛЬНИЙ МОБІЛЬНИЙ АКОРДЕОН (ФІНАЛ)
       ========================================= */

    /* 1. ВБИВАЄМО ДІРИ: Все притискаємо догори */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        /* Збираємо все зверху */
        align-items: stretch !important;
        gap: 0 !important;
        padding: 80px 20px 40px 20px !important;
        height: 100vh !important;
        overflow-y: auto !important;
        background: #0a0a0a !important;
        margin: 0 !important;
    }

    /* 2. ЗАБОРОНА РОЗТЯГУВАННЯ: Пункти чітко один під одним */
    .nav-links>li {
        flex: 0 0 auto !important;
        /* МАГІЯ: забороняє браузеру розтягувати цей блок */
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .nav-links>li:last-child {
        border-bottom: none !important;
    }

    .nav-links>li>a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 22px 10px !important;
        font-size: 1.3rem !important;
        color: white !important;
        box-sizing: border-box !important;
    }

    /* 3. Стрілочка, яка плавно крутиться */
    .dropdown>a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--color-gold, #d4af37);
        transition: transform 0.3s ease !important;
    }

    .dropdown.active-mobile>a::after {
        transform: rotate(180deg) !important;
    }

    /* =========================================
       4. ЖОРСТКЕ ЗНИЩЕННЯ ДЕСКТОПНОГО HOVER
       ========================================= */
    /* Цей блок забороняє десктопним стилям вилазити при тапі */
    .nav-links .dropdown .dropdown-content,
    .nav-links .dropdown:hover .dropdown-content,
    .nav-links .dropdown:focus-within .dropdown-content {
        display: block !important;
        /* Обов'язково block для анімації */
        position: static !important;
        max-height: 0 !important;
        /* СХОВАНО */
        opacity: 0 !important;
        visibility: hidden !important;
        overflow: hidden !important;

        /* Знищуємо старий дизайн */
        background: transparent !important;
        border: none !important;
        border-left: 2px solid var(--color-gold, #d4af37) !important;
        box-shadow: none !important;
        margin: 0 0 0 10px !important;
        padding: 0 0 0 15px !important;
        width: calc(100% - 10px) !important;

        /* Налаштовуємо плавність */
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease !important;
    }

    /* =========================================
       5. ПЛАВНЕ ВІДКРИТТЯ АКОРДЕОНУ
       ========================================= */
    .nav-links .dropdown.active-mobile .dropdown-content,
    .nav-links .dropdown.active-mobile:hover .dropdown-content {
        max-height: 500px !important;
        /* Розсуває сусідні пункти вниз */
        opacity: 1 !important;
        visibility: visible !important;
        padding: 10px 0 15px 15px !important;
        /* З'являється відступ */
    }

    /* 6. Дизайн підпунктів */
    .dropdown-content a {
        display: block !important;
        padding: 12px 0 !important;
        font-size: 1rem !important;
        color: #aaa !important;
        text-transform: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    }

    .dropdown-content a:last-child {
        border-bottom: none !important;
        color: var(--color-gold, #d4af37) !important;
        font-weight: bold !important;
        margin-top: 5px !important;
        text-transform: uppercase !important;
        font-size: 0.85rem !important;
    }


    /* --- 3. КАРТИНКИ АРТИСТІВ (Фікс розтягнення) --- */
    .nav-btn {
        display: none !important;
    }

    /* --- ФІКС КАРУСЕЛІ АРТИСТІВ (Ідеальне коло без обрізань) --- */
    .artist-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        justify-content: flex-start !important;
    }

    /* --- ФІКС КАРУСЕЛІ АРТИСТІВ (Абсолютно ідеальне коло) --- */
    .artist-card .image-wrapper {
        width: 140px !important;
        height: 140px !important;
        min-width: 140px !important;
        min-height: 140px !important;
        max-width: 140px !important;
        /* Забороняємо ставати більшим */
        max-height: 140px !important;
        flex: 0 0 140px !important;
        /* ЗАЛІЗОБЕТОННИЙ розмір для Flexbox */
        aspect-ratio: 1 / 1 !important;
        /* МАГІЯ: Примусово робимо ідеальний квадрат */
        border-radius: 50% !important;
        margin: 0 auto 15px auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: block !important;
        /* Вимикаємо flex всередині, щоб не спотворював картинку */
        padding: 0 !important;
        margin-top: 15px !important;
    }

    .artist-img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        /* Повертаємо top, так обличчя вирівнюються краще */
        border-radius: 50% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* --- 4. ФУТЕР (Повне центрування та ліквідація пустоти) --- */
    .main-footer {
        padding: 30px 15px 20px 15px !important;
        background: #0a0a0a !important;
        text-align: center !important;
    }

    .footer-top {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
        align-items: center !important;
    }

    .footer-brand {
        text-align: center !important;
        width: 100% !important;
    }

    .footer-brand p,
    .footer-brand a {
        margin: 5px auto !important;
        text-align: center !important;
        display: block !important;
    }

    /* Ідеально центруємо всі колонки та посилання меню */
    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important;
        width: 100% !important;
    }

    .link-group {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .link-group h4 {
        margin-bottom: 5px !important;
        font-size: 1.1rem !important;
        text-align: center !important;
        width: 100% !important;
    }

    .link-group a {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* Центруємо кнопку лінку для Адмінки/Артистів */
    .footer-action {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin: 10px 0 !important;
    }

    .big-action-link {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .big-action-link .text-lines {
        text-align: center !important;
    }

    /* Компактна форма розсилки БЕЗ ПУСТОГО МІСЦЯ */
    .footer-newsletter-bar {
        flex-direction: column !important;
        padding-top: 20px !important;
        margin-top: 20px !important;
        margin-bottom: 15px !important;
        gap: 15px !important;
        text-align: center !important;
        align-items: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    /* Цей фікс знищує гігантську чорну діру між текстом розсилки та інпутом */
    .footer-newsletter-bar>div {
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #newsletter-form {
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 auto !important;
        max-width: 300px !important;
        gap: 10px !important;
    }

    #newsletter-form input {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #newsletter-form button {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
        padding-top: 15px !important;
    }

    .social-links-footer {
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 5px !important;
    }

    /* --- 5. ІНШЕ (Hero і блоки) --- */
    .hero-minimalist {
        height: 100vh !important;
        /* Розтягуємо на всю висоту екрану телефону */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
    }

    /* --- ФІКС ЛОГОТИПУ НА ГОЛОВНІЙ --- */
    .hero-logo-svg {
        width: 180px !important;
        opacity: 1 !important;
        /* Форсуємо 3D-прискорення відеокарти для плавності */
        will-change: transform;
        -webkit-backface-visibility: hidden;
        /* Робимо світіння статичним, щоб процесор не "задихався" */
        filter: drop-shadow(0 10px 15px rgba(212, 175, 55, 0.3));
        /* Нова оптимізована анімація */
        animation: floatLogoSmooth 4s ease-in-out infinite;
    }

    /* НОВА АНІМАЦІЯ (Тільки переміщення, ніякого scale!) */
    @keyframes floatLogoSmooth {
        0%, 100% {
            /* 15px — це зсув вправо для візуального балансу */
            /* 0px — це зсув по вертикалі */
            transform: translate3d(10px, 0px, 0); 
        }
        50% {
            /* Логотип летить вгору на 12px, залишаючись зсунутим вправо */
            transform: translate3d(15px, -12px, 0);
        }
    }

    @keyframes floatLogo {
        0% {
            transform: translateY(0px) scale(1);
            filter: drop-shadow(0 5px 5px rgba(212, 175, 55, 0.2));
        }

        50% {
            transform: translateY(-10px) scale(1.03);
            filter: drop-shadow(0 15px 15px rgba(212, 175, 55, 0.4));
        }

        100% {
            transform: translateY(0px) scale(1);
            filter: drop-shadow(0 5px 5px rgba(212, 175, 55, 0.2));
        }
    }


    .scroll-down {
        position: absolute !important;
        bottom: 40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .expo-grid,
    .philosophy {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 12px !important;
    }

    .expo-text,
    .philosophy-text,
    .expo-image,
    .philosophy-image {
        width: 100% !important;
        margin: 0 !important;
    }

    .expo-image img,
    .philosophy-image img {
        height: auto !important;
        max-height: 280px !important;
        /* Картинки стали ще нижчими */
        object-fit: cover !important;
        border-radius: 4px;
    }

    .image-accent {
        display: none !important;
    }

    .carousel-section {
        padding: 0 12px !important;
        margin-bottom: 30px !important;
    }

    .carousel-card {
        min-width: 180px !important;
    }

    /* Картки стали вужчими, влізе більше на екран */
    .carousel-img {
        height: 220px !important;
    }

    /* ОПТИМІЗАЦІЯ РЕНДЕРУ (Переносимо навантаження на відеокарту) */
    .carousel-card,
    .interactive-card,
    .admin-thumbnail,
    .img-wrapper img {
        will-change: transform, opacity;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        /* Форсує 3D-прискорення */
    }

    /* ========================================= */
    /* --- ФІКС КАБІНЕТІВ (MON COMPTE / MON STUDIO) --- */
    /* ========================================= */
    
    .auth-container,
    .profile-info-box,
    .client-empty-box,
    .modal-content,
    .admin-modal-content {
        padding: 25px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .input-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .input-group {
        width: 100% !important;
    }

    .profile-info-box {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .profile-info-box img,
    .profile-info-box .avatar-circle {
        margin: 0 auto !important;
    }

    .info-group {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 5px !important;
    }
    
    .client-header-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 15px !important;
    }

}

/* ========================================= */
/* БЛОКИ ДЛЯ ГОЛОВНОЇ СТОРІНКИ (EDITORIAL)   */
/* ========================================= */

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 100px 0;
}

.editorial-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.editorial-label-line {
    width: 2px;
    height: 15px;
    background-color: var(--color-gold);
}

.editorial-label-text {
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.editorial-title {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.2;
    color: white;
}

.editorial-desc {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.editorial-img-container {
    position: relative;
    z-index: 1;
}

/* Золота рамка позаду фото (для зміщення) */
.editorial-img-frame-right {
    position: absolute; 
    top: 20px; 
    left: 20px; 
    right: -20px; 
    bottom: -20px; 
    border: 1px solid rgba(212, 175, 55, 0.5); 
    z-index: -1;
}

.editorial-img-frame-left {
    position: absolute; 
    top: 20px; 
    right: 20px; 
    left: -20px; 
    bottom: -20px; 
    border: 1px solid rgba(212, 175, 55, 0.5); 
    z-index: -1;
}

.editorial-img {
    width: 100%; 
    height: auto; 
    aspect-ratio: 4/3; 
    object-fit: cover; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 900px) {
    .editorial-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
        padding: 60px 0; 
    }
    
    /* Змінюємо порядок на телефоні, щоб картинка завжди була над текстом */
    .editorial-text-reverse { 
        order: 2; 
    }
    .editorial-img-reverse { 
        order: 1; 
    }
}

/* ========================================= */
/* КНОПКИ ТА АНІМАЦІЇ ДЛЯ НОВИХ БЛОКІВ       */
/* ========================================= */

/* Красиві прозорі кнопки (Ghost Buttons) */
.btn-editorial {
    display: inline-block;
    border: 1px solid var(--color-gold);
    color: var(--color-gold) !important;
    background: transparent;
    padding: 12px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.btn-editorial:hover {
    background: var(--color-gold);
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}




/* Динамічна анімація появи */
.vue-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.vue-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.vue-delay {
    transition-delay: 0.2s; /* Картинка буде з'являтися трохи пізніше за текст */
}