@font-face {
    font-family: "Martian Grotesk";
    src: url("../fonts/MartianGrotesk-VFVF.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Playfair Display";
    src: url("../fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-body: "Martian Grotesk", Arial, sans-serif;
    --font-accent: "Playfair Display", Georgia, serif;
    --grid-size: 32px;
    --header-height: calc(var(--grid-size) * 2);
    --header-safe-area-top: env(safe-area-inset-top, 0px);
    --header-edge-buffer: 0px;
    --header-top-padding: max(var(--header-safe-area-top), var(--header-edge-buffer));
    --header-total-height: calc(var(--header-height) + var(--header-top-padding));
    --accent-color: #2f4f4f;
    --accent-color-hover: #263f3f;
    --section-bg: #f5f5f5;
    --section-width: calc(var(--grid-size) * 35);
    --section-mobile-width: calc(var(--grid-size) * 13);
    --section-padding: var(--grid-size);
    --section-mobile-padding: calc(var(--grid-size) * 0.625);
    --section-content-width: calc(var(--section-width) - (var(--section-padding) * 2) - 2px);
    --section-border: #dfdfdf;
    --section-line-bleed: calc(var(--grid-size) * 2);
    --section-corner-size: 13px;
    --section-corner-bg: #fff;
    --arrow-up-right-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6h12v12M18 6 6 18' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E");
    --weight-body: 300;
    --weight-medium: 300;
    --weight-strong: 300;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--section-bg);
    background-image:
        linear-gradient(rgba(29, 29, 29, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(29, 29, 29, 0.035) 1px, transparent 1px);
    background-position: center top;
    background-size: var(--grid-size) var(--grid-size);
    color: #1d1d1d;
    font-size: 16px;
    line-height: 1.5;
    font-weight: var(--weight-body);
    font-optical-sizing: auto;
}

strong,
b {
    font-weight: var(--weight-strong);
}

h3,
h4,
h5,
h6,
th {
    font-weight: var(--weight-body);
}

h1,
h2,
.hero h1,
.section-title,
.slide-content h3,
.exhibition-title,
.auth-form h1,
.profile-header h1,
.user-orders h2 {
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: 0;
}

button,
input,
select,
textarea {
    font-family: var(--font-body);
    font-weight: var(--weight-body);
}

body:has(.container > header) {
    padding-top: var(--header-total-height);
}

.container {
    width: min(100%, var(--section-width));
    max-width: var(--section-width);
    margin: 0 auto;
    padding: var(--grid-size) 0;
}

.container main {
    background: transparent;
}

.section-shell {
    --section-snap-extra: 0px;
    position: relative;
    background: var(--section-bg);
    border: 1px solid transparent;
    padding: var(--section-padding);
    padding-bottom: calc(var(--section-padding) + var(--section-snap-extra));
    margin-bottom: 0;
}

.section-shell::before,
.section-shell::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

.section-shell::before {
    top: -1px;
    bottom: -1px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    border-top: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

.section-shell::after {
    top: calc(var(--section-line-bleed) * -1);
    bottom: calc(var(--section-line-bleed) * -1);
    left: -1px;
    right: -1px;
    border-left: 1px solid var(--section-border);
    border-right: 1px solid var(--section-border);
}

.section-shell > * {
    position: relative;
    z-index: 1;
}

.section-corner {
    position: absolute;
    z-index: 3;
    width: var(--section-corner-size);
    height: var(--section-corner-size);
    background: var(--section-corner-bg);
    border: 1px solid var(--section-border);
    pointer-events: none;
    transform: translate(var(--corner-x), var(--corner-y)) rotate(45deg);
}

.section-corner--tl {
    --corner-x: -50%;
    --corner-y: -50%;
    top: -1px;
    left: -1px;
}

.section-corner--tr {
    --corner-x: 50%;
    --corner-y: -50%;
    top: -1px;
    right: -1px;
}

.section-corner--bl {
    --corner-x: -50%;
    --corner-y: 50%;
    bottom: -1px;
    left: -1px;
}

.section-corner--br {
    --corner-x: 50%;
    --corner-y: 50%;
    right: -1px;
    bottom: -1px;
}

.section-shell + .section-shell {
    margin-top: calc(var(--grid-size) * 2);
}

/* базовый layout */


/* верхняя строка */
.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* меню */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ссылки */
.nav-left a {
    margin-right: 0;
}

.nav-left a,
.nav-right a {
    text-decoration: none;
    color: #666;
}

.btn {
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: var(--weight-medium);
}

/* бургер скрыт на ПК */
.burger {
    display: none;
    width: var(--grid-size);
    height: var(--grid-size);
    place-content: center;
    gap: 4px;
    padding: 0;
    background: rgba(245, 245, 245, 0.88);
    border: 1px solid var(--section-border);
    color: #1d1d1d;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.burger span {
    width: 15px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 0.2s ease;
}

.burger:hover {
    background: #fff;
}

/* ACTIVE */
nav a.active {
    color: #000;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    :root {
        --section-padding: var(--section-mobile-padding);
        --section-content-width: calc(var(--section-mobile-width) - (var(--section-padding) * 2) - 2px);
        --section-line-bleed: var(--grid-size);
        --header-edge-buffer: 8px;
    }

    body:has(.container > header) {
        padding-top: var(--header-total-height);
    }

    body {
        background-position: center var(--header-top-padding), center var(--header-top-padding);
    }

    .container {
        width: min(100%, var(--section-mobile-width));
        max-width: var(--section-mobile-width);
        padding: var(--grid-size) 0;
    }

    .section-corner--tl,
    .section-corner--bl {
        --corner-x: -42%;
    }

    .section-corner--tr,
    .section-corner--br {
        --corner-x: 42%;
    }

    .burger {
        display: grid;
    }

    .nav-bar--mobile-actions {
        position: relative;
    }

    .nav-bar--mobile-actions .nav-right {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: min(calc(var(--grid-size) * 5), calc(100vw - 24px));
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px;
        background: rgba(245, 245, 245, 0.96);
        border: 1px solid var(--section-border);
        backdrop-filter: saturate(150%) blur(18px);
        -webkit-backdrop-filter: saturate(150%) blur(18px);
    }

    .nav-bar--mobile-actions.is-actions-open .nav-right {
        display: flex;
    }

    .nav-bar--mobile-actions .nav-right a {
        min-height: 36px;
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0 10px;
        border-bottom: 1px solid var(--section-border);
        color: #1d1d1d;
        font-size: 14px;
        line-height: 1.2;
    }

    .nav-bar--mobile-actions .nav-right a:last-child {
        border-bottom: 0;
    }

    .nav-bar--mobile-actions .nav-right .btn {
        justify-content: center;
        margin-top: 6px;
        background: var(--accent-color);
        color: #fff;
    }

    .nav-bar--mobile-actions .nav-right .btn:first-child {
        margin-top: 0;
    }

    .nav-bar--mobile-actions.is-actions-open .burger span:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .nav-bar--mobile-actions.is-actions-open .burger span:nth-child(2) {
        opacity: 0;
    }

    .nav-bar--mobile-actions.is-actions-open .burger span:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    /* ВАЖНО: полностью скрываем меню */
    .nav-content {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }

    /* когда открыто */
    .nav-content.active {
        display: flex;
    }

    .nav-left,
    .nav-right {
        width: auto;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
    }

    .nav-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .nav-left a,
    .nav-right a {
        margin: 0;
    }
}

@media (max-width: 429px) {
    :root {
        --section-mobile-width: calc(var(--grid-size) * 11);
    }
}

@media (max-width: 365px) {
    :root {
        --section-mobile-width: calc(var(--grid-size) * 9);
    }
}

@media (max-width: 301px) {
    :root {
        --section-mobile-width: calc(var(--grid-size) * 7);
    }
}
/* ===== HEADER ===== */
.container > header {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    isolation: isolate;
    margin: 0;
    height: var(--header-total-height);
    padding: var(--header-top-padding) 20px 0;
    border-bottom: 0;
    font-size: 16px;
    line-height: 1.2;
}

.container > header::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: rgba(245, 245, 245, 0.82);
    border-bottom: 1px solid rgba(29, 29, 29, 0.12);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #666;
}

nav a.active {
    color: #000;
}

.btn {
    padding: 8px 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: var(--weight-medium);
}

/* NAVBAR */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: var(--section-content-width);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.2;
}

