:root{
    --bg:#f5f6f8;
    --card:#ffffff;
    --card-soft:#fafbfc;
    --card-soft-2:#f3f4f6;
    --text:#1f2937;
    --muted:#6b7280;
    --line:#e5e7eb;
    --line-soft:#edf1f5;
    --primary:#1d4ed8;
    --primary-dark:#1e40af;
    --warn:#f59e0b;
    --danger:#ef4444;
    --sold:#fca5a5;
    --reserved:#fcd34d;
    --available:#d1d5db;
    --selected:#2563eb;
    --suggested:#8b5cf6;
    --shadow:0 10px 30px rgba(0,0,0,0.08);
    --shadow-soft:0 6px 18px rgba(15,23,42,.06);
    --radius:18px;
    --radius-md:16px;
    --radius-sm:12px;
}

*{box-sizing:border-box}

html,body{
    margin:0;
    padding:0;
    width:100%;
    min-height:100%;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,sans-serif;
}

body{min-height:100vh}

button,input,select,textarea{font:inherit}

.app{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.main{
    flex:1 1 auto;
    padding:16px;
    min-height:0;
}

/* =========================
   LAYOUT
========================= */

.desktop-layout{
    display:grid;
    grid-template-columns:260px minmax(0,1fr) 320px;
    gap:20px;
    align-items:stretch;
    max-width:1600px;
    margin:0 auto;
}

.center-stage{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:relative;
    z-index:30;
    min-width:0;
}

/* =========================
   SURFACES
========================= */

.panel,
.seatmap-card,
.cart-main-card{
    background:var(--card);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.panel{
    display:flex;
    flex-direction:column;
    align-self:stretch;
    min-width:0;
    overflow:hidden;
}

.panel-sticky{
    position:sticky;
    top:16px;
    align-self:stretch;
    z-index:10;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
}

@media (min-width:1100px){
    .desktop-layout>.panel,
    .desktop-layout>.seatmap-card,
    .desktop-layout>.cart-main-card{
        max-height:calc(100vh - 32px);
        max-height:calc(100dvh - 32px);
    }

    .seatmap-card,
    .cart-main-card{
        min-height:0;
    }

    .seatmap-card{overflow:visible}
    .cart-main-card{overflow:hidden}

    .cart-main-body,
    .map-scroll{
        min-height:0;
        overflow:auto;
    }
}

.panel-head{
    padding:18px 18px 0;
    flex:0 0 auto;
}

.panel-title{
    margin:0;
    font-size:18px;
    font-weight:700;
    line-height:1.25;
    letter-spacing:-0.01em;
}

.panel-subtitle{
    margin-top:6px;
    color:var(--muted);
    font-size:13px;
    line-height:1.4;
}

.panel-head-seatmap{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:18px 18px 0;
}

.panel-head-copy{
    min-width:0;
    flex:1;
}

.sidebar-scroll{
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    padding:18px;
}

.sidebar-footer{
    flex:0 0 auto;
    padding:16px 18px 18px;
    border-top:1px solid var(--line);
    background:var(--card);
}

/* =========================
   SHARED CONTROLS
========================= */

.primary-btn,
.secondary-btn,
.mobile-cart-btn,
.back-inline-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    min-height:46px;
    padding:12px 16px;
    border-radius:14px;
    font-weight:700;
    font-size:14px;
    line-height:1.25;
    text-align:center;
    cursor:pointer;
    transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.primary-btn,
.mobile-cart-btn{
    border:1px solid transparent;
    background:var(--primary);
    color:#fff;
}

.primary-btn:hover,
.mobile-cart-btn:hover{
    background:var(--primary-dark);
}

.secondary-btn,
.back-inline-btn{
    border:1px solid #dbe2ea;
    background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
    color:var(--text);
    box-shadow:var(--shadow-soft);
}

.secondary-btn:hover,
.back-inline-btn:hover{
    background:linear-gradient(180deg,#ffffff 0%,#eef2f7 100%);
    color:var(--text);
}

.primary-btn span,
.mobile-cart-btn span{
    display:inline-block;
    min-width:0;
    overflow-wrap:anywhere;
}

.back-inline-btn{
    width:auto;
    min-width:auto;
    padding:0 14px;
    border-radius:14px;
    min-height:46px;
}

.total-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin:0 0 12px;
    font-size:16px;
    font-weight:700;
}

.cart-icon{
    width:20px;
    height:20px;
    flex:0 0 20px;
}

.cart-icon path,
.cart-icon circle{
    stroke:#ffffff;
    stroke-width:2;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* =========================
   COUNTDOWN CHIP
========================= */

.reservation-chip{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border:1px solid #dbe2ea;
    border-radius:14px;
    background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%);
    box-shadow:var(--shadow-soft);
}

.reservation-chip-icon{
    width:32px;
    height:32px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#eef2ff;
    color:#3730a3;
    flex:0 0 32px;
}

.reservation-chip-icon svg{
    width:16px;
    height:16px;
    display:block;
}

.reservation-chip-icon circle,
.reservation-chip-icon path{
    stroke:currentColor;
    stroke-width:1.9;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.reservation-chip-text{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:2px;
    line-height:1.1;
}

.reservation-chip-label{
    font-size:11px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--muted);
}

.reservation-chip-time{
    font-size:16px;
    font-weight:700;
    color:var(--text);
}

.reservation-chip.is-warning{
    border-color:#f3d39a;
    background:linear-gradient(180deg,#fffdf8 0%,#fff7e8 100%);
}

.reservation-chip.is-warning .reservation-chip-icon{
    background:#fff3d6;
    color:#b45309;
}

.reservation-chip.is-warning .reservation-chip-time{
    color:#92400e;
}

.reservation-chip.is-danger{
    border-color:#f0c7c7;
    background:linear-gradient(180deg,#fffafa 0%,#fff1f1 100%);
}

.reservation-chip.is-danger .reservation-chip-icon{
    background:#fee2e2;
    color:#b91c1c;
}

.reservation-chip.is-danger .reservation-chip-time{
    color:#991b1b;
}

.countdown{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:999px;
    background:#eef2ff;
    color:#3730a3;
    font-weight:700;
    font-size:14px;
    min-width:72px;
    white-space:nowrap;
}

/* =========================
   LEFT SIDEBAR CONTENT
========================= */

.poster-wrap{
    width:100%;
    aspect-ratio:11 / 16;
    border-radius:16px;
    overflow:hidden;
    background:#eef2f7;
    margin-bottom:18px;
    border:1px solid var(--line);
}

.poster-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.poster-empty{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-size:14px;
    text-align:center;
    padding:20px;
}

.info-block{
    padding:16px 0 0;
    margin-top:16px;
    border-top:1px solid var(--line-soft);
}

.info-block:first-of-type{
    border-top:none;
    padding-top:0;
    margin-top:0;
}

.info-label{
    font-size:12px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--muted);
    margin-bottom:10px;
}

.info-text{
    font-size:14px;
    line-height:1.6;
    color:var(--text);
}

.info-description{
    max-height:180px;
    overflow:auto;
    padding:0 8px 0 0;
    scrollbar-width:thin;
    overscroll-behavior:contain;
    text-align:justify;
    text-justify:inter-word;
    hyphens:auto;
}

.info-description-wrap{
    position:relative;
    overflow:hidden;
}

.info-description-wrap::after{
    content:"";
    position:absolute;
    right:8px;
    bottom:0;
    left:0;
    height:58px;
    z-index:1;
    background:linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,.94) 68%,#fff 100%);
    opacity:0;
    pointer-events:none;
    transition:opacity .16s ease;
}

.info-description-more{
    position:absolute;
    right:16px;
    bottom:3px;
    z-index:2;
    color:var(--muted);
    font-size:25px;
    font-weight:800;
    line-height:1;
    letter-spacing:2px;
    opacity:0;
    pointer-events:none;
    transition:opacity .16s ease;
}

.info-description-wrap.is-scrollable:not(.is-at-end)::after,
.info-description-wrap.is-scrollable:not(.is-at-end) .info-description-more{
    opacity:1;
}

.info-description:focus-visible{
    outline:2px solid var(--primary);
    outline-offset:4px;
    border-radius:4px;
}

.info-muted{color:var(--muted)}

.info-facts-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.info-fact-item{
    padding:10px 11px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--card-soft);
    display:flex;
    flex-direction:column;
    gap:4px;
}

.info-fact-item span{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:var(--muted);
}

.info-fact-item strong{
    font-size:13px;
    color:var(--text);
    line-height:1.3;
}

/* =========================
   SHOWLINE
========================= */

.info-block-showline{
    padding-top:10px;
    margin-top:14px;
    border-top:none;
}

.showline-summary{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    margin:0 0 10px;
    padding:12px 14px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--card-soft-2);
    text-align:left;
}

