/* ==========================================================================
   GOAT BALI CYCLING - BOOK TOUR PAGE REDESIGN
   ========================================================================== */

:root {
    --goat-forest: #0d2818;
    --goat-forest-rgb: 13, 40, 24;
    --goat-emerald: #01A193;
    --goat-emerald-hover: #00877a;
    --goat-gold: #FE8800;
    --goat-gold-hover: #e07700;
    --goat-bg-subtle: #f8faf9;
    --goat-border: rgba(1, 161, 147, 0.14);
    --goat-shadow-card: 0 12px 35px rgba(13, 40, 24, 0.06);
    --font-heading: 'Outfit', sans-serif;
}

html, body {
    overflow-x: clip !important;
}

/* --------------------------------------------------------------------------
   HERO BANNER
-------------------------------------------------------------------------- */
.booking-hero-section {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 120px 0 60px 0;
    color: #ffffff;
    overflow: hidden;
    background-color: #0d2818;
}

.page-hero-carousel {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-carousel .owl-stage-outer,
.page-hero-carousel .owl-stage,
.page-hero-carousel .owl-item {
    height: 100%;
}

.page-hero-slide {
    width: 100%;
    height: 100%;
    min-height: 380px;
    background-position: center 30%;
    background-size: cover;
    background-repeat: no-repeat;
}

.booking-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0.60) 0%, 
        rgba(0, 0, 0, 0.35) 45%, 
        rgba(0, 0, 0, 0.78) 100%);
    z-index: 2;
    pointer-events: none;
}

.booking-hero-content {
    position: relative;
    z-index: 3;
}

.booking-hero-breadcrumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-hero-breadcrumbs a {
    color: #a3c2b3;
    text-decoration: none;
    transition: color 0.2s;
}

.booking-hero-breadcrumbs a:hover {
    color: #ffffff;
}

.booking-hero-breadcrumbs span {
    color: #ffffff;
}

.booking-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.booking-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.booking-hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 12px;
}

.booking-hero-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 780px;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   BOOKING MAIN LAYOUT
-------------------------------------------------------------------------- */
.booking-page-wrapper {
    background: var(--goat-bg-subtle);
    padding: 50px 0 80px 0;
}

.booking-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 38px;
    border: 1px solid var(--goat-border);
    box-shadow: var(--goat-shadow-card);
}

.booking-step-block {
    margin-bottom: 34px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #e2e8f0;
}

.booking-step-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.booking-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.booking-step-num {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--goat-emerald) 0%, #00877a 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(1, 161, 147, 0.25);
}

.booking-step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--goat-forest);
    margin-bottom: 0;
}

/* Tour Selected Card Highlight */
.selected-tour-preview-card {
    background: #f0fdf9;
    border: 1px solid rgba(1, 161, 147, 0.25);
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.selected-tour-info h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--goat-forest);
    margin-bottom: 4px;
}

.selected-tour-info p {
    font-size: 0.86rem;
    color: #0d9488;
    margin-bottom: 0;
    font-weight: 600;
}

.selected-tour-price-badge {
    text-align: right;
    flex-shrink: 0;
}

.selected-tour-price-badge .amount {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--goat-forest);
    display: block;
    line-height: 1;
}

.selected-tour-price-badge .unit {
    font-size: 0.78rem;
    color: #64748b;
}

/* Package Selection Grid & Interactive Cards */
.package-selection-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.package-card-option {
    display: block;
    position: relative;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.package-card-option:hover {
    border-color: rgba(1, 161, 147, 0.5);
    background: #fbfdfc;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(1, 161, 147, 0.08);
}

.package-card-option.active {
    border-color: var(--goat-emerald);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf9 100%);
    box-shadow: 0 8px 24px rgba(1, 161, 147, 0.16);
    border-width: 2px;
}

.package-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.package-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
}

.package-card-badge.bestseller {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.package-card-badge.southbali {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.package-card-badge.owntransport {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.package-card-price {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--goat-forest);
}

.package-card-price small {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.package-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--goat-forest);
    margin-bottom: 4px;
}

.package-card-desc {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 0;
}

.package-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Custom Input Styling */
.modern-form-group {
    margin-bottom: 20px;
}

.modern-form-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.modern-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.modern-input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.2s;
    z-index: 5;
}

.modern-form-control {
    width: 100%;
    height: 52px;
    padding: 10px 16px 10px 48px;
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.25s ease;
}

.modern-form-control:focus {
    border-color: var(--goat-emerald);
    box-shadow: 0 0 0 4px rgba(1, 161, 147, 0.12);
    outline: none;
}

.modern-form-control:focus ~ .modern-input-icon,
.modern-input-group:focus-within .modern-input-icon {
    color: var(--goat-emerald);
}

/* Adults Number Stepper */
.adults-stepper-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    overflow: hidden;
    height: 52px;
    background: #ffffff;
    transition: border-color 0.2s;
}