.nav-bar a,
.nav-bar .btn {
    font-size: 16px;
    line-height: 1.2;
}

.nav-bar a {
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-bar a:not(.btn) {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    margin-inline: -8px;
}

.nav-bar a:not(.btn):hover,
.nav-bar a:not(.btn):focus-visible {
    background: rgba(29, 29, 29, 0.06);
    color: #1d1d1d;
}

.nav-bar a.active:not(.btn) {
    color: var(--accent-color);
}

.nav-bar a.active:not(.btn):hover,
.nav-bar a.active:not(.btn):focus-visible {
    color: var(--accent-color);
}

/* левая часть */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* правая часть */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right a {
    margin-right: 0;
}

/* обычные ссылки */
.nav-left a {
    margin-right: 0;
    text-decoration: none;
    color: #666;
}

/* кнопки справа */
.nav-right .btn {
    background: var(--accent-color);
    color: #fff;
    padding: 4px 10px;
    text-decoration: none;
}

.nav-right .btn:hover,
.nav-right .btn:focus-visible {
    background: var(--accent-color-hover);
    color: #fff;
}

.nav-right .btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .nav-bar,
    .nav-left,
    .nav-right {
        gap: 12px;
    }
}

@media (max-width: 500px) {
    .container > header {
        padding-inline: 12px;
    }

    .nav-bar,
    .nav-left,
    .nav-right {
        gap: 8px;
    }

    .nav-bar a,
    .nav-bar .btn {
        font-size: 14px;
    }

    .nav-right .btn {
        padding: 4px 7px;
    }
}

