/* Galería e información del producto */
.images {
    width: 30% !important;
}
.summary.entry-summary {
    width: 68% !important;
}

/* Contenedor general */
.smartcms_content {
    float: left;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

/* Ítems del selector de colores */
.smartcms_content_seats_item {
    display: inline-block;
    margin-right: 10px;
    text-align: center;
    vertical-align: top;
}
.smartcms_content_seats_item_color {
    display: inline-block;
    text-indent: -9999em;
    width: 100px;
    border-radius: 30px;
    display: none !important;
}
.smartcms_content_seats_item_label {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    display: none !important;
}

/* Mapeo de asientos */
.smartcms_content_mapping {
    float: left;
    margin-top: 20px;
    white-space: nowrap;
}
.smartcms_content_mapping_item {
    float: left;
    width: 100%;
}
.smartcms_content_mapping_item_con {
    display: inline-block !important;
    padding: 0 !important;
    margin: 1px !important;
    text-align: center;
    cursor: pointer;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-sizing: content-box !important;
    vertical-align: top;
}
.smartcms_content_mapping_item_con.disable {
    cursor: not-allowed;
}
.smartcms_content_mapping_item_con.active {
    background: #f2c3c3;
    border: 1px solid #ff7f00;
}
.smartcms_content_mapping_item_con.active .srwseat_item_con_color {
    border: 1px solid #fff;
}

/* Ocultar hallway */
.scwhallway {
    opacity: 0;
    pointer-events: none;
}

/* Asiento */
.srwseat_item_con_color {
    display: inline-block;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background-color: #0d457f;
    font-size: 12px !important;
    color: #fff;
    line-height: 22px;
    text-align: center;
}

/* Horarios */
.smartcms_content_schedules {
    float: left;
    margin-top: 10px;
    width: 100%;
    text-align: center;
}
.smartcms_content_schedules_item {
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}
.smartcms_content_schedules_item_date {
    background: #0d457f;
    padding: 3px 10px;
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    float: none;
    border-radius: 8px;
    font-size: 25px;
    transition: all 0.3s ease-in-out;
}
.smartcms_content_schedules_item_time {
    background: #0d7091;
    float: left;
    padding: 3px;
}

/* Estilo mejorado con borde más grueso, fondo difuminado y animación */
.smartcms_content_schedules_item.active {
    border: 3px solid red;
    background: linear-gradient(135deg, #eff3f7, #e6edf5);
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
    color: #fff;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

/* Hover visual */
.smartcms_content_schedules_item:hover {
    background: linear-gradient(135deg, #e5f4ff, #d7eaff);
    transform: scale(1.02);
}

/* Formulario */
.scw_sendform {
    float: left;
    width: 100%;
    margin-top: 20px;
}
.scw_form_item {
    float: left;
    width: 100%;
    margin-top: 10px;
}
.scw_form_item label {
    float: left;
    width: 15%;
}
.scw_form_note_input {
    float: left;
    width: 240px;
}
.scw_form_submit {
    margin-left: 15%;
    background: teal;
    color: #fff;
    padding: 3px;
    cursor: pointer;
}
.scw_total {
    float: left;
    width: 100%;
    margin-top: 10px;
    color: #d41414;
}
.scw_total span {
    float: left;
}

/* Escenario */
.smartcms_content.post {
    float: none;
}
.smartcms_content_mapping_block {
    float: left;
    width: 100%;
    margin-top: 20px;
}
.smartcms_content_stage {
    border: 2px solid #0d457f;
    border-radius: 10%;
    color: #0d457f;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    display: inline-block;
    margin-bottom: 10px;
}
.smartcms_content_mapping_block.stg_top,
.smartcms_content_mapping_block.stg_bottom {
    text-align: center;
}
.smartcms_content_mapping_block.stg_left .smartcms_content_stage {
    float: left;
}
.smartcms_content_mapping_block.stg_left .smartcms_content_mapping {
    margin-top: 0;
    padding-left: 20px;
}
.smartcms_content_mapping_block.stg_bottom .smartcms_content_mapping {
    margin-top: 0;
    margin-bottom: 20px;
}
.smartcms_content_mapping_block.stg_right .smartcms_content_mapping {
    margin-top: 0;
    padding-right: 20px;
}
.smartcms_content_mapping_block.stg_right .smartcms_content_stage {
    float: right;
}

/* RESPONSIVE: ajustes de asiento */
@media (min-width: 890px) and (max-width: 1020px) {
    .srwseat_item_con_color {
        width: 18px !important;
        height: 18px !important;
        line-height: 18px;
        font-size: 10px !important;
    }
}
@media (min-width: 769px) and (max-width: 889px) {
    .srwseat_item_con_color {
        width: 16px !important;
        height: 16px !important;
        line-height: 16px;
        font-size: 9px !important;
    }
}

/* Versión móvil: asientos más pequeños */
@media (min-width: 480px) and (max-width: 768px) {
    .images, .summary.entry-summary {
        width: 100% !important;
    }
    .srwseat_item_con_color {
        width: 12px !important;
        height: 12px !important;
        line-height: 12px;
        font-size: 6px !important;
    }
    .smartcms_content_mapping_item_con {
        margin: -1px !important;
    }
}
@media (max-width: 479px) {
    .images, .summary.entry-summary {
        width: 100% !important;
    }
    .srwseat_item_con_color {
        width: 11px !important;
        height: 11px !important;
        line-height: 11px;
        font-size: 5px !important;
    }
    .smartcms_content_mapping_item_con {
        margin: -1.5px !important;
    }
}

/* Mobile: centrar escenario y scroll horizontal + zoom táctil */
@media screen and (max-width: 1020px) {
    .smartcms_content_mapping_block.stg_top {
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pinch-zoom;
    }
    .smartcms_content_stage {
        display: block;
        margin: 0 auto 10px auto;
        text-align: center;
    }
    .smartcms_content_mapping {
        display: inline-block;
        width: auto !important;
        margin: 0 auto;
        padding: 0;
        text-align: center;
        white-space: nowrap;
    }
}
@media screen and (min-width: 1021px) {
    .smartcms_content_mapping_block.stg_top {
        overflow-x: auto !important;
    }
    .smartcms_content_mapping {
        display: inline-block;
        width: auto !important;
        margin: 0 auto;
        text-align: center;
    }
}
