/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 18 2026 | 14:18:48 */
/* ============================================================
   AJUSTE DEFINITIVO BUSCADOR HOME - AUTOCARAVANA MALLORCA
   ============================================================ */

/* Tarjeta principal del buscador */
.home .cbs-hero-widget,
.cbs-hero-widget {
    width: 100% !important;
    max-width: 520px !important;
    min-width: 420px !important;
    margin: 0 auto !important;
    padding: 26px 28px !important;
    background: #ffffff !important;
    border-radius: 28px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22) !important;
    box-sizing: border-box !important;
}

/* Formulario */
.home .cbs-hero-vform,
.cbs-hero-vform {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Campos */
.home .cbs-vfield,
.cbs-vfield {
    width: 100% !important;
    min-height: 104px !important;
    padding: 20px 24px !important;
    background: #f8fafc !important;
    border: 1px solid #dce5ee !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
}

/* Labels */
.home .cbs-vfield label,
.cbs-vfield label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.7px !important;
    color: #45647f !important;
}

/* Inputs y selector */
.home .cbs-vfield input,
.home .cbs-vfield select,
.cbs-vfield input,
.cbs-vfield select {
    width: 100% !important;
    height: auto !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-size: 25px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    color: #07111f !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Botón */
.home .cbs-hero-vbtn,
.cbs-hero-vbtn {
    width: 100% !important;
    min-height: 66px !important;
    margin-top: 4px !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #7ca426 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    cursor: pointer !important;
}

/* Resultados debajo del buscador */
.home .cbs-hero-results,
.cbs-hero-results {
    width: 100% !important;
    margin-top: 24px !important;
}

/* Tarjeta de resultado */
.home .cbs-hero-car-row,
.cbs-hero-car-row {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 70px 1fr auto auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    border: 1px solid #dce5ee !important;
    box-sizing: border-box !important;
}

/* Imagen resultado */
.home .cbs-hero-car-thumb,
.cbs-hero-car-thumb {
    width: 64px !important;
    height: 52px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* Nombre coche */
.home .cbs-hero-car-name,
.cbs-hero-car-name {
    display: block !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #07111f !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Meta */
.home .cbs-hero-car-meta,
.cbs-hero-car-meta {
    display: block !important;
    margin-top: 5px !important;
    font-size: 14px !important;
    color: #5e7185 !important;
}

/* Precio */
.home .cbs-hero-car-price,
.cbs-hero-car-price {
    text-align: right !important;
    min-width: 80px !important;
}

.home .cbs-hero-car-total,
.cbs-hero-car-total {
    display: block !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #6d971f !important;
}

.home .cbs-hero-car-days,
.cbs-hero-car-days {
    display: block !important;
    font-size: 14px !important;
    color: #5e7185 !important;
}

/* Botón reservar */
.home .cbs-hero-car-btn,
.cbs-hero-car-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    height: 52px !important;
    padding: 0 18px !important;
    border-radius: 12px !important;
    background: #6ca32f !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Ajuste responsive */
@media (max-width: 767px) {
    .home .cbs-hero-widget,
    .cbs-hero-widget {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .home .cbs-vfield,
    .cbs-vfield {
        min-height: 90px !important;
        padding: 16px 18px !important;
    }

    .home .cbs-vfield input,
    .home .cbs-vfield select,
    .cbs-vfield input,
    .cbs-vfield select {
        font-size: 22px !important;
    }

    .home .cbs-hero-car-row,
    .cbs-hero-car-row {
        grid-template-columns: 62px 1fr !important;
        gap: 12px !important;
    }

    .home .cbs-hero-car-price,
    .cbs-hero-car-price {
        grid-column: 1 / 2 !important;
        text-align: left !important;
    }

    .home .cbs-hero-car-btn,
    .cbs-hero-car-btn {
        grid-column: 2 / 3 !important;
        width: 100% !important;
    }
}