.product-gallery {
    --product-gallery-bg: #1f1c1d;
    --product-gallery-surface: #282425;
    --product-gallery-text: #fff;
    --product-gallery-muted: rgba(255, 255, 255, .72);
    --product-gallery-line: rgba(255, 255, 255, .2);
    --product-gallery-container: 1400px;
    --product-gallery-gutter: 22px;
    --product-gallery-header-height: 88px;
    background: var(--product-gallery-bg);
    color: var(--product-gallery-text);
    overflow-x: hidden;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
    scrollbar-width: thin;
}

.product-gallery::-webkit-scrollbar {
    height: 4px;
    width: 4px;
}

.product-gallery::-webkit-scrollbar-track {
    background: transparent;
}

.product-gallery::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .35);
    border-radius: 999px;
}

.product-gallery::-webkit-scrollbar-corner {
    background: transparent;
}

.product-gallery * {
    box-sizing: border-box;
}

#product-gallery-modal {
    border: 0;
    inset: 0;
    margin: 0;
    max-height: none;
    max-width: none;
    padding: 0;
}

#product-gallery-modal:focus,
#product-gallery-modal:focus-visible {
    outline: none;
}

#product-gallery-modal::backdrop {
    background: var(--product-gallery-bg);
}

#product-gallery-modal.is-popin--full.is-active {
    height: 100%;
    right: 0;
    visibility: visible;
    width: 100%;
}

.product-gallery .product-gallery__container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--product-gallery-container);
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
}

.product-gallery .product-gallery__header {
    background: var(--product-gallery-bg);
    border-bottom: 0;
    color: var(--product-gallery-text);
    display: block;
    height: auto;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.product-gallery .product-gallery__header-inner {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding-bottom: 8px;
    padding-top: 20px;
    position: relative;
}

.product-gallery .product-gallery__title {
    color: var(--product-gallery-text);
    flex: 1;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    max-width: calc(100% - 100px);
    min-width: 0;
    text-align: left;
}

.product-gallery .product-gallery__actions {
    align-items: center;
    display: flex;
    gap: 0px;
    position: absolute;
    right: var(--product-gallery-gutter);
    top: 14px;
}

.product-gallery .product-gallery__action,
.product-gallery .product-gallery__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--product-gallery-text);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0;
    font-weight: 700;
    gap: 12px;
    height: 40px;
    padding: 0;
    position: relative;
    white-space: nowrap;
    width: 40px;
}

.product-gallery .product-gallery__action::after,
.product-gallery .product-gallery__close::after {
    filter: brightness(0) invert(1);
    left: 0;
    margin: auto;
    position: static;
    top: auto;
    transform: none;
}

.product-gallery .product-gallery__action--favorite::after {
    order: -1;
}

.product-gallery .product-gallery__action--favorite.ui-micon-utility-favoris-actif::after {
    filter: none;
}

.product-gallery .product-gallery__header-separator {
    align-items: center;
    display: none;
    height: 32px;
}

.product-gallery .product-gallery__header-separator svg {
    display: block;
}

.product-gallery .product-gallery__share-copied {
    align-items: center;
    display: none;
    gap: 8px;
}

.product-gallery .product-gallery__share-copied-icon,
.product-gallery .product-gallery__share-copied-icon svg {
    display: block;
    height: 24px;
    width: 24px;
}

.product-gallery .product-gallery__action--share.is-copied::after,
.product-gallery .product-gallery__action--share.is-copied .product-gallery__share-label {
    display: none;
}

.product-gallery .product-gallery__action--share.is-copied .product-gallery__share-copied {
    display: inline-flex;
}

.product-gallery .product-gallery__action--share.is-copied {
    font-size: 16px;
    width: auto;
}

.product-gallery .product-gallery__action--share {
    display: none;
}

.product-gallery .product-gallery__close {
    font-size: 0;
    width: 40px;
}

.product-gallery .product-gallery__close::after {
    margin: auto;
}

.product-gallery .product-gallery__bottom-share {
    background: var(--product-gallery-bg);
    bottom: 0;
    display: block;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 11;
}

.product-gallery .product-gallery__bottom-share-button {
    align-items: center;
    background: var(--product-gallery-bg);
    border: 0;
    border-radius: 8px;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    gap: 10px;
    height: 48px;
    justify-content: center;
    padding: 0 18px;
    width: 100%;
}