.showline-summary-number{
    flex:0 0 auto;
    font-size:31px;
    line-height:0.9;
    font-weight:700;
    color:var(--text);
    letter-spacing:-0.02em;
}

.showline-summary-text{
    min-width:0;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:2px;
    text-align:left;
}

.showline-summary-line1{
    font-size:12px;
    font-weight:700;
    color:var(--text);
    line-height:1.15;
}

.showline-summary-line2{
    font-size:12px;
    color:var(--muted);
    line-height:1.15;
}

.showline-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.showline-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
    padding:9px 11px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#ffffff;
}

.showline-item-name{
    font-size:12px;
    font-weight:700;
    color:var(--text);
    line-height:1.25;
}

.showline-item-time{
    font-size:11px;
    color:var(--muted);
    white-space:nowrap;
}

.showline-item-break{
    background:#fffdf7;
}

/* =========================
   SEATMAP CARD
========================= */

.seatmap-card{
    display:flex;
    flex-direction:column;
    padding:16px;
    min-width:0;
    min-height:0;
    overflow:visible;
    position:relative;
}

.seatmap-card-head{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    margin-bottom:14px;
    min-height:44px;
}

.seatmap-card-head-main{
    width:100%;
    min-width:0;
    text-align:center;
}

.center-title{
    font-size:26px;
    font-weight:700;
    line-height:1.2;
    text-align:center;
    letter-spacing:-0.02em;
}

.center-subtitle{
    text-align:center;
    color:var(--muted);
    font-size:14px;
    margin-top:6px;
}

/* =========================
   LEGEND POPOUT
========================= */

.seatmap-layout{position:relative;display:flex;flex:1 1 auto;min-height:0;flex-direction:column}
.seatmap-layout .map-scroll{flex:1 1 auto;min-height:0}

.legend-popout-anchor{
    position:absolute;
    top:0;
    right:0;
    z-index:5000;
    overflow:visible;
}

.legend-trigger{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border:none;
    background:#eef2ff;
    color:#3730a3;
    font-weight:700;
    font-size:14px;
    padding:10px 14px;
    border-radius:999px;
    cursor:pointer;
    white-space:nowrap;
    transition:background .18s ease, transform .18s ease;
}

.legend-trigger:hover{
    background:#e0e7ff;
    transform:translateY(-1px);
}

.legend-trigger-icon{
    width:16px;
    height:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 16px;
}

.legend-trigger-icon svg{
    width:16px;
    height:16px;
    display:block;
}

.legend-trigger-icon path,
.legend-trigger-icon circle{
    stroke:currentColor;
    stroke-width:1.8;
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.legend-popout{
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    width:280px;
    background:#ffffff;
    border:1px solid rgba(17,24,39,.10);
    border-radius:16px;
    box-shadow:0 18px 40px rgba(0,0,0,.18);
    padding:12px;
    z-index:9999;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-4px) scale(.98);
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.legend-popout.open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0) scale(1);
}

.legend-popout-arrow{
    position:absolute;
    top:-7px;
    left:18px;
    width:14px;
    height:14px;
    background:#ffffff;
    border-top:1px solid rgba(17,24,39,.10);
    border-left:1px solid rgba(17,24,39,.10);
    transform:rotate(45deg);
    z-index:2;
}

.legend-overlay-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:10px;
}

.legend-overlay-title{
    font-size:13px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    color:var(--muted);
}

.legend-overlay-close{
    border:none;
    background:transparent;
    color:var(--muted);
    font-size:22px;
    line-height:1;
    cursor:pointer;
    padding:0;
}

.legend-overlay-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.legend-filter-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    width:100%;
    border:1px solid var(--line);
    background:#fff;
    border-radius:12px;
    padding:10px 12px;
    cursor:pointer;
    transition:border-color .18s ease, transform .18s ease, background .18s ease, opacity .18s ease;
}

