/* ===========================================================
   BUSCADOR HORIZONTAL YANAY
   Estilo elegante, completo y 100% compatible con MotoPress
   =========================================================== */

/* CONTENEDOR */
.mphb_sc_search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    padding: 28px 35px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.10);
    border: 1px solid rgba(74,108,61,0.12);
    max-width: 1100px;
    margin: 0 auto;
}

/* GRUPOS (LABEL + INPUT) */
.mphb_sc_search-form > p,
.mphb_sc_search-form .mphb-reserve-form-field {
    margin: 0;
    flex: 0 1 auto;
}

/* LABELS */
.mphb_sc_search-form label {
    display: block;
    font-weight: 700;
    color: var(--verde-oscuro);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

/* ============================================
   INPUTS DE FECHA — (NO se toca MotoPress!)
   ============================================ */
.mphb_sc_search-form input[type="text"],
.mphb_sc_search-form select {
    width: 160px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 2px solid #d1d5db;
    background: #fff;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
    transition: all .25s ease;
}

/* FOCUS */
.mphb_sc_search-form input[type="text"]:focus,
.mphb_sc_search-form select:focus {
    border-color: var(--verde-yanay);
    box-shadow: 0 0 0 4px rgba(74,108,61,0.15);
    outline: none;
}

/* HOVER */
.mphb_sc_search-form input[type="text"]:hover,
.mphb_sc_search-form select:hover {
    border-color: var(--verde-yanay);
}

/* ============================================
   ADULTOS / NIÑOS — SIN romper selects originales
   ============================================ */
.mphb-adults-field,
.mphb-children-field {
    min-width: 140px;
}

/* ============================================
   BOTÓN — VER DISPONIBILIDAD
   ============================================ */
.mphb_sc_search-form input[type="submit"],
.mphb_sc_search-form button[type="submit"] {
    background: linear-gradient(135deg, var(--verde-yanay), #5a7d4d);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 13px 40px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 10px;
    min-width: 220px;
    box-shadow: 0 4px 18px rgba(74,108,61,0.28);
    letter-spacing: 0.5px;
}

.mphb_sc_search-form input[type="submit"]:hover,
.mphb_sc_search-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #5a7d4d, var(--verde-oscuro));
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(74,108,61,0.35);
}

/* ============================================
   CAMPOS OBLIGATORIOS
   ============================================ */
.mphb-required-fields-tip {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    color: #888;
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media(max-width: 768px) {

    .mphb_sc_search-form {
        flex-direction: column;
        gap: 20px;
        padding: 26px 20px;
        border-radius: 18px;
    }

    .mphb_sc_search-form input[type="text"],
    .mphb_sc_search-form select {
        width: 100%;
    }

    .mphb-adults-field,
    .mphb-children-field {
        width: 100%;
    }

    .mphb_sc_search-form input[type="submit"] {
        width: 100%;
    }
}

@media(max-width: 480px) {

    .mphb_sc_search-form {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .mphb-required-fields-tip {
        text-align: left;
        font-size: 0.75rem;
    }

    .mphb_sc_search-form input[type="submit"] {
        padding: 12px 20px;
    }
}
/* ============================================
   ADULTOS Y NIÑOS — ESTILO YANAY CON + y -
   ============================================ */

.yanay-number-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #d1d5db;
    background: #fff;
    border-radius: 12px;
    height: 48px;
    width: 160px;
}


.yanay-number-btn {
    width: 42px;
    min-width: 42px;
    height: 48px;
    border: none;
    background: transparent;
    font-size: 22px;
    font-weight: 700;
    color: var(--verde-yanay);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}


.yanay-number-btn:hover {
    background: var(--verde-yanay);
    color: #fff;
}

.yanay-number-input {
    width: 70px;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    border: none !important;
    background: transparent;
    pointer-events: none;
    color: #111;
}
/* CORREGIR ANCHO REAL DEL INPUT DEL CONTADOR */
.yanay-number-input {
    width: 70px !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* ============================================
   FIX — Quitar rosado en botones +/- Yanay
   ============================================ */
.yanay-number-btn {
    background: transparent !important;
    color: var(--verde-yanay) !important;
    border: none !important;
}

.yanay-number-btn:hover {
    background: var(--verde-yanay) !important;
    color: #fff !important;
}

.yanay-number-btn:focus {
    outline: none !important;
    background: var(--verde-yanay) !important;
    color: #fff !important;
}
/* ============================================
   BOTÓN VER DISPONIBILIDAD — ABAJO Y CENTRADO
   ============================================ */
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper {
    width: 100% !important;
    text-align: center !important;
    margin-top: 15px !important;
}

.mphb_sc_search-form input[type="submit"] {
    background: linear-gradient(135deg, var(--verde-yanay), #5a7d4d) !important;
    border-radius: 50px !important;
    padding: 14px 50px !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* HOVER */
.mphb_sc_search-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #5a7d4d, var(--verde-oscuro)) !important;
}


/* diseño apr amensaje niños hasta 5 años no pagan del buscador general front page */

.yanay-info-ninos {
    width: 100%;
    text-align: left;   /* ← ALINEADO A LA IZQUIERDA */
    font-size: 0.9rem;
    color: #4a6c3d;     /* verde Yanay suave */
    margin-bottom: 8px;
    margin-top: 5px;
    font-weight: 600;
    padding-left: 2px;  /* leve separación estética */
}

/* EN EL BUSCADOR GENERAL ESPACIO  */

/* Campos de FECHA (check-in / check-out) — versión final optimizada */
.mphb_sc_search-form input[id^="mphb_check_in_date"],
.mphb_sc_search-form input[id^="mphb_check_out_date"] {
    width: 230px !important;      /* Más ancho */
    height: 48px !important;      /* Misma altura que Adultos/Niños */
    padding: 0 16px !important;   /* Alineado elegante */
    line-height: 48px !important; /* Centra visualmente el texto */
    font-size: 1rem !important;   /* Mismo tamaño */
    border-radius: 12px !important;
}






-------------------------------------------------------------------------
/* =======================================================
   FIX DEFINITIVO — Buscador SIEMPRE FIJO bajo el slider
   ======================================================= */

/* Quitar TODOS los márgenes falsos que mueve el buscador */
.buscador-wrapper,
.mphb_sc_search-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ajustar contenedor para que NO se empuje hacia abajo */
.buscador-wrapper {
    position: relative !important;
    top: -60px !important;   /* SUBE el buscador */
}

/* Prevenir que Elementor agregue padding abajo del slider */
.slider,
section.slider {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* MotoPress agrega padding oculto arriba: eliminarlo */
.mphb_sc_search-form {
    padding-top: 15px !important;
    padding-bottom: 20px !important;
}

/* Evitar movimientos del formulario por elementos hijos */
.mphb_sc_search-form > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Para pantallas gigantes: mantener misma altura SIEMPRE */
@media (min-width: 1600px) {
    .buscador-wrapper {
        top: -70px !important;
    }
}

/* En tablets, un poco menos */
@media (max-width: 1024px) {
    .buscador-wrapper {
        top: -40px !important;
    }
}

/* En móviles: se acomoda automáticamente */
@media (max-width: 768px) {
    .buscador-wrapper {
        top: -20px !important;
    }
}
