/**
 * Pages Galerie — hub, filtres, mosaïque, lightbox
 */
body.ht-spa-active #ht-page-content .ht-gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 2rem !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-filters__btn {
    padding: 0.5rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #606060;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

body.ht-spa-active #ht-page-content .ht-gallery-filters__btn:hover,
body.ht-spa-active #ht-page-content .ht-gallery-filters__btn.is-active {
    background: #faf6ee;
    border-color: #deb666;
    color: #606060;
}

body.ht-spa-active #ht-page-content .ht-gallery-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 182, 102, 0.55);
    box-shadow: 0 12px 40px rgba(222, 182, 102, 0.15);
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card__media {
    position: relative;
    overflow: hidden;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card__media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card:hover .ht-gallery-cat-card__media img {
    transform: scale(1.05);
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card__count {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    padding: 0.25rem 0.6rem;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 4px;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card__body {
    padding: 1.15rem 1.25rem 1.25rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card h3 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #606060 !important;
    margin: 0 0 0.35rem !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-cat-card p {
    font-size: 14px;
    color: #858a99;
    margin: 0;
    line-height: 1.55;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-bottom: 2.5rem !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s, transform 0.3s, border-color 0.25s, box-shadow 0.25s;
    cursor: zoom-in;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item::before {
    content: '\f00e';
    font-family: FontAwesome;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.85);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item:hover {
    border-color: rgba(222, 182, 102, 0.75);
    box-shadow: 0 14px 40px rgba(222, 182, 102, 0.22);
    transform: translateY(-3px);
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item:hover::after,
body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item:hover::before {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item.is-hidden {
    display: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item--wide {
    grid-column: span 2;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item:hover img {
    transform: scale(1.06);
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-cards {
    margin-bottom: 2rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card--reverse .ht-gallery-salle-card__media {
    order: 2;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(222, 182, 102, 0.35);
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media--zoom {
    cursor: zoom-in;
    position: relative;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media--zoom::after {
    content: 'Agrandir';
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(96, 96, 96, 0.85);
    border-radius: 999px;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media--zoom:hover::after {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media--zoom:hover img {
    transform: scale(1.04);
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media--zoom img {
    transition: transform 0.4s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media img {
    width: 100%;
    min-height: 280px;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 1.5rem 0;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    text-decoration: none !important;
    transition: opacity 0.3s, transform 0.3s, border-color 0.25s, box-shadow 0.25s;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item::after,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom.ht-gallery-page-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item::before,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom.ht-gallery-page-item::before {
    content: '\f00e';
    font-family: FontAwesome;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%) scale(0.85);
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item:hover,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom:hover {
    border-color: rgba(222, 182, 102, 0.75);
    box-shadow: 0 14px 40px rgba(222, 182, 102, 0.22);
    transform: translateY(-3px);
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item:hover::after,
body.ht-spa-active #ht-page-content .ht-gallery-page-item:hover::before,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom:hover::after,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom:hover::before {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item:hover::before,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item img,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-page-item:hover img,
body.ht-spa-active #ht-page-content a.ht-gallery-zoom:hover img {
    transform: scale(1.06);
}

body.ht-spa-active #ht-page-content .ht-gallery-hint {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 1.25rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-salle-card h2 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 22px !important;
    color: #606060 !important;
    margin: 0 0 0.65rem !important;
}

/* Page gallery-events — galerie salles uniquement */
body.ht-spa-active #ht-page-content .ht-gallery-events-page .ht-gallery-events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 0 0 2.5rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card {
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 3px solid rgba(222, 182, 102, 0.45);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: #1a1a1a;
    cursor: zoom-in;
    text-decoration: none !important;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__link:hover {
    transform: translateY(-4px);
    border-color: #deb666;
    box-shadow: 0 18px 48px rgba(222, 182, 102, 0.28);
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__link img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__link:hover img {
    transform: scale(1.05);
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__zoom {
    position: absolute;
    left: 50%;
    top: 42%;
    z-index: 2;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    line-height: 52px;
    text-align: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__link:hover .ht-gallery-events-card__zoom {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-gallery-events-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.1rem;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
    pointer-events: none;
}

@media (max-width: 767px) {
    body.ht-spa-active #ht-page-content .ht-gallery-events-page .ht-gallery-events-grid {
        grid-template-columns: 1fr;
    }
}

/* .ht-page-cta : grille 2 colonnes — ht-buttons.css */

/* Lightbox premium — Précédent / Suivant (accueil + pages SPA) */
.ht-gallery-lightbox:not([hidden]),
body.ht-spa-active .ht-gallery-lightbox,
body.ht-zante-home .ht-gallery-lightbox,
body.ht-gallery-lightbox-open .ht-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 4.5rem;
    box-sizing: border-box;
}

.ht-gallery-lightbox[hidden],
body.ht-spa-active .ht-gallery-lightbox[hidden],
body.ht-zante-home .ht-gallery-lightbox[hidden],
body.ht-gallery-lightbox-open .ht-gallery-lightbox[hidden] {
    display: none !important;
}

body.ht-spa-active .ht-gallery-lightbox__backdrop,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 10, 8, 0.92);
    backdrop-filter: blur(6px);
}

body.ht-spa-active .ht-gallery-lightbox__close,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

body.ht-spa-active .ht-gallery-lightbox__close:hover,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__close:hover {
    background: rgba(222, 182, 102, 0.35);
    border-color: #deb666;
}

body.ht-spa-active .ht-gallery-lightbox__frame,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__frame {
    position: relative;
    z-index: 2;
    max-width: min(1100px, 92vw);
    width: 100%;
    padding: 0.5rem;
    border-radius: 14px;
    border: 3px solid rgba(222, 182, 102, 0.55);
    background: linear-gradient(145deg, rgba(40, 36, 32, 0.6), rgba(20, 18, 16, 0.85));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

body.ht-spa-active .ht-gallery-lightbox__img,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__img {
    display: block;
    width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
    border-radius: 10px;
    opacity: 1;
    filter: none;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: opacity 0.18s ease;
}

body.ht-spa-active .ht-gallery-lightbox__img.is-changing,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__img.is-changing {
    opacity: 0;
    pointer-events: none;
}

body.ht-spa-active .ht-gallery-lightbox__caption,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__caption {
    margin: 0.85rem 0 0;
    padding: 0 0.5rem;
    color: #f5f0e6;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.45;
}

body.ht-spa-active .ht-gallery-lightbox__counter,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__counter {
    position: relative;
    z-index: 3;
    margin: 1rem 0 0;
    padding: 0.4rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #deb666;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

body.ht-spa-active .ht-gallery-lightbox__nav,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(222, 182, 102, 0.45);
    border-radius: 999px;
    background: rgba(96, 96, 96, 0.75);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

body.ht-spa-active .ht-gallery-lightbox__nav:hover:not(:disabled),
body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav:hover:not(:disabled) {
    background: rgba(222, 182, 102, 0.9);
    border-color: #deb666;
    color: #fff;
}

body.ht-spa-active .ht-gallery-lightbox__nav:disabled,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

body.ht-spa-active .ht-gallery-lightbox__prev,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__prev {
    left: 1rem;
}

body.ht-spa-active .ht-gallery-lightbox__next,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__next {
    right: 1rem;
}

body.ht-spa-active .ht-gallery-lightbox__nav-icon,
body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav-icon {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 767px) {
    body.ht-spa-active .ht-gallery-lightbox,
    body.ht-gallery-lightbox-open .ht-gallery-lightbox {
        padding: 3.5rem 0.75rem 1rem;
    }

    body.ht-spa-active .ht-gallery-lightbox__nav-label,
    body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav-label {
        display: none;
    }

    body.ht-spa-active .ht-gallery-lightbox__prev,
    body.ht-gallery-lightbox-open .ht-gallery-lightbox__prev {
        left: 0.5rem;
    }

    body.ht-spa-active .ht-gallery-lightbox__next,
    body.ht-gallery-lightbox-open .ht-gallery-lightbox__next {
        right: 0.5rem;
    }

    body.ht-spa-active .ht-gallery-lightbox__nav,
    body.ht-gallery-lightbox-open .ht-gallery-lightbox__nav {
        padding: 0.55rem 0.7rem;
    }
}

@media (max-width: 991px) {
    body.ht-spa-active #ht-page-content .ht-gallery-categories,
    body.ht-spa-active #ht-page-content .ht-gallery-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
    body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item--wide {
        grid-column: span 2;
    }
    body.ht-spa-active #ht-page-content .ht-gallery-salle-card,
    body.ht-spa-active #ht-page-content .ht-gallery-salle-card--reverse {
        grid-template-columns: 1fr;
    }
    body.ht-spa-active #ht-page-content .ht-gallery-salle-card__media {
        order: -1 !important;
    }
}

@media (max-width: 575px) {
    body.ht-spa-active #ht-page-content .ht-gallery-mosaic {
        grid-template-columns: 1fr;
    }
    body.ht-spa-active #ht-page-content .ht-gallery-mosaic__item--wide {
        grid-column: span 1;
    }
}

/* Page gallery-hotel — médiathèque complète + pagination */
body.ht-spa-active #ht-page-content .ht-gallery-hotel-page .ht-gallery-hotel-intro {
    text-align: center;
    margin-bottom: 1.75rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #606060;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__btn:hover,
body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__btn.is-active {
    background: #faf6ee;
    border-color: #deb666;
    color: #4a4a4a;
    box-shadow: 0 4px 14px rgba(222, 182, 102, 0.18);
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__badge {
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    background: #606060;
    border-radius: 999px;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__btn.is-active .ht-gallery-hotel-filters__badge {
    background: #deb666;
    color: #3d3428;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-status {
    min-height: 1.25rem;
    margin: 0 0 1rem;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #858a99;
    text-align: center;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 0 0 2rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card {
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid rgba(222, 182, 102, 0.25);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    background: #1a1a1a;
    text-decoration: none !important;
    cursor: zoom-in;
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link::before {
    content: '\f00e';
    font-family: FontAwesome;
    position: absolute;
    left: 50%;
    top: 42%;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0.85);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.28s, transform 0.28s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link:hover {
    transform: translateY(-4px);
    border-color: #deb666;
    box-shadow: 0 16px 44px rgba(222, 182, 102, 0.28);
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__link:hover img {
    transform: scale(1.06);
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__badge {
    position: absolute;
    left: 0.65rem;
    top: 0.65rem;
    z-index: 2;
    padding: 0.25rem 0.55rem;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.58);
    border-radius: 4px;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-card__title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 2.25rem 0.85rem 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-loading,
body.ht-spa-active #ht-page-content .ht-gallery-hotel-empty {
    grid-column: 1 / -1;
    margin: 2rem 0;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 15px;
    color: #858a99;
    background: #fafafa;
    border: 1px dashed #e0e0e0;
    border-radius: 12px;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 0 0 2.5rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination[hidden] {
    display: none !important;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__nums {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.2s;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--nav {
    padding: 0.55rem 1.15rem;
    color: #fff;
    background: #606060;
    border: 1px solid #606060;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--nav:hover:not(:disabled) {
    background: #deb666;
    border-color: #deb666;
    color: #fff;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--num {
    min-width: 2.35rem;
    height: 2.35rem;
    padding: 0 0.5rem;
    color: #606060;
    background: #fff;
    border: 1px solid #e0e0e0;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--num:hover,
body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--num.is-active {
    background: #faf6ee;
    border-color: #deb666;
    color: #4a4a4a;
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-pagination__btn--num.is-active {
    box-shadow: 0 4px 12px rgba(222, 182, 102, 0.25);
}

body.ht-spa-active #ht-page-content .ht-gallery-hotel-hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.62) 100%);
}

@media (max-width: 991px) {
    body.ht-spa-active #ht-page-content .ht-gallery-hotel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    body.ht-spa-active #ht-page-content .ht-gallery-hotel-grid {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-gallery-hotel-filters__btn {
        font-size: 12px;
        padding: 0.45rem 0.75rem;
    }
}