/* активная ссылка */
nav a.active {
    color: #000;
}


/* ===== HERO ===== */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    min-height: calc(var(--grid-size) * 14);
    gap: var(--grid-size);
}

.hero-copy {
    width: 100%;
    max-width: 584px;
    min-height: calc(var(--grid-size) * 10);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero h1 {
    max-width: 584px;
    margin-top: calc(var(--grid-size) * -0.5);
    font-size: clamp(38px, 4.1vw, 54px);
    line-height: 0.88;
    color: #1b1b1b;
}

.hero-slogan {
    max-width: 440px;
    margin-top: 24px;
    color: rgba(29, 29, 29, 0.58);
    font-size: 17px;
    line-height: 1.7;
}

.hero-cta {
    --arrow-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 22px 0 24px;
    background: var(--accent-color);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-cta::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: var(--arrow-size);
    height: var(--arrow-size);
    background: currentColor;
    -webkit-mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.hero-cta:hover {
    background: var(--accent-color-hover);
}

.hero-cta:hover::after {
    transform: translate(3px, -4px);
}

.hero-cta:active {
    transform: translateY(1px);
}

.hero-cta:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 104px);
    gap: calc(var(--grid-size) * 0.5);
}

.gallery img {
    width: 100%;
    height: 152px;
    object-fit: cover;
}

.gallery img.offset {
    transform: translateY(calc(var(--grid-size) * -0.5));
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 28px;
    margin: 0 0 24px;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--grid-size);
    margin-bottom: 24px;
}

.section-heading .section-title {
    margin: 0;
}

.section-action-link {
    --arrow-size: 17px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.1;
}

