.bb-card-gallery { position: relative; overflow: hidden; }
.bb-card-gallery > .bb-card-gallery-dots {
    position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 4px; align-items: center; justify-content: center;
    max-width: calc(100% - 12px); padding: 4px 6px; border-radius: 12px;
    background: rgba(255,255,255,.9); pointer-events: none; z-index: 2;
}
.bb-card-gallery-dots > span { width: 5px; height: 5px; border: 1px solid #333; border-radius: 5px; flex-shrink: 0; }
.bb-card-gallery-dots > .is-active { width: 12px; background: #333; }
@media (hover: none) { .bb-card-gallery-dots { display: none !important; } }

/* Keep product photos clear and actions legible in both themes. */
.product .product__top::after,
.store-product .store-product__top::after {
    background: transparent !important;
    opacity: 0 !important;
    pointer-events: none;
}
.product .product__actions a,
.product .product__actions a:hover,
.product .product__actions a:focus-visible {
    background: #080820 !important;
    color: #f5ca00 !important;
    border-color: #f5ca00 !important;
}
.product .product__actions a i,
.store-product .store-product__action,
.store-product .store-product__action i {
    color: #f5ca00 !important;
}
.store-product .store-product__action::after {
    background: #080820 !important;
    border-color: #f5ca00 !important;
}
.product .product__actions a:focus-visible {
    outline: 2px solid #f5ca00;
    outline-offset: 2px;
}

/* Product photos fill their frame without changing image proportions. */
.product .product__thumbnail { width:100%; height:100%; padding:0!important; overflow:hidden; }
.product .product__thumbnail > img {
    display:block; width:100%!important; height:100%!important;
    max-width:none; padding:0!important; margin:0!important;
    object-fit:cover!important; object-position:center;
}
