/* ========================================================
   MINI BOAT PRICER - RIVIERA MAYA CATAMARANS PREMIUM THEME
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');

.mbp-wrapper {
    display: flex;
    flex-wrap: nowrap;
    background: #ffffff;
    border-radius: 8px !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08) !important; 
    width: 100% !important;
    max-width: none !important;
    margin: 2rem 0 !important;
    font-family: 'Lato', sans-serif !important;
    color: #333;
    box-sizing: border-box;
    overflow: hidden; 
}

.mbp-wrapper * {
    box-sizing: border-box;
}

/* --- DYNAMIC COLUMNS --- */
.mbp-controls-col {
    flex: 1 1 55%; 
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    transition: flex 0.4s ease-in-out; 
    background: #ffffff;
}

.mbp-summary-col {
    flex: 1 1 45%; 
    background: #0B4F6C !important; 
    color: #ffffff; 
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    transition: flex 0.4s ease-in-out; 
}

/* WHEN FORM IS ACTIVE */
.mbp-wrapper.is-form-active .mbp-controls-col { flex: 1 1 40%; }
.mbp-wrapper.is-form-active .mbp-summary-col { flex: 1 1 60%; }

/* --- LEFT COLUMN STYLES --- */
.mbp-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    color: #0B4F6C !important;
    font-family: 'Lato', sans-serif !important;
}

.mbp-subtitle {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.mbp-control-group {
    margin-bottom: 2.5rem;
}

.mbp-label {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0B4F6C;
}

.mbp-tour-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.mbp-radio-label {
    width: 48%;
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 700;
    color: #444;
    margin-bottom: 1rem;
}

.mbp-radio-label input[type="radio"] {
    appearance: none;
    background-color: #fff;
    margin: 0 10px 0 0;
    width: 1.3em;
    height: 1.3em;
    border: 2px solid #0B4F6C !important;
    border-radius: 50%;
    display: grid;
    place-content: center;
}

.mbp-radio-label input[type="radio"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    background-color: #0B4F6C;
}

.mbp-radio-label input[type="radio"]:checked::before {
    transform: scale(1);
}

/* Sliders */
.mbp-slider-wrapper {
    position: relative;
    padding: 10px 0;
}

.mbp-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #E5E7EB;
    border-radius: 5px;
    outline: none;
    margin: 0;
    background-image: linear-gradient(#0B4F6C, #0B4F6C);
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

.mbp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #0B4F6C;
    cursor: pointer;
    transition: transform 0.1s, border-color 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.mbp-slider::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #0B4F6C;
    cursor: pointer;
}

.mbp-slider-value {
    font-weight: 900;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #0B4F6C;
}

.mbp-hint {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* --- RIGHT COLUMN STYLES --- */
.mbp-total-wrap {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
}

.mbp-total-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff !important; 
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mbp-total-price {
    display: block;
    font-size: 3.2rem;
    font-weight: 900;
    color: #C79100 !important; 
    line-height: 1;
    margin-bottom: 0.5rem;
}

.mbp-total-subtext {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7) !important;
}

.mbp-includes-list {
    margin-bottom: 2rem;
}

.mbp-includes-list strong {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid #C79100;
    padding-bottom: 4px;
}

.mbp-includes-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mbp-includes-list li {
    font-size: 1rem;
    color: #ffffff !important;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
}

.mbp-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    min-width: 24px !important;
    min-height: 24px !important;
}

.mbp-svg-icon {
    width: 24px !important;
    height: 24px !important;
    stroke: #C79100 !important; 
    fill: none !important;
    display: block !important;
}

.mbp-notice {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    font-size: 0.85rem;
    color: #ffffff !important;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 8px;
    line-height: 1.4;
    border-left: 4px solid #C79100;
}

/* =========================================================
   OUR PRIMARY BUTTON (Request to Book)
   ========================================================= */
.mbp-wrapper button.mbp-btn-primary {
    background-color: #C79100 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important; 
    padding: 1.1rem !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background 0.3s ease, transform 0.2s ease !important;
    text-align: center !important;
    outline: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    font-family: 'Lato', sans-serif !important;
    text-transform: uppercase !important; 
    letter-spacing: 1px !important;
    margin-top: 15px !important;
    display: block !important;
}

.mbp-wrapper button.mbp-btn-primary:hover {
    background-color: #a87a00 !important; 
    transform: translateY(-2px) !important;
}

/* =========================================================
   LEAD FORM TITLES (These belong to us, not Formidable)
   ========================================================= */
.mbp-lead-title {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    color: #ffffff !important; 
}

.mbp-lead-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 2rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 950px) {
    .mbp-wrapper {
        flex-direction: column;
        padding: 0 !important; 
    }
    
    .mbp-summary-col, .mbp-controls-col {
        width: 100% !important;
        flex: 1 1 auto !important;
        padding: 2rem !important; 
    }
    
    .mbp-radio-label {
        width: 100%; 
    }
}

/* ========================================================
   INLINE VERSION (COMPACT HORIZONTAL BAR & MODAL) - v1.1.20
   ======================================================== */
