.tc_seating_map {
    --tcsc-surface: #4a12cd;
    --tcsc-surface-soft: #4a12cd;
    --tcsc-accent: #f39200;
    --tcsc-accent-hover: #f39200;
    --tcsc-text: #ffffff;
    --tcsc-text-muted: #ffffff;
    --tcsc-border: rgba(243, 146, 0, 0.46);
    --tcsc-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.tc_seating_map .tc-bottom-controls {
    padding: 14px;
    box-sizing: border-box;
    pointer-events: none;
}

.tc_seating_map .tc-bottom-controls-inside {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    pointer-events: auto;
}

.tc_seating_map .tc-zoom-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px 12px;
    height: auto;
    float: none;
    left: auto !important;
    border-radius: 14px;
    border: 1px solid #f39200;
    background: #303030;
    box-shadow: var(--tcsc-shadow);
    backdrop-filter: blur(6px);
}

.tc_seating_map .tc-plus-wrap,
.tc_seating_map .tc-minus-wrap {
    width: 30px;
    height: 30px;
    float: none;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    transition: background-color 0.2s ease;
}

.tc_seating_map .tc-plus-wrap:hover,
.tc_seating_map .tc-minus-wrap:hover {
    background: var(--tcsc-surface-soft);
}

.tc_seating_map .tc-plus-horizontal,
.tc_seating_map .tc-plus-vertical,
.tc_seating_map .tc-minus {
    width: 14px;
    height: 2px;
    margin: 0;
    border-radius: 10px;
    background-color: #ffffff;
}

.tc_seating_map .tc-plus-wrap .tc-plus-vertical {
    position: absolute;
}

.tc_seating_map .tc-wrapper .tc-zoom-slider.ui-slider {
    width: 116px;
    height: 4px;
    margin: 0;
    float: none;
    border-radius: 999px;
    background-color: rgba(243, 146, 0, 0.4) !important;
}

.tc_seating_map .tc-wrapper .tc-zoom-slider .ui-slider-handle {
    width: 14px;
    height: 14px;
    margin: 0;
    border: 2px solid var(--tcsc-surface-soft);
    border-radius: 50%;
    background-color: var(--tcsc-accent);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.18);
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.tc_seating_map .tc-zoom-wrap:hover > .tc-zoom-slider .ui-slider-handle,
.tc_seating_map .tc-wrapper .tc-zoom-slider:hover > .ui-slider-handle {
    width: 14px;
    height: 14px;
    margin: 0;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.tc_seating_map .tc-seating-tooltips {
    display: none;
}

.tc_seating_map .tc-seating-tooltips p {
    display: none;
}

.tc_seating_map .tc-seatchart-cart-info {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    float: none;
    margin-left: auto;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid var(--tcsc-border);
    background: var(--tcsc-surface-soft);
    box-shadow: var(--tcsc-shadow);
    backdrop-filter: blur(6px);
}

.tc_seating_map .tc-checkout-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
}