.legend-filter-item:hover{
    border-color:#c7d2fe;
    background:#f8faff;
    transform:translateY(-1px);
}

.legend-filter-item.active{
    border-color:#a5b4fc;
    background:#eef2ff;
}

.legend-filter-item.dimmed{
    opacity:.55;
}

.legend-status-item{display:flex;align-items:center;gap:10px;width:100%;padding:7px 4px;color:#475569;font-size:12px;line-height:1.35}
.legend-seat-symbol{display:inline-block;flex:0 0 20px;width:20px;height:20px;border-radius:50%;background:#94a3b8;border:1px solid rgba(17,24,39,.38)}
.legend-seat-symbol.is-selected{border:3px solid rgba(17,24,39,.95)}
.legend-seat-symbol.is-unavailable{background:#d1d5db}
.legend-seat-symbol.is-suggested{border:3px solid var(--suggested)}
.legend-seat-symbol.is-orphan{border:3px solid var(--danger)}

.legend-filter-left{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.legend-filter-dot{
    width:12px;
    height:12px;
    border-radius:999px;
    flex:0 0 12px;
    border:1px solid rgba(0,0,0,.12);
}

.legend-filter-name{
    font-size:14px;
    font-weight:700;
    color:var(--text);
    min-width:0;
}

.legend-filter-price{
    font-size:13px;
    color:var(--muted);
    white-space:nowrap;
}

/* =========================
   MAP
========================= */

.map-scroll{
    overflow:auto;
    border:1px solid var(--line);
    border-radius:16px;
    background:#f8fafc;
    min-height:420px;
    max-height:68vh;
    touch-action:pan-x pan-y;
}

.map-stage{
    position:relative;
    margin:0 auto;
    flex:none;
}

.map-inner{
    position:absolute;
    top:0;
    left:0;
    background-color:transparent;
    background-repeat:no-repeat;
    background-position:top left;
}

.seatmap-layout{position:relative}
.seatmap-zoom{position:absolute;z-index:40;top:12px;right:12px;display:flex;align-items:center;gap:2px;padding:4px;border:1px solid rgba(203,213,225,.9);border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 8px 22px rgba(15,39,66,.14);backdrop-filter:blur(8px)}
.seatmap-zoom-button,.seatmap-zoom-fit{display:grid;place-items:center;width:36px;min-height:36px;padding:0;border:0;border-radius:9px;background:transparent;color:var(--navy);font:inherit;font-weight:800;cursor:pointer}
.seatmap-zoom-button{font-size:20px}.seatmap-zoom-fit{font-size:20px}
.seatmap-zoom-value{min-width:54px;color:var(--navy);font-size:12px;font-weight:800;text-align:center}
.seatmap-zoom-button:hover,.seatmap-zoom-fit:hover{border-color:#2563eb;background:#eff6ff}

/* =========================
   SEATS
========================= */

.seat{
    position:absolute;
    border:none;
    padding:0;
    margin:0;
    background:transparent;
    overflow:visible;
    cursor:pointer;
}

.seat:disabled{cursor:not-allowed}

.seat svg{
    display:block;
    width:100%;
    height:100%;
    overflow:visible;
}

.seat-circle,
.seat-backrest,
.seat-base,
.seat-leg{
    fill:var(--seat-fill,#d1d5db);
    stroke:rgba(17,24,39,.38);
    stroke-width:1;
    transition:stroke .15s ease, stroke-width .15s ease, opacity .15s ease;
}

.seat:hover .seat-circle,
.seat:hover .seat-backrest,
.seat:hover .seat-base,
.seat:hover .seat-leg{
    stroke:rgba(17,24,39,.75);
    stroke-width:1.8;
}

.seat.selected .seat-circle,
.seat.selected .seat-backrest,
.seat.selected .seat-base,
.seat.selected .seat-leg{
    stroke:rgba(17,24,39,.95);
    stroke-width:2.8;
}

.seat.reserved,
.seat.sold{
    opacity:.95;
}

.seat.suggested .seat-circle,
.seat.suggested .seat-backrest,
.seat.suggested .seat-base,
.seat.suggested .seat-leg{
    stroke:var(--suggested);
    stroke-width:2.5;
}

.seat.orphan .seat-circle,
.seat.orphan .seat-backrest,
.seat.orphan .seat-base,
.seat.orphan .seat-leg{
    stroke:var(--danger);
    stroke-width:3;
}

.seat.seat-muted{
    opacity:.18;
    filter:saturate(.15);
}

.seat.seat-highlight .seat-circle,
.seat.seat-highlight .seat-backrest,
.seat.seat-highlight .seat-base,
.seat.seat-highlight .seat-leg{
    stroke:rgba(17,24,39,.92);
    stroke-width:2.6;
}

/* =========================
   TOOLTIP
========================= */

.seat-tooltip{
    position:fixed;
    z-index:9999;
    min-width:220px;
    max-width:280px;
    background:#ffffff;
    color:#111827;
    border:1px solid rgba(17,24,39,.12);
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.18);
    padding:12px 14px;
    font-size:13px;
    line-height:1.4;
    pointer-events:none;
    display:none;
}

.seat-tooltip.visible{display:block}

.seat-tooltip-top{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-bottom:6px;
}

.seat-tooltip-top-content{
    flex:1;
    min-width:0;
}

.seat-tooltip-color{
    width:12px;
    height:12px;
    border-radius:3px;
    border:1px solid rgba(0,0,0,.18);
    margin-top:3px;
    flex:0 0 12px;
}

.seat-tooltip-title{
    font-weight:700;
    line-height:1.3;
}

.seat-tooltip-price-row{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:2px;
    text-align:left;
}

.seat-tooltip hr{
    border:none;
    border-top:1px solid #e5e7eb;
    margin:8px 0;
}

.seat-tooltip-meta{color:#374151}

/* =========================
   TICKET CARDS
========================= */

.ticket-list,
.cart-meta-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.ticket-card{
    border:1px solid var(--line);
    border-radius:18px;
    padding:16px;
    background:var(--card);
}

.ticket-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    margin-bottom:10px;
}

.ticket-title{
    font-weight:700;
    line-height:1.25;
    flex:1;
    min-width:0;
    font-size:16px;
}

.ticket-remove-btn{
    border:none;
    background:transparent;
    color:#6b7280;
    font-size:24px;
    line-height:1;
    cursor:pointer;
    padding:0;
    margin:0;
    flex:0 0 auto;
}

.ticket-remove-btn:hover{color:#111827}

.ticket-category-row{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
}

.ticket-category-color{
    width:12px;
    height:12px;
    border-radius:3px;
    border:1px solid rgba(0,0,0,.15);
    flex:0 0 12px;
}

.ticket-category-row span strong{
    font-size:14px;
    line-height:1.25;
}

.ticket-seat-line{
    color:var(--text);
    margin-bottom:12px;
    line-height:1.4;
    font-size:14px;
    font-weight:700;
}

.ticket-select{
    width:100%;
    margin:0;
    border:1px solid var(--line);
    border-radius:12px;
    padding:10px 12px;
    background:#fff;
    color:var(--text);
}

.ticket-show-date{
    margin-top:10px;
    color:var(--muted);
    font-size:13px;
    line-height:1.35;
}

.empty-state{
    color:var(--muted);
    font-size:14px;
}

/* =========================
   CART VIEW
========================= */

#cartView .desktop-layout{
    grid-template-columns:260px minmax(0,1fr) 320px;
    gap:20px;
    align-items:stretch;
    max-width:1600px;
    margin:0 auto;
}

#cartView #leftSidebarCart,
#cartView #rightSidebarCart{
    display:flex;
    align-self:stretch;
}

#cartView .cart-main-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:clamp(620px, 72vh, 820px);
    overflow:hidden;
}

#cartView .cart-main-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    padding:18px 18px 0;
}

#cartView .cart-main-body{
    flex:1 1 auto;
    min-height:0;
    padding:18px;
    display:flex;
    flex-direction:column;
    overflow:auto;
    overscroll-behavior:contain;
}

#cartView .cart-main-footer{
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid var(--line);
    position:sticky;
    bottom:0;
    z-index:5;
    background:#fff;
}

