.productbox-column .ks-gallery-action {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    max-width: 100%; min-height: 44px; margin: .55rem 0; padding: .5rem .85rem;
    border-radius: .65rem; white-space: normal; line-height: 1.25; position: relative;
}
.productbox-column:has(.ks-gallery-action) .price-note:has(.base-price),
.productbox-column:has(.ks-gallery-action) .base-price {
    display: block !important; visibility: visible; opacity: 1;
}
dialog.ks-gallery-dialog {
    padding: 0; width: min(44rem, calc(100vw - 1rem)); max-width: 100%;
    height: min(48rem, 88vh); height: min(48rem, 88dvh); max-height: 96%;
    border: 0; border-radius: .9rem; color: #172331; background: white;
    box-shadow: 0 1rem 4rem #0005;
}
dialog.ks-gallery-dialog[open] { display: flex; flex-direction: column; }
.ks-gallery-dialog::backdrop { background: rgba(15,20,28,.6); }
.ks-gallery-head { display: flex; gap: .7rem; align-items: center; padding: .55rem 1rem; border-bottom: 1px solid #ddd; }
.ks-gallery-head strong { flex: 1; line-height: 1.3; }
.ks-gallery-head button { min-height: 44px; min-width: 44px; }
.ks-gallery-dialog iframe { width: 100%; flex: 1; min-height: 0; border: 0; }
.ks-gallery-status { margin: 1rem; }
html.ks-gallery-inside header#jtl-nav-wrapper, html.ks-gallery-inside #header-top-bar,
html.ks-gallery-inside #footer, html.ks-gallery-inside .breadcrumb-container { display: none !important; }
html.ks-gallery-inside { scroll-behavior: auto !important; }
html.ks-gallery-inside .product-info { flex-basis: 100%; max-width: 100%; }
html.ks-gallery-inside #product-offer { align-items: start; }
html.ks-gallery-inside .product-info-inner { margin: 0; }