.adults-stepper-wrapper:focus-within {
    border-color: var(--goat-emerald);
    box-shadow: 0 0 0 4px rgba(1, 161, 147, 0.12);
}

.stepper-btn {
    width: 48px;
    height: 100%;
    border: none;
    background: #f8fafc;
    color: var(--goat-forest);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.stepper-btn:hover {
    background: #e2e8f0;
    color: var(--goat-emerald);
}

.stepper-input {
    flex-grow: 1;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--goat-forest);
    outline: none;
}

/* Payment Method Radio Cards - Compact */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-radio-label {
    position: relative;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.payment-radio-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-radio-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.payment-radio-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0;
    line-height: 1.2;
}

.payment-radio-sub {
    font-size: 0.68rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.1;
}

.payment-radio-input:checked + .payment-radio-label {
    border-color: var(--goat-emerald);
    background: #f0fdf9;
    box-shadow: 0 2px 10px rgba(1, 161, 147, 0.12);
}

.payment-radio-input:checked + .payment-radio-label .payment-radio-icon {
    background: var(--goat-emerald);
    color: #ffffff;
}

.payment-radio-input:checked + .payment-radio-label .payment-radio-title {
    color: var(--goat-emerald);
}

/* Submit Button & Trust */
.btn-submit-reservation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #01A193 0%, #00877a 100%);
    border: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(1, 161, 147, 0.28);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.btn-submit-reservation:hover:not(:disabled) {
    background: linear-gradient(135deg, #00877a 0%, #0d2818 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(1, 161, 147, 0.35);
}

.btn-submit-reservation:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.booking-guarantee-note {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 575.98px) {
    .btn-submit-reservation {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   STICKY ORDER SUMMARY (SIDEBAR)
-------------------------------------------------------------------------- */
.order-summary-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 92px;
    z-index: 100;
}

@media (min-width: 992px) {
    .order-summary-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 92px;
        z-index: 100;
        max-height: calc(100vh - 105px);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 4px 4px 14px 4px;
        margin: -4px -4px 0 -4px;
        scrollbar-width: thin;
        scrollbar-color: rgba(1, 161, 147, 0.25) transparent;
    }
    .order-summary-sidebar::-webkit-scrollbar {
        width: 4px;
    }
    .order-summary-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    .order-summary-sidebar::-webkit-scrollbar-thumb {
        background: rgba(1, 161, 147, 0.25);
        border-radius: 4px;
    }
    .order-summary-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(1, 161, 147, 0.5);
    }
}

.order-summary-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1.5px solid var(--goat-border);
    box-shadow: var(--goat-shadow-card);
    overflow: hidden;
    margin-bottom: 18px;
}

.order-summary-header {
    background: linear-gradient(135deg, var(--goat-forest) 0%, #16402a 100%);
    color: #ffffff;
    padding: 20px 24px;
    position: relative;
}

.order-summary-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #01A193 0%, #FE8800 100%);
}

.order-summary-header h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
}

.order-summary-header h4 i {
    color: #FE8800 !important;
}

.order-summary-header p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 0;
}

.order-summary-body {
    padding: 20px 24px;
}

.summary-thumb-box {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 14px;
}

.summary-thumb-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.summary-thumb-title {
    font-family: var(--font-heading);
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--goat-forest);
    line-height: 1.3;
    margin-bottom: 3px;
}

.summary-thumb-sub {
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0;
}

.summary-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 8px;
}

.summary-details-row.highlight {
    color: var(--goat-forest);
    font-weight: 600;
}

.summary-details-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 10px 0;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 4px;
}

.summary-total-label {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--goat-forest);
}

.summary-total-amount {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--goat-emerald);
    line-height: 1;
}

.summary-inclusions-box {
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 14px;
}

.summary-inclusions-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.summary-inclusions-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.summary-inclusions-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: #334155;
    margin-bottom: 4px;
}

.summary-inclusions-list li:last-child {
    margin-bottom: 0;
}

.summary-inclusions-list li i {
    color: #16a34a;
    font-size: 0.9rem;
}

/* Sidebar Help Box */
.summary-help-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px;
    border: 1px solid var(--goat-border);
    box-shadow: var(--goat-shadow-card);
    text-align: center;
}

.summary-help-box h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--goat-forest);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.summary-help-box p {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE STYLING
-------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .booking-hero-section {
        padding: 100px 0 50px 0;
        min-height: auto;
    }
    .booking-hero-title {
        font-size: 2.1rem;
    }
    .booking-form-card {
        padding: 24px;
    }
    .order-summary-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .booking-hero-title {
        font-size: 1.7rem;
    }
    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .payment-radio-label {
        padding: 8px 4px;
    }
    .payment-radio-icon {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    .payment-radio-title {
        font-size: 0.72rem;
    }
    .payment-radio-sub {
        font-size: 0.6rem;
    }
    .selected-tour-preview-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .selected-tour-price-badge {
        text-align: left;
    }
}
