/* ============================================================
   Fix91 — Dedicated Services Booking Experience Styles
   Desktop & Mobile Responsive, High-Performance, Brand Aligned
   ============================================================ */

/* ── Page Root & Shell ── */
.booking-page {
    background: #F8F8F9;
    min-height: 100vh;
    padding-bottom: 110px; /* Space for persistent bottom action bar */
    color: #111111;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* Hide standard 5-tab app bar on booking page so booking action bar has full priority */
.booking-page .mobile-bottom-nav {
    display: none !important;
}

.booking-main-container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 16px 20px 40px 20px;
}

/* ── Sticky Top Bar ── */
.booking-top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.booking-top-bar__inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.booking-top-bar__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.booking-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F2F2F4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.booking-back-btn:hover {
    background: #E5E5E8;
    transform: translateX(-2px);
}

.booking-back-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
}

.booking-locality__btn {
    background: none;
    border: none;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    text-align: left;
}

.booking-locality__time {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #111111;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.15;
}

.booking-locality__time .icon-zap {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
    color: var(--fix91-orange, #FF6B00);
    fill: currentColor;
}

.booking-locality__name {
    font-size: 0.75rem;
    color: #666666;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
}

.booking-locality__name .icon-chevron {
    width: 13px;
    height: 13px;
    stroke-width: 2;
    color: #888888;
}

.booking-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.08);
    color: var(--fix91-orange, #FF6B00);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 7px 13px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.booking-help-btn:hover {
    background: rgba(255, 107, 0, 0.16);
}

.booking-help-btn svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}

/* Search Box */
.booking-search-wrap {
    max-width: 1060px;
    margin: 10px auto 0 auto;
}

.booking-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.booking-search-icon {
    position: absolute;
    left: 14px;
    width: 17px;
    height: 17px;
    stroke-width: 2;
    color: #8E8E93;
    pointer-events: none;
}

.booking-search-input {
    width: 100%;
    height: 44px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0 40px 0 42px;
    font-family: inherit;
    font-size: 0.9375rem;
    color: #111111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.booking-search-input:focus {
    outline: none;
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}

.booking-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #8E8E93;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-search-clear svg {
    width: 16px;
    height: 16px;
}

/* ── Promotional Brand Banner ── */
.booking-banner {
    margin: 18px 0 24px 0;
    background: linear-gradient(135deg, #18181A 0%, #111112 100%);
    border-radius: 18px;
    padding: 22px 28px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.booking-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, rgba(255, 107, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.booking-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.booking-banner__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.booking-banner__badge .orange-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fix91-orange, #FF6B00);
}

.booking-banner__title {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 750;
    color: #FFFFFF;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.booking-banner__title strong {
    color: var(--fix91-orange, #FF6B00);
}

.booking-banner__desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.booking-banner__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-banner__phone-mockup {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fix91-orange, #FF6B00);
}

.banner-shield-icon {
    width: 26px;
    height: 26px;
    stroke-width: 2.2;
}

/* ── Category Segmented Tabs (Phone Repair vs Accessories) ── */
.booking-tabs {
    display: flex;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 5px;
    gap: 6px;
    margin-bottom: 26px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.booking-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 650;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
}

.booking-tab__icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.booking-tab.is-active {
    background: #111111;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.booking-tab.is-active .booking-tab__icon {
    color: var(--fix91-orange, #FF6B00);
}

/* ── Section Titles & Headers ── */
.booking-section {
    margin-bottom: 30px;
}

.booking-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.booking-section__title {
    font-size: 1.0625rem;
    font-weight: 750;
    color: #111111;
    margin: 0;
    letter-spacing: -0.01em;
}

.booking-section__action,
.booking-section__count {
    font-size: 0.78125rem;
    font-weight: 600;
    color: #777777;
}

/* ── Brand Selection Grid ── */
.booking-brands-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
}

.brand-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.brand-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.brand-card.is-selected {
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12), 0 8px 20px rgba(255, 107, 0, 0.08);
    background: #FFFFFF;
}

.brand-card__check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--fix91-orange, #FF6B00);
    color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
}

.brand-card__check svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.brand-card.is-selected .brand-card__check {
    display: flex;
}

.brand-samsung-text {
    font-family: inherit;
    font-weight: 850;
    font-size: 1.0625rem;
    letter-spacing: 0.1em;
    color: #034EA2;
}

.brand-nothing-text {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #111111;
}

.brand-other-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666666;
}