.product-gallery .product-gallery__bottom-share-button::after {
    filter: none;
    left: 0;
    order: -1;
    position: static;
    top: auto;
    transform: none;
}

.product-gallery .product-gallery__bottom-share-button.is-copied::after,
.product-gallery .product-gallery__bottom-share-button.is-copied .product-gallery__share-label {
    display: none;
}

.product-gallery .product-gallery__bottom-share-button.is-copied .product-gallery__share-copied {
    display: inline-flex;
}

.product-gallery .product-gallery__body.product-gallery__container {
    margin-left: 0;
    margin-right: auto;
    max-width: 905px;
    padding: 0 16px 80px;
}

.product-gallery .product-gallery__nav.product-gallery__container {
    margin-left: 0;
    margin-right: auto;
    max-width: 905px;
}

@media screen and (min-width: 1200px) {
    .product-gallery .product-gallery__body.product-gallery__container,
    .product-gallery .product-gallery__nav.product-gallery__container {
        margin-left: calc((100% - var(--product-gallery-container)) / 2);
    }
}

.product-gallery .product-gallery__nav {
    align-items: flex-start;
    background: var(--product-gallery-bg);
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    margin-top: 6px;
    padding: 0 16px 18px 16px;
    position: static;
    z-index: 9;
}

.product-gallery .product-gallery__tabs {
    display: flex;
    flex: 1;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    width: 100%;
}

.product-gallery .product-gallery__tabs::-webkit-scrollbar {
    display: none;
}

.product-gallery .product-gallery__tab {
    align-items: center;
    background: var(--product-gallery-surface);
    border: 0;
    border-radius: 22px;
    color: var(--product-gallery-text);
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 15px;
    gap: 10px;
    height: 38px;
    justify-content: center;
    line-height: 1;
    padding: 0 22px;
    text-decoration: none;
    white-space: nowrap;
}

.product-gallery .product-gallery__tab.is-active {
    background: #fff;
    color: #252223;
    font-weight: 700;
}

.product-gallery .product-gallery__tab-icon {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 24px;
}

.product-gallery .product-gallery__tab-icon svg [stroke] {
    stroke: currentColor;
}

.product-gallery .product-gallery__tab-icon svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.product-gallery .product-gallery__display {
    align-items: center;
    border-left: 0;
    display: flex;
    flex: 0 0 auto;
    gap: 12px;
    padding-left: 0;
}