#mbp_inline_wrapper {
    background-color: #0B4F6C !important;
    border-radius: 8px !important;
    padding: 0.75rem 0.9rem 0.8rem !important;
    color: #ffffff !important;
    font-family: 'Lato', sans-serif !important;
    margin: 2rem 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important; /* fills the Elementor column it is placed in */
}
#mbp_inline_wrapper * { box-sizing: border-box !important; }

/* Top line: title | disclaimer */
#mbp_inline_wrapper .mbp-inline-top {
    display: flex !important;
    gap: 9px !important;
    align-items: center !important;
    margin: 0 0 0.6rem 0 !important;
}
#mbp_inline_wrapper .mbp-inline-title {
    flex: none !important;
    margin: 0 !important;
    padding: 0 9px 0 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
}
#mbp_inline_wrapper .mbp-inline-note {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    text-align: left !important;
}
#mbp_inline_wrapper .mbp-inline-note strong { color: #ffd666 !important; }

/* Fields row: Duration | Guests | Button */
#mbp_inline_wrapper .mbp-inline-fields {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr auto !important;
    gap: 10px !important;
    align-items: center !important;
    width: 100% !important;
}

/* White boxes with a small label that appears once filled */
#mbp_inline_wrapper .mbp-inline-box {
    position: relative !important;
    height: 44px !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    box-shadow: 0 0 0 2px transparent !important;
    transition: box-shadow 0.15s !important;
    min-width: 0 !important;
}
#mbp_inline_wrapper .mbp-inline-box.has-error { box-shadow: 0 0 0 3px #ff8a8a !important; }
#mbp_inline_wrapper .mbp-inline-float {
    position: absolute !important;
    left: 11px !important;
    top: 4px !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #0B4F6C !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    pointer-events: none !important;
    opacity: 0 !important;
    transition: opacity 0.15s !important;
    z-index: 1 !important;
}
#mbp_inline_wrapper .mbp-inline-box.is-filled .mbp-inline-float { opacity: 1 !important; }
#mbp_inline_wrapper .mbp-inline-guests-box .mbp-inline-float { left: 0 !important; right: 0 !important; text-align: center !important; }

#mbp_inline_wrapper .mbp-inline-select {
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: none !important;
    border-radius: 6px !important;
    background-color: transparent !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    color: #8a949b !important;
    box-shadow: none !important;
}
#mbp_inline_wrapper .mbp-inline-box.is-filled .mbp-inline-select { color: #333 !important; padding-top: 13px !important; }
#mbp_inline_wrapper .mbp-inline-select option { color: #333 !important; }

/* Guest stepper */
#mbp_inline_wrapper .mbp-inline-stepper {
    display: flex !important;
    height: 44px !important;
    border-radius: 6px !important;
    overflow: hidden !important;
}
#mbp_inline_wrapper .mbp-inline-stepper button {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: #e8f0f4 !important;
    color: #0B4F6C !important;
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    line-height: 44px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
#mbp_inline_wrapper .mbp-inline-stepper button:disabled { opacity: 0.35 !important; cursor: default !important; }
#mbp_inline_wrapper .mbp-inline-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}
#mbp_inline_wrapper .mbp-inline-input::placeholder { color: #8a949b !important; font-weight: 400 !important; opacity: 1 !important; }
#mbp_inline_wrapper .mbp-inline-box.is-filled .mbp-inline-input { padding-top: 12px !important; }
#mbp_inline_wrapper .mbp-inline-input::-webkit-inner-spin-button,
#mbp_inline_wrapper .mbp-inline-input::-webkit-outer-spin-button { -webkit-appearance: none !important; margin: 0 !important; }

/* Gold button */
#mbp_inline_wrapper .mbp-inline-btn {
    background-color: #C79100 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 0 16px !important;
    font-family: inherit !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: background 0.3s ease !important;
    margin: 0 !important;
    display: block !important;
    text-align: center !important;
}
#mbp_inline_wrapper .mbp-inline-btn:hover { background-color: #a87a00 !important; }
#mbp_inline_wrapper button:focus-visible,
#mbp_inline_wrapper select:focus-visible,
#mbp_inline_wrapper input:focus-visible { outline: 3px solid #ffd666 !important; outline-offset: 2px !important; }

/* "Please choose..." message */
#mbp_inline_wrapper .mbp-inline-msg {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #ffd666 !important;
}
#mbp_inline_wrapper .mbp-inline-msg:empty { display: none !important; }

/* Tablet & phone */
@media (max-width: 700px) {
    #mbp_inline_wrapper { padding: 0.9rem !important; }
    #mbp_inline_wrapper .mbp-inline-top { flex-direction: column !important; align-items: flex-start !important; gap: 4px !important; }
    #mbp_inline_wrapper .mbp-inline-title { border: none !important; padding: 0 !important; }
    #mbp_inline_wrapper .mbp-inline-fields { grid-template-columns: 1fr !important; }
}

/* --- MODAL STYLES --- */
.mbp-modal-overlay {
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important;
    padding: 5vh 20px !important;
    overflow-y: auto !important;
}
.mbp-modal-content {
    background: #ffffff !important;
    padding: 2rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 500px !important;
    position: relative !important;
    margin: 0 auto !important;
    font-family: 'Lato', sans-serif !important;
}
body.mbp-modal-open { overflow: hidden !important; }
