dialog.ak-ticket-lightbox {
    --gold2: #7e550d; --line: #e8ddca; color: #291e13; border: 0; max-width: none; max-height: none;
    position: fixed; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
    background: transparent; align-items: end; justify-content: center; overflow: hidden;
}
html:has(.ak-ticket-lightbox[open]) { overflow: hidden; }
dialog.ak-ticket-lightbox::backdrop { background: #1c191570; animation: ak-ticket-gallery-dim .28s ease-out both; }
.ak-ticket-gallery-panel {
    width: min(100%, 1180px); max-height: 94dvh; overflow: auto; overscroll-behavior: contain;
    padding: clamp(12px, 2.6vw, 28px); border-radius: 20px 20px 0 0; background: #faf8f4;
    box-shadow: 0 -10px 45px #1c191533; animation: ak-ticket-gallery-enter .34s cubic-bezier(.22,.75,.24,1) both;
}
@keyframes ak-ticket-gallery-enter { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes ak-ticket-gallery-dim { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    dialog.ak-ticket-lightbox::backdrop, .ak-ticket-gallery-panel { animation: none; }
}
.ak-ticket-gallery-toolbar { display: flex; justify-content: end; margin-bottom: 8px; }
.ak-ticket-gallery-toolbar button { border: 0; background: transparent; color: var(--gold2); font-weight: 700; }
.ak-ticket-gallery-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 26%); gap: 18px; }
.ak-ticket-gallery-media { min-width: 0; }
.ak-ticket-gallery-stage {
    position: relative; display: grid; place-items: center; height: min(55dvh, 560px);
    overflow: hidden; border-radius: 12px; background: #2a241d;
}
.ak-ticket-lightbox [hidden] { display: none !important; }
.ak-ticket-gallery-stage img { display: block; max-width: 100%; max-height: min(55dvh, 560px); width: auto; height: auto; }
.ak-ticket-gallery-stage [data-ticket-step] {
    position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: #fff; color: var(--gold2); font-size: 1.6rem;
}
.ak-ticket-gallery-stage [data-ticket-step="-1"] { inset-inline-start: 10px; }
.ak-ticket-gallery-stage [data-ticket-step="1"] { inset-inline-end: 10px; }
.ak-ticket-gallery-position {
    position: absolute; inset: auto auto 8px 8px; padding: 3px 9px; border-radius: 7px; background: #17130fbf; color: #fff;
    pointer-events: none;
}
.ak-ticket-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 9px 5px; }
.ak-ticket-gallery-thumbs button {
    flex: 0 0 84px; aspect-ratio: 4 / 3; min-width: 0; min-height: 0; padding: 0;
    border: 2px solid transparent; overflow: hidden; background: transparent;
}
.ak-ticket-gallery-thumbs button[aria-current="true"] { border-color: var(--gold2); }
.ak-ticket-gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ak-ticket-lightbox.is-grid .ak-ticket-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr)); }
.ak-ticket-gallery-booking {
    align-self: start; display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff;
}
.ak-ticket-gallery-booking h2 { margin: 0; font-size: 1rem; }
.ak-ticket-gallery-booking strong { color: var(--gold2); font-size: 1.25rem; }
.ak-ticket-lightbox .ak-ticket-gallery-booking .primary { background: var(--gold2); color: #fff; }
@media (max-width: 680px) {
    .ak-ticket-gallery-detail { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .ak-ticket-gallery-booking { grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
    .ak-ticket-gallery-booking h2 { grid-column: 1 / -1; }
    .ak-ticket-gallery-booking small { grid-column: 1; }
    .ak-ticket-gallery-booking a { grid-column: 2; grid-row: 2 / span 2; }
}

dialog.ak-ticket-lightbox[open] { display: flex; }
.ak-ticket-lightbox .ak-ticket-gallery-booking .primary {
    display: block; padding: 12px; text-align: center; border-radius: 10px; font-weight: 700;
}
.arta-woo-gallery-opener { display: block; width: 100%; padding: 0; border: 0; background: transparent; }
#arta-product-gallery-booking { scroll-margin-top: 150px; }
