/* Isolated gallery: no structural changes to the existing cards. */
.kitlisa-v3-gallery { position: relative; }
.kitlisa-v3-gallery .card-img { display: block; }
.kitlisa-v3-gallery__arrow[hidden],
.kitlisa-v3-gallery__dots[hidden] { display: none !important; }
.kitlisa-v3-gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 3; width: 30px; height: 36px; border: 0; border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    color: #333; background: rgba(255,255,255,.9); font-size: 26px;
    cursor: pointer; padding: 0; box-shadow: 0 1px 5px rgba(0,0,0,.14);
}
.kitlisa-v3-gallery__arrow--prev { left: 5px; }
.kitlisa-v3-gallery__arrow--next { right: 5px; }
.kitlisa-v3-gallery__arrow:hover { background: #fff; }
.kitlisa-v3-gallery__arrow:focus-visible { outline: 2px solid #008b95; outline-offset: 2px; }
.kitlisa-v3-gallery__dots {
    position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 4px; z-index: 3;
    pointer-events: none; max-width: 90%;
}
.kitlisa-v3-gallery__dot { display: block; width: 5px; height: 5px; flex: 0 0 5px;
    border-radius: 50%; background: #bbb; }
.kitlisa-v3-gallery__dot.is-active { background: #008b95; }
@media (hover: none) { .kitlisa-v3-gallery__arrow, .kitlisa-v3-gallery__dots { display: none !important; } }

/* A completed basket action has a longer label; keep narrow product cards stable. */
html.kitlisa-v2 .element-card .add-to-cart[data-cart-item-id] {
    font-size: .78rem;
    padding-left: .25rem;
    padding-right: .25rem;
    white-space: nowrap;
}
html.kitlisa-v2 .element-card .add-to-cart[data-cart-item-id] .mr-2 {
    margin-right: .25rem !important;
}
