.ota-card-gallery-frame {
    position: relative;
    isolation: isolate;
    min-width: 0;
    margin: 0;
}

.ota-card-gallery {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    cursor: default;
}

.ota-card-gallery__track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.ota-card-gallery__track::-webkit-scrollbar {
    display: none;
}

.ota-card-gallery-frame .ota-card-gallery .ota-card-gallery__track[data-gallery-track] > img {
    display: block;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    object-fit: cover;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    user-select: none;
    transform: none;
    transition: none;
}

.ota-card-gallery .ota-card-gallery__control {
    position: absolute;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: #152e25e8;
    color: #fff;
    font: 400 25px/1 system-ui, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
}

.ota-card-gallery .ota-card-gallery__control:hover {
    background: #143d2d;
    color: #fff;
}

.ota-card-gallery .ota-card-gallery__control[aria-disabled="true"] {
    visibility: hidden;
}

.ota-card-gallery__control--prev { inset-inline-start: 8px; }
.ota-card-gallery__control--next { inset-inline-end: 8px; }

.ota-card-gallery__track:focus-visible {
    outline: 2px solid #f3ce76;
    outline-offset: -3px;
}

.ota-card-gallery .ota-card-gallery__control:focus-visible {
    outline: 2px solid #f3ce76;
    outline-offset: 2px;
}

.ota-card-gallery__count {
    position: absolute;
    bottom: 8px;
    left: 50%;
    padding: 3px 8px;
    transform: translateX(-50%);
    border-radius: 12px;
    background: #152e25e8;
    color: #fff;
    font: 600 11px/1.35 system-ui, sans-serif;
    white-space: nowrap;
    pointer-events: none;
}

.ota-card-gallery-frame--compact .ota-card-gallery__count {
    top: 4px;
    bottom: auto;
}

.ota-card-gallery-frame--compact .ota-card-gallery .ota-card-gallery__control {
    top: auto;
    bottom: 0;
    width: min(44px, 50%);
    transform: none;
    font-size: 22px;
}

.ota-card-gallery-frame--compact .ota-card-gallery__control--prev { inset-inline-start: 0; }
.ota-card-gallery-frame--compact .ota-card-gallery__control--next { inset-inline-end: 0; }