.section-action-link::after {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: var(--arrow-size);
    height: var(--arrow-size);
    background: currentColor;
    -webkit-mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.section-action-link:hover::after {
    transform: translate(3px, -4px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--section-border);
    border-left: 1px solid var(--section-border);
}

.category-tile {
    --arrow-size: 18px;
    position: relative;
    height: 220px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    overflow: hidden;
    background: var(--section-bg);
    border-right: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
    color: #1d1d1d;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.category-tile:first-child {
    grid-column: span 2;
}

.category-tile::after {
    content: "";
    position: absolute;
    display: block;
    width: var(--arrow-size);
    height: var(--arrow-size);
    right: 22px;
    top: 22px;
    background: var(--accent-color);
    -webkit-mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    mask: var(--arrow-up-right-icon) center / 100% 100% no-repeat;
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

.category-tile:hover {
    background: #fff;
}

.category-tile:hover::after {
    transform: translate(4px, -5px);
}

.category-tile__index {
    color: #8a8a8a;
    font-size: 12px;
    line-height: 1;
}

.category-tile__name {
    max-width: calc(100% - 28px);
    color: #1b1b1b;
    font-family: var(--font-accent);
    font-size: 26px;
    font-weight: 600;
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.category-tile:first-child .category-tile__name {
    font-size: 32px;
}

.category-tile__description {
    max-width: 30ch;
    display: -webkit-box;
    overflow: hidden;
    color: #686868;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.category-tile__meta {
    margin-top: auto;
    padding-top: 14px;
    color: var(--accent-color);
    font-size: 13px;
    line-height: 1;
}

.faq-section {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.32fr);
    gap: var(--grid-size);
}

.faq-intro {
    min-height: calc(var(--grid-size) * 9);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faq-eyebrow {
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.faq-intro .section-title {
    max-width: 360px;
    margin-bottom: 22px;
    line-height: 0.98;
}

.faq-lead {
    max-width: 36ch;
    color: rgba(29, 29, 29, 0.62);
    font-size: 15px;
    line-height: 1.7;
}

.faq-intro .section-action-link {
    margin-top: auto;
}

.faq-list {
    align-self: start;
    border-top: 1px solid var(--section-border);
}

.faq-item {
    border-bottom: 1px solid var(--section-border);
    background: transparent;
}

.faq-item summary {
    position: relative;
    display: block;
    padding: 15px 42px 15px 0;
    color: #1b1b1b;
    font-size: 15px;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before,
.faq-item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 15px;
    height: 1px;
    background: var(--accent-color);
    transition: transform 0.2s ease;
}

.faq-item summary::after {
    transform: rotate(90deg);
}

.faq-item[open] summary::after {
    transform: rotate(0deg);
}

.faq-item p {
    max-width: 62ch;
    padding: 0 56px 18px 0;
    color: rgba(29, 29, 29, 0.62);
    font-size: 13px;
    line-height: 1.65;
}

/* ===== FEATURED ===== */
.featured-heading {
    margin-bottom: var(--grid-size);
}

.featured-heading .section-title {
    margin-bottom: 8px;
}

.featured-lead {
    max-width: 34ch;
    color: rgba(29, 29, 29, 0.58);
    font-size: 15px;
    line-height: 1.6;
}

.featured-slider {
    position: relative;
    display: grid;
    grid-template-columns: calc(var(--grid-size) * 1.25) minmax(0, 1fr) calc(var(--grid-size) * 1.25);
    background: var(--section-bg);
    border: 1px solid var(--section-border);
}

.featured-slider__viewport {
    position: relative;
    overflow: hidden;
}

.featured-slider__track {
    height: calc(var(--grid-size) * 14);
    display: flex;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-slider__slide {
    min-width: 100%;
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.featured-slider__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.featured-slider__nav {
    display: grid;
    place-items: center;
    padding: 0;
    background: var(--accent-color);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 17px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.featured-slider__nav--prev {
    border-right: 1px solid var(--section-border);
}

.featured-slider__nav--next {
    border-left: 1px solid var(--section-border);
}

.featured-slider__nav:hover {
    background: var(--accent-color-hover);
    color: #fff;
}

.featured-slider__nav:active {
    transform: translateY(1px);
}

.featured-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 4;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.featured-slider__dot {
    width: 14px;
    height: 14px;
    display: block;
    padding: 0;
    background: #fff;
    border: 1px solid rgba(29, 29, 29, 0.35);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.featured-slider__dot.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.featured-slider__dot:hover {
    transform: translateY(-1px);
}

.featured-slider__nav:focus-visible,
.featured-slider__dot:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

/* ===== SLIDER 2 ===== */
.mini-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
}

.window {
    overflow: hidden;
    flex: 1;
}

.track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s ease;
}

.track img {
    width: calc((100% - 20px) / 3);
    height: 140px;
    object-fit: cover;
}

.arrow {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

section {
    margin-bottom: 80px;
}

/* ===== FOOTER ===== */
.footer {
    width: min(100%, var(--section-width));
    max-width: var(--section-width);
    margin: var(--grid-size) auto 0;
    color: #1d1d1d;
}

.footer.section-shell::before {
    border-bottom: 0;
}

.footer.section-shell::after {
    bottom: -1px;
}

@media (max-width: 768px) {
    .footer {
        width: min(100%, var(--section-mobile-width));
        max-width: var(--section-mobile-width);
    }

    .footer.section-shell {
        padding-bottom: calc(var(--section-padding) + var(--grid-size) + env(safe-area-inset-bottom, 0px));
    }
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 0.75fr) minmax(0, 2fr);
    gap: var(--grid-size);
    align-items: stretch;
    max-width: none;
    margin: 0;
    text-align: left;
}

.footer-info p {
    max-width: 34ch;
    color: rgba(29, 29, 29, 0.62);
    font-size: 14px;
    line-height: 1.65;
}

.footer-column-title {
    display: block;
    margin-bottom: 16px;
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.footer-nav,
.footer-info {
    padding-top: calc(var(--grid-size) * 0.25);
    padding-bottom: calc(var(--grid-size) * 0.25);
}

.footer-nav {
    display: grid;
    align-content: start;
    gap: 10px;
    margin: 0;
    padding-left: calc(var(--grid-size) * 0.5);
    border-left: 1px solid var(--section-border);
}

.footer-info {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--grid-size) * 5);
    padding-left: calc(var(--grid-size) * 0.5);
    border-left: 1px solid var(--section-border);
}

.footer-nav a {
    text-decoration: none;
    color: rgba(29, 29, 29, 0.66);
    font-size: 14px;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #1b1b1b;
}

.footer-text {
    margin-top: auto;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(29, 29, 29, 0.46);
}

/* ===== EXHIBITIONS ===== */
.exhibition-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: calc(var(--grid-size) * 0.5);
    align-items: start;
}

.filter-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-field--wide {
    grid-column: span 2;
}

.filter-field > span {
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.filter-field input,
.filter-field select {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    background: #fff;
    border: 1px solid var(--section-border);
    border-radius: 0;
    color: #1d1d1d;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.2;
}

.filter-field input:focus,
.filter-field select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: -2px;
}

.filter-field__controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.exhibition-filter-actions {
    align-self: end;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.filter-submit,
.filter-reset {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
}

.filter-reset {
    background: transparent;
    border: 1px solid var(--section-border);
    color: var(--accent-color);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exhibitions-active-filters {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--section-border);
}

.filter-tag {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    background: #fff;
    border: 1px solid var(--section-border);
    color: rgba(29, 29, 29, 0.68);
    font-size: 12px;
    line-height: 1;
}

.filter-tag button {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.exhibitions-list {
    border-top: 0;
}

.exhibition-row {
    display: grid;
    grid-template-columns: calc(var(--grid-size) * 7.5) minmax(0, 1fr) calc(var(--grid-size) * 5.5);
    column-gap: calc(var(--grid-size) * 0.75);
    row-gap: var(--grid-size);
    align-items: start;
    padding: 20px 0;
    border-bottom: 0;
}

.exhibition-row:first-child {
    padding-top: 0;
}

.exhibition-row__media {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--section-border);
    color: rgba(29, 29, 29, 0.46);
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
}

.exhibition-row__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

a.exhibition-row__media {
    color: inherit;
    text-decoration: none;
}

a.exhibition-row__media:hover img {
    transform: scale(1.015);
}

a.exhibition-row__media img {
    transition: transform 0.25s ease;
}

.exhibition-row__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exhibition-row__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge,
.age-badge {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    padding: 0 7px;
    margin: 0;
    border: 1px solid var(--section-border);
    background: #fff;
    color: var(--accent-color);
    font-size: 11px;
    line-height: 1;
}

.age-badge {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.exhibition-title {
    margin: 0;
    color: #1b1b1b;
    font-size: 26px;
    line-height: 0.98;
}

.exhibition-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.exhibition-title a:hover,
.exhibition-title a:focus-visible {
    color: var(--accent-color);
}

.exhibition-description {
    max-width: 64ch;
    margin: 0;
    color: rgba(29, 29, 29, 0.62);
    font-size: 14px;
    line-height: 1.65;
}

.exhibition-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    color: rgba(29, 29, 29, 0.58);
    font-size: 13px;
    line-height: 1.35;
}

.exhibition-row__side {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
}

.exhibition-price {
    margin: 0;
    color: #1b1b1b;
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.exhibition-tickets {
    color: rgba(29, 29, 29, 0.58);
    font-size: 12px;
    line-height: 1.3;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.exhibition-row__actions {
    justify-content: flex-end;
    margin-top: auto;
}

.exhibition-row__actions .btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 13px;
    line-height: 1;
}

.exhibitions-empty {
    min-height: calc(var(--grid-size) * 6);
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 12px;
}

/* ===== EXHIBITION DETAIL PAGE ===== */
.exhibition-detail-section {
    --detail-media-height: calc(var(--grid-size) * 15);
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin-bottom: 24px;
    padding-inline: 12px;
    color: var(--accent-color);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.detail-back-link:hover,
.detail-back-link:focus-visible {
    background: rgba(47, 79, 79, 0.08);
    color: var(--accent-color-hover);
}

.exhibition-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.34fr) minmax(0, 0.66fr);
    gap: var(--grid-size);
    align-items: start;
}

.exhibition-detail-gallery {
    min-width: 0;
}

.exhibition-detail-main-media {
    position: relative;
    height: var(--detail-media-height);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--section-border);
}

.detail-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.detail-gallery-image.is-active {
    opacity: 1;
}

.exhibition-detail-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: rgba(29, 29, 29, 0.46);
    font-size: 13px;
    line-height: 1.2;
}

.exhibition-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.detail-thumb {
    aspect-ratio: 4 / 3;
    display: block;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--section-border);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.detail-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-thumb:hover,
.detail-thumb:focus-visible,
.detail-thumb.is-active {
    opacity: 1;
    border-color: var(--accent-color);
}

.exhibition-detail-panel {
    min-height: var(--detail-media-height);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 2px;
}

.exhibition-detail-header {
    display: grid;
    gap: 16px;
}

.exhibition-detail-title {
    margin: 0;
    color: #1b1b1b;
    font-family: var(--font-accent);
    font-size: 44px;
    font-weight: 600;
    line-height: 0.92;
}

.exhibition-detail-price {
    color: #1b1b1b;
    font-family: var(--font-accent);
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}

.exhibition-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--section-border);
    border-left: 1px solid var(--section-border);
}

.meta-item {
    min-height: 72px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 12px;
    border-right: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

.meta-label {
    color: rgba(29, 29, 29, 0.52);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.meta-value {
    color: #1d1d1d;
    font-size: 14px;
    line-height: 1.25;
}

.detail-status.is-available {
    color: var(--accent-color);
}

.detail-status.is-sold-out {
    color: #c62828;
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.detail-actions .btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    text-decoration: none;
}

.detail-secondary-action {
    background: transparent;
    border: 1px solid var(--section-border);
    color: var(--accent-color);
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.detail-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.exhibition-detail-copy .section-title {
    margin-bottom: 18px;
}

.exhibition-detail-description {
    max-width: 74ch;
    color: rgba(29, 29, 29, 0.66);
    font-size: 15px;
    line-height: 1.7;
}

.exhibition-detail-empty {
    min-height: calc(var(--grid-size) * 10);
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 14px;
}

.detail-back-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-inline: 14px;
    text-decoration: none;
}

/* ===== AUTH ===== */
.auth-form {
    --section-line-bleed: calc(var(--grid-size) * 5);
    width: min(100%, calc(var(--grid-size) * 13));
    max-width: 416px;
    min-height: calc(var(--grid-size) * 11);
    margin: calc(var(--grid-size) * 1.25) auto calc(var(--grid-size) * 1.5);
    padding: var(--grid-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--section-bg);
    border-color: transparent;
    text-align: center;
}

.auth-form h1 {
    margin-bottom: 25px;
    color: #1b1b1b;
    font-size: 30px;
    line-height: 0.98;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgba(29, 29, 29, 0.62);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
}

.form-group input {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--section-border);
    color: #1d1d1d;
    font-family: var(--font-body);
    font-size: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: #fff;
}

.auth-link {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--section-border);
    color: rgba(29, 29, 29, 0.62);
    font-size: 14px;
}

.auth-link a {
    color: var(--accent-color);
    text-decoration: none;
}

.auth-link a:hover,
.auth-link a:focus-visible {
    color: var(--accent-color-hover);
}

.alert {
    padding: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: rgba(47, 79, 79, 0.08);
    color: var(--accent-color);
    border: 1px solid rgba(47, 79, 79, 0.22);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .exhibition-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exhibition-row {
        grid-template-columns: calc(var(--grid-size) * 6.5) minmax(0, 1fr);
        column-gap: calc(var(--grid-size) * 0.625);
    }

    .exhibition-row__side {
        grid-column: 2;
        align-items: flex-start;
        text-align: left;
    }

    .exhibition-detail-layout {
        grid-template-columns: 1fr;
    }

    .exhibition-detail-panel {
        min-height: 0;
    }

    .exhibition-row__actions {
        justify-content: flex-start;
    }

    .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .faq-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-info {
        grid-column: 1 / -1;
    }

    .featured-slider__track {
        height: calc(var(--grid-size) * 12);
    }

    .featured-slider {
        grid-template-columns: var(--grid-size) minmax(0, 1fr) var(--grid-size);
    }

    .faq-intro {
        min-height: auto;
    }

    .faq-intro .section-action-link {
        margin-top: 24px;
    }
}

@media (max-width: 768px) {
    .featured-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "viewport viewport"
            "prev next";
    }

    .featured-slider__viewport {
        grid-area: viewport;
    }

    .featured-slider__nav {
        min-height: 44px;
        border-top: 1px solid var(--section-border);
    }

    .featured-slider__nav--prev {
        grid-area: prev;
        border-right: 1px solid var(--section-border);
    }

    .featured-slider__nav--next {
        grid-area: next;
        border-left: 0;
    }
}

