*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.wizard-container {
    max-width: 900px;
    margin: 0 auto;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step2 {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #007bff;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-title {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.step-md {
    font-weight: bold;
    color: #000;

}

.step-md2 {
    background: #ffe422;
    cursor: pointer;
    font-size: 1.5rem;
    animation: bounce 1s infinite, shake 1.5s infinite;
}

.step.active .step-title {
    color: #007bff;
    font-weight: bold;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}


.form-row2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}



.form-group2 {

    width: 100%;
}

.form-row.three-cols {
    grid-template-columns: repeat(3, 1fr);
}

.form-row.full {
    grid-template-columns: 1fr;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

label.required::after {
    content: '*';
    color: red;
    margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: #007bff;
}

.error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-buttons_md{
    justify-content: flex-end;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.habitacion-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.habitacion-info h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.habitacion-info .precio {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
}

.habitacion-info .descripcion {
    opacity: 0.9;
    font-size: 14px;
}

.room-selector {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-icon {
    width: 50px;
    height: 30px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #666;
}

.title {
    margin-bottom: 1rem;
    color: #000;
    font-weight: 700;
}

/*Estilos Tipo de habitacion  */
.habitaciones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(24rem, 1fr));
    margin-top: 10px;
}

.habitacion-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.habitacion-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.habitacion-card.selected {
    border-color: #007bff;
    background: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.habitacion-header {
    margin-bottom: 12px;
    text-align: center;
}

.habitacion-header h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.habitacion-precio {
    font-size: 24px;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
}

.habitacion-precio span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.habitacion-descripcion {
    font-size: 12px;
    color: #666;
    text-align: left;
    font-weight: 700;
    padding-left: 10px;
    border-top: 1px solid #e0e0e0;
}

.icon {
    font-size: 1.3rem;
}

.habitacion-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.habitacion-card.selected .habitacion-check {
    opacity: 1;
    transform: scale(1);
}

/* Resumen*/

.resumen-container {
    max-width: 800px;
    margin: 0 auto;
}

.resumen-section {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.resumen-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.resumen-section-title svg {
    color: #007bff;
}

.resumen-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.resumen-item_md {
    border: 1px solid red;
    border-radius: 7px;
    background: #ff00003d;
    font-weight: bold;
    padding: 10px;
}

.resumen-label {
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.resumen-label_md {
    font-weight: 600;
    color: #58151c;
}

.resumen-value {
    font-weight: 600;
    color: #333;
    text-align: right;
    font-size: 14px;
}

.resumen-pago {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border: 2px solid #007bff;
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #007bff;
    border-radius: 8px;
    margin-top: 10px;
}

.resumen-total-label {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.resumen-total-value {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.resumen-seguridad {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f0f8ff;
    border: 1px solid #cce5ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
}

.resumen-seguridad svg {
    color: #28a745;
    flex-shrink: 0;
}

.resumen-seguridad strong {
    display: block;
    color: #333;
    margin-bottom: 3px;
}

.resumen-seguridad p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.btn-pagar {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-pagar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
}

.btn-pagar:active {
    transform: translateY(0);
}

/* Términos y Condiciones */
.conteiner_terminos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.input_terminos {
    width: 25px;
    height: 25px;
    min-width: 25px ;
    cursor: pointer;
    accent-color: #007bff;
}

.conteiner_terminos spa {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.terminos_enlace {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s ease;
}

.terminos_enlace:hover {
    color: #0056b3;
}

.active_btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}
.disabled_btn{
    background-color: gray;
    color: white;
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.carousel {
    position: relative;
    width: 40%;
    max-width: 900px;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.carousel img.active {
    display: block;
}

/* Botones */
.btn2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 10%;
    z-index: 10;
}

.btn2.prev2 {
    left: 10px;
}

.btn2.next2 {
    right: 10px;
}



.form-group.error input,
.form-group.error select {
    border-color: #dc3545;
}

.form-group .error {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-group.error .error {
    display: block;
}


/**/

.btn {
    padding: 10px 20px;
    background: #0078d7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background: #005fa3;
}

.btn--outline {
    background: transparent;
    border: 1px solid #0078d7;
    color: #0078d7;
}

.btn--outline:hover {
    background: #0078d7;
    color: #fff;
}

/* Modal base */

.btn {
    padding: 10px 20px;
    background: #0078d7;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn:hover {
    background: #005fa3;
}

.btn--outline {
    background: transparent;
    border: 1px solid #0078d7;
    color: #0078d7;
}

.btn--outline:hover {
    background: #0078d7;
    color: #fff;
}


.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.modal__dialog {
    width: 90%;
    max-width: 50%;
}

.modal__panel {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal__header,
.modal__footer {
    padding: 12px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal__title {
    margin: 0;
    font-size: 1.1rem;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

.modal__body {
    padding: 15px;
    max-height: 55vh;
    overflow-y: auto;
}

.modal__body ol {
    padding-left: 20px;
}

.modal__body li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.modal_header_md {
    background: #007bff;
}


.incluye {
    height: 4rem;
    border-radius: 7px;
    overflow: auto;
    border: 1px solid #e1dcdc;
}




/* Rebote */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Pequeño movimiento lateral */
@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(10deg);
    }

    75% {
        transform: rotate(-10deg);
    }
}


/* Responsivo */
@media (max-width: 600px) {
    .modal__dialog {
        max-width: 90%;
    }

    .modal__body {
        font-size: 0.9rem;
    }

    .modal__title {
        font-size: 1rem;
    }
}

/*Fiscales*/
.info_fact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn_fiscales {
    background: #3ccc89;
    padding: 5px 10px;
    margin-top: -1rem;
    font-weight: bold;
    border: 0;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    outline: none;
    font-weight: 500;
}

.btn_fiscales_md {
    background: #c33434;
}

/*NOTICE*/
.notice-container {
    background: #ffeb3b30;
    border: 1px solid #FFEB3B;
    border-radius: 12px;
    margin: 2rem 0;
    padding: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 12px;
}

.notice_md{
    width: 100%;
    text-align: justify;
    margin: 2rem 0;
}

.notice-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
}

.icon-wrapper {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 16px;
}

.icon2 {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #FFC107;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-top: 0px;
}

.notice-text {
    flex: 1;
    color: #4E342E;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.notice-text strong {
    color: #e23d3d;
}

/* Responsivo */
@media (max-width: 768px) {
    body {
        padding: 16px;
    }

    .notice-container {
        padding: 20px;
    }

    .icon-wrapper {
        gap: 12px;
    }

    .icon {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }

    .notice-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .notice-container {
        padding: 16px 18px;
    }

    .notice-text {
        font-size: 14px;
    }
}

/* ========================================
   MEDIA QUERIES RESPONSIVOS
   ======================================== */

@media (max-width: 1024px) {
    .wizard-container {
        max-width: 95%;
        padding: 0 15px;
    }

    .carousel {
        width: 60%;
    }
}


@media (max-width: 768px) {
    .wizard-container {
        max-width: 100%;
        padding: 0 10px;
    }

    /* Steps del wizard */
    .wizard-steps {
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .step-title {
        font-size: 10px;
        margin-top: 5px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    /* Formularios en una sola columna */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-row.three-cols {
        grid-template-columns: 1fr;
    }

    /* Habitación info */
    .habitacion-info {
        padding: 15px;
        margin-bottom: 20px;
    }

    .habitacion-info h3 {
        font-size: 20px;
    }

    .habitacion-info .precio {
        font-size: 26px;
    }

    /* Room selector */
    .room-selector {
        padding: 15px;
    }

    /* Habitaciones cards */
    .habitaciones-container {
        flex-direction: column;
        gap: 12px;
    }

    .habitacion-card {
        padding: 15px;
    }

    .habitacion-header h3 {
        font-size: 16px;
    }

    .habitacion-precio {
        font-size: 20px;
    }

    .habitacion-descripcion {
        font-size: 13px;
    }

    /* Carousel */
    .carousel {
        width: 100%;
        aspect-ratio: 16/10;
        margin-bottom: 1.5rem;
    }

    .btn2 {
        padding: 8px;
        font-size: 18px;
    }

    /* Total container */
    #total-container {
        padding: 15px;
        margin-top: 15px;
    }

    #total-container h3 {
        font-size: 18px;
    }

    #total-precio {
        font-size: 18px;
    }

    /* Card icons */
    .card-icons {
        flex-wrap: wrap;
    }

    /* Títulos */
    .title {
        font-size: 22px;
        margin-bottom: 1rem;
    }

    /* Botones del formulario */
    .form-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Resumen */
    .resumen-container {
        padding: 0;
    }

    .resumen-section {
        padding: 15px;
        margin-bottom: 15px;
    }

    .resumen-section-title {
        font-size: 16px;
        gap: 8px;
    }

    .resumen-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 6px 0;
    }

    .resumen-label,
    .resumen-value {
        font-size: 13px;
    }

    .resumen-value {
        text-align: left;
        font-weight: 700;
    }

    .resumen-total {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        text-align: center;
    }

    .resumen-total-label {
        font-size: 16px;
    }

    .resumen-total-value {
        font-size: 22px;
    }

    .resumen-seguridad {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .btn-pagar {
        padding: 16px;
        font-size: 16px;
    }
}


@media (max-width: 480px) {
    .wizard-container {
        padding: 0 8px;
    }

    /* Steps más compactos */
    .wizard-steps {
        margin-bottom: 20px;
        gap: 5px;
    }

    .step-title {
        font-size: 9px;
        line-height: 1.2;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-bottom: 5px;
    }

    .wizard-steps::before {
        top: 15px;
    }

    /* Habitación info */
    .habitacion-info {
        padding: 12px;
    }

    .habitacion-info h3 {
        font-size: 18px;
    }

    .habitacion-info .precio {
        font-size: 22px;
    }

    .habitacion-info .descripcion {
        font-size: 13px;
    }

    /* Form groups */
    .form-group {
        margin-bottom: 15px;
    }

    label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select {
        padding: 10px 8px;
        font-size: 14px;
    }

    /* Room selector */
    .room-selector {
        padding: 12px;
    }

    /* Habitaciones */
    .habitaciones-container {
        gap: 10px;
    }

    .habitacion-card {
        padding: 12px;
    }

    .habitacion-header h3 {
        font-size: 15px;
    }

    .habitacion-precio {
        font-size: 18px;
    }

    .habitacion-precio span {
        font-size: 12px;
    }

    .habitacion-descripcion {
        font-size: 12px;
        margin-top: 8px;
        padding-top: 8px;
    }

    .habitacion-check {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
    }

    /* Carousel */
    .carousel {
        aspect-ratio: 4/3;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .btn2 {
        padding: 6px;
        font-size: 16px;
    }

    .btn2.prev2 {
        left: 5px;
    }

    .btn2.next2 {
        right: 5px;
    }

    /* Total container */
    #total-container {
        padding: 12px;
        margin-top: 12px;
    }

    #total-container h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    #total-container>div {
        font-size: 13px;
        margin-bottom: 6px;
    }

    #total-precio {
        font-size: 16px;
    }

    /* Card icons */
    .card-icon {
        width: 45px;
        height: 28px;
        font-size: 9px;
    }

    /* Títulos */
    .title {
        font-size: 20px;
        margin-bottom: 0.8rem;
    }

    /* Botones */
    .btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Resumen */
    .resumen-section {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }

    .resumen-section-title {
        font-size: 15px;
        gap: 6px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .resumen-section-title svg {
        width: 18px;
        height: 18px;
    }

    .resumen-content {
        gap: 10px;
    }

    .resumen-label {
        font-size: 12px;
    }

    .resumen-value {
        font-size: 12px;
    }

    .resumen-total {
        padding: 10px;
        gap: 6px;
    }

    .resumen-total-label {
        font-size: 15px;
    }

    .resumen-total-value {
        font-size: 20px;
    }

    .resumen-seguridad {
        padding: 10px;
        gap: 10px;
    }

    .resumen-seguridad svg {
        width: 20px;
        height: 20px;
    }

    .resumen-seguridad strong {
        font-size: 14px;
    }

    .resumen-seguridad p {
        font-size: 12px;
    }

    .btn-pagar {
        padding: 14px;
        font-size: 15px;
        gap: 8px;
    }

    .btn-pagar svg {
        width: 18px;
        height: 18px;
    }
}


@media (max-width: 420px) {
    .wizard-container {
        padding: 0 5px;
    }

    /* Steps muy compactos */
    .wizard-steps {
        margin-bottom: 15px;
        padding: 0;
    }

    .step {
        flex: 1;
        min-width: 0;
    }

    .step-title {
        font-size: 8px;
        padding: 0 2px;
        word-wrap: break-word;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 11px;
        margin-bottom: 4px;
    }

    .wizard-steps::before {
        top: 14px;
    }

    /* Habitación info más compacta */
    .habitacion-info {
        padding: 10px;
        margin-bottom: 15px;
    }

    .habitacion-info h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .habitacion-info .precio {
        font-size: 20px;
        margin: 8px 0;
    }

    .habitacion-info .descripcion {
        font-size: 12px;
        line-height: 1.4;
    }

    /* Forms más compactos */
    .form-group {
        margin-bottom: 12px;
    }

    label {
        font-size: 13px;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select {
        padding: 9px 7px;
        font-size: 13px;
        border-radius: 4px;
    }

    .error {
        font-size: 11px;
    }

    /* Room selector */
    .room-selector {
        padding: 10px;
        margin-bottom: 15px;
    }

    .form-row2 {
        margin-bottom: 1.5rem;
    }

    .form-row2 label {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* Habitaciones muy compactas */
    /*Modificaciones*/
    .habitaciones-container {
        grid-template-columns: 1fr; /* una sola columna */
        gap: 8px;
    }

    .habitacion-card {
        padding: 10px;
        border-radius: 8px;
        max-width: 100%;
    }


    .habitacion-header {
        margin-bottom: 10px;
        text-align: center;
    }

    .habitacion-header h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .habitacion-precio {
        font-size: 16px;
    }

    .habitacion-precio span {
        font-size: 11px;
        display: block;
        margin-top: 2px;
    }

    .habitacion-descripcion {
        font-size: 11px;
        margin-top: 6px;
        padding-top: 6px;
        line-height: 1.4;
    }

    .habitacion-check {
        width: 26px;
        height: 26px;
        top: 8px;
        right: 8px;
    }

    /* Carousel compacto */
    .carousel {
        aspect-ratio: 1/1;
        margin-bottom: 0.8rem;
        border-radius: 6px;
    }

    .btn2 {
        padding: 5px;
        font-size: 14px;
        border-radius: 4px;
    }

    /* Total container */
    #total-container {
        padding: 10px;
        margin-top: 10px;
        border-radius: 6px;
    }

    #total-container h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    #total-container>div {
        font-size: 12px;
        margin-bottom: 5px;
    }

    #total-precio {
        font-size: 15px;
    }

    /* Card icons más pequeños */
    .card-icons {
        gap: 6px;
        margin-top: 8px;
    }

    .card-icon {
        width: 40px;
        height: 25px;
        font-size: 8px;
    }

    /* Títulos */
    .title {
        font-size: 18px;
        margin-bottom: 0.7rem;
    }

    /* Botones del formulario */
    .form-buttons {
        margin-top: 15px;
        gap: 8px;
    }

    .btn {
        padding: 11px 14px;
        font-size: 13px;
        border-radius: 4px;
    }

    /* Resumen muy compacto */
    .resumen-container {
        max-width: 100%;
    }

    .resumen-section {
        padding: 10px;
        margin-bottom: 10px;
        border-radius: 6px;
    }

    .resumen-section-title {
        font-size: 14px;
        gap: 6px;
        margin-bottom: 10px;
        padding-bottom: 6px;
    }

    .resumen-section-title svg {
        width: 16px;
        height: 16px;
    }

    .resumen-content {
        gap: 8px;
    }

    .resumen-item {
        padding: 5px 0;
    }

    .resumen-label,
    .resumen-value {
        font-size: 11px;
    }

    .resumen-total {
        padding: 8px;
        gap: 5px;
        border-radius: 6px;
        margin-top: 8px;
    }

    .resumen-total-label {
        font-size: 14px;
    }

    .resumen-total-value {
        font-size: 18px;
    }

    .resumen-seguridad {
        padding: 8px;
        gap: 8px;
        border-radius: 6px;
        margin-bottom: 20px;
    }

    .resumen-seguridad svg {
        width: 18px;
        height: 18px;
    }

    .resumen-seguridad strong {
        font-size: 13px;
    }

    .resumen-seguridad p {
        font-size: 11px;
        line-height: 1.3;
    }

    .btn-pagar {
        padding: 12px;
        font-size: 14px;
        gap: 6px;
        border-radius: 8px;
    }

    .btn-pagar svg {
        width: 16px;
        height: 16px;
    }
}


@media (max-width: 320px) {
    .step-title {
        font-size: 7px;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .habitacion-info h3 {
        font-size: 15px;
    }

    .habitacion-info .precio {
        font-size: 18px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select {
        padding: 8px 6px;
        font-size: 12px;
    }

    .title {
        font-size: 16px;
    }

    .btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}


@media (max-height: 500px) and (orientation: landscape) {
    .wizard-steps {
        margin-bottom: 15px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .step-title {
        font-size: 9px;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-buttons {
        margin-top: 15px;
    }

    .habitacion-info {
        padding: 10px;
        margin-bottom: 15px;
    }

    .carousel {
        aspect-ratio: 16/9;
        margin-bottom: 1rem;
    }
}


@media (min-width: 1200px) {
    .wizard-container {
        max-width: 1000px;
    }

    .carousel {
        width: 45%;
        max-width: 1000px;
    }

    .habitaciones-container {
        gap: 20px;
    }

    .resumen-container {
        max-width: 900px;
    }
}