/**
 * Page Restauration — images, carte et galerie
 */
body.ht-spa-active #ht-page-content .ht-restaurant-page .ht-page-body > .ht-wrap {
    padding-top: 3.25rem !important;
}

/* Intro image + texte */
body.ht-spa-active #ht-page-content .ht-restaurant-intro {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.75rem !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__media:focus {
    outline: 2px solid #deb666;
    outline-offset: 3px;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__media img {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.4rem 0.85rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 4px;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__body .ht-lead {
    margin-bottom: 1rem !important;
    color: #606060 !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-intro__body > p {
    font-size: 15px;
    line-height: 1.75;
    color: #858a99;
    margin-bottom: 1.25rem;
}

body.ht-spa-active #ht-page-content .ht-restaurant-tags {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.ht-spa-active #ht-page-content .ht-restaurant-tags li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 14px;
    color: #606060;
}

body.ht-spa-active #ht-page-content .ht-restaurant-tags li i {
    color: #deb666;
    font-size: 12px;
}

body.ht-spa-active #ht-page-content .ht-restaurant-page .ht-stats-band__value {
    font-size: 1.35rem !important;
    color: #b69854 !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-page .ht-stats-band__value i {
    font-size: 1.25rem;
}

/* Carte menu avec photos */
body.ht-spa-active #ht-page-content .ht-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3.25rem !important;
}

body.ht-spa-active #ht-page-content .ht-menu-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

body.ht-spa-active #ht-page-content .ht-menu-card:hover {
    border-color: rgba(222, 182, 102, 0.55);
    box-shadow: 0 12px 36px rgba(222, 182, 102, 0.14);
    transform: translateY(-3px);
}

body.ht-spa-active #ht-page-content .ht-menu-card__media {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

body.ht-spa-active #ht-page-content .ht-menu-card__media:focus {
    outline: 2px solid #deb666;
    outline-offset: -2px;
}

body.ht-spa-active #ht-page-content .ht-menu-card__media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-menu-card:hover .ht-menu-card__media img,
body.ht-spa-active #ht-page-content .ht-restaurant-zoom:hover img {
    transform: scale(1.06);
}

/* Icône loupe (intro + carte menu) */
body.ht-spa-active #ht-page-content .ht-restaurant-zoom__icon {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0.85);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

body.ht-spa-active #ht-page-content .ht-restaurant-zoom::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-restaurant-zoom:hover::after,
body.ht-spa-active #ht-page-content .ht-restaurant-zoom:hover .ht-restaurant-zoom__icon,
body.ht-spa-active #ht-page-content .ht-restaurant-zoom:focus-visible::after,
body.ht-spa-active #ht-page-content .ht-restaurant-zoom:focus-visible .ht-restaurant-zoom__icon {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-restaurant-zoom:hover .ht-restaurant-zoom__icon,
body.ht-spa-active #ht-page-content .ht-restaurant-zoom:focus-visible .ht-restaurant-zoom__icon {
    transform: translate(-50%, -50%) scale(1);
}

body.ht-spa-active #ht-page-content .ht-menu-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.ht-spa-active #ht-page-content .ht-menu-card h3 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #606060 !important;
    margin: 0 0 0.45rem !important;
}

body.ht-spa-active #ht-page-content .ht-menu-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #858a99;
    margin: 0 0 0.85rem;
    flex: 1;
}

body.ht-spa-active #ht-page-content .ht-menu-card__price {
    margin: 0;
}

body.ht-spa-active #ht-page-content .ht-menu-card__price span {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #b69854;
}

/* Galerie premium */
body.ht-spa-active #ht-page-content .ht-restaurant-gallery-head {
    margin-bottom: 1.25rem !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 0.85rem;
    margin-bottom: 2.75rem !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell {
    margin: 0;
    min-height: 0;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero {
    grid-column: span 2;
    grid-row: span 2;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item {
    position: relative;
    display: block;
    height: 100%;
    min-height: 140px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none !important;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.3s;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:hover,
body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(222, 182, 102, 0.8);
    box-shadow: 0 16px 44px rgba(222, 182, 102, 0.28);
    outline: none;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:hover::after {
    opacity: 1;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero .ht-restaurant-gallery__item {
    min-height: 300px;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero .ht-restaurant-gallery__item img {
    min-height: 300px;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:hover img {
    transform: scale(1.07);
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__zoom {
    position: absolute;
    left: 50%;
    top: 42%;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0.9);
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.96);
    color: #fff;
    font-size: 18px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 2.5rem 1rem 0.85rem;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-align: left;
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:hover .ht-restaurant-gallery__zoom,
body.ht-spa-active #ht-page-content .ht-restaurant-gallery__item:focus-visible .ht-restaurant-gallery__zoom {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Liens cuisines / bar / galerie */
body.ht-spa-active #ht-page-content .ht-restaurant-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem !important;
}

body.ht-spa-active #ht-page-content .ht-restaurant-link-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

body.ht-spa-active #ht-page-content .ht-restaurant-link-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

body.ht-spa-active #ht-page-content .ht-restaurant-link-card:hover img {
    transform: scale(1.06);
}

body.ht-spa-active #ht-page-content .ht-restaurant-link-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem 0.75rem 0.75rem;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* .ht-page-cta : ht-buttons.css */

@media (max-width: 991px) {
    body.ht-spa-active #ht-page-content .ht-restaurant-intro {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-menu-grid {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero {
        grid-column: span 2;
        grid-row: span 1;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero .ht-restaurant-gallery__item,
    body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero .ht-restaurant-gallery__item img {
        min-height: 220px;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    body.ht-spa-active #ht-page-content .ht-restaurant-gallery {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-gallery__cell--hero {
        grid-column: span 1;
    }

    body.ht-spa-active #ht-page-content .ht-restaurant-links {
        grid-template-columns: 1fr;
    }
}
