/* ============================================================
   BFL BOOKING PAGE — Element Overrides
   @version 1.25.0

   Page flow: Step 2 is skipped. Page starts at Step 3.
   Step 3 = contact summary (read-only) + payment method + card form
   Card form = VirtualPOS (virtualpos.php) — own HTML structure
   ============================================================ */

/* ============================================================
   1. STEP BAR — hide completely
   ============================================================ */
body.page-id-6458 .tourmaster-payment-step-wrap,
body.page-id-6458 #tourmaster-payment-step-wrap,
.tourmaster-template-payment .tourmaster-payment-step-wrap,
.tourmaster-template-payment #tourmaster-payment-step-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* ============================================================
   2. OLD TIMER — visually hidden, TourMaster countdown JS still runs
   ============================================================ */
body.page-id-6458 .alert-booking-date,
.tourmaster-template-payment .alert-booking-date {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ============================================================
   3. TOPBAR (injected by JS)
   ============================================================ */
.bfl-bk-topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 90 !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-topbar-back {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    text-decoration: none !important;
}
.bfl-bk-topbar-back:hover {
    color: #1d4ed8 !important;
    text-decoration: none !important;
}
.bfl-bk-topbar-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
.bfl-bk-topbar-ssl {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #059669 !important;
}

/* ============================================================
   4. NEW TIMER — amber band (injected by JS)
   ============================================================ */
.bfl-bk-timer {
    background: #fffbeb !important;
    border-bottom: 1px solid #fde68a !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #d97706 !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-timer-clock {
    font-weight: 800 !important;
    font-size: 14px !important;
    font-variant-numeric: tabular-nums !important;
}

/* ============================================================
   5. PAYMENT HEAD BANNER — hide
   ============================================================ */
body.page-id-6458 .tourmaster-payment-head,
.tourmaster-template-payment .tourmaster-payment-head {
    display: none !important;
}

/* ============================================================
   6. CONTACT DETAIL SUMMARY (Step 3 — read-only)
      .tourmaster-payment-contact-detail-wrap
        .tourmaster-payment-contact-detail
          h3 + .tourmaster-payment-detail (head/tail rows)
        .tourmaster-payment-billing-detail
          h3 + .tourmaster-payment-detail (head/tail rows)
   ============================================================ */

/* Outer wrap — white card */
body.page-id-6458 .tourmaster-payment-contact-detail-wrap {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Each detail section (contact / billing) */
body.page-id-6458 .tourmaster-payment-detail-wrap {
    margin-bottom: 12px !important;
    padding: 0 !important;
}
body.page-id-6458 .tourmaster-payment-detail-wrap:last-child {
    margin-bottom: 0 !important;
}

/* Section heading h3 */
body.page-id-6458 .tourmaster-payment-detail-wrap h3.tourmaster-payment-detail-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
body.page-id-6458 .tourmaster-payment-detail-title > i,
body.page-id-6458 .tourmaster-payment-detail-title > .fa {
    display: none !important;
}

/* Detail rows — label : value */
body.page-id-6458 .tourmaster-payment-detail {
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .tourmaster-payment-detail:last-child {
    border-bottom: none !important;
}
body.page-id-6458 .tourmaster-payment-detail .tourmaster-head {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    white-space: nowrap !important;
    min-width: 60px !important;
    flex-shrink: 0 !important;
}
body.page-id-6458 .tourmaster-payment-detail .tourmaster-tail {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #111827 !important;
}

/* ============================================================
   7. PAYMENT METHOD WRAP (Step 3)
   ============================================================ */
body.page-id-6458 .tourmaster-payment-method-wrap {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .tourmaster-payment-method-wrap h3 {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
}
body.page-id-6458 .tourmaster-payment-method-wrap h3 > i,
body.page-id-6458 .tourmaster-payment-method-wrap h3 > .fa {
    display: none !important;
}

/* ============================================================
   8. CARD FORM — VirtualPOS (virtualpos.php)
      .card-form > form > .card-wrapper2 (hidden) + .input-wrap
        .input-wrap > br + h3 "Contact Details" + div>.input-group
        .input-wrap > .no-payment-section (conditional)
        .input-wrap > .payment-section > h3 "Payment Details"
          + .input-group.card-number-wrapper + .input-row
   ============================================================ */

/* 8a. Card form container — white card */
body.page-id-6458 .card-form {
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    overflow: hidden !important;
}

/* 8b. Inner wrap — padding */
body.page-id-6458 .card-form .input-wrap {
    padding: 20px 16px !important;
}

/* 8c. Hide stray <br> tags */
body.page-id-6458 .card-form .input-wrap > br,
body.page-id-6458 .card-form .payment-section > br {
    display: none !important;
}

/* 8d. Section headings — "Contact Details" / "Payment Details" */
body.page-id-6458 .card-form h3.tourmaster-payment-detail-title {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 0 0 12px !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* 8e. Input group wrapper */
body.page-id-6458 .card-form .input-group {
    position: relative !important;
    margin-bottom: 10px !important;
}

/* 8f. Hide FontAwesome icons inside input groups */
body.page-id-6458 .card-form .input-group > i.icon,
body.page-id-6458 .card-form .input-group > i.fa.icon {
    display: none !important;
}

/* 8f2. Hide redundant labels (placeholder already shows field name) */
body.page-id-6458 .card-form .input-group > label {
    display: none !important;
}

/* 8g. All visible inputs */
body.page-id-6458 .card-form input[type="text"],
body.page-id-6458 .card-form input[type="email"],
body.page-id-6458 .card-form input[type="tel"],
body.page-id-6458 .card-form input[type="password"] {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-size: 16px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #111827 !important;
    background: #ffffff !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
}

/* 8h. Focus state */
body.page-id-6458 .card-form input[type="text"]:focus,
body.page-id-6458 .card-form input[type="email"]:focus,
body.page-id-6458 .card-form input[type="tel"]:focus,
body.page-id-6458 .card-form input[type="password"]:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08) !important;
}

/* 8i. Placeholder */
body.page-id-6458 .card-form input::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* 8j. Labels */
body.page-id-6458 .card-form label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    display: block !important;
    margin-bottom: 4px !important;
}

/* 8k. Card.js invalid state — moved to VALIDATION section at bottom */

/* 8l. Error messages — hidden by default, shown by validateForm JS */
body.page-id-6458 .card-form .error-message {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    color: #ef4444 !important;
    margin-top: -6px !important;
    margin-bottom: 8px !important;
    display: none;
}

/* 8m. Payment section — separator line */
body.page-id-6458 .card-form .payment-section {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px solid #f1f5f9 !important;
}

/* 8n. No-payment section */
body.page-id-6458 .card-form .no-payment-section {
    margin-top: 12px !important;
}
body.page-id-6458 .card-form .no-payment-section .alert-info,
body.page-id-6458 .card-form .input-wrap > .alert-info {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: #1e40af !important;
    margin-bottom: 12px !important;
}
body.page-id-6458 .card-form .alert-info strong {
    display: block !important;
    margin-bottom: 4px !important;
}
body.page-id-6458 .card-form .alert-info p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* 8o. Card number wrapper — card type icon */
body.page-id-6458 .card-form .card-number-wrapper {
    position: relative !important;
}
body.page-id-6458 .card-form .card-type-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
}

/* 8p. Expiry + CVV side by side */
body.page-id-6458 .card-form .input-row {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
}
body.page-id-6458 .card-form .input-row .input-group {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

/* ============================================================
   9. INTL-TEL-INPUT — Phone field styling
   ============================================================ */
body.page-id-6458 .iti {
    width: 100% !important;
    display: block !important;
}
body.page-id-6458 .iti .iti__flag-container {
    border-right: none !important;
}
body.page-id-6458 .iti .iti__selected-flag {
    padding: 0 10px !important;
    background: transparent !important;
    border-radius: 10px 0 0 10px !important;
    height: 48px !important;
}
body.page-id-6458 .iti__arrow {
    border-top-color: #6b7280 !important;
    border-left-color: transparent !important;
    border-right-color: transparent !important;
}
body.page-id-6458 .iti .iti__country-list {
    font-family: 'DM Sans', sans-serif !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    border: 1px solid #e2e8f0 !important;
}
body.page-id-6458 .iti input[type="tel"] {
    padding-left: 52px !important;
}

/* ============================================================
   10. SECTION NUMBER CIRCLE (injected by JS)
   ============================================================ */
.bfl-bk-section-num {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* ============================================================
   11. CANCELLATION BANNER (injected by JS)
   ============================================================ */
.bfl-bk-cancel-banner {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    background: #ecfdf5 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #059669 !important;
    font-family: 'DM Sans', sans-serif !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}
.bfl-bk-cancel-banner svg {
    flex-shrink: 0 !important;
}

/* ============================================================
   12. VALIDATION ERROR BOX
   ============================================================ */
body.page-id-6458 .tourmaster-tour-booking-required-error {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    margin: 8px 0 !important;
}

/* ============================================================
   13. SUBMIT / CONTINUE BUTTONS
   ============================================================ */
body.page-id-6458 a.tourmaster-tour-booking-continue,
body.page-id-6458 .tourmaster-payment-method-booking-button,
body.page-id-6458 .card-form .button-sub {
    display: block !important;
    width: 100% !important;
    height: 50px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25) !important;
    text-align: center !important;
    line-height: 50px !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
body.page-id-6458 a.tourmaster-tour-booking-continue:hover,
body.page-id-6458 .tourmaster-payment-method-booking-button:hover,
body.page-id-6458 .card-form .button-sub:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ============================================================
   14. SELECT/COMBOBOX
   ============================================================ */
body.page-id-6458 .tourmaster-combobox-wrap select,
body.page-id-6458 .card-form select {
    width: 100% !important;
    height: 48px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    font-size: 16px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #111827 !important;
    background: #ffffff !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}
body.page-id-6458 .tourmaster-combobox-wrap select:focus,
body.page-id-6458 .card-form select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08) !important;
}

/* ============================================================
   15. PAYMENT TYPE RADIO OPTIONS (deposit/full/no_payment)
   ============================================================ */
body.page-id-6458 .tourmaster-tour-booking-bar-deposit-option label {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 400px) {
    .bfl-bk-topbar-back span {
        display: none !important;
    }
    .bfl-bk-topbar-title {
        font-size: 14px !important;
    }
}

/* ============================================================
   SIDEBAR — Side Panel Redesign
   ============================================================ */

/* Float kaldır — flex layout kullanıyoruz */
body.page-id-6458 .tourmaster-tour-booking-bar-wrap,
body.page-id-6458 .tourmaster-tour-payment-content,
body.page-id-6458 #tourmaster-tour-payment-content,
body.page-id-6458 .tourmaster-page-content > * {
    float: none !important;
}

/* Sidebar ana container — transparent wrapper for compact stack */
body.page-id-6458 .tourmaster-tour-booking-bar-wrap {
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    font-family: 'DM Sans', sans-serif !important;
}

body.page-id-6458 .tourmaster-tour-booking-bar-outer,
body.page-id-6458 .tourmaster-tour-booking-bar-inner {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
}

/* "Instantly Confirmed" label — yeşil badge */
body.page-id-6458 .tourmaster-tour-booking-bar-instantly-confirmed-label {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 2 !important;
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    letter-spacing: 0.3px !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Cover image — küçült, rounded top */
body.page-id-6458 .tourmaster-tour-booking-bar-cover-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 140px !important;
    overflow: hidden !important;
    pointer-events: none !important;
    cursor: default !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-cover-image img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Summary section — padding */
body.page-id-6458 .tourmaster-tour-booking-bar-summary {
    position: relative !important;
    padding: 0 !important;
}

/* Tour title */
body.page-id-6458 h3.tourmaster-tour-booking-bar-summary-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding: 14px 14px 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-family: 'DM Sans', sans-serif !important;
    text-align: left !important;
}

/* Package info */
body.page-id-6458 .tourmaster-summary-package {
    padding: 4px 14px 0 !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .tourmaster-summary-package .tourmaster-head {
    color: #9ca3af !important;
    font-weight: 400 !important;
}
body.page-id-6458 .tourmaster-summary-package .tourmaster-tail {
    font-weight: 600 !important;
    color: #111827 !important;
}

/* Pickup location */
body.page-id-6458 .pickup-location {
    padding: 4px 14px !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .pickup-location .tourmaster-head {
    color: #9ca3af !important;
    font-size: 12px !important;
}
body.page-id-6458 .pickup-location .tourmaster-tail {
    font-weight: 600 !important;
    color: #111827 !important;
}

/* Date + time table */
body.page-id-6458 .tourmaster-tour-booking-bar-summary table {
    width: calc(100% - 28px) !important;
    margin: 8px 14px !important;
    background: #f8f9fb !important;
    border-radius: 8px !important;
    border-collapse: separate !important;
    border: none !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-summary table td {
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    border: none !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-summary table i {
    color: #9ca3af !important;
    margin-right: 4px !important;
}

/* People wrap — gizle (zaten bilgi table'da ve breakdown'da) */
body.page-id-6458 .tourmaster-tour-booking-bar-summary-people-wrap {
    display: none !important;
}

/* Price breakdown */
body.page-id-6458 .tourmaster-price-breakdown {
    padding: 0 14px !important;
    margin: 0 !important;
    border-top: 1px solid #f1f5f9 !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    border-bottom: none !important;
    font-family: 'DM Sans', sans-serif !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-head {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-head small {
    font-size: 12px !important;
    color: #9ca3af !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-tail {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-price-detail {
    font-size: 12px !important;
    color: #9ca3af !important;
}
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
/* Dashed line kaldır */
body.page-id-6458 .tourmaster-price-breakdown-base-price .tourmaster-tail::before,
body.page-id-6458 .tourmaster-price-breakdown-base-price-wrap::after {
    display: none !important;
    border: none !important;
}
body.page-id-6458 .tourmaster-price-breakdown .clear {
    display: none !important;
}

/* ============================================================
   SIDEBAR PAYMENT — Pills hidden, subtotal + summary visible
   ============================================================ */

/* Total price wrapper — SHOW (was hidden by JS before) */
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap {
    display: block !important;
    padding: 10px 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Hide: deposit pills, "choose how to pay" label, cancellation link */
body.page-id-6458 .tourmaster-tour-booking-bar-deposit-option,
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap > p {
    display: none !important;
}

/* Cancellation policy link — hide */
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap > p:last-of-type {
    display: none !important;
}

/* Subtotal container (first-of-type) — flex, styled */
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-container:first-of-type {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 2px 0 !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* All other price rows — HIDE (shown in blue payment box instead) */
body.page-id-6458 .pay-online-price-container,
body.page-id-6458 .pay-cash-price-container,
body.page-id-6458 .pay-full-price-transaction-charge-container {
    display: none !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #9ca3af !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-total-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap .clear {
    display: none !important;
}

/* PRICE BREAKDOWN label — CSS pseudo element */
body.page-id-6458 .tourmaster-price-breakdown::before {
    content: 'PRICE BREAKDOWN' !important;
    display: block !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.8px !important;
    color: #9ca3af !important;
    padding: 8px 0 4px !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* ============================================================
   COMPACT STACK SIDEBAR
   ============================================================ */

body.page-id-6458 .tourmaster-tour-booking-bar-outer {
    display: none !important;
}

.bfl-cs-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-cs-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
.bfl-cs-tour { padding: 16px !important; }
.bfl-cs-tour-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    line-height: 1.35 !important;
}
.bfl-cs-tour-tags {
    display: flex !important;
    gap: 6px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
}
.bfl-cs-tag {
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}
.bfl-cs-tag-blue { background: #eff6ff !important; color: #2563eb !important; }
.bfl-cs-tag-green { background: #ecfdf5 !important; color: #059669 !important; }

.bfl-cs-info-row {
    display: flex !important;
    gap: 8px !important;
}
.bfl-cs-info-card {
    flex: 1 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    padding: 14px 8px !important;
    text-align: center !important;
}
.bfl-cs-info-emoji {
    font-size: 28px !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
}
/* Force Twemoji icon sizes — override everything */
.bfl-cs-info-emoji img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    display: block !important;
    margin: 0 auto !important;
}
.bfl-cs-pickup-icon img {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    display: block !important;
}
/* Kill any WordPress emoji imgs that sneak in */
.bfl-cs-info-emoji img.emoji,
.bfl-cs-pickup-icon img.emoji {
    display: none !important;
}
.bfl-cs-info-main {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-top: 6px !important;
}
.bfl-cs-info-green { color: #059669 !important; }
.bfl-cs-info-sub {
    font-size: 10px !important;
    color: #9ca3af !important;
    margin-top: 2px !important;
}

.bfl-cs-pickup {
    padding: 12px 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.bfl-cs-pickup-icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}
.bfl-cs-pickup-text { font-size: 13px !important; font-weight: 600 !important; color: #111827 !important; }

.bfl-cs-price { padding: 16px !important; }
.bfl-cs-price-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    padding: 4px 0 !important;
}
.bfl-cs-price-val { font-weight: 700 !important; color: #111827 !important; }
.bfl-cs-price-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 10px !important;
    padding-top: 10px !important;
    border-top: 2px solid #111827 !important;
}
.bfl-cs-price-total-label {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.bfl-cs-price-total-val {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

@media (max-width: 959px) {
    .bfl-cs-sidebar { display: none !important; }
}

/* Transaction charge — küçük, gri */
body.page-id-6458 .pay-full-price-container .tourmaster-tour-booking-bar-total-price-title {
    font-size: 12px !important;
    color: #9ca3af !important;
    font-style: italic !important;
}
body.page-id-6458 .pay-full-price-container .tourmaster-tour-booking-bar-total-price {
    font-size: 13px !important;
    color: #9ca3af !important;
}

/* Pay online — yeşil vurgu */
body.page-id-6458 .pay-online-price-container .tourmaster-tour-booking-bar-total-price-title {
    font-weight: 700 !important;
    color: #111827 !important;
}
body.page-id-6458 .pay-online-price-container .tourmaster-tour-booking-bar-total-price {
    color: #059669 !important;
    font-weight: 800 !important;
}

/* Pay on tour day */
body.page-id-6458 .pay-cash-price-container .tourmaster-tour-booking-bar-total-price-title {
    font-weight: 600 !important;
}

/* Cancellation policy link */
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap > a[href*="cancellation"],
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap a {
    font-size: 13px !important;
    color: #2563eb !important;
    text-decoration: none !important;
    font-family: 'DM Sans', sans-serif !important;
    display: inline-block !important;
    margin-top: 8px !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-total-price-wrap a:hover {
    text-decoration: underline !important;
}

/* ============================================================
   DESKTOP LAYOUT — Side by Side
   ============================================================ */

/* Mobile default: sidebar üstte, tam genişlik */
body.page-id-6458 .tourmaster-page-content {
    display: flex !important;
    flex-direction: column !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding: 16px !important;
    gap: 16px !important;
}
body.page-id-6458 .tourmaster-tour-booking-bar-wrap {
    order: -1 !important;
    width: 100% !important;
    margin: 0 !important;
}
body.page-id-6458 .tourmaster-tour-payment-content,
body.page-id-6458 #tourmaster-tour-payment-content {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Desktop: side by side */
@media (min-width: 960px) {
    body.page-id-6458 .tourmaster-page-content {
        flex-direction: row !important;
        max-width: 960px !important;
        align-items: flex-start !important;
        gap: 24px !important;
        padding: 24px !important;
    }
    body.page-id-6458 .tourmaster-tour-payment-content,
    body.page-id-6458 #tourmaster-tour-payment-content {
        flex: 1 !important;
        order: 0 !important;
        min-width: 0 !important;
    }
    body.page-id-6458 .tourmaster-tour-booking-bar-wrap {
        width: 340px !important;
        min-width: 340px !important;
        order: 1 !important;
        position: sticky !important;
        top: 70px !important;
    }
}

/* ============================================================
   MOBILE COLLAPSED SUMMARY
   ============================================================ */

.bfl-bk-collapsed {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-collapsed-left {
    flex: 1 !important;
    min-width: 0 !important;
}
.bfl-bk-collapsed-name {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.bfl-bk-collapsed-meta {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 2px !important;
}
.bfl-bk-collapsed-right {
    text-align: right !important;
    margin-left: 12px !important;
    flex-shrink: 0 !important;
}
.bfl-bk-collapsed-price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
.bfl-bk-collapsed-toggle {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #2563eb !important;
    margin-top: 2px !important;
}

/* Expanded details — hidden by default, toggled via class */
.bfl-bk-expanded {
    display: none !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0 16px 14px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-expanded.bfl-open {
    display: block !important;
}
.bfl-bk-exp-pickup {
    padding: 8px 10px !important;
    background: #f8f9fb !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    color: #4b5563 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}
.bfl-bk-exp-pickup-time {
    font-weight: 700 !important;
    color: #059669 !important;
}
.bfl-bk-exp-breakdown {
    margin-top: 0 !important;
}
.bfl-bk-exp-row {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #4b5563 !important;
    padding: 3px 0 !important;
}
.bfl-bk-exp-val {
    font-weight: 600 !important;
    color: #111827 !important;
}
.bfl-bk-exp-total {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 6px !important;
    margin-top: 4px !important;
}
.bfl-bk-exp-total span:first-child {
    font-weight: 700 !important;
    color: #111827 !important;
}
.bfl-bk-exp-total .bfl-bk-exp-val {
    font-weight: 800 !important;
    font-size: 15px !important;
}

/* ============================================================
   MOBILE FIXED BOTTOM BAR
   ============================================================ */

.bfl-bk-bottom {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 10px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05) !important;
}
.bfl-bk-bottom-info {
    min-width: 70px !important;
}
.bfl-bk-bottom-label {
    font-size: 11px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
}
.bfl-bk-bottom-amt {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}
.bfl-bk-bottom-btn {
    flex: 1 !important;
    height: 48px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: 'DM Sans', sans-serif !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(37,99,235,0.25) !important;
}
.bfl-bk-bottom-btn:active {
    background: #1d4ed8 !important;
}

/* ============================================================
   DESKTOP — hide mobile-only elements
   ============================================================ */

@media (min-width: 960px) {
    .bfl-bk-collapsed,
    .bfl-bk-expanded,
    .bfl-bk-bottom {
        display: none !important;
    }
}

/* Mobile — hide sidebar (collapsed summary replaces it), add bottom padding */
@media (max-width: 959px) {
    body.page-id-6458 .tourmaster-tour-booking-bar-wrap {
        display: none !important;
    }
    body.page-id-6458 .card-form .input-wrap {
        padding-bottom: 80px !important;
    }
}

/* ============================================================
   PAYMENT RADIO CARDS — Sol form alanında
   ============================================================ */

.bfl-bk-payment-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    margin-bottom: 10px !important;
    font-family: 'DM Sans', sans-serif !important;
}

.bfl-bk-payment-cards {
    margin: 16px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.bfl-bk-pay-card {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    transition: all 0.15s !important;
    background: #ffffff !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-pay-card:hover {
    border-color: #bfdbfe !important;
    background: #fafbfc !important;
}

/* Selected */
.bfl-bk-pay-card-sel {
    border-color: #2563eb !important;
    background: #eff6ff !important;
}

/* Radio circle */
.bfl-bk-pay-card-radio {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 50% !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.bfl-bk-pay-card-sel .bfl-bk-pay-card-radio {
    border-color: #2563eb !important;
}
.bfl-bk-pay-card-dot {
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #2563eb !important;
    transform: scale(0) !important;
    transition: transform 0.1s !important;
}
.bfl-bk-pay-card-sel .bfl-bk-pay-card-dot {
    transform: scale(1) !important;
}

/* Content */
.bfl-bk-pay-card-content {
    flex: 1 !important;
    min-width: 0 !important;
}
.bfl-bk-pay-card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.bfl-bk-pay-card-desc {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin-top: 1px !important;
}
.bfl-bk-pay-card-fee {
    font-size: 11px !important;
    color: #9ca3af !important;
    margin-top: 2px !important;
    font-style: italic !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Amount */
.bfl-bk-pay-card-amount {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    white-space: nowrap !important;
    margin-left: auto !important;
    align-self: center !important;
}

/* Badges */
.bfl-bk-pay-badge-green {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.bfl-bk-pay-badge-amber {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    background: #fffbeb !important;
    color: #d97706 !important;
}

/* ============================================================
   TRUST FOOTER — below Complete Payment button
   ============================================================ */

.bfl-bk-trust {
    padding: 16px 0 20px !important;
    text-align: center !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-trust-icons {
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
    margin-bottom: 8px !important;
}
.bfl-bk-trust-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #9ca3af !important;
}
.bfl-bk-trust-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: #f8f9fb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.bfl-bk-trust-text {
    font-size: 11px !important;
    color: #9ca3af !important;
    margin-top: 4px !important;
}

/* Sidebar payment bölümü JS tarafından gizlenir (createPaymentRadioCards başarılı olunca) */

/* ============================================================
   VALIDATION — Red borders only AFTER submit attempt
   ============================================================ */

/* Default: jp-card-invalid red border'ı GIZLE */
body.page-id-6458 input.jp-card-invalid,
body.page-id-6458 .card-form input.jp-card-invalid,
body.page-id-6458 .input-wrap input.jp-card-invalid,
body.page-id-6458 .input-group input.jp-card-invalid {
    border-color: #e2e8f0 !important;
}

/* Submit denendiğinde (JS body'ye class ekler) — red border göster */
body.page-id-6458.bfl-submitted input.jp-card-invalid,
body.page-id-6458.bfl-submitted .card-form input.jp-card-invalid,
body.page-id-6458.bfl-submitted .input-wrap input.jp-card-invalid,
body.page-id-6458.bfl-submitted .input-group input.jp-card-invalid,
body.page-id-6458.bfl-submitted input:invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08) !important;
}

/* Focus — her zaman mavi */
body.page-id-6458 input.jp-card-invalid:focus,
body.page-id-6458 .card-form input.jp-card-invalid:focus,
body.page-id-6458.bfl-submitted input.jp-card-invalid:focus,
body.page-id-6458.bfl-submitted .card-form input.jp-card-invalid:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.08) !important;
}

/* ============================================================
   PHONE FIELD — ITI Wrapper, Dropdown, Validation
   ============================================================ */
body.page-id-6458 .card-form {
    overflow: visible !important;
}

/* --- Phone field — input keeps its own border (same as Name/Email) --- */
body.page-id-6458 .iti {
    border-radius: 10px !important;
    overflow: visible;
}

/* Invalid state — red border on the input itself */
body.page-id-6458 #phone.bfl-phone-invalid {
    border-color: #dc2626 !important;
}


/* --- Country dropdown — compact height, nicer styling --- */
body.page-id-6458 .iti__country-list {
    max-height: 220px !important;
    overflow-y: auto !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
    border: 1px solid #e2e8f0 !important;
}
body.page-id-6458 .iti__country {
    padding: 10px 12px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
}
body.page-id-6458 .iti__country.iti__highlight {
    background-color: #eff6ff !important;
}
body.page-id-6458 .iti__divider {
    border-bottom: 1px solid #e2e8f0 !important;
    margin: 4px 0 !important;
}

/* --- Error message — red info box --- */
body.page-id-6458 .bfl-phone-error {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 8px !important;
    padding: 10px 12px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #dc2626 !important;
    line-height: 1.4 !important;
    animation: bfl-shake 0.3s ease-in-out !important;
}
body.page-id-6458 .bfl-phone-error svg {
    flex-shrink: 0 !important;
    margin-top: 1px !important;
    width: 14px !important;
    height: 14px !important;
}
@keyframes bfl-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ============================================================
   CARD SECTION — Accepted Cards + Brand Detection
   ============================================================ */

/* Accepted cards strip */
.bfl-bk-accepted-cards {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-accepted-label {
    font-size: 12px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    margin-right: 2px !important;
}
.bfl-bk-card-brand {
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    background: #f8f9fb !important;
    color: #9ca3af !important;
    letter-spacing: 0.3px !important;
}
.bfl-bk-brand-visa {
    background: #1a1f71 !important;
    color: #ffffff !important;
}
.bfl-bk-brand-mc {
    background: #eb001b !important;
    color: #ffffff !important;
}
.bfl-bk-brand-amex {
    background: #006fcf !important;
    color: #ffffff !important;
}
.bfl-bk-brand-troy {
    background: #f8f9fb !important;
    color: #4b5563 !important;
}

/* Card number input wrapper */
.bfl-bk-card-input-wrap {
    position: relative !important;
}
.bfl-bk-card-input-wrap input {
    padding-right: 50px !important;
}

/* Detected brand logo (inside input, right side) */
.bfl-bk-detected-brand {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 20px !important;
    border-radius: 3px !important;
    display: none !important;
    pointer-events: none !important;
}
.bfl-bk-detected-brand[data-brand="visa"] {
    display: block !important;
    background: #1a1f71 !important;
}
.bfl-bk-detected-brand[data-brand="visa"]::after {
    content: 'VISA' !important;
    color: white !important;
    font-size: 8px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-detected-brand[data-brand="mastercard"] {
    display: block !important;
    background: #eb001b !important;
    overflow: hidden !important;
}
.bfl-bk-detected-brand[data-brand="mastercard"]::after {
    content: '' !important;
    position: absolute !important;
    right: -4px !important;
    top: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #f79e1b !important;
    opacity: 0.8 !important;
}
.bfl-bk-detected-brand[data-brand="amex"] {
    display: block !important;
    background: #006fcf !important;
}
.bfl-bk-detected-brand[data-brand="amex"]::after {
    content: 'AMEX' !important;
    color: white !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-detected-brand[data-brand="troy"] {
    display: block !important;
    background: #f8f9fb !important;
    border: 1px solid #e2e8f0 !important;
}
.bfl-bk-detected-brand[data-brand="troy"]::after {
    content: 'TROY' !important;
    color: #4b5563 !important;
    font-size: 7px !important;
    font-weight: 800 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    font-family: 'DM Sans', sans-serif !important;
}

/* Hide Card.js own logo and old card-type-icon (we use bfl-bk-detected-brand) */
body.page-id-6458 .jp-card-logo,
body.page-id-6458 .card-type-icon {
    display: none !important;
}

/* ============================================================
   PAY LATER — Info Box
   ============================================================ */
.bfl-bk-paylater-info {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 10px !important;
    padding: 16px !important;
    text-align: center !important;
    margin: 16px 0 !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-bk-paylater-emoji {
    font-size: 24px !important;
    margin-bottom: 6px !important;
}
.bfl-bk-paylater-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin-bottom: 4px !important;
}
.bfl-bk-paylater-desc {
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* Old "You're booking an excursion" text — always hidden */
body.page-id-6458 .no-payment-section {
    display: none !important;
}

/* ============================================================
   SUBMIT BUTTON — text centering fix
   ============================================================ */
body.page-id-6458 button.button-sub {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 0 16px !important;
}

/* ============================================================
   CONFIRMATION PAGE (step=4) — BFL Redesign
   @version 1.20.1
   ============================================================ */

/* --- Hide original TourMaster elements when BFL redesign is active --- */
.bfl-confirmation-active .tourmaster-payment-complete-head,
.bfl-confirmation-active .tourmaster-payment-complete-icon,
.bfl-confirmation-active .tourmaster-payment-complete-thank-you,
.bfl-confirmation-active .tourmaster-payment-complete-content,
.bfl-confirmation-active .tourmaster-payment-complete-button,
.bfl-confirmation-active .tourmaster-payment-complete-bottom-text,
.bfl-confirmation-active .tourmaster-payment-error-details,
.bfl-confirmation-active .tourmaster-payment-complete-discover-more {
    display: none !important;
}

/* Hide original sidebar when BFL redesign replaces it */
.bfl-confirmation-active .tourmaster-tour-booking-bar-summary {
    display: none !important;
}

/* Hide entire sidebar column on confirmation page */
body.bfl-confirmation-active .tourmaster-tour-booking-bar-wrap {
    display: none !important;
}

/* Remove gray background + padding on confirmation page */
body.bfl-confirmation-active .tourmaster-page-wrapper,
body.bfl-confirmation-active .tourmaster-template-wrapper,
body.bfl-confirmation-active .tourmaster-page-content,
body.bfl-confirmation-active .tourmaster-tour-payment-content,
body.bfl-confirmation-active .tourmaster-payment-complete-wrap,
body.bfl-confirmation-active .tourmaster-payment-complete-content-wrap {
    background: #ffffff !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Make content full width (sidebar removed) */
body.bfl-confirmation-active .tourmaster-tour-payment-content {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* Hide timer + topbar on confirmation page */
body.bfl-confirmation-active .bfl-bk-timer,
body.bfl-confirmation-active .bfl-bk-topbar {
    display: none !important;
}

/* Hide the injected centering style from error variant */
.bfl-confirmation-active + style,
.bfl-confirmation-active ~ style {
    display: none !important;
}

/* --- Wrapper --- */
.bfl-confirm-wrap {
    max-width: 480px !important;
    margin: 0 auto !important;
    padding: 16px 16px 24px !important;
    font-family: 'DM Sans', sans-serif !important;
    color: #111827 !important;
    -webkit-font-smoothing: antialiased !important;
}

/* --- Status Icon Circle --- */
.bfl-confirm-icon {
    width: 72px !important;
    height: 72px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 20px !important;
}
.bfl-confirm-icon svg {
    width: 32px !important;
    height: 32px !important;
}
.bfl-confirm-icon--success {
    background: #ecfdf5 !important;
}
.bfl-confirm-icon--success svg {
    color: #059669 !important;
}
.bfl-confirm-icon--deposit {
    background: #eff6ff !important;
}
.bfl-confirm-icon--deposit svg {
    color: #2563eb !important;
}
.bfl-confirm-icon--paylater {
    background: #fffbeb !important;
}
.bfl-confirm-icon--paylater svg {
    color: #d97706 !important;
}
.bfl-confirm-icon--error {
    background: #fef2f2 !important;
}
.bfl-confirm-icon--error svg {
    color: #dc2626 !important;
}

/* --- Heading & Subheading --- */
.bfl-confirm-heading {
    font-size: 24px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin: 0 0 8px !important;
    line-height: 1.2 !important;
    color: #111827 !important;
}
.bfl-confirm-sub {
    font-size: 15px !important;
    font-weight: 400 !important;
    text-align: center !important;
    color: #6b7280 !important;
    margin: 0 0 28px !important;
    line-height: 1.5 !important;
}

/* --- Tour Card --- */
.bfl-confirm-tour-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 16px !important;
}
.bfl-confirm-tour-img {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    display: block !important;
}
.bfl-confirm-tour-img-placeholder {
    width: 100% !important;
    height: 140px !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.bfl-confirm-tour-img-placeholder svg {
    width: 40px !important;
    height: 40px !important;
    color: rgba(255,255,255,0.5) !important;
}
.bfl-confirm-tour-body {
    padding: 16px !important;
}
.bfl-confirm-tour-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}
.bfl-confirm-tour-package {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin: 0 0 14px !important;
}
.bfl-confirm-tour-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    border-top: 1px solid #f3f4f6 !important;
    padding-top: 12px !important;
}
.bfl-confirm-tour-detail {
    text-align: center !important;
    padding: 0 4px !important;
}
.bfl-confirm-tour-detail:not(:last-child) {
    border-right: 1px solid #f3f4f6 !important;
}
.bfl-confirm-tour-detail-label {
    font-size: 12px !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}
.bfl-confirm-tour-detail-value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #111827 !important;
}

/* --- Payment Summary Card --- */
.bfl-confirm-payment-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 16px !important;
}
.bfl-confirm-payment-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}
.bfl-confirm-payment-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

/* Status pills */
.bfl-confirm-pill {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    letter-spacing: 0.3px !important;
}
.bfl-confirm-pill--paid {
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.bfl-confirm-pill--deposit {
    background: #eff6ff !important;
    color: #2563eb !important;
}
.bfl-confirm-pill--paylater {
    background: #fffbeb !important;
    color: #d97706 !important;
}

/* Price rows */
.bfl-confirm-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    font-size: 14px !important;
}
.bfl-confirm-price-label {
    color: #6b7280 !important;
    font-weight: 400 !important;
}
.bfl-confirm-price-value {
    color: #111827 !important;
    font-weight: 600 !important;
}
.bfl-confirm-price-row--total {
    border-top: 1px solid #e5e7eb !important;
    margin-top: 8px !important;
    padding-top: 12px !important;
}
.bfl-confirm-price-row--total .bfl-confirm-price-label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
.bfl-confirm-price-row--total .bfl-confirm-price-value {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

/* --- Cash Info Box (deposit / paylater) --- */
.bfl-confirm-cash-box {
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
.bfl-confirm-cash-box svg {
    flex-shrink: 0 !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 1px !important;
}
.bfl-confirm-cash-box--deposit {
    background: #eff6ff !important;
    border: 1px solid #bfdbfe !important;
}
.bfl-confirm-cash-box--deposit svg {
    color: #2563eb !important;
}
.bfl-confirm-cash-box--paylater {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
}
.bfl-confirm-cash-box--paylater svg {
    color: #d97706 !important;
}
.bfl-confirm-cash-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #374151 !important;
}
.bfl-confirm-cash-text strong {
    font-weight: 700 !important;
}

/* --- What Happens Next card --- */
.bfl-confirm-next-card {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
}
.bfl-confirm-next-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 14px !important;
}
.bfl-confirm-next-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}
.bfl-confirm-next-step:last-child {
    margin-bottom: 0 !important;
}
.bfl-confirm-next-num {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    background: #e5e7eb !important;
    color: #374151 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1px !important;
}
.bfl-confirm-next-text {
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* --- Buttons --- */
.bfl-confirm-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px !important;
    border-radius: 10px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    transition: opacity 0.15s !important;
    box-sizing: border-box !important;
}
.bfl-confirm-btn:hover {
    opacity: 0.9 !important;
}
.bfl-confirm-btn--wa {
    background: #25D366 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}
.bfl-confirm-btn--wa svg {
    width: 20px !important;
    height: 20px !important;
}
.bfl-confirm-btn--home {
    background: #f3f4f6 !important;
    color: #374151 !important;
    margin-bottom: 10px !important;
}
.bfl-confirm-btn--retry {
    background: #2563eb !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}
.bfl-confirm-btn--retry svg {
    width: 18px !important;
    height: 18px !important;
}

/* --- Booking Reference --- */
.bfl-confirm-ref {
    text-align: center !important;
    font-size: 13px !important;
    color: #9ca3af !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}
.bfl-confirm-ref strong {
    color: #6b7280 !important;
    font-weight: 600 !important;
}

/* --- Error-specific --- */
.bfl-confirm-error-box {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    font-size: 14px !important;
    color: #92400e !important;
    line-height: 1.5 !important;
}
.bfl-confirm-error-box strong {
    font-weight: 700 !important;
}

.bfl-confirm-options-card {
    background: #f9fafb !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
}
.bfl-confirm-options-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 14px !important;
}
.bfl-confirm-options-step {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}
.bfl-confirm-options-step:last-child {
    margin-bottom: 0 !important;
}
.bfl-confirm-options-num {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 50% !important;
    background: #fde68a !important;
    color: #92400e !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 1px !important;
}
.bfl-confirm-options-text {
    font-size: 14px !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

/* --- Related Tours restyle --- */
.bfl-confirmation-active .tourmaster-payment-complete-related-tours-section {
    max-width: 480px !important;
    margin: 8px auto 0 !important;
    padding: 0 20px 24px !important;
    font-family: 'DM Sans', sans-serif !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-section-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 14px !important;
    text-align: center !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-related-tours-holder {
    display: flex !important;
    gap: 12px !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

/* Card container */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-grid {
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    margin-bottom: 0 !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-grid-inner {
    display: flex !important;
    flex-direction: column !important;
}

/* Thumbnail — consistent aspect ratio */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-thumbnail {
    margin-bottom: 0 !important;
    aspect-ratio: 3 / 2 !important;
    flex-shrink: 0 !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Content area — padded */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-content-wrap {
    padding: 10px 12px 12px !important;
    position: relative !important;
}

/* Title — compact, 2-line clamp */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    padding-right: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-title a {
    color: #111827 !important;
    text-decoration: none !important;
}

/* Price — static flow (not absolute) so it doesn't overlap title */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-price-wrap {
    position: static !important;
    text-align: left !important;
    margin-top: 4px !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.2 !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-price .tourmaster-head {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    display: block !important;
    margin-bottom: 1px !important;
}

/* Rating / Stars */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-rating {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-rating i {
    font-size: 11px !important;
    margin-left: 1px !important;
    color: #f59e0b !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-rating i:first-child {
    margin-left: 0 !important;
}
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-rating-text {
    font-size: 11px !important;
    color: #6b7280 !important;
    margin-left: 4px !important;
}

/* Hide tour info (duration etc.) — too verbose for small cards */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-info-wrap {
    display: none !important;
}

/* Hide empty rating placeholder */
.bfl-confirmation-active .tourmaster-payment-complete-tour-card .tourmaster-tour-rating-empty {
    display: none !important;
}

/* --- Fix page layout for confirmation --- */
.bfl-confirmation-active {
    text-align: left !important;
}

/* Override TourMaster's inline centering style for error pages — scoped to step=4 only */
body.page-id-6458:has(.bfl-confirmation-active) .tourmaster-page-content.tourmaster-item-pdlr.clearfix {
    display: block !important;
}

/* --- Mobile responsive --- */
@media (max-width: 600px) {
    .bfl-confirm-wrap {
        padding: 24px 16px 20px !important;
    }
    .bfl-confirm-heading {
        font-size: 22px !important;
    }
    .bfl-confirm-tour-img,
    .bfl-confirm-tour-img-placeholder {
        height: 120px !important;
    }
    .bfl-confirmation-active .tourmaster-payment-complete-related-tours-holder {
        flex-direction: column !important;
    }
}

/* ============================================
   PLUGIN MIGRATION — ex-Simple Custom CSS & JS
   Migrated: 2026-04-14 (inline-20910)
   ============================================ */

/* --- 20910: Booking/Payment page overrides --- */
.tourmaster-payment-step-wrap .tourmaster-payment-step-item {
	padding: 10px 50px 10px 0px;
}

.alert {
	padding: 8px;
}

.tourmaster-template-payment .tourmaster-tour-booking-bar-wrap .tourmaster-tour-booking-bar-outer .tourmaster-tour-booking-bar-inner .tourmaster-tour-booking-bar-summary .tourmaster-tour-booking-bar-instantly-confirmed-label {
	display: none;
}
.tourmaster-template-payment .tourmaster-tour-booking-bar-wrap .tourmaster-tour-booking-bar-outer .tourmaster-tour-booking-bar-inner .tourmaster-tour-booking-bar-summary.tourmaster-tour-booking-bar-summary-with-cover {
	padding-top: 190px;
}
.tourmaster-template-payment .tourmaster-tour-booking-bar-wrap .tourmaster-tour-booking-bar-outer .tourmaster-tour-booking-bar-inner .tourmaster-tour-booking-bar-summary table tbody tr td {
    padding: 0px;
}
.tourmaster-tour-booking-bar-summary-people-wrap {
	padding-top: 0px;
}

.tourmaster-price-breakdown .tourmaster-price-breakdown-base-price-wrap {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.tourmaster-container #tourmaster-payment-step-wrap .alert {
    font-size: 13px;
}

@media only screen and (max-width: 999px) {
    .tourmaster-template-payment .tourmaster-page-content {
        padding-bottom: 150px;
	}
}

.tourmaster-tour-booking-bar-total-price-wrap {
    padding: 0px 15px 10px;
}