#cartView .cart-actions{
    margin-top:12px;
}

#cartView .cart-actions .primary-btn{
    width:100%;
}

#cartView .panel-head-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    align-items:stretch;
    flex:0 0 148px;
}

#cartView .panel-head-actions .back-inline-btn,
#cartView .panel-head-actions .reservation-chip{
    width:100%;
    min-height:46px;
}

#cartView .panel-head-actions .back-inline-btn{
    padding:0 14px;
}

#cartView .panel-head-actions .reservation-chip{
    justify-content:flex-start;
}

.reserved-map-note{
    margin-top:6px;
    color:var(--muted);
    font-size:13px;
}

.cart-meta-item{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    padding:10px 12px;
    border:1px solid var(--line);
    border-radius:14px;
    background:#fff;
}

.cart-ticket-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) 220px 110px;
    gap:14px;
    align-items:center;
    padding:14px 16px;
    border:1px solid var(--line);
    border-radius:16px;
    background:var(--card);
}

.cart-ticket-row-main{
    min-width:0;
}

.cart-ticket-row-top{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:6px;
}

.cart-ticket-row-category{
    font-size:14px;
    line-height:1.25;
}

.cart-ticket-row-seat{
    font-size:13px;
    font-weight:700;
    color:var(--text);
    line-height:1.4;
}

.cart-ticket-row-tarif{
    min-width:0;
}

.cart-ticket-row-price{
    text-align:right;
    font-size:15px;
    font-weight:700;
    color:var(--text);
    white-space:nowrap;
}

.cart-ticket-select{
    margin:0;
}

/* =========================
   MESSAGES
========================= */

.message-wrap{
    margin-bottom:0;
}

.message-wrap .message{
    margin-bottom:14px;
}

.message{
    display:none;
    border-radius:16px;
    padding:14px 16px;
    font-size:14px;
    line-height:1.5;
    border:1px solid transparent;
}

.message.info{
    display:block;
    background:#f4f7ff;
    border-color:#dbe7ff;
    color:#22408f;
}

.message.warn{
    display:block;
    background:#fffaf0;
    border-color:#fde7b1;
    color:#9a6700;
}

.message.error{
    display:block;
    background:#fff5f5;
    border-color:#fecaca;
    color:#b42318;
}

.message.success{
    display:block;
    background:#f0fdf4;
    border-color:#bbf7d0;
    color:#166534;
}

.message-card{
    margin-top:10px;
    padding:12px;
    background:#fff;
    border:1px solid rgba(0,0,0,.06);
    border-radius:12px;
}