/* ── Series Selection Scroll / Chips ── */
.booking-series-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.booking-series-scroll::-webkit-scrollbar {
    display: none;
}

.series-chip {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333333;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

.series-chip:hover {
    border-color: rgba(0, 0, 0, 0.2);
    background: #FDFDFD;
}

.series-chip.is-selected {
    border-color: var(--fix91-orange, #FF6B00);
    background: rgba(255, 107, 0, 0.08);
    color: var(--fix91-orange, #FF6B00);
    font-weight: 700;
}

/* ── Model Selection Grid ── */
.booking-models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.model-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 18px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.model-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.model-card.is-selected {
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12), 0 8px 24px rgba(255, 107, 0, 0.08);
}

.model-card__check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--fix91-orange, #FF6B00);
    color: #FFFFFF;
    display: none;
    align-items: center;
    justify-content: center;
}

.model-card__check svg {
    width: 13px;
    height: 13px;
    stroke-width: 3;
}

.model-card.is-selected .model-card__check {
    display: flex;
}

.model-card__visual {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Smartphone Silhouette Vector Render */
.device-thumb {
    width: 44px;
    height: 72px;
    border-radius: 8px;
    background: #E8E8ED;
    border: 2px solid #8E8E93;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.device-thumb__screen {
    position: absolute;
    inset: 3px;
    background: linear-gradient(180deg, #1C1C1E 0%, #2C2C2E 100%);
    border-radius: 5px;
}

.device-thumb__camera {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000000;
    z-index: 2;
}

/* S24 Ultra styling (Titanium squared frame) */
.device-thumb--s24ultra {
    border-radius: 3px;
    border-color: #555555;
    background: #D1D1D6;
}

.device-thumb--s24ultra .device-thumb__screen {
    border-radius: 1px;
}

.device-thumb--other {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F2F7;
    border: 2px dashed #C7C7CC;
    color: #8E8E93;
}

.device-thumb--other svg {
    width: 20px;
    height: 20px;
}

.model-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.model-card__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.25;
}

.model-card__tag {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--fix91-orange, #FF6B00);
    background: rgba(255, 107, 0, 0.1);
    padding: 2px 7px;
    border-radius: 999px;
}

/* ── Persistent Bottom Bar (Step 1 & Step 2) ── */
.booking-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px)) 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.booking-bottom-bar__inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.booking-bottom-bar__left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-indicator-pill {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--fix91-orange, #FF6B00);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.step-selected-summary,
.step-selected-issue {
    font-size: 0.9375rem;
    font-weight: 750;
    color: #111111;
    line-height: 1.2;
}

.step-price-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-total-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--fix91-orange, #FF6B00);
}

/* Proceed Button */
.btn-step-proceed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FF7B1A 0%, #FF6B00 100%);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 750;
    padding: 14px 24px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}

.btn-step-proceed:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.btn-step-proceed:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-step-proceed:disabled {
    background: #E5E5EA;
    color: #8E8E93;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-step-proceed svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
}

/* ════════════════════════════════════════════════════════════
   STEP 2: ISSUE / SERVICE SELECTION STYLES
   ════════════════════════════════════════════════════════════ */

/* Selected Device Breadcrumb Header */
.selected-device-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.selected-device-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.selected-device-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #777777;
    text-transform: uppercase;
}

.selected-device-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    color: #111111;
}

.selected-device-tag .device-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    color: var(--fix91-orange, #FF6B00);
}

.device-series-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555555;
    background: #F2F2F4;
    padding: 2px 8px;
    border-radius: 999px;
}

.btn-change-device {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    color: #333333;
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn-change-device:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-change-device svg {
    width: 13px;
    height: 13px;
    stroke-width: 2;
}

/* Issue Filter Pills */
.issue-filter-section {
    margin-bottom: 20px;
}

.issue-section-title {
    font-size: 1.0625rem;
    font-weight: 750;
    color: #111111;
    margin: 0 0 12px 0;
}

.issue-filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.issue-filter-chips::-webkit-scrollbar {
    display: none;
}

.issue-chip {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 8px 16px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #444444;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.issue-chip.is-active {
    background: #111111;
    color: #FFFFFF;
    border-color: #111111;
}

/* ── Rich Services Cards List ── */
.booking-services-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.issue-card {
    background: #FFFFFF;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.issue-card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.issue-card.is-selected {
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12), 0 8px 24px rgba(255, 107, 0, 0.06);
    background: #FFFDFC;
}

