.fv-checkout-page {
    padding: 24px 0 40px;
}

.fv-checkout-page .fv-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    align-items: start;
}

.fv-checkout-page .fv-checkout-main {
    min-width: 0;
}

/* ── Sticky Sidebar ──────────────────────────────── */

.fv-checkout-page .fv-checkout-sidebar {
    position: sticky;
    top: 40px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

.fv-checkout-page .fv-checkout-summary {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

/* ── Sections ─────────────────────────────────────── */

.fv-checkout-page .fv-checkout-section {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .04);
}

.fv-checkout-page .fv-checkout-head {
    padding: 16px 20px;
    border-bottom: 1px solid #eceff4;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}

.fv-checkout-page .fv-checkout-head .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #6366f1;
}

.fv-checkout-page .fv-checkout-body {
    padding: 18px 20px;
}

/* ── Form Fields ──────────────────────────────────── */

.fv-checkout-page .fv-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fv-checkout-page .fv-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fv-checkout-page .fv-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fv-checkout-page .fv-field-label .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: #94a3b8;
}

.fv-checkout-page .fv-input {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    min-height: 38px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.fv-checkout-page .fv-input:focus {
    outline: none;
    border-color: #6366f1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
}

.fv-checkout-page .fv-input::placeholder {
    color: #94a3b8;
}

.fv-checkout-page .fv-textarea {
    resize: vertical;
    min-height: 58px;
}

.fv-checkout-page .fv-note-field {
    margin-top: 10px;
}

/* ── Additional Passengers ───────────────────────── */
.fv-checkout-page .fv-add-passenger-wrap {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.fv-checkout-page .fv-additional-passenger-box {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
}

.fv-checkout-page .fv-ap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fv-checkout-page .fv-ap-header strong {
    color: #475569;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fv-checkout-page .fv-btn-remove-ap {
    background: #fee2e2;
    border: none;
    color: #ef4444;
    cursor: pointer;
    border-radius: 6px;
    width: 24px;
    height: 24px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.fv-checkout-page .fv-btn-remove-ap:hover {
    background: #ef4444;
    color: #fff;
}

/* ── Payment Options ──────────────────────────────── */

.fv-checkout-page .fv-payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

.fv-checkout-page .fv-payment-option:hover {
    border-color: #c7d2fe;
    background: #f8fafc;
}

.fv-checkout-page .fv-payment-option:has(input:checked) {
    border-color: #6366f1;
    background: #eef2ff;
}

.fv-checkout-page .fv-payment-option .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #6366f1;
}

.fv-checkout-page .fv-payment-option small {
    color: #dc2626;
    font-weight: 600;
    margin-left: auto;
    font-size: 12px;
}

/* ── Extras Grid ─────────────────────────────────── */

.fv-checkout-page .fv-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fv-checkout-page .fv-extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #e8ecf2;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
    user-select: none;
}

.fv-checkout-page .fv-extra-item:hover {
    border-color: #bcc4d0;
    background: #f8fafc;
}

.fv-checkout-page .fv-extra-item input[type="checkbox"] {
    display: none;
}

.fv-checkout-page .fv-extra-item input[type="checkbox"]:checked~.fv-extra-icon {
    background: #10b981;
    color: #fff;
}

.fv-checkout-page .fv-extra-item input[type="checkbox"]:checked~.fv-extra-info .fv-extra-name {
    color: #10b981;
    font-weight: 600;
}

.fv-checkout-page .fv-extra-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    transition: background .2s, color .2s;
}

.fv-checkout-page .fv-extra-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 22px;
}

.fv-checkout-page .fv-extra-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fv-checkout-page .fv-extra-name {
    font-weight: 500;
    font-size: 14px;
    color: #1e293b;
    transition: color .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fv-checkout-page .fv-extra-price {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

.fv-checkout-page .fv-extra-price.fv-extra-free {
    color: #94a3b8;
    font-weight: 500;
}

.fv-checkout-page .fv-extra-item:has(input:checked) {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 0 0 1px #10b981 inset;
}

/* ── Tip Section ─────────────────────────────────── */

.fv-checkout-page .fv-tip-desc {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 14px;
}

.fv-checkout-page .fv-tip-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fv-checkout-page .fv-tip-btn {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.fv-checkout-page .fv-tip-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.fv-checkout-page .fv-tip-btn span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 10px 18px;
    border: 2px solid #e2e7ee;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #fff;
    transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
}

.fv-checkout-page .fv-tip-btn:hover span {
    border-color: #bcc4d0;
    background: #f8fafc;
}

.fv-checkout-page .fv-tip-btn input[type="radio"]:checked+span {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #b45309;
    box-shadow: 0 0 0 1px #f59e0b inset;
}

.fv-checkout-page .fv-tip-custom-wrap {
    margin-top: 10px;
    max-width: 200px;
}

/* ── Summary ──────────────────────────────────────── */

.fv-checkout-page .fv-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

.fv-checkout-page .fv-summary-row strong {
    color: #1e293b;
    font-weight: 600;
}

.fv-checkout-page .fv-summary-grand {
    border-top: 2px solid #e2e7ee;
    padding-top: 12px;
    margin-top: 6px;
}

.fv-checkout-page .fv-summary-grand span {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.fv-checkout-page .fv-summary-grand strong {
    font-size: 20px;
    color: #059669;
    font-weight: 800;
}

/* ── Submit Button ────────────────────────────────── */

.fv-checkout-page #fv-checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
}

.fv-checkout-page #fv-checkout-submit .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 1100px) {
    .fv-checkout-page .fv-checkout-layout {
        grid-template-columns: 1fr;
    }

    .fv-checkout-page .fv-checkout-sidebar {
        position: static;
        max-height: none;
    }

    .fv-checkout-page .fv-grid-2,
    .fv-checkout-page .fv-extras-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 600px) and (max-width: 1100px) {
    .fv-checkout-page .fv-extras-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fv-checkout-page .fv-grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}