.catalog-card__media {
    position: relative;
}

.catalog-card__media > a {
    display: block;
    width: 100%;
    height: 100%;
}

.catalog-card__media > a img {
    width: 100%;
    height: 100%;
}

.catalog-card__gallery-control {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 50%;
    align-items: center;
    justify-items: center;
    background: rgb(4 27 65 / 76%);
    color: #fff;
    font: inherit;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.catalog-card__gallery-control--previous {
    left: 10px;
}

.catalog-card__gallery-control--next {
    right: 10px;
}

.catalog-card__gallery-control[hidden] {
    display: none;
}

.catalog-card__gallery-control:focus-visible {
    outline: 3px solid var(--betel-focus);
    outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
    .catalog-card__gallery-control:hover {
        background: var(--betel-brand);
        transform: translateY(-50%) scale(1.06);
    }
}
/* gallery-controls-minimal-v1 */
[data-card-gallery-previous],
[data-card-gallery-next] {
    width: 1.9rem !important;
    height: 1.9rem !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.68) !important;
    border-radius: 9999px !important;
    background: rgba(4, 28, 62, 0.16) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    opacity: 0.64;
    transition: background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

[data-card-gallery-previous]:hover,
[data-card-gallery-next]:hover,
[data-card-gallery-previous]:focus-visible,
[data-card-gallery-next]:focus-visible {
    border-color: rgba(255, 255, 255, 0.92) !important;
    background: rgba(4, 28, 62, 0.38) !important;
    opacity: 1;
    outline: none;
}

[data-card-gallery-previous]:focus-visible,
[data-card-gallery-next]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (hover: none) {
    [data-card-gallery-previous],
    [data-card-gallery-next] {
        opacity: 0.8;
    }
}