/* * GRUPO SALATOUR - PREMIUM BOOKING SYSTEM 
 * Version: 2.3.6 (Final Refined Summary & Safari Fix)
 */

/* --- 1. GLOBAL WRAPPER --- */
div.salatour-booking-wrapper {
    background-color: #000000 !important;
    padding: 40px !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #ffffff !important;
    max-width: 1350px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
}

/* --- 2. TITLES & TYPOGRAPHY --- */
.salatour-subtitle {
    color: #d4af37 !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.salatour-subtitle::before {
    content: "" !important;
    width: 35px !important;
    height: 1px !important;
    background-color: #d4af37 !important;
    display: inline-block !important;
    margin-right: 15px !important;
}

.salatour-title {
    font-size: 32px !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    margin: 0 0 40px 0 !important;
}

.salatour-section-title {
    color: #d4af37 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 40px 0 20px 0 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- 3. INPUT GRID (5 COLUMNS) --- */
.salatour-main-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1px !important; 
    background-color: #333 !important; 
    border: 1px solid #333 !important;
    margin-bottom: 25px !important;
}

.salatour-input-group {
    flex: 1 !important;
    background-color: #111 !important;
    padding: 18px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
}

.salatour-input-group label {
    font-size: 9px !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
}

/* --- 4. INPUT WRAPPERS & SAFARI FIX --- */
.salatour-input-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    min-height: 30px !important;
}

.salatour-input-wrapper i {
    color: #d4af37 !important;
    font-size: 14px !important;
    width: 18px !important;
    text-align: center !important;
    margin-right: 10px !important;
    pointer-events: none !important; 
    position: relative !important;
    z-index: 1 !important;
}

.salatour-input-wrapper select, 
.salatour-input-wrapper input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    width: 100% !important;
    height: 100% !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color-scheme: dark !important; 
}

input.salatour-native-picker {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding-left: 30px !important; 
    z-index: 5 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.9);
    position: absolute !important;
    right: 0 !important;
    z-index: 6 !important;
}

/* --- 5. CHECKOUT SPECIFIC --- */

/* 1. Separación en Service Type (Padding solicitado) */
.salatour-trip-type-box {
    background: #111;
    padding: 25px;
    margin-top: 40px !important;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.salatour-label-small {
    display: block !important;
    margin-bottom: 20px !important; /* Espacio entre título y selección */
    font-size: 10px !important;
    color: #888 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
}

.salatour-return-box {
    background: #0a0a0a;
    padding: 20px;
    border-left: 2px solid #d4af37;
    margin-bottom: 30px;
}

/* --- 6. REFINED PAYMENT SUMMARY --- */
.salatour-summary-card {
    background: #111 !important;
    border: 1px solid #d4af37 !important;
    padding: 30px !important;
    margin-top: 50px !important;
}

.summary-title {
    color: #d4af37 !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    font-size: 16px !important;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

/* 2. Descuento en Verde */
.discount-row, 
.discount-row span, 
.discount-row strong,
.salatour-explanation {
    color: #28a745 !important; 
}

.salatour-explanation {
    font-size: 11px !important;
    opacity: 0.9 !important;
    display: block;
    margin-top: 2px !important;
}

.total-row {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dotted #444;
    font-size: 16px !important; /* Más pequeño que el PAY NOW */
    color: #fff !important;
}

/* 3. Filas finales de Pago - PAY NOW Destacado */
.summary-row.final-split-row {
    margin-top: 10px !important;
    padding: 5px 0;
}

.summary-row.highlighted-split {
    margin-top: 25px !important;
    padding: 20px 0 !important;
    border-top: 1px solid #333 !important;
}

.summary-row.highlighted-split span {
    font-weight: 800 !important;
    font-size: 15px !important;
    color: #d4af37 !important;
}

.summary-row.highlighted-split strong.large-amount {
    font-size: 30px !important; /* El más grande de la lista */
    font-weight: 900 !important;
    color: #d4af37 !important;
}

.summary-row.final-split-row:not(.highlighted-split) {
    opacity: 0.8;
    border-top: 1px solid #222;
    padding-top: 10px;
}

/* --- 7. BUTTONS & FOOTER --- */
.salatour-footer-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 30px !important;
}

.salatour-trip-type { display: flex !important; gap: 30px !important; }
.salatour-trip-type label { color: #ffffff !important; font-size: 13px !important; cursor: pointer !important; display: flex; align-items: center; gap: 8px; }
.gold-text { color: #d4af37 !important; }

.salatour-submit-btn {
    background-color: #d4af37 !important;
    color: #000000 !important;
    border: none !important;
    padding: 15px 35px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.2 !important;
    min-height: 55px !important;
}

.salatour-submit-btn:hover { background-color: #ffffff !important; }
.salatour-submit-btn.full-width { width: 100% !important; margin-top: 20px; }

/* --- 8. RESPONSIVE --- */
@media (max-width: 1100px) {
    .salatour-main-row { flex-wrap: wrap !important; }
    .salatour-input-group { flex: 1 1 45% !important; }
}

@media (max-width: 768px) {
    .salatour-input-group { flex: 1 1 100% !important; }
    .salatour-footer-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px !important;
    }
    .salatour-submit-btn { width: 100% !important; }
    .summary-row.highlighted-split strong.large-amount { font-size: 24px !important; }
}