/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Dezactiveaza complet filtrarea Astra pe logo */
.ast-theme-transparent-header .site-logo-img img {
  filter: none !important;
}

/* Optional: asigura randare corecta */
.site-logo-img img {
  background: transparent !important;
}

/* 1. Container 80% width, fundal bej-gri */
.mphb_sc_search-form {
    background: #f8f5f1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 40px 20px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* umbră subtilă */
}

/* 2. Ascunde textul nedorit */
.mphb-required-fields-tip {
    display: none !important;
}

/* 3. Toate câmpurile pe aceeași linie */
.mphb_sc_search-form > p {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 20px !important;
}

/* 4. Mărime text check-in/check-out - ADĂUGAT AICI */
.mphb_sc_search-check-in-date label,
.mphb_sc_search-check-out-date label {
    font-size: 18px !important;
}

/* 5. Iconițe pentru calendare */
.mphb-datepick {
    padding-left: 35px !important;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23b99d75" viewBox="0 0 16 16"><path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg>') no-repeat 10px center !important;
}

/* 6. Iconițe pentru adulți/copii */
.mphb_sc_search-adults input,
.mphb_sc_search-children input,
.mphb_sc_search-adults select,
.mphb_sc_search-children select {
    padding-left: 35px !important;
}

.mphb_sc_search-adults input,
.mphb_sc_search-adults select {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23b99d75" viewBox="0 0 16 16"><path d="M9 5a3 3 0 1 1-6 0 3 3 0 0 1 6 0zm-9 8c0 1 1 1 1 1h10s1 0 1-1-1-4-6-4-6 3-6 4zm13.5-8.09c1.387-1.425 4.855 1.07 0 4.277-4.854-3.207-1.387-5.702 0-4.276z"/></svg>') no-repeat 10px center !important;
}

.mphb_sc_search-children input,
.mphb_sc_search-children select {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23b99d75" viewBox="0 0 16 16"><path d="M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z"/></svg>') no-repeat 10px center !important;
}

/* 7. Linii despărțitoare între câmpuri */
.mphb_sc_search-check-in-date,
.mphb_sc_search-check-out-date,
.mphb_sc_search-adults {
    border-right: 1px solid #e0d6c9 !important;
}

/* 8. Input-uri fără chenar */
.mphb-datepick,
.mphb_sc_search-adults input,
.mphb_sc_search-children input,
.mphb_sc_search-adults select,
.mphb_sc_search-children select {
    border: none !important;
    background-color: transparent !important;
    height: 36px !important;
}

/* ========== DOAR PENTRU RESPONSIVE ========== */

/* Pentru tablete (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .mphb_sc_search-form {
        flex-wrap: wrap !important;
        padding: 30px 20px !important;
    }
    
    .mphb_sc_search-form > p {
        flex: 1 1 45% !important;
        margin-bottom: 20px !important;
        padding: 0 15px !important;
    }
    
    /* Elimină liniile laterale pe tabletă */
    .mphb_sc_search-check-in-date,
    .mphb_sc_search-check-out-date,
    .mphb_sc_search-adults {
        border-right: none !important;
    }
}

/* Pentru telefoane mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .mphb_sc_search-form {
        flex-direction: column !important;
        padding: 25px 15px !important;
    }
    
    .mphb_sc_search-form > p {
        width: 100% !important;
        margin-bottom: 25px !important;
        padding: 0 !important;
    }
    
    /* Linii despărțitoare între câmpuri pe mobil */
    .mphb_sc_search-check-in-date,
    .mphb_sc_search-check-out-date,
    .mphb_sc_search-adults,
    .mphb_sc_search-children {
        border-bottom: 1px solid #e0d6c9 !important;
        padding-bottom: 20px !important;
    }
    
    /* Buton fără linie */
    .mphb_sc_search-submit-button-wrapper {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    
    /* Buton full-width pe mobil */
    .mphb_sc_search-submit-button-wrapper input[type="submit"] {
        width: 100% !important;
        padding: 14px !important;
    }
}

/* Buton cu chenar, fără linie sub text */
#homedespre {
    all: unset; /* resetează stilurile implicite */
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #dca54a; /* chenar fin */
    color: #dca54a;
    font-weight: 600;
    cursor: pointer;
}

/* Buton formular homepage – WPForms */
.buton-formular-homepage,
.buton-formular-homepage:hover,
.buton-formular-homepage:focus,
.buton-formular-homepage:active {
    color: #ffff;
    background-color: #dca54a;
    border: 2px solid #ffff;
    display: block;
    margin: 0 auto;
}

/* ==================================
   FIX REAL CALENDAR HOTEL BOOKING – MOBILE
   ================================== */
@media screen and (max-width: 768px) {

    /* popup-ul */
    .datepick-popup {
        position: fixed !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: 100vw !important;
        z-index: 999999 !important;
    }

    /* calendarul */
    .datepick {
        width: calc(100vw - 20px) !important;
        max-width: 360px !important;
        box-sizing: border-box !important;
    }

    /* FORȚEAZĂ 1 SINGURĂ LUNĂ */
    .datepick-multi .datepick-month {
        float: none !important;
        width: 100% !important;
    }

    /* ASCUNDE A DOUA LUNĂ */
    .datepick-multi .datepick-month.last {
        display: none !important;
    }

    /* tabelul */
    .datepick table {
        width: 100% !important;
    }
}