.issue-card__content {
    flex: 1;
}

.issue-card__badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.issue-pill-home {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--fix91-orange, #FF6B00);
    background: rgba(255, 107, 0, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}

.issue-pill-time {
    font-size: 0.6875rem;
    color: #666666;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 550;
}

.issue-pill-time svg {
    width: 12px;
    height: 12px;
    stroke-width: 2;
}

.issue-card__title {
    font-size: 1.0625rem;
    font-weight: 750;
    color: #111111;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.issue-card__desc {
    font-size: 0.8125rem;
    color: #666666;
    margin: 0 0 10px 0;
    line-height: 1.45;
    max-width: 580px;
}

.issue-card__trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.71875rem;
    font-weight: 650;
    color: #2E7D32;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trust-item svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
}

.issue-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.issue-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: #111111;
}

.issue-price-sub {
    font-size: 0.75rem;
    color: #888888;
}

.issue-card__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.issue-card__thumb {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    background: #F4F4F6;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.issue-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-select-issue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F2F2F4;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 7px 16px;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 90px;
}

.btn-select-issue .btn-icon {
    width: 13px;
    height: 13px;
    stroke-width: 2.4;
}

.issue-card.is-selected .btn-select-issue {
    background: var(--fix91-orange, #FF6B00);
    border-color: var(--fix91-orange, #FF6B00);
    color: #FFFFFF;
}

.issue-card.is-selected .btn-select-issue .btn-text {
    content: 'Selected';
}

/* ════════════════════════════════════════════════════════════
   STEP 3: BOTTOM-UP BOOKING & AUTHENTICATION SHEET
   ════════════════════════════════════════════════════════════ */

.booking-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-sheet-backdrop.is-visible {
    opacity: 1;
}

.booking-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1010;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    max-width: 540px;
    margin: 0 auto;
    padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px)) 24px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.booking-sheet.is-open {
    transform: translateY(0);
}

.booking-sheet__handle {
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: #D1D1D6;
    margin: 0 auto 16px auto;
}

.booking-sheet__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F2F2F4;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    cursor: pointer;
}

.booking-sheet__close svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.sheet-eyebrow {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--fix91-orange, #FF6B00);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.sheet-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.sheet-desc {
    font-size: 0.84375rem;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.45;
}