.message-action-btn{
    margin-top:10px;
    border:none;
    background:var(--primary);
    color:#fff;
    padding:9px 12px;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

/* =========================
   MOBILE PANELS
========================= */

.mobile-panels{
    display:none;
}

.mobile-panel{
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(10px);
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    overflow:hidden;
}

.mobile-panel-toggle{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:8px 0 4px;
    cursor:pointer;
}

.mobile-panel-pill{
    width:54px;
    height:5px;
    border-radius:999px;
    background:#d7dee7;
}

.mobile-panel-head{
    padding:0 14px 12px;
}

.mobile-panel-title-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.mobile-panel-title{
    font-size:15px;
    font-weight:700;
}

.mobile-panel-summary{
    color:var(--muted);
    font-size:13px;
}

.mobile-panel-content{
    display:none;
    padding:0 14px 14px;
    max-height:45vh;
    overflow:auto;
}

.mobile-panel.open .mobile-panel-content{
    display:block;
}

/* =========================
   VIEW ANIMATION
========================= */

.view-panel{
    opacity:1;
    transform:none;
}

.card-swap-in{
    animation:cardSwapIn .28s ease;
}

@keyframes cardSwapIn{
    from{
        opacity:0;
        transform:translateY(10px) scale(.985);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

/* =========================
   LOADING
========================= */

.loading-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.25);
    backdrop-filter:blur(4px);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
}

.loading-overlay.active{
    opacity:1;
    pointer-events:auto;
}

.spinner{
    width:56px;
    height:56px;
    border-radius:50%;
    background:conic-gradient(#6366f1,#8b5cf6,#ec4899,#6366f1);
    animation:spin 1.2s linear infinite;
    mask:radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    opacity:.95;
}

@keyframes spin{
    to{transform:rotate(360deg)}
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1350px){
    #cartView .desktop-layout{
        grid-template-columns:260px minmax(0,1fr) 300px;
    }
}

@media (max-width:1099px){
    .main{padding:12px}

    .desktop-layout{
        display:block;
    }

    .desktop-only{
        display:none !important;
    }

    .mobile-panels{
        display:flex;
        flex-direction:column;
        gap:12px;
        margin-bottom:12px;
    }

    .legend-popout-anchor{position:relative;align-self:flex-end;margin-bottom:6px}
    .legend-popout{position:fixed;top:auto;right:12px;bottom:12px;left:12px;width:auto;max-height:min(70vh,520px);overflow:auto}

    .seatmap-card{
        padding:12px;
    }

    .seatmap-card-head{
        flex-direction:column;
        align-items:center;
        gap:8px;
    }

    .center-title{font-size:22px}
    .center-subtitle{font-size:13px}

    .info-facts-grid{
        grid-template-columns:1fr 1fr;
    }

    .map-scroll{
        overflow-x:hidden;
        overflow-y:auto;
        width:100%;
        max-width:100%;
        min-height:0;
    }

    .seatmap-layout{display:flex;flex-direction:column}
    .seatmap-zoom{position:static;align-self:flex-end;margin:0 0 8px;padding:3px;box-shadow:0 4px 12px rgba(15,39,66,.1)}
    .seatmap-zoom-button,.seatmap-zoom-fit{width:34px;min-height:34px}
    .seatmap-zoom-value{min-width:48px}

    .map-stage{
        margin:0 auto;
    }

    .cart-main-head,
    .cart-main-body{
        padding-left:12px;
        padding-right:12px;
    }

    #cartView .desktop-layout{
        display:block;
    }

    #cartView .cart-head-actions{
        width:100%;
        justify-content:space-between;
        margin-top:10px;
    }

    .cart-ticket-row{
        grid-template-columns:1fr;
        gap:10px;
    }

    .cart-ticket-row-price{
        text-align:left;
    }
}

@media (min-width:1100px){
    .mobile-only{
        display:none !important;
    }

    .map-scroll{
        max-height:none;
        overflow:auto;
    }

    .map-stage{
        margin:0 auto;
    }
}

/* Bedienbarkeit und sichere Abstände auf Touch-Geräten */
.mobile-panel-toggle:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
.mobile-cart-btn:focus-visible,
.legend-trigger:focus-visible,
.legend-overlay-close:focus-visible,
.ticket-select:focus-visible{
    outline:3px solid #2563eb;
    outline-offset:3px;
}

.primary-btn:disabled,
.mobile-cart-btn:disabled{
    cursor:wait;
    opacity:.65;
}

@media (max-width:1099px){
    .main{
        padding:
            max(12px, env(safe-area-inset-top))
            max(12px, env(safe-area-inset-right))
            max(12px, env(safe-area-inset-bottom))
            max(12px, env(safe-area-inset-left));
    }

    .mobile-panel-toggle{
        min-height:32px;
        cursor:pointer;
        touch-action:manipulation;
    }

    #mobileInfoPanel .mobile-panel-head{padding-top:14px}
    #mobileInfoPanel .mobile-panel-toggle{padding:4px 0 8px;border-top:1px solid var(--line-soft)}
    #mobileCartPanel .mobile-panel-toggle{padding:4px 0 8px;border-top:1px solid var(--line-soft)}

    .primary-btn,
    .secondary-btn,
    .mobile-cart-btn,
    .ticket-select{
        min-height:48px;
        font-size:16px;
    }

    .cart-actions,
    .cart-actions .primary-btn,
    #mobileCheckoutBtn,
    #mobileBackToSeatmapBtn{
        width:100%;
    }

    .map-scroll{
        overscroll-behavior:contain;
        -webkit-overflow-scrolling:touch;
    }
}

