/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.site-header{--margin-block-end:0!important;}
.step .step_header{font-size:1.2rem; font-weight: 600; padding-bottom: 10px;}
.step ul.inline li{display:inline-block; padding: 0px; margin: 5px;cursor:pointer; max-width: 200px;}
.step ul li:hover{border-color:#000;}
table.fixed {
    table-layout: fixed
}

.fixed .column-rating,.fixed .column-visible {
    width: 8%
}

.fixed .column-author,.fixed .column-format,.fixed .column-links,.fixed .column-parent,.fixed .column-posts {
    width: 10%
}

.fixed .column-date {
    width: 14%
}

.column-date span[title] {
    -webkit-text-decoration: dotted underline;
    text-decoration: dotted underline
}

.fixed .column-posts {
    width: 74px
}

.fixed .column-posts,.fixed .column-role {
    hyphens: auto
}

.fixed .column-comment .comment-author {
    display: none
}

.fixed .column-categories,.fixed .column-rel,.fixed .column-response,.fixed .column-role,.fixed .column-tags {
    width: 15%
}

.fixed .column-slug {
    width: 25%
}

.fixed .column-locations {
    width: 35%
}

.fixed .column-comments {
    width: 5.5em;
    text-align: left
}

.fixed .column-comments .vers {
    padding-left: 3px
}

td.column-title strong,td.plugin-title strong {
    display: block;
    margin-bottom: .2em;
    font-size: 14px
}

td.column-title p,td.plugin-title p {
    margin: 6px 0
}

table.media .column-title .media-icon {
    float: left;
    min-height: 60px;
    margin: 0 9px 0 0
}

table.media .column-title .media-icon img {
    max-width: 60px;
    height: auto;
    vertical-align: top
}

table.media .column-title .has-media-icon~.row-actions {
    margin-left: 70px
}

table.media .column-title .filename {
    margin-bottom: .2em
}

.media .row-actions .copy-to-clipboard-container {
    display: inline;
    position: relative
}

.media .row-actions .copy-to-clipboard-container .success {
    position: absolute;
    left: 50%;
    transform: translate(-50%,-100%);
    background: #000;
    color: #fff;
    border-radius: 5px;
    margin: 0;
    padding: 2px 5px
}

.wp-list-table a {
    transition: none
}
.widefat th.sortable,.widefat th.sorted {
    padding: 0
}

th.sortable a,th.sorted a {
    display: block;
    overflow: hidden;
    padding: 8px
}

th.sortable a:focus,th.sorted a:focus {
    box-shadow: inset 0 0 0 2px #2271b1;
    outline: 2px solid transparent
}

th.sortable a span,th.sorted a span {
    float: left;
    cursor: pointer
}

.tablenav-pages .current-page {
    margin: 0 2px 0 0;
    font-size: 13px;
    text-align: center
}

.tablenav .total-pages {
    margin-right: 2px
}

.tablenav #table-paging {
    margin-left: 2px
}

.tablenav {
    clear: both;
    height: 30px;
    margin: 6px 0 4px;
    padding-top: 5px;
    vertical-align: middle
}

.tablenav.themes {
    max-width: 98%
}

.tablenav .tablenav-pages {
    float: right;
    margin: 0 0 9px
}

.tablenav .no-pages,.tablenav .one-page .pagination-links {
    display: none
}

.tablenav .tablenav-pages .button,.tablenav .tablenav-pages .tablenav-pages-navspan {
    display: inline-block;
    vertical-align: baseline;
    min-width: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0 4px;
    font-size: 16px;
    line-height: 1.625;
    text-align: center
}

.tablenav .displaying-num {
    margin-right: 7px
}

.tablenav .one-page .displaying-num {
    display: inline-block;
    margin: 5px 0
}

.tablenav .actions {
    padding: 0 8px 0 0
}

.wp-filter .actions {
    display: inline-block;
    vertical-align: middle
}

.tablenav .delete {
    margin-right: 20px
}