@media (max-width: 500px) {
    .auth-form {
        min-height: calc(var(--grid-size) * 10);
        margin: 24px 15px 32px;
        padding: 25px 20px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .section-heading {
        flex-direction: column;
        gap: 12px;
    }

    .exhibition-filters,
    .filter-field--wide {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .exhibition-filter-actions {
        grid-template-columns: 1fr;
    }

    .exhibition-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 0;
    }

    .exhibition-row__media {
        aspect-ratio: 16 / 10;
    }

    .exhibition-row__side {
        grid-column: auto;
    }

    .exhibition-detail-section {
        --detail-media-height: calc(var(--grid-size) * 10);
    }

    .exhibition-detail-title {
        font-size: 36px;
    }

    .exhibition-detail-price {
        font-size: 30px;
    }

    .exhibition-detail-meta {
        grid-template-columns: 1fr;
    }

    .exhibition-detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .exhibition-title {
        font-size: 24px;
    }

    .exhibition-price {
        font-size: 26px;
    }

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

    .category-tile,
    .category-tile:first-child {
        grid-column: span 1;
    }

    .category-tile {
        height: auto;
        min-height: 152px;
        padding: 20px;
    }

    .category-tile:first-child .category-tile__name,
    .category-tile__name {
        font-size: 26px;
    }

    .faq-intro .section-title {
        max-width: 280px;
    }

    .faq-item summary {
        padding: 15px 36px 15px 0;
        font-size: 15px;
    }

    .faq-item p {
        padding-right: 0;
    }

    .featured-heading {
        margin-bottom: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-info {
        grid-column: auto;
        padding-left: calc(var(--grid-size) * 0.5);
    }

    .footer-nav {
        padding-left: calc(var(--grid-size) * 0.5);
    }

    .footer-info {
        min-height: 0;
    }

    .featured-slider__track {
        height: calc(var(--grid-size) * 9);
    }

    .featured-slider {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-slider__dots {
        bottom: 14px;
        gap: 8px;
    }

    .featured-slider__dot {
        width: 12px;
        height: 12px;
    }

    .hero {
        width: 100%;
        max-width: none;
        flex-direction: column;
        align-items: flex-start;
        padding: var(--section-padding);
        padding-bottom: calc(var(--section-padding) + var(--section-snap-extra));
    }

    .hero h1 {
        max-width: 340px;
        margin-top: 0;
        font-size: 36px;
        line-height: 0.9;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-slogan {
        max-width: 320px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-cta {
        align-self: stretch;
        width: 100%;
        max-width: 100%;
    }

    .gallery {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(var(--grid-size) * 0.5);
    }

    .gallery img {
        height: 120px;
    }

    .gallery img.offset {
        transform: none;
    }

    .featured-section {
        padding: var(--section-padding);
        padding-bottom: calc(var(--section-padding) + var(--section-snap-extra));
    }
}

@media (max-width: 365px) {
    .filter-field__controls {
        grid-template-columns: 1fr;
    }
}

/* ===== PROFILE HEADER ===== */
.profile-header {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: var(--grid-size);
    align-items: end;
}

.profile-header__title h1 {
    max-width: 9ch;
    margin: 0;
    color: #1b1b1b;
    font-size: 48px;
    line-height: 0.92;
}

.user-info {
    display: grid;
    gap: 18px;
}

.profile-user-name {
    display: grid;
    gap: 8px;
}

.profile-user-name span,
.profile-meta-item span {
    color: rgba(29, 29, 29, 0.52);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
}

.profile-user-name h2 {
    margin: 0;
    color: #1d1d1d;
    font-size: 24px;
    line-height: 1.1;
}

.profile-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--section-border);
    border-left: 1px solid var(--section-border);
}

.profile-meta-item {
    min-height: calc(var(--grid-size) * 2.25);
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 12px;
    border-right: 1px solid var(--section-border);
    border-bottom: 1px solid var(--section-border);
}

.profile-meta-item strong {
    color: #1d1d1d;
    font-size: 14px;
    line-height: 1.25;
}

/* ===== ORDERS SECTION ===== */
.user-orders h2 {
    margin: 0 0 24px;
    color: #1b1b1b;
    font-size: 34px;
    line-height: 0.95;
}

.orders-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--section-border);
}

.order-card {
    display: grid;
    grid-template-columns: minmax(160px, 0.7fr) minmax(0, 1.3fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--section-border);
}

.order-header h3 {
    margin: 0 0 10px;
    color: #1d1d1d;
    font-size: 17px;
    line-height: 1.1;
}

.order-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
}