.tc_seating_map .tc-checkout-bar .tc-seatchart-subtotal {
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #ffffff;
    line-height: 1.2;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tc_seating_map .tc-checkout-bar .tc-seatchart-subtotal strong {
    display: inline-block;
    margin-left: 8px;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.tc_seating_map .tc-checkout-bar strong {
    color: #ffffff !important;
}

.tc_seating_map .tc-checkout-bar .tc-seatchart-subtotal strong * {
    color: #ffffff !important;
}

.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button,
.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 22px;
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    background: #f39200 !important;
    background-color: #f39200 !important;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.24);
}

.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button:hover {
    padding: 0 22px;
    color: #ffffff;
    background: #f39200 !important;
    background-color: #f39200 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button[style*='opacity: 0.4'] {
    filter: grayscale(0.2);
    pointer-events: none;
}

.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button.tcsc-cart-disabled,
.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button.tcsc-cart-disabled:visited {
    opacity: 0.45 !important;
    filter: grayscale(0.35);
    transform: none !important;
    box-shadow: none;
    cursor: not-allowed !important;
}

.tc_seating_map .tc-seatchart-cart-info .tc-checkout-button.tcsc-cart-disabled:hover {
    opacity: 0.45 !important;
    transform: none;
    box-shadow: none;
    background: #f39200 !important;
    background-color: #f39200 !important;
    padding: 0 22px;
}

.tcsc-inline-map-wrap .tc_seating_map .tc-bottom-controls {
    bottom: 0px !important;
    z-index: 45 !important;
}

@media (max-width: 900px) {
    .tc_seating_map .tc-bottom-controls {
        padding: 8px;
    }

    .tc_seating_map .tc-bottom-controls-inside {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 0;
    }

    .tc_seating_map .tc-zoom-wrap {
        width: auto;
        max-width: 52%;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .tc_seating_map .tc-seatchart-cart-info {
        width: auto;
        max-width: 48%;
        margin-left: auto;
        padding: 6px;
        border-radius: 12px;
    }

    .tc_seating_map .tc-wrapper .tc-zoom-slider.ui-slider {
        width: 82px;
    }

    .tc_seating_map .tc-seating-tooltips {
        display: none;
    }

    .tc_seating_map .tc-checkout-bar {
        width: auto;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .tc_seating_map .tc-checkout-bar .tc-seatchart-subtotal {
        flex: 0 1 auto;
        min-width: 0;
        text-align: center;
        padding: 8px 10px;
        font-size: 11px;
    }

    .tc_seating_map .tc-checkout-bar .tc-seatchart-subtotal strong {
        font-size: 13px;
    }

    .tc_seating_map .tc-seatchart-cart-info .tc-checkout-button,
    .tc_seating_map .tc-seatchart-cart-info .tc-checkout-button:visited {
        flex: 0 0 auto;
        height: 38px;
        padding: 0 12px;
        font-size: 11px;
        white-space: nowrap;
    }

    .tc_seating_map .tc-seatchart-cart-info .tc-checkout-button:hover {
        padding: 0 12px;
        transform: none;
    }
}

@media (max-width: 600px) {
    .tc_seating_map .tc-bottom-controls-inside {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .tc_seating_map .tc-zoom-wrap {
        max-width: 100%;
    }

    .tc_seating_map .tc-seatchart-cart-info {
        max-width: 100%;
        margin-left: auto;
    }
}

/* ── Click-through bounding box (front-end) ─────────────────────────────────
   Todos los contenedores son rectángulos. Un grupo rotado/curvado tiene su
   caja rectangular solapándose sobre sillas de grupos vecinos, bloqueando
   sus clicks. Solución: pointer-events: none en TODA la cadena de cajas
   contenedoras, y restaurar auto SOLO en los elementos individuales clickables:
     .tc_seat_unit         → silla individual
     .tc-table-chair       → silla de mesa
     .tc-object-selectable → área standing/VIP (se clicka entera)
   ─────────────────────────────────────────────────────────────────────────── */
.tc_seating_map .tc-group-wrap,
.tc_seating_map .tc-group-wrap > .tc-seat-group,
.tc_seating_map .tc-group-wrap > .tc-element-group,
.tc_seating_map .tc-group-wrap .tc-group-content,
.tc_seating_map .tc-group-wrap .tc-seat-row {
    pointer-events: none;
}

.tc_seating_map .tc-group-wrap .tc_seat_unit,
.tc_seating_map .tc-group-wrap .tc-table-chair,
.tc_seating_map .tc-group-wrap .tc-object-selectable {
    pointer-events: auto;
}

/* Match admin standing offsets so front keeps the same relative alignment. */
.tc_seating_map .tc-standing-group-wrap {
    width: 250px;
}

.tc_seating_map .tc-standing-group-wrap > .tc-element-group {
    margin: 25px 0;
}