.phone-input-group {
    display: flex;
    align-items: center;
    background: #F8F8F9;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    padding: 0 14px;
    margin-bottom: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-group:focus-within {
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    background: #FFFFFF;
}

.country-badge {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111111;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-right: 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
}

.phone-input {
    flex: 1;
    height: 50px;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1.0625rem;
    font-weight: 650;
    color: #111111;
    padding-left: 12px;
}

.phone-input:focus {
    outline: none;
}

.sheet-trust-callout {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #2E7D32;
    font-weight: 600;
    margin-bottom: 20px;
}

.sheet-trust-callout svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.btn-sheet-primary {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #FF7B1A 0%, #FF6B00 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.96875rem;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-sheet-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.btn-sheet-primary:disabled {
    background: #E5E5EA;
    color: #8E8E93;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-sheet-primary svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

/* OTP Digits Input */
.otp-inputs-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.otp-digit {
    width: 56px;
    height: 60px;
    border-radius: 14px;
    background: #F8F8F9;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111111;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otp-digit:focus {
    outline: none;
    border-color: var(--fix91-orange, #FF6B00);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
    background: #FFFFFF;
}

.btn-quick-otp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 107, 0, 0.08);
    border: 1px dashed rgba(255, 107, 0, 0.4);
    border-radius: 999px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 0.78125rem;
    font-weight: 700;
    color: var(--fix91-orange, #FF6B00);
    cursor: pointer;
    margin: 0 auto 16px auto;
    width: fit-content;
}

.btn-quick-otp svg {
    width: 14px;
    height: 14px;
}

.btn-edit-number {
    background: none;
    border: none;
    color: var(--fix91-orange, #FF6B00);
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    margin-left: 6px;
}

.otp-resend-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #777777;
    margin-bottom: 22px;
}

.btn-resend-otp {
    background: none;
    border: none;
    color: #111111;
    font-weight: 700;
    cursor: pointer;
}

/* Address Form */
.sheet-summary-card {
    background: #F8F8F9;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: #666666;
}

.summary-line strong {
    color: #111111;
}

.summary-line--price {
    margin-top: 4px;
    padding-top: 6px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.summary-price {
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--fix91-orange, #FF6B00);
}

.summary-note {
    font-size: 0.71875rem;
    color: #2E7D32;
    font-weight: 600;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 0.78125rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 6px;
}

.form-input,
.form-select {
    width: 100%;
    height: 44px;
    background: #F8F8F9;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #111111;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--fix91-orange, #FF6B00);
    background: #FFFFFF;
}

/* Slot Radio Options */
.slot-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.slot-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8F8F9;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slot-option input {
    margin-right: 8px;
    accent-color: var(--fix91-orange, #FF6B00);
}

.slot-option.is-active {
    border-color: var(--fix91-orange, #FF6B00);
    background: rgba(255, 107, 0, 0.04);
}

.slot-option__title {
    font-size: 0.84375rem;
    font-weight: 700;
    color: #111111;
}

.slot-option__sub {
    font-size: 0.71875rem;
    color: #777777;
}

/* ── STAGE 4: SUCCESS CONFIRMATION ── */
.sheet-stage--success {
    text-align: center;
    padding: 10px 0 16px 0;
}

.success-icon-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px auto;
}

.success-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF7B1A 0%, #FF6B00 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.icon-success-check {
    width: 32px;
    height: 32px;
    stroke-width: 3;
}

.success-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 6px 0;
}

.success-desc {
    font-size: 0.875rem;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.45;
}

.success-order-card {
    background: #F8F8F9;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 22px;
    text-align: left;
}

.order-id-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.order-id-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #777777;
}

.order-id-val {
    font-size: 1rem;
    font-weight: 850;
    color: var(--fix91-orange, #FF6B00);
    letter-spacing: 0.05em;
}

.order-details-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.order-detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
}

.order-detail-item .label {
    color: #666666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.order-detail-item .label svg {
    width: 14px;
    height: 14px;
    color: var(--fix91-orange, #FF6B00);
}

.order-detail-item .val {
    color: #111111;
    font-weight: 650;
}

.success-guarantee-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #2E7D32;
    font-weight: 650;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.success-guarantee-note svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.2;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-sheet-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #666666;
    text-decoration: none;
    padding: 10px;
}

.btn-sheet-ghost:hover {
    color: #111111;
}

/* ════════════════════════════════════════════════════════════
   MOBILE VIEWPORT ADAPTATIONS (< 768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .booking-main-container {
        padding: 12px 14px 40px 14px;
    }

    .booking-top-bar {
        padding: 10px 14px;
    }

    .booking-banner {
        padding: 18px 16px;
        margin: 12px 0 18px 0;
    }

    .booking-banner__title {
        font-size: 1.1rem;
    }

    .booking-banner__phone-mockup {
        width: 42px;
        height: 42px;
    }

    .banner-shield-icon {
        width: 20px;
        height: 20px;
    }

    .booking-tabs {
        margin-bottom: 20px;
    }

    .booking-tab {
        padding: 10px 12px;
        font-size: 0.84375rem;
    }

    .booking-brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .brand-card {
        height: 72px;
        border-radius: 14px;
    }

    .booking-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .model-card {
        padding: 14px 10px;
        border-radius: 14px;
    }

    .device-thumb {
        width: 38px;
        height: 62px;
    }

    .model-card__name {
        font-size: 0.8125rem;
    }

    .booking-bottom-bar {
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)) 14px;
    }

    .step-selected-summary,
    .step-selected-issue {
        font-size: 0.8125rem;
        max-width: 140px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-step-proceed {
        padding: 12px 18px;
        font-size: 0.84375rem;
    }

    .issue-card {
        padding: 16px 14px;
        gap: 14px;
    }

    .issue-card__thumb {
        width: 72px;
        height: 72px;
    }

    .btn-select-issue {
        width: 72px;
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .booking-sheet {
        padding: 18px 18px calc(20px + env(safe-area-inset-bottom, 0px)) 18px;
        border-radius: 20px 20px 0 0;
    }
}