.order-status.pending {
    background: rgba(29, 29, 29, 0.48);
}

.order-status.confirmed {
    background: var(--accent-color);
}

.order-status.cancelled {
    background: #c62828;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--section-border);
    border: 1px solid var(--section-border);
}

.order-details p {
    min-height: 56px;
    display: grid;
    align-content: center;
    margin: 0;
    padding: 10px 12px;
    background: var(--section-bg);
    color: rgba(29, 29, 29, 0.66);
    font-size: 14px;
    line-height: 1.35;
}

.order-card .btn {
    min-height: 40px;
    white-space: nowrap;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.order-card .btn:hover,
.order-card .btn:focus-visible {
    background: var(--accent-color-hover);
}

.order-card .btn:active {
    transform: translateY(1px);
}

/* ===== EMPTY STATE ===== */
.orders-empty {
    min-height: calc(var(--grid-size) * 4);
    display: grid;
    place-items: center start;
    margin: 0;
    font-size: 14px;
    color: rgba(29, 29, 29, 0.62);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .profile-header {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .profile-header__title h1 {
        max-width: none;
        font-size: 40px;
    }

    .order-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 700px) {
    .profile-meta-grid,
    .order-details {
        grid-template-columns: 1fr;
    }
}
/* фикс слоя слайдов */
.slide {
    position: relative;
}

/* чтобы текст не перекрывал кнопки */
.slide-content {
    position: relative;
    z-index: 2;
}

/* КНОПКИ — ГЛАВНОЕ */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(47, 79, 79, 0.8);
    color: #fff;
    border: none;
    padding: 12px 16px;
    cursor: pointer;

    z-index: 999; /* ВАЖНО */
}

/* позиции */
.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* картинка ниже кнопок */
.slide img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.exhibition-slider {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exhibition-detail-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
}

.exhibition-detail-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.exhibition-detail-slide.active {
    display: block;
}

.exhibition-detail-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.exhibition-card {
    display: flex;
    flex-direction: column;
}

.exhibition-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.action-buttons {
    margin-top: auto;
}