.product-gallery .product-gallery__display-label {
    color: var(--product-gallery-text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.product-gallery .product-gallery__display-toggle {
    background: var(--product-gallery-surface);
    border-radius: 24px;
    display: flex;
    padding: 6px;
}

.product-gallery .product-gallery__display-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 20px;
    color: var(--product-gallery-text);
    cursor: pointer;
    display: flex;
    height: 30px;
    justify-content: center;
    padding: 0;
    width: 48px;
}

.product-gallery .product-gallery__display-button.is-active {
    background: #fff;
    color: #252223;
}

.product-gallery .product-gallery__display-icon {
    align-items: center;
    display: flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.product-gallery .product-gallery__display-icon svg {
    display: block;
    height: 30px;
    width: 30px;
}

.product-gallery .product-gallery__display-icon svg [stroke] {
    stroke: currentColor;
}

.product-gallery .product-gallery__display-icon svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.product-gallery .product-gallery__tab--map,
.product-gallery .product-gallery__tab--virtual-tour {
    display: inline-flex;
}

.product-gallery [data-product-gallery-panel][hidden] {
    display: none;
}

.product-gallery .product-gallery__section-header {
    align-items: baseline;
    display: none;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.product-gallery .product-gallery__section-title,
.product-gallery .product-gallery__accommodation-title {
    color: var(--product-gallery-text);
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
}

.product-gallery .product-gallery__accommodation-title {
    margin-bottom: 14px;
}

.product-gallery .product-gallery__accommodation-section {
    margin-bottom: 36px;
}

.product-gallery .product-gallery__accommodation-section:last-child {
    margin-bottom: 0;
}

.product-gallery .product-gallery__section-count {
    color: var(--product-gallery-muted);
    flex: 0 0 auto;
    font-size: 13px;
}

.product-gallery .product-gallery__grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
}

.product-gallery .product-gallery__carousel {
    max-width: 100%;
    min-width: 0;
    position: relative;
    width: 100%;
}

.product-gallery .product-gallery__carousel-arrow {
    display: none;
}

.product-gallery .product-gallery__carousel-counter {
    align-items: center;
    background: rgba(31, 28, 29, .78);
    border-radius: 999px;
    display: none;
    font-size: 12px;
    font-weight: 400;
    gap: 4px;
    height: 30px;
    justify-content: center;
    line-height: 1;
    min-width: 46px;
    padding: 0 8px;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
}

.product-gallery .product-gallery__carousel-counter-current {
    color: var(--text-title, #1C1C1E);
}

.product-gallery .product-gallery__carousel-counter-separator,
.product-gallery .product-gallery__carousel-counter-total {
    color: var(--text-legend, #4F545E);
}

.product-gallery .product-gallery__item {
    aspect-ratio: var(--product-gallery-ratio, 16 / 9);
    background: #302c2d;
    border-radius: 8px;
    margin: 0;
    min-height: 215px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.product-gallery:not(.product-gallery--large) .product-gallery__grid > .product-gallery__item {
    cursor: pointer;
    grid-column: auto;
}

.product-gallery:not(.product-gallery--large) .product-gallery__grid > .product-gallery__item:nth-child(3n + 1),
.product-gallery .product-gallery__item--featured {
    grid-column: 1 / -1;
    max-height: 547px;
    min-height: 352px;
    width: 100%;
}

.product-gallery:not(.product-gallery--large) .product-gallery__grid > .product-gallery__item:not(:nth-child(3n + 1)) {
    aspect-ratio: 4 / 3;
}

.product-gallery .product-gallery__image {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.product-gallery.product-gallery--large .product-gallery__body.product-gallery__container {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--product-gallery-container);
}

.product-gallery.product-gallery--large .product-gallery__grid {
    border-radius: var(--Arrondie-par-default, 8px);
    display: flex;
    gap: 0;
    grid-template-columns: none;
    max-width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
}

.product-gallery.product-gallery--large .product-gallery__grid::-webkit-scrollbar {
    display: none;
}

.product-gallery.product-gallery--large .product-gallery__carousel .product-gallery__item {
    aspect-ratio: auto;
    flex: 0 0 100%;
    height: min(675px, calc(100vh - var(--product-gallery-header-height) - 190px));
    height: min(675px, calc(100dvh - var(--product-gallery-header-height) - 190px));
    max-height: none;
    min-height: 0;
    scroll-snap-align: start;
    width: 100%;
}

.product-gallery.product-gallery--large .product-gallery__item {
    min-height: 352px;
}

.product-gallery.product-gallery--large .product-gallery__carousel .product-gallery__image {
    object-fit: contain;
}

.product-gallery.product-gallery--large .product-gallery__carousel-counter {
    display: flex;
    border-radius: var(--Arrondie-par-default, 8px);
    background: var(--surface-white, #FFF);
    align-items: center;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow {
    align-items: center;
    background: #FFF;
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    z-index: 2;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow svg {
    display: block;
    height: 30px;
    width: 30px;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow svg [stroke] {
    stroke: currentColor;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow svg [fill]:not([fill="none"]) {
    fill: currentColor;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow--prev {
    left: 18px;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow--next {
    right: 18px;
}

.product-gallery.product-gallery--large .product-gallery__carousel-arrow:disabled {
    cursor: default;
    opacity: .35;
}

.product-gallery .product-gallery__media {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery .product-gallery__iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.product-gallery .product-gallery__download-link {
    color: var(--product-gallery-text);
    display: inline-flex;
    margin-top: 16px;
}

.product-gallery .product-gallery__download-link.is-link-light {
    border-bottom: 1px solid var(--product-gallery-text);
}

.product-gallery button:focus-visible,
.product-gallery a:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px !important;
}

.product-gallery .product-gallery__section + .product-gallery__section,
.product-gallery .product-gallery__accommodation-section {
    margin-top: 30px;
}

@media screen and (min-width: 561px) {
    .product-gallery {
        --product-gallery-gutter: 28px;
        --product-gallery-header-height: 92px;
    }

    .product-gallery .product-gallery__header-inner {
        padding-bottom: 6px;
        padding-top: 18px;
    }

    .product-gallery .product-gallery__title {
        max-width: calc(100% - 108px);
    }

    .product-gallery .product-gallery__nav {
        margin-top: 12px;
        padding: 0 var(--product-gallery-gutter) 18px var(--product-gallery-gutter);
    }

    .product-gallery .product-gallery__container {
        padding-left: var(--product-gallery-gutter);
        padding-right: var(--product-gallery-gutter);
    }

    .product-gallery .product-gallery__tab {
        font-size: 15px;
        height: 42px;
        padding: 0 22px;
    }

    .product-gallery .product-gallery__grid {
        gap: 30px;
    }

    .product-gallery .product-gallery__item {
        min-height: 265px;
    }

    .product-gallery .product-gallery__body.product-gallery__container {
        padding: 28px;
    }
}

@media screen and (min-width: 901px) {
    .product-gallery {
        --product-gallery-gutter: clamp(24px, 4vw, 40px);
        --product-gallery-header-height: 86px;
    }

    .product-gallery .product-gallery__header-inner {
        padding-bottom: 12px;
        padding-top: 18px;
    }

    .product-gallery .product-gallery__title {
        font-size: 24px;
        max-width: none;
    }

    .product-gallery .product-gallery__actions {
        gap: 28px;
        position: static;
    }

    .product-gallery .product-gallery__header-separator {
        display: inline-flex;
    }

    .product-gallery .product-gallery__action--share {
        display: inline-flex;
    }

    .product-gallery .product-gallery__bottom-share {
        display: none;
    }

    .product-gallery .product-gallery__action {
        font-size: 16px;
        width: auto;
    }

    .product-gallery .product-gallery__close {
        font-size: 0;
        width: 40px;
    }

    .product-gallery .product-gallery__body.product-gallery__container {
        padding-bottom: 64px;
        padding-left: var(--product-gallery-gutter);
        padding-right: var(--product-gallery-gutter);
        padding-top: 0;
    }

    .product-gallery .product-gallery__nav {
        align-items: center;
        flex-direction: row;
        gap: 32px;
        margin-top: 4px;
        padding-bottom: 30px;
    }

    .product-gallery .product-gallery__tabs {
        max-width: none;
        width: auto;
    }

    .product-gallery .product-gallery__tab {
        font-size: 15px;
        height: 42px;
        padding: 0 22px;
    }

    .product-gallery .product-gallery__tab--map,
    .product-gallery .product-gallery__tab--virtual-tour {
        display: inline-flex;
    }

    .product-gallery .product-gallery__display {
        border-left: 1px solid var(--product-gallery-line);
        padding-left: 18px;
    }

    .product-gallery .product-gallery__display-button {
        height: 34px;
        width: 46px;
    }

    .product-gallery .product-gallery__section-header {
        display: flex;
    }

    .product-gallery .product-gallery__grid {
        gap: 28px 28px;
        width: auto;
    }

    .product-gallery .product-gallery__item,
    .product-gallery .product-gallery__item--featured,
    .product-gallery.product-gallery--large .product-gallery__item {
        min-height: 0;
    }

    .product-gallery .product-gallery__section + .product-gallery__section {
        margin-top: 0;
    }

    .product-gallery .product-gallery__accommodation-section {
        margin-top: 0;
    }
}

@media screen and (max-width: 900px) {
    .product-gallery.product-gallery--large .product-gallery__carousel .product-gallery__item {
        height: min(580px, calc(100vh - 260px));
        height: min(580px, calc(100dvh - 260px));
    }
}

@media screen and (max-width: 560px) {
    .product-gallery.product-gallery--large .product-gallery__carousel .product-gallery__item {
        height: clamp(260px, calc(100vh - 300px), 430px);
        height: clamp(260px, calc(100dvh - 300px), 430px);
    }

    .product-gallery .product-gallery__tab {
        font-size: 13px;
        height: 38px;
        padding: 0 16px;
    }

    .product-gallery .product-gallery__tab-icon {
        height: 20px;
        width: 20px;
    }

    .product-gallery .product-gallery__tab-icon svg {
        height: 20px;
        width: 20px;
    }
}