.tablenav .view-switch {
    float: right;
    margin: 0 5px;
    padding-top: 3px
}
.wp-list-table .toggle-row{display:none;}
.step form{width:100%;}
.step > *{width:100%;}
.step_room_number, .wizard_summary > .name{font-weight: 500; color:#999;font-size:1.3rem;}
.step_content{margin-bottom: 20px;}
.step_buttons{display: flex; justify-content: space-between;}
.step .step_buttons button{padding: 10px 20px;}
.step_buttons button:first-child:last-child {
    /* Si solo hay un botón, lo mandamos a la derecha */
    margin-left: auto;
}
.step_list .room input[type="radio"] {
    display: none;
}

/* Imagen por defecto */
.step_list .room .image {
    border: 4px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease;
    display: inline-block;
}

/* Cuando el radio está seleccionado, mostrar borde */
.step_list .room input[type="radio"]:checked + .image {
    border-color: #43659B; /* azul, cámbialo si quieres */
}
/* Contenedor de la imagen */
.step_list .room .image {
    width: 100%;         /* ocupa todo el ancho del li/label */
    height: 250px;       /* altura fija, cámbiala según necesites */
    border: 4px solid transparent;
    border-radius: 8px;
    overflow: hidden;    /* oculta lo que se salga */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* La imagen en sí */
.step_list .room .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* recorta y mantiene proporciones */
    object-position: center; /* centra el recorte */
}
.step_list .room .name{padding: 10px 0;}
.step_list .inline .option label{ display:flex; gap:5px;}
.step_description{color:#666; margin-bottom:15px; font-style: italic; margin-top:-10px;font-size:0.9em;}
.wizard_summary .room{font-weight: 500; border:solid 1px #efefef; border-radius:5px; padding: 5px; margin-bottom: 5px;}
.wizard_summary .room span, .quote .room span{font-weight: 400; color:#999; display: block;}
.plan .description{padding:5px 0; font-size:1rem;color:#777;}
.plan .price, .plan .price .woocommerce-Price-amount .amount{margin:10px 0; text-align: center;color:var(--e-global-color-primary); font-size:30px; font-weight: 600;}
.step_content.planes{gap:10px;}
.plan .action{text-align: center}
/* El contenedor de cada plan en modo columna */
.plan.col {
    display: flex;
    flex-direction: column;
    flex: 1 1 20%;  /* ancho mínimo y que se adapte */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
}

/* Contenido intermedio crece, precio+botón se van abajo */
.plan .description {
    flex-grow: 1;
}

/* Precio y botón siempre abajo */
.plan .price,
.plan .action {
    margin-top: 10px;
}

.plan .action {
    margin-top: auto; /* empuja precio+botón al fondo */
}

/* Imágenes */
.plan .image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.quote .heading{display: flex; justify-content: space-between; align-items: center}
.quote .data {font-weight: 500; border:solid 1px #efefef; border-radius:5px; padding: 5px; margin-bottom: 5px;}
.quote .data span{font-weight: 400; color:#999; }
.quote .header .inline > .title{ flex-basis:300px;}
@media screen and (max-width: 782px) {
    .tablenav {
        height: auto
    }

    .tablenav.top {
        margin: 20px 0 5px
    }

    .tablenav.bottom {
        position: relative;
        margin-top: 15px
    }

    .tablenav br {
        display: none
    }

    .tablenav br.clear {
        display: block
    }

    .tablenav .view-switch, .tablenav.top .actions {
        display: none
    }

    .view-switch a {
        width: 36px;
        height: 36px;
        line-height: 2.53846153
    }

    .tablenav.top .displaying-num {
        display: none
    }

    .tablenav.bottom .displaying-num {
        position: absolute;
        right: 0;
        top: 11px;
        margin: 0;
        font-size: 14px
    }

    .tablenav .tablenav-pages {
        width: 100%;
        text-align: center;
        margin: 0 0 25px
    }

    .tablenav.bottom .tablenav-pages {
        margin-top: 25px
    }

    .tablenav.top .tablenav-pages.one-page {
        display: none
    }

    .tablenav.bottom .actions select {
        margin-bottom: 5px
    }

    .tablenav.bottom .actions.alignleft + .actions.alignleft {
        clear: left;
        margin-top: 10px
    }

    .tablenav.bottom .tablenav-pages.one-page {
        margin-top: 15px;
        height: 0
    }

    .tablenav-pages .pagination-links {
        font-size: 16px
    }

    .tablenav .tablenav-pages .button, .tablenav .tablenav-pages .tablenav-pages-navspan {
        min-width: 44px;
        padding: 12px 8px;
        font-size: 18px;
        line-height: 1
    }

    .tablenav-pages .pagination-links .current-page {
        min-width: 44px;
        padding: 12px 6px;
        font-size: 16px;
        line-height: 1.125
    }

    .form-wrap > p {
        display: none
    }

    .wp-list-table th.column-primary ~ th, .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
        display: none
    }

    .wp-list-table thead th.column-primary {
        width: 100%
    }

    .wp-list-table tr th.check-column {
        display: table-cell
    }

    .wp-list-table .check-column {
        width: 2.5em
    }

    .wp-list-table .column-primary .toggle-row {
        display: block
    }

    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.check-column) {
        position: relative;
        clear: both;
        width: auto !important
    }

    .wp-list-table td.column-primary {
        padding-right: 50px
    }

    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td.column-primary ~ td:not(.check-column) {
        padding: 3px 8px 3px 35%
    }

    .wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
        position: absolute;
        left: 10px;
        display: block;
        overflow: hidden;
        width: 32%;
        content: attr(data-colname);
        white-space: nowrap;
        text-overflow: ellipsis
    }

    .wp-list-table .is-expanded td:not(.hidden) {
        display: block !important;
        overflow: hidden
    }
}
/* ========================================
   Estilos modernos para selección múltiple de transformaciones
   ======================================== */

/* Ocultar checkbox real */
.step_list .transform-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Lista de transformaciones */
.step_list ul.inline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* Item individual de transformación */
.step_list .transform-option {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 200px;
    max-width: 300px;
    padding: 0;
    margin: 0;
}

/* Card/tarjeta clickeable */
.step_list .transform-card {
    display: block;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
}

/* Hover sobre la card */
.step_list .transform-card:hover {
    border-color: #43659B;
    box-shadow: 0 4px 16px rgba(67, 101, 155, 0.2);
    transform: translateY(-2px);
}

/* Contenedor del contenido */
.step_list .transform-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Contenedor de la imagen */
.step_list .transform-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Imagen */
.step_list .transform-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Zoom en hover */
.step_list .transform-card:hover .transform-image img {
    transform: scale(1.05);
}

/* Nombre de la transformación */
.step_list .transform-name {
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    flex-grow: 1;
}

/* Estado SELECCIONADO (checked) */
.step_list .transform-checkbox:checked + .transform-content {
    /* No necesitamos estilos aquí porque usamos el selector del label padre */
}

/* Card cuando está seleccionada */
.step_list .transform-checkbox:checked ~ .transform-content,
.step_list input.transform-checkbox:checked + .transform-content {
    /* Intentamos diferentes selectores para asegurar compatibilidad */
}

/* Mejor usar el selector desde el label */
.step_list label.transform-card:has(input.transform-checkbox:checked),
.step_list .transform-checkbox:checked ~ * {
    /* Fallback para navegadores sin :has() */
}

/* Solución compatible: añadimos clase via CSS cuando input:checked */
.step_list .transform-card {
    position: relative;
}

/* Cuando el checkbox está marcado, el label cambia */
.step_list .transform-checkbox:checked + .transform-content .transform-name {
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    color: #fff;
}

.step_list label:has(input.transform-checkbox:checked) {
    border-color: #43659B;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%);
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3);
    transform: translateY(-4px);
}

/* Indicador visual de selección (checkmark) */
.step_list .transform-card::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #43659B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.step_list label:has(input.transform-checkbox:checked)::before {
    opacity: 1;
    transform: scale(1);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .step_list .transform-option {
        flex: 0 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 640px) {
    .step_list .transform-option {
        flex: 0 1 100%;
    }
    
    .step_list ul.inline {
        gap: 15px;
    }
    
    .step_list .transform-image {
        height: 180px;
    }
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step_list .transform-option {
    animation: fadeInUp 0.4s ease forwards;
}

.step_list .transform-option:nth-child(1) { animation-delay: 0.05s; }
.step_list .transform-option:nth-child(2) { animation-delay: 0.1s; }
.step_list .transform-option:nth-child(3) { animation-delay: 0.15s; }
.step_list .transform-option:nth-child(4) { animation-delay: 0.2s; }
.step_list .transform-option:nth-child(5) { animation-delay: 0.25s; }
.step_list .transform-option:nth-child(6) { animation-delay: 0.3s; }

/* Estado seleccionado usando clase JavaScript (mejor compatibilidad) */
.step_list .transform-card.selected {
    border-color: #43659B !important;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%) !important;
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3) !important;
    transform: translateY(-4px) !important;
}

.step_list .transform-card.selected .transform-name {
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%) !important;
    color: #fff !important;
}

.step_list .transform-card.selected::before {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ========================================
   Estilos modernos para Wizard Summary
   ======================================== */


.wizard_summary.modern-summary {
    background: #fff;
    border-radius: 6px;
    padding: 0;
    max-width: 290px;
    margin: 0;
    font-size: 11px;
}

/* Header del resumen */
.modern-summary .summary-header {
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    padding: 8px 10px;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    gap: 6px;
}

.modern-summary .summary-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    color: white;
    line-height: 1.2;
}

.modern-summary .summary-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Información general */
.modern-summary .summary-general-info {
    padding: 8px 10px;
    background: #f8f9fc;
    border-bottom: 1px solid #e8eaf0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modern-summary .info-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 6px;
    background: white;
    border-radius: 4px;
    border: 1px solid #e8eaf0;
}

.modern-summary .info-icon {
    font-size: 1rem;
    line-height: 1;
    min-width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.modern-summary .info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.modern-summary .info-label {
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.modern-summary .info-value {
    font-size: 0.75rem;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.modern-summary .booking-time {
    display: inline-block;
    margin-left: 3px;
    padding: 2px 5px;
    background: #43659B;
    color: white;
    border-radius: 6px;
    font-size: 0.65rem;
}

/* Contenedor de habitaciones */
.modern-summary .summary-rooms {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Card de cada habitación */
.modern-summary .room-card {
    background: white;
    border: 1px solid #e8eaf0;
    border-radius: 4px;
    overflow: hidden;
}

/* Header de la habitación */
.modern-summary .room-header {
    background: linear-gradient(135deg, #f8f9fc 0%, #e8eaf0 100%);
    padding: 6px 8px;
    border-bottom: 1px solid #e8eaf0;
}

.modern-summary .room-number {
    display: block;
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.modern-summary .room-name {
    font-size: 0.85rem;
    color: #1f2937;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Detalles de la habitación */
.modern-summary .room-details {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modern-summary .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 5px 6px;
    background: #f9fafb;
    border-radius: 3px;
    border-left: 2px solid transparent;
}

.modern-summary .detail-transform {
    border-left-color: #43659B;
    background: #f0f4ff;
}

.modern-summary .detail-quality {
    border-left-color: #fbbf24;
    background: #fffbeb;
}

.modern-summary .detail-sizes {
    border-left-color: #10b981;
    background: #f0fdf4;
}

.modern-summary .detail-icon {
    font-size: 0.9rem;
    line-height: 1;
    min-width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.modern-summary .detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.modern-summary .detail-label {
    font-size: 0.6rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.modern-summary .detail-value {
    font-size: 0.7rem;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.modern-summary .dimension {
    display: inline-block;
    background: white;
    padding: 1px 3px;
    border-radius: 2px;
    font-weight: 700;
    color: #10b981;
    border: 1px solid #d1fae5;
    font-size: 0.65rem;
    margin: 1px;
}

/* Estado vacío */
.modern-summary .summary-rooms:empty::before {
    content: 'No hay estancias';
    display: block;
    text-align: center;
    padding: 12px 8px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

/* Print styles */
@media print {
    .modern-summary {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .modern-summary .room-card {
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
    }

    .modern-summary .summary-header {
        background: #43659B !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Link discreto para borrar carrito */
.modern-summary .summary-clear-link {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e8eaf0;
    text-align: center;
}

.modern-summary .summary-clear-link a {
    color: #9ca3af;
    font-size: 0.65rem;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.modern-summary .summary-clear-link a:hover {
    color: #dc2626;
    opacity: 1;
    text-decoration: underline;
}

@media print {
    .modern-summary .summary-clear-link {
        display: none;
    }
}

/* Estilos compartidos para room, quality y transform cards */
.step_list .room-radio,
.step_list .quality-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.step_list .room-option,
.step_list .quality-option {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 200px;
    max-width: 300px;
    padding: 0;
    margin: 0;
}

.step_list .room-card,
.step_list .quality-card {
    display: block;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
}

.step_list .room-card:hover,
.step_list .quality-card:hover {
    border-color: #43659B;
    box-shadow: 0 4px 16px rgba(67, 101, 155, 0.2);
    transform: translateY(-2px);
}

.step_list .room-content,
.step_list .quality-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step_list .room-image,
.step_list .quality-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step_list .room-image img,
.step_list .quality-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.step_list .room-card:hover .room-image img,
.step_list .quality-card:hover .quality-image img {
    transform: scale(1.05);
}

.step_list .room-name,
.step_list .quality-name {
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    flex-grow: 1;
}

/* Estado seleccionado para room y quality */
.step_list label.room-card:has(input.room-radio:checked),
.step_list label.quality-card:has(input.quality-radio:checked) {
    border-color: #43659B;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%);
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3);
    transform: translateY(-4px);
}

/* Checkmark para room y quality */
.step_list .room-card::before,
.step_list .quality-card::before {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #43659B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.step_list label.room-card:has(input.room-radio:checked)::before,
.step_list label.quality-card:has(input.quality-radio:checked)::before {
    opacity: 1;
    transform: scale(1);
}

/* Clase .selected para compatibilidad con JavaScript */
.step_list .room-card.selected,
.step_list .quality-card.selected {
    border-color: #43659B !important;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%) !important;
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3) !important;
    transform: translateY(-4px) !important;
}

.step_list .room-card.selected::before,
.step_list .quality-card.selected::before {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Animaciones para room y quality */
.step_list .room-option,
.step_list .quality-option {
    animation: fadeInUp 0.4s ease forwards;
}

.step_list .room-option:nth-child(1),
.step_list .quality-option:nth-child(1) { animation-delay: 0.05s; }
.step_list .room-option:nth-child(2),
.step_list .quality-option:nth-child(2) { animation-delay: 0.1s; }
.step_list .room-option:nth-child(3),
.step_list .quality-option:nth-child(3) { animation-delay: 0.15s; }
.step_list .room-option:nth-child(4),
.step_list .quality-option:nth-child(4) { animation-delay: 0.2s; }
.step_list .room-option:nth-child(5),
.step_list .quality-option:nth-child(5) { animation-delay: 0.25s; }
.step_list .room-option:nth-child(6),
.step_list .quality-option:nth-child(6) { animation-delay: 0.3s; }

/* Responsive para room y quality */
@media screen and (max-width: 1024px) {
    .step_list .room-option,
    .step_list .quality-option {
        flex: 0 1 calc(50% - 20px);
    }
}

@media screen and (max-width: 640px) {
    .step_list .room-option,
    .step_list .quality-option {
        flex: 0 1 100%;
    }
    
    .step_list .room-image,
    .step_list .quality-image {
        height: 180px;
    }
}

/* Estilos modernos para los pasos del wizard */
.step:not(.steps .step) {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin: 20px auto;
    max-width: 1200px;
    overflow: hidden;
}

.step form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Contenido del paso */
.step_content {
    padding: 40px;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

/* Badge del número de estancia */
.step_room_number {
    display: inline-block;
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(67, 101, 155, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Header/título del paso */
.step .step_header {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 30px;
    line-height: 1.3;
    margin: 0;
}

/* Descripción opcional */
.step_description {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: -20px 0 30px 0;
    font-style: normal;
}

/* Contenedor de botones */
.step_buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 25px 40px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    width:100%;
}

/* Botones base */
.step .step_buttons button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.step_buttons .btn-cancel{
    background-color: #955050;
}
    /* Botón primario */
.step_buttons .btn-primary {
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    color: white;
    flex: 1;
    max-width: 250px;
    margin-left: auto;
}

.step_buttons .btn-primary:hover {
    background: linear-gradient(135deg, #3a5589 0%, #4d6aa6 100%);
    box-shadow: 0 4px 12px rgba(67, 101, 155, 0.3);
    transform: translateY(-2px);
}

/* Botón secundario */
.step_buttons .btn-secondary {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

.step_buttons .btn-secondary:hover {
    background: #f9fafb;
    border-color: #43659B;
    color: #43659B;
    box-shadow: 0 4px 12px rgba(67, 101, 155, 0.15);
}

/* Botón cuando es el único (centrado) */
.step_buttons button:first-child:last-child {
    margin: 0 auto;
    max-width: 300px;
}

/* Responsive para pasos del wizard */
@media screen and (max-width: 768px) {
    .step {
        margin: 10px;
        border-radius: 12px;
    }
    
    .step_content {
        padding: 25px 20px;
    }
    
    .step .step_header {
        font-size: 1.4rem;
        padding-bottom: 20px;
    }
    
    .step_room_number {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .step_buttons {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .step_buttons .btn-primary,
    .step_buttons .btn-secondary {
        max-width: 100%;
        width: 100%;
    }
    
    .step .step_buttons button {
        padding: 12px 20px;
    }
}

/* Animación de entrada para el contenedor del paso */
@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.step {
    animation: slideInScale 0.4s ease-out;
}

/* Estilos para la grilla de planes */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.plan-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: #43659B;
    box-shadow: 0 6px 24px rgba(67, 101, 155, 0.2);
    transform: translateY(-4px);
}

.plan-title {
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    color: white;
    padding: 20px 25px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.plan-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-description {
    padding: 20px 25px;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: center;
}

.plan-price {
    padding: 15px 25px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #43659B;
    text-align: center;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.plan-action {
    padding: 20px 25px;
    background: #ffffff;
    text-align: center;
}

.plan-action button {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #43659B 0%, #5a7ab8 100%);
    color: white;
}

.plan-action button:hover {
    background: linear-gradient(135deg, #3a5589 0%, #4d6aa6 100%);
    box-shadow: 0 4px 12px rgba(67, 101, 155, 0.3);
    transform: translateY(-2px);
}

.current-plan {
    display: inline-block;
    padding: 12px 24px;
    background: #10b981;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive para planes */
@media screen and (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .plan-title {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    .plan-image {
        height: 160px;
    }
}

/* Estilos para opciones Sí/No estilo cards */
.step_list .yesno-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.step_list .yesno-option {
    flex: 0 1 calc(50% - 20px);
    min-width: 180px;
    max-width: 250px;
    padding: 0;
    margin: 0;
}

.step_list .yesno-card {
    display: block;
    cursor: pointer;
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    padding: 0;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    height: 100%;
    position: relative;
    min-height: 30px;
}

.step_list .yesno-card:hover {
    border-color: #43659B;
    box-shadow: 0 4px 16px rgba(67, 101, 155, 0.2);
    transform: translateY(-2px);
}
.step_list .yesno-option{max-width:initial!important;}
.step_list .yesno-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height:40px;
    padding: 0px;
}

.step_list .yesno-name {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.step_list label.yesno-card:has(input.yesno-radio:checked) {
    border-color: #43659B;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%);
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3);
    transform: translateY(-4px);
}

.step_list label.yesno-card:has(input.yesno-radio:checked) .yesno-name {
    color: #43659B;
}

.step_list .yesno-card::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: #43659B;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.step_list label.yesno-card:has(input.yesno-radio:checked)::before {
    opacity: 1;
    transform: scale(0.8);
}

.step_list .yesno-card.selected {
    border-color: #43659B !important;
    background: linear-gradient(to bottom, #f8f9fc 0%, #fff 50%) !important;
    box-shadow: 0 6px 20px rgba(67, 101, 155, 0.3) !important;
    transform: translateY(-4px) !important;
}

.step_list .yesno-card.selected .yesno-name {
    color: #43659B !important;
}

.step_list .yesno-card.selected::before {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Animaciones para yesno */
.step_list .yesno-option {
    animation: fadeInUp 0.4s ease forwards;
}

.step_list .yesno-option:nth-child(1) { animation-delay: 0.05s; }
.step_list .yesno-option:nth-child(2) { animation-delay: 0.1s; }
.woocommerce{margin-top:30px;}
/* Responsive para yesno */
@media screen and (max-width: 640px) {
    .step_list .yesno-option {
        flex: 0 1 100%;
    }
}