@media (max-width:560px){
    .info-facts-grid{
        grid-template-columns:1fr !important;
    }

    .center-title{
        font-size:20px;
    }

    .cart-main-head,
    .cart-main-body,
    .seatmap-card{
        padding-left:10px;
        padding-right:10px;
    }
}
.checkout-payment-grid,.checkout-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.checkout-payment-option,.checkout-delivery-option{display:flex;align-items:flex-start;gap:10px;min-height:76px;height:100%;padding:14px;border:1px solid #dbe3ec;border-radius:12px;background:#fff;cursor:pointer}.checkout-payment-option:has(input:checked),.checkout-delivery-option:has(input:checked){border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.12)}.checkout-payment-option input,.checkout-delivery-option input{flex:0 0 auto;margin-top:3px}.checkout-payment-option span,.checkout-delivery-option span{display:grid;gap:3px;min-width:0}.checkout-payment-option small,.checkout-delivery-option small{color:#64748b;line-height:1.35}.checkout-delivery-option b{margin-left:auto;color:#0f2742;font-size:13px;white-space:nowrap}.checkout-customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-customer-grid>div{display:grid;align-content:start;grid-auto-rows:max-content;gap:6px}.checkout-customer-grid label{color:#475569;font-size:12px;font-weight:750}.checkout-grid-wide{grid-column:1/-1}.checkout-section-help{margin:0 0 12px;color:#64748b;font-size:13px;line-height:1.45}.checkout-payment-note{margin-top:10px;white-space:pre-line;color:#475569}.checkout-result{margin-top:16px;padding:0}.checkout-result:not(:empty){padding:16px;border:1px solid #86efac;border-radius:12px;background:#f0fdf4;color:#166534}.checkout-result pre{white-space:pre-wrap;font:inherit}.primary-btn:disabled{cursor:wait;opacity:.65}@media(max-width:700px){.checkout-payment-grid,.checkout-delivery-grid,.checkout-customer-grid{grid-template-columns:1fr}.checkout-grid-wide{grid-column:auto}.cart-main-body .info-facts-grid{grid-template-columns:1fr!important}}

/* Öffentliche Veranstaltungsauswahl */
.catalog-shell{width:min(100%,1280px);margin:0 auto}
.catalog-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding:clamp(24px,5vw,52px);border-radius:24px;background:linear-gradient(135deg,#0f2742 0%,#173a63 100%);color:#fff;box-shadow:var(--shadow)}
.catalog-kicker{margin-bottom:8px;color:#bfdbfe;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.catalog-hero h1{margin:0;font-size:clamp(30px,5vw,52px);line-height:1.05;letter-spacing:-.035em}
.catalog-hero p{max-width:660px;margin:14px 0 0;color:#dbeafe;font-size:clamp(16px,2vw,19px);line-height:1.5}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:20px}
.catalog-card,.catalog-empty{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft);overflow:hidden}
.catalog-image{height:220px;background:linear-gradient(135deg,#e2e8f0,#f8fafc)}
.catalog-image img{display:block;width:100%;height:100%;object-fit:cover}
.catalog-image-placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,#0f2742,#2457df);color:#fff}
.catalog-image-placeholder span{font-size:clamp(18px,3vw,30px);font-weight:850;letter-spacing:.14em}
.catalog-image-placeholder svg{width:72px;height:72px;fill:none;stroke:currentColor;stroke-width:1.3}
.catalog-card-body{padding:22px}
.catalog-card h2{margin:0;color:#0f172a;font-size:24px;line-height:1.2}
.catalog-card p{display:-webkit-box;margin:10px 0 18px;color:#64748b;line-height:1.55;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.catalog-shows{display:grid;gap:10px}
.catalog-show-btn{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:72px;padding:13px 15px;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc;color:#0f172a;text-align:left;cursor:pointer}
.catalog-show-btn:hover,.catalog-show-btn:focus-visible{border-color:#1d4ed8;background:#eff6ff;outline:3px solid rgba(37,99,235,.18);outline-offset:1px}
.catalog-show-btn>span:first-child{display:grid;gap:4px}
.catalog-show-btn small{color:#64748b;line-height:1.35}
.catalog-show-price{flex:0 0 auto;color:#1d4ed8;font-weight:800;white-space:nowrap}
.catalog-show-meta{display:grid;justify-items:end;gap:7px;min-width:150px}
.catalog-occupancy{display:grid;gap:4px;width:150px}
.catalog-occupancy-track{display:block;height:7px;border-radius:999px;background:#dbe7f3;overflow:hidden}
.catalog-occupancy-track i{display:block;height:100%;border-radius:inherit;background:#16a34a;transition:width .2s ease,background-color .2s ease}
.catalog-occupancy.is-medium .catalog-occupancy-track i{background:#d4a017}
.catalog-occupancy.is-high .catalog-occupancy-track i{background:#ea7300}
.catalog-occupancy.is-critical .catalog-occupancy-track i{background:#dc2626}
.catalog-occupancy small{font-size:11px;text-align:right}
.legend-status-heading{margin:12px 4px 6px;color:#64748b;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.legend-status-heading-first{margin-top:2px}
.catalog-empty{grid-column:1/-1;padding:36px;text-align:center}
.catalog-empty p{margin-bottom:0;color:#64748b}
.catalog-back-btn{margin:0 0 12px}
@media(max-width:600px){.catalog-image{height:180px}.catalog-card-body{padding:17px}.catalog-show-btn{align-items:stretch;flex-direction:column;gap:8px}.catalog-show-meta{justify-items:stretch;width:100%}.catalog-occupancy{width:100%}.catalog-occupancy small{text-align:left}}
.order-complete-card{width:min(100%,680px);margin:clamp(24px,8vh,90px) auto;padding:clamp(24px,6vw,52px);border:1px solid var(--line);border-radius:24px;background:#fff;text-align:center;box-shadow:var(--shadow)}
.order-complete-card .catalog-kicker{color:#1d4ed8}
.order-complete-card h1{margin:8px 0 14px;color:#0f172a;font-size:clamp(28px,5vw,42px);line-height:1.12}
.order-complete-card p{margin:0 auto 20px;color:#64748b;font-size:17px;line-height:1.55}
.order-complete-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 20px;border-radius:50%;background:#dcfce7;color:#15803d}
.order-complete-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.order-reference{margin:0 0 18px;color:#0f2742;font-size:18px;font-weight:800;overflow-wrap:anywhere}
.order-instructions{margin:0 0 22px;padding:16px;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc;color:#334155;font:inherit;line-height:1.55;text-align:left;white-space:pre-wrap}
.order-complete-card .primary-btn{max-width:340px;margin:0 auto}
.box-office-cash-decision{margin:0 0 22px;padding:20px;border:1px solid #bfdbfe;border-radius:18px;background:#f8fbff;text-align:left}.box-office-cash-decision[hidden]{display:none}.box-office-cash-decision h2{margin:0 0 6px;color:#0f2742;font-size:21px}.box-office-cash-decision>p{margin:0 0 16px;font-size:15px}.box-office-cash-actions{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:12px}.box-office-cash-actions .primary-btn,.box-office-cash-actions .secondary-btn{max-width:none;width:100%;margin:0;min-height:50px}.box-office-cash-decision .message{margin-top:12px}.order-complete-card>#orderCatalogBtn[hidden]{display:none}@media(max-width:600px){.box-office-cash-decision{padding:16px}.box-office-cash-actions{grid-template-columns:1fr}}
.voucher-entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.voucher-entry .primary-btn {
    min-height: 48px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .voucher-entry {
        grid-template-columns: 1fr;
    }

    .voucher-entry .primary-btn {
        width: 100%;
    }
}

.checkout-data-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-size: 12px;
    line-height: 1.5;
}

.checkout-field-status{min-height:17px;color:#64748b;font-size:12px;line-height:1.4}
.checkout-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0 0 22px;padding:0;list-style:none}.checkout-progress li{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 12px;border-radius:12px;background:#f1f5f9;color:#64748b;font-size:12px;font-weight:750}.checkout-progress li span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#dbe3ec;color:#475569}.checkout-progress li.is-active{background:#e8f1ff;color:#0f2742}.checkout-progress li.is-active span,.checkout-progress li.is-complete span{background:#0f2742;color:#fff}.checkout-step[hidden],.cart-main-footer[hidden]{display:none!important}.checkout-step.is-active{animation:checkout-step-in .2s ease-out}.checkout-step-hint{margin:14px 0 0;color:#64748b;font-size:13px}.checkout-step-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.checkout-back-btn{min-height:46px;padding:10px 18px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f2742;font-weight:750;cursor:pointer}.checkout-back-btn:hover,.checkout-back-btn:focus-visible{border-color:#0f2742;outline:3px solid rgba(15,39,66,.12)}.checkout-shop-slots{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.checkout-shop-slots button{min-height:44px;padding:9px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f2742;font-weight:750;cursor:pointer}.checkout-shop-slots button.is-active{border-color:#2457df;background:#e8f1ff;color:#173fb5}.checkout-shop-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-shop-product{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid #dbe3ec;border-radius:14px;background:#fff}.checkout-shop-product img,.checkout-shop-image{width:64px;height:64px;border-radius:10px;object-fit:cover;background:#eef3f8;display:grid;place-items:center}.checkout-shop-product small{display:block;margin-top:4px;color:#64748b}.checkout-shop-quantity{grid-column:2/4;display:grid;grid-template-columns:44px 42px 44px;justify-content:end;align-items:center;text-align:center}.checkout-shop-quantity button{width:44px;height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#0f2742;font-size:22px;cursor:pointer}.checkout-shop-summary{margin-top:12px;padding:12px 14px;border-radius:12px;background:#f1f5f9;font-weight:750}.checkout-age-confirm{display:flex;gap:10px;align-items:flex-start;margin-top:12px}.checkout-age-confirm[hidden]{display:none!important}@keyframes checkout-step-in{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:700px){.checkout-progress{grid-template-columns:repeat(5,1fr)}.checkout-progress li{justify-content:center;padding:8px 4px;font-size:0}.checkout-progress li span{font-size:12px}.checkout-step-actions{align-items:stretch;flex-direction:column-reverse}.checkout-step-actions button{width:100%}.checkout-shop-products{grid-template-columns:1fr}.checkout-shop-product{grid-template-columns:56px minmax(0,1fr) auto}.checkout-shop-product img,.checkout-shop-image{width:56px;height:56px}}
.checkout-cart-extras{display:grid;gap:10px;margin-top:14px}.checkout-cart-extras:empty{display:none}.checkout-cart-extras h3{margin:0;font-size:15px}.checkout-extra-line{display:grid;gap:8px;padding:12px;border:1px solid #dbe3ec;border-radius:14px;background:#fff}.checkout-extra-line>div{display:flex;justify-content:space-between;gap:10px}.checkout-extra-line label{display:grid;gap:4px;color:#64748b;font-size:11px;font-weight:700}.checkout-extra-line select,.checkout-extra-line input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;font:inherit}.checkout-payment-option small{line-height:1.45}
.checkout-shop-slots button:disabled{cursor:not-allowed;opacity:.48}.checkout-shop-filter-trigger{display:inline-flex!important;align-items:center;justify-content:center;width:46px;min-width:46px;height:46px;padding:0!important;margin-left:auto;border-radius:50%!important;color:#403cff!important}.checkout-shop-filter-trigger svg{width:38px;height:38px;overflow:visible;fill:none}.checkout-shop-filter-trigger .filter-ring{stroke:#922be4;stroke-width:2.5}.checkout-shop-filter-trigger .filter-line{fill:none;stroke-width:2.6;stroke-linecap:round}.checkout-shop-filter-trigger .filter-line-a{stroke:#403cff}.checkout-shop-filter-trigger .filter-knob{stroke:none}.checkout-shop-filter-trigger .filter-knob-a{fill:#922be4}.checkout-shop-filter-trigger .filter-knob-b{fill:#403cff}.checkout-shop-filter-trigger:hover,.checkout-shop-filter-trigger:focus-visible,.checkout-shop-filter-trigger.is-active{border-color:#922be4!important;background:#f7f1ff!important;outline:3px solid rgba(146,43,228,.14)}.checkout-shop-filter-dialog{width:min(420px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;box-shadow:0 24px 70px rgba(15,39,66,.3);color:#172033}.checkout-shop-filter-dialog::backdrop{background:rgba(15,39,66,.5)}.checkout-shop-filter-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #dbe3ec}.checkout-shop-filter-head h3{margin:0;font-size:18px}.checkout-shop-filter-head button{width:38px;height:38px;border:0;border-radius:10px;background:#eef3f8;color:#0f2742;font-size:26px;cursor:pointer}.checkout-shop-filter-options{display:grid;gap:8px;padding:16px}.checkout-shop-filter-options button{min-height:44px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;font:inherit;font-weight:750;text-align:left;cursor:pointer}.checkout-shop-filter-options button.is-active{border-color:#2457df;background:#e8f1ff;color:#173fb5}.checkout-shop-badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.checkout-shop-badges span{padding:3px 7px;border-radius:999px;background:#eef3f8;color:#334155;font-size:10px;font-weight:750}.checkout-extra-line{position:relative;padding-right:42px}.checkout-extra-remove{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:transparent;color:#64748b;font:inherit;font-size:26px;line-height:1;cursor:pointer}.checkout-extra-remove:hover,.checkout-extra-remove:focus-visible{background:#eef3f8;color:#0f172a;outline:none}.checkout-shop-actions{position:sticky;bottom:-18px;z-index:15;margin:18px -18px -18px;padding:34px 18px 18px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 28px,#fff)}@media(max-width:700px){.checkout-shop-filter-trigger{margin-left:0}.checkout-shop-actions{bottom:-12px;margin-right:-12px;margin-left:-12px;padding-right:12px;padding-left:12px}}
.checkout-progress li{padding:0}.checkout-progress button{display:flex;align-items:center;gap:8px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.checkout-progress button:disabled{cursor:not-allowed;opacity:.62}.checkout-progress button:not(:disabled):hover,.checkout-progress button:not(:disabled):focus-visible{outline:3px solid rgba(37,99,235,.16);outline-offset:1px}.checkout-payment-details{display:flex!important;align-items:center;gap:8px;margin-top:6px}.checkout-payment-details>svg{flex:0 0 24px;width:24px;height:24px;fill:none;stroke:#0f2742;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.checkout-payment-badges{display:flex!important;flex-flow:row wrap!important;gap:5px!important}.checkout-payment-badges em{padding:3px 7px;border:1px solid #dbe3ec;border-radius:999px;background:#f8fafc;color:#334155;font-size:10px;font-style:normal;font-weight:750;line-height:1.2;white-space:nowrap}@media(max-width:700px){.checkout-progress button{justify-content:center;padding:8px 4px;font-size:0}.checkout-progress button span{font-size:12px}.checkout-payment-details{align-items:flex-start}}

.checkout-consents{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid #dbe3ec;border-radius:14px;background:#f8fafc}.checkout-consent-row{display:flex;gap:10px;align-items:flex-start;color:#1e293b;line-height:1.45}.checkout-consent-row input{flex:0 0 auto;width:20px;height:20px;margin-top:1px}.checkout-consent-optional{color:#475569}.checkout-consent-row.is-disabled{padding:12px;border-radius:10px;background:#eef2f6;color:#64748b}.checkout-consent-hint{display:block;margin-top:5px;color:#9a6700;font-weight:650}.checkout-legal-link{padding:0;border:0;background:transparent;color:#174ea6;font:inherit;font-weight:750;text-decoration:underline;cursor:pointer}.checkout-consent-row.is-disabled .checkout-legal-link{color:#64748b;pointer-events:none}.checkout-legal-error{margin:0;padding:10px 12px;border-radius:10px;background:#fff1f2;color:#b42318}.checkout-legal-dialog{width:min(720px,calc(100vw - 32px));max-height:min(80vh,760px);padding:0;border:0;border-radius:18px;box-shadow:0 24px 70px rgba(15,39,66,.28);color:#172033}.checkout-legal-dialog::backdrop{background:rgba(15,39,66,.55)}.checkout-legal-dialog-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid #dbe3ec;background:#fff}.checkout-legal-dialog-head h2{margin:0}.checkout-legal-dialog-head button{width:42px;height:42px;border:0;border-radius:10px;background:#eef3f8;color:#0f2742;font-size:28px;cursor:pointer}.checkout-legal-dialog-content{padding:22px;line-height:1.6;overflow-wrap:anywhere}

/* Checkout consents: deliberately isolated from legacy form/label rules. */
.checkout-consents{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    margin:22px 0 4px;
    padding:0;
    border:0;
    background:transparent;
}
.checkout-consent-card{
    display:grid!important;
    grid-template-columns:26px minmax(0,1fr);
    align-items:start;
    gap:13px;
    min-width:0;
    padding:17px 18px;
    border:1px solid #d7e0eb;
    border-radius:14px;
    background:#fff;
    color:#172033;
    line-height:1.45;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.checkout-consent-card:hover{
    border-color:#9db5d1;
    box-shadow:0 8px 24px rgba(15,39,66,.08);
}
.checkout-consent-card:has(input:checked){
    border-color:#2458df;
    background:#f5f8ff;
    box-shadow:0 0 0 2px rgba(36,88,223,.1);
}
.checkout-consent-card>input{
    appearance:none!important;
    -webkit-appearance:none!important;
    display:grid!important;
    place-content:center;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    margin:1px 0 0!important;
    padding:0!important;
    border:2px solid #9aa9bb!important;
    border-radius:7px!important;
    background:#fff!important;
    cursor:pointer;
}
.checkout-consent-card>input:checked{
    border-color:#2458df!important;
    background:#2458df!important;
}
.checkout-consent-card>input:checked::after{
    content:"";
    width:10px;
    height:5px;
    border-left:2px solid #fff;
    border-bottom:2px solid #fff;
    transform:translateY(-1px) rotate(-45deg);
}
.checkout-consent-card>input:focus-visible{
    outline:3px solid rgba(36,88,223,.24);
    outline-offset:2px;
}
.checkout-consent-copy{
    display:grid;
    gap:7px;
    min-width:0;
    color:#536175;
    font-size:14px;
}
.checkout-consent-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:#172033;
    font-size:15px;
    font-weight:800;
}
.checkout-consent-title em{
    flex:0 0 auto;
    padding:4px 8px;
    border-radius:999px;
    background:#eef3f8;
    color:#526174;
    font-size:10px;
    font-style:normal;
    font-weight:800;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.checkout-consent-required .checkout-consent-title em{
    background:#fff0e8;
    color:#9b3e12;
}
.checkout-legal-link{
    display:inline!important;
    width:auto!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#174ea6!important;
    font:inherit!important;
    font-weight:750!important;
    line-height:inherit!important;
    text-decoration:underline!important;
    text-underline-offset:2px;
    cursor:pointer;
}
.checkout-legal-error{
    grid-column:1/-1;
    margin:0;
    padding:12px 14px;
    border:1px solid #fecaca;
    border-radius:11px;
    background:#fff1f2;
    color:#b42318;
    font-weight:700;
}
@media (max-width:760px){
    .checkout-consents{grid-template-columns:1fr}
    .checkout-consent-card{padding:15px}
    .checkout-consent-title{align-items:flex-start}
}

.info-travel {
  margin-top: 30px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.info-travel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  color: #102d4b;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.info-travel summary::-webkit-details-marker { display: none; }
.info-travel summary::after { content: "+"; font-size: 22px; }
.info-travel[open] summary::after { content: "−"; }
.info-travel > div,
.info-travel > p,
.info-travel > a { margin-left: 16px; margin-right: 16px; }
.info-travel > div:first-of-type { padding-top: 4px; }
.info-travel > a:last-child { margin-bottom: 16px; }
.info-route-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #102d4b;
  border-radius: 10px;
  color: #102d4b;
  font-weight: 700;
  text-decoration: none;
}
.order-sepa-qr{display:block;width:210px;max-width:100%;height:auto;margin:18px auto;padding:10px;border:1px solid #dbe3ec;border-radius:12px;background:#fff}
#alternateShippingFields[hidden]{display:none!important}
.box-office-banner{display:flex;align-items:center;gap:16px;margin:0 auto 16px;max-width:1600px;padding:14px 18px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#0f2f50}.box-office-banner[hidden]{display:none}.box-office-banner strong{font-size:18px}.box-office-banner span{flex:1}.box-office-banner a{font-weight:700;color:#0b57d0}.box-office-price{margin-top:18px;padding:16px;border:1px solid #bfdbfe;border-radius:14px;background:#f8fbff}.box-office-price[hidden]{display:none}.box-office-price>label{display:block;font-weight:700;margin-bottom:8px}.box-office-price>div{display:flex;align-items:center;gap:10px}.box-office-price input{max-width:280px}.box-office-price>small{display:block;margin-top:7px;color:#64748b}@media(max-width:767px){.box-office-banner{align-items:flex-start;flex-direction:column}.box-office-price input{max-width:none;width:100%}}
