/* ============================================
   Quote Page Styles — v3 Image-First Design
   No gradients. Images fill cards. Minimal padding.
   ============================================ */

.quote-page {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.quote-main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem;
    overflow-x: hidden;
    scroll-margin-top: 90px;
}

/* Progress Bar — clickable steps for back navigation */
.quote-progress-bar { position: relative; margin-bottom: 1rem; padding: 0.5rem 0; z-index: 1; }
.quote-progress-steps { display: flex; justify-content: space-between; gap: 0; position: relative; }
.quote-progress-step {
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-size: 0.7rem; color: #999; font-weight: 500;
    transition: color 0.3s; cursor: default; background: none; border: none; font-family: inherit; padding: 0;
    flex: 1; min-width: 0; text-align: center; touch-action: manipulation; position: relative; z-index: 1;
}
.quote-progress-step span {
    display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
    border-radius: 50%; background: #fff; border: 2px solid #e0e0e0; color: #999; font-size: 0.75rem; font-weight: 600; transition: all 0.3s;
    flex-shrink: 0;
}
.quote-progress-steps::before {
    content: ''; position: absolute; top: 14px; left: 14%; right: 14%; height: 3px;
    background: #e8e8e8; border-radius: 2px; z-index: 0;
}
.quote-progress-steps::after {
    content: ''; position: absolute; top: 14px; left: 14%; height: 3px;
    background: #009B4D; border-radius: 2px; z-index: 0;
    width: var(--progress-fill, 0%); transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.quote-progress-step.clickable { cursor: pointer; }
.quote-progress-step.clickable:hover { color: #009B4D; }
.quote-progress-step.active { color: #009B4D; }
.quote-progress-step.active span { background: #009B4D; color: #fff; border-color: #009B4D; }
.quote-progress-step.completed { color: #009B4D; cursor: pointer; }
.quote-progress-step.completed span { background: #00c853; color: #fff; border-color: #00c853; }
.quote-progress-step.completed:hover span { background: #009B4D; border-color: #009B4D; }

/* Breadcrumb */
.quote-breadcrumb-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; }
.quote-start-again {
    display: inline-flex; align-items: center; gap: 0.4rem; margin-left: auto;
    background: none; border: none; border-radius: 20px; padding: 0.35rem 0.85rem;
    font-size: 0.8rem; font-weight: 500; color: #888; cursor: pointer; transition: all 0.2s; font-family: inherit;
    touch-action: manipulation; white-space: nowrap;
}
.quote-start-again:hover { color: #009B4D; background: rgba(0,155,77,0.06); }
.quote-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quote-breadcrumb-chip {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem;
    background: rgba(0,155,77,0.06); border: none; border-radius: 20px;
    font-size: 0.8rem; font-weight: 500; color: #00796b; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.quote-breadcrumb-chip:hover { background: rgba(0,155,77,0.12); }
.quote-breadcrumb-chip i { font-size: 0.7rem; color: #009B4D; }

/* Layout */
.quote-form-area { min-height: 300px; }

/* Steps */
.quote-step { display: none; animation: quote-step-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.quote-step.active { display: block; }
@keyframes quote-step-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.quote-step-title { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.25rem; }
.quote-step-subtitle { font-size: 0.95rem; color: #666; margin: 0 0 1.5rem; }
.quote-empty-msg { color: #888; padding: 1rem; text-align: center; }

/* ============================================
   v2 CARD SYSTEM — Image-dominant, borderless
   ============================================ */
.quote-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.quote-card-grid--list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* Base card — image fills entire card, label overlays at bottom */
.quote-card {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
    padding: 0; background: #fff;
    border: none; border-radius: 16px; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center; overflow: hidden;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    aspect-ratio: 1;
    position: relative;
}
.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.quote-card:active {
    transform: scale(0.97); transition: transform 0.1s;
}

/* Image zone — fills entire card, image not reduced */
.quote-card-icon {
    width: 100%; height: 100%; flex: 1; display: flex; align-items: center; justify-content: center;
    margin: 0; flex-shrink: 1; min-height: 0;
    padding: 0; overflow: hidden;
    position: absolute; inset: 0; z-index: 1;
}
.quote-card-icon i { font-size: 3rem; color: #009B4D; }
.quote-card-icon img { width: 100%; height: 100%; object-fit: contain; }

/* Label — brand green see-through overlay at bottom of card */
.quote-card-label {
    font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.3;
    min-height: 2em; display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
    flex-shrink: 0;
    padding: 0.5rem 0.5rem;
    background: rgba(0, 155, 77, 0.85);
    position: relative; z-index: 2;
}
.quote-card-hint { font-size: 0.78rem; color: #fff; font-weight: 600; margin-top: 0; flex-shrink: 0; padding: 0.2rem 0.5rem 0.4rem; background: rgba(0, 155, 77, 0.85); position: relative; z-index: 2; }

/* Series card — same flat background as regular cards */
.quote-card--series { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.quote-card--back { background: #fff; }
.quote-card--back:hover { background: #f8f8f8; }
.quote-card--back .quote-card-icon i { color: #666; }

/* List variant — same square cards */
.quote-card-grid--list .quote-card { aspect-ratio: 1; }
.quote-card-grid--list .quote-card-icon { min-height: 0; }
.quote-card-grid--list .quote-card-label { font-size: 0.8rem; }

/* Body scroll lock + background zoom for modal (Android-style) */
body.quote-modal-open { overflow: hidden; overscroll-behavior-y: none; }
/* Scale only the main content — NOT header (breaks sticky) or footer (breaks fixed taskbar) */
.quote-main {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center top;
    will-change: transform;
}
body.quote-modal-open .quote-main {
    transform: scale(0.96);
}

/* Repair card extras */
.quote-card-desc { display: none; }
.quote-card-tooltip { display: none; }

/* Repair grouping */
.quote-repair-group { margin-bottom: 1.5rem; }
.quote-repair-group-title {
    font-size: 0.85rem; font-weight: 700; color: #009B4D; text-transform: uppercase;
    letter-spacing: 0.5px; margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.quote-repair-group-title i { font-size: 0.8rem; }

/* ============================================
   HERO REPAIR CARDS — Image fills card, flat background
   ============================================ */
.quote-repair-top-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 0.75rem;
}
.quote-card--top {
    aspect-ratio: 1;
    border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end;
    overflow: hidden; border-radius: 16px;
    background: #fff;
}
.quote-card--top:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}
.quote-card--top .quote-card-icon { flex: 1; width: 100%; padding: 0; }
.quote-card--top .quote-card-icon i { font-size: 3.2rem; }
.quote-card--top .quote-card-icon img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.quote-card--top .quote-card-label { font-size: 0.95rem; font-weight: 700; padding: 0.5rem 0.5rem 0.3rem; }
.quote-card--top .quote-card-hint { font-size: 0.85rem; font-weight: 700; padding-bottom: 0.4rem; }

/* Hero repair cards — flat */
.quote-card--hero {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.quote-card--hero:hover {
    background: #fff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
.quote-card--hero .quote-card-icon { flex: 1.2; }

@media (min-width: 768px) {
    .quote-card--hero .quote-card-icon i { font-size: 4rem; }
}

/* "Can't see your issue?" — tall dark button, not green */
.quote-repair-manual {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; margin-top: 1.5rem; padding: 3rem 1.5rem;
    background: #343A40; border: none; border-radius: 18px;
    font-size: 1.2rem; font-weight: 700; color: #fff; cursor: pointer;
    text-align: center; transition: all 0.3s; font-family: inherit;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.quote-repair-manual:hover { transform: translateY(-3px); background: #2d3238; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.quote-repair-manual:active { transform: scale(0.98); }
.quote-repair-manual i { font-size: 1.3rem; }

/* Brand "More Brands" toggle */
.quote-brand-more {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-top: 1rem; width: 100%; padding: 0.85rem;
    background: rgba(0,155,77,0.05); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #009B4D; cursor: pointer;
    text-align: center; transition: all 0.2s; font-family: inherit;
    grid-column: 1 / -1; box-shadow: none;
}
.quote-brand-more:hover { background: rgba(0,155,77,0.10); }
.quote-brand-more i { transition: transform 0.2s; }
.quote-brand-more.expanded i { transform: rotate(180deg); }
.quote-brand-hidden { display: none !important; grid-column: 1 / -1; }
.quote-brand-hidden.show { display: grid !important; grid-column: 1 / -1; }

/* Compact card grid — for 'more' brands/repairs in sheets */
.quote-card-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.quote-card--compact {
    padding: 0; aspect-ratio: 1; min-height: 0;
    border-radius: 14px;
}
.quote-card--compact .quote-card-icon { flex: 1; padding: 0; }
.quote-card--compact .quote-card-icon i { font-size: 2rem; }
.quote-card--compact .quote-card-icon img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.quote-card--compact .quote-card-label { font-size: 0.72rem; min-height: 2em; padding: 0.3rem 0.25rem; }

/* "Not sure which model?" card — same style as model cards */
.quote-card--identify {
    cursor: pointer;
}
.quote-card--identify .quote-card-icon i {
    opacity: 0.5;
}

/* Identification panel inside the sheet */
.quote-identify-panel {
    padding: 0.5rem 0;
}

.quote-identify-model {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.6rem;
}
.quote-identify-model strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.2rem;
}
.quote-identify-model span {
    display: block;
    font-size: 0.82rem;
    color: #666;
    line-height: 1.45;
}

.quote-identify-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0,155,77,0.05);
    border-radius: 12px;
    border-left: 3px solid #009B4D;
}
.quote-identify-tip i {
    color: #009B4D;
    font-size: 1rem;
    margin-top: 0.15rem;
}
.quote-identify-tip p {
    margin: 0;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.45;
}

.quote-identify-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    width: 100%;
    padding: 0.75rem;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.quote-identify-back:hover {
    background: #f8f9fa;
    border-color: rgba(0,0,0,0.2);
}

/* Model "Show All Models" toggle */
.quote-model-more {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-top: 1rem; width: 100%; padding: 0.85rem;
    background: rgba(0,155,77,0.05); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #009B4D; cursor: pointer;
    text-align: center; transition: all 0.2s; font-family: inherit;
    grid-column: 1 / -1; box-shadow: none;
}
.quote-model-more:hover { background: rgba(0,155,77,0.10); }
.quote-model-more i { transition: transform 0.2s; }

.quote-model-fewer {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    margin-top: 1rem; width: 100%; padding: 0.85rem;
    background: rgba(0,155,77,0.05); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #009B4D; cursor: pointer;
    text-align: center; transition: all 0.2s; font-family: inherit;
    grid-column: 1 / -1; box-shadow: none;
}
.quote-model-fewer:hover { background: rgba(0,155,77,0.10); }
.quote-model-fewer i { margin-left: 0.4rem; }

/* "My model isn't listed" — tall dark button, matches repair manual style */
.quote-model-not-listed {
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    width: 100%; margin-top: 1.5rem; padding: 3rem 1.5rem;
    background: #343A40; border: none; border-radius: 18px;
    font-size: 1.2rem; font-weight: 700; color: #fff; cursor: pointer;
    text-align: center; transition: all 0.3s; font-family: inherit;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    grid-column: 1 / -1;
}
.quote-model-not-listed:hover { transform: translateY(-3px); background: #2d3238; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.quote-model-not-listed:active { transform: scale(0.98); }
.quote-model-not-listed i { font-size: 1.3rem; }

.quote-repair-more {
    display: none; margin-top: 1rem; width: 100%; padding: 0.85rem;
    background: rgba(0,155,77,0.05); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #009B4D; cursor: pointer;
    text-align: center; transition: all 0.2s; box-shadow: none;
}
.quote-repair-more:hover { background: rgba(0,155,77,0.10); }
.quote-repair-more i { transition: transform 0.2s; }
.quote-repair-more.expanded i { transform: rotate(180deg); }
.quote-repair-hidden { display: none; }
.quote-repair-hidden.show { display: grid; }

/* More Repairs card — big, bold, obviously clickable */
.quote-card--more {
    cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
}
.quote-card--more:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.12); transform: translateY(-3px); }
.quote-card--more:active { transform: scale(0.97); }
.quote-card--more .quote-card-icon i { color: #009B4D; font-size: 3rem; }
.quote-card--more .quote-card-label { color: #333; background: transparent; font-size: 1rem; font-weight: 700; }
.quote-card--more .quote-card-hint { color: #6c757d; background: transparent; }
/* ============================================
   MODAL & SHEETS — Premium glass, no borders
   ============================================ */
.quote-repair-modal { position: fixed; inset: 0; z-index: 9000; display: none; overscroll-behavior-y: none; }
.quote-repair-modal.active { display: block; }
.quote-repair-modal-backdrop {
    position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
    animation: quote-fade-in 0.4s ease; overscroll-behavior-y: none;
    transition: opacity 0.4s ease;
}
@keyframes quote-fade-in { from { opacity: 0; } to { opacity: 1; } }
.quote-repair-modal-sheet {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: 100%; max-width: 480px; background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0; padding: 0.5rem 1.25rem 1.5rem;
    animation: quote-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 85vh; overscroll-behavior-y: contain;
    display: flex; flex-direction: column; overflow: hidden;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.20);
}
.quote-repair-modal-content {
    flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    display: flex; flex-direction: column;
}
.quote-repair-modal-sheet:has(.quote-sheet-search-input) { max-height: 90vh; min-height: 50vh; }
.quote-repair-modal-sheet:has(.quote-reset-confirm) { min-height: 50vh; }
.quote-repair-modal-sheet:has(.quote-send-quote-preview) { max-height: 90vh; min-height: 60vh; }
@keyframes quote-slide-up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }

@media (min-width: 600px) {
    .quote-repair-modal-sheet {
        max-height: 85vh; min-height: 0; max-width: 900px;
        bottom: 50%; transform: translate(-50%, 50%); border-radius: 24px; padding: 2rem;
        animation: quote-modal-pop 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    }
    @keyframes quote-modal-pop {
        from { transform: translate(-50%, 50%) scale(0.92); opacity: 0; }
        to { transform: translate(-50%, 50%) scale(1); opacity: 1; }
    }
    .quote-repair-modal-handle { display: none; }
}

/* Sheet content */
.quote-sheet-title { font-size: 1.3rem; font-weight: 700; color: #1a1a2e; margin: 0.5rem 0 0.25rem; text-align: center; }
.quote-sheet-subtitle { font-size: 0.9rem; color: #666; margin: 0 0 1rem; text-align: center; }
.quote-sheet-close {
    display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 1rem; padding: 0.85rem;
    background: rgba(0,0,0,0.04); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #666; cursor: pointer;
    text-align: center; transition: all 0.2s; font-family: inherit;
}
.quote-sheet-close:hover { background: rgba(0,0,0,0.07); color: #333; }
.quote-sheet-show-more {
    display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 0.75rem; padding: 0.85rem;
    background: rgba(0,155,77,0.05); border: none; border-radius: 14px;
    font-size: 0.9rem; font-weight: 600; color: #009B4D; cursor: pointer;
    text-align: center; transition: all 0.2s; font-family: inherit;
}
.quote-sheet-show-more:hover { background: rgba(0,155,77,0.10); }

/* Swipeable pagination */
.quote-sheet-swipe-wrap { overflow: hidden; touch-action: pan-y; }
.quote-card--manual {
    grid-column: span 2;
    aspect-ratio: 2 / 1 !important;
    background: #1a1a2e !important; color: #fff !important;
    display: flex !important; flex-direction: column !important;
    align-items: center !important; justify-content: center !important;
}
.quote-card--manual .quote-card-label {
    color: #fff !important; font-size: 1.6rem !important; font-weight: 800 !important;
    text-align: center !important;
    background: transparent !important;
    -webkit-line-clamp: 3 !important; line-clamp: 3 !important; line-height: 1.3 !important;
}
.quote-sheet-page-dots { display: flex; justify-content: center; gap: 0.4rem; margin: 0.75rem 0 0.5rem; }
.quote-sheet-page-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #ddd; cursor: pointer;
    transition: background 0.2s, transform 0.2s; border: none; padding: 0;
}
.quote-sheet-page-dot.active { background: #009B4D; transform: scale(1.25); }
.quote-sheet-page-dot:hover { background: #bbb; }
.quote-sheet-page-dot.active:hover { background: #009B4D; }
.quote-sheet-nav-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 0.5rem; }
.quote-sheet-nav-btn {
    width: 64px; height: 64px; border-radius: 16px; border: none;
    background: #f0f0f0; color: #1a1a2e; font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
    font-family: inherit; -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.quote-sheet-nav-btn:hover { color: #009B4D; background: #e8f5e9; box-shadow: 0 4px 14px rgba(0,155,77,0.12); }
.quote-sheet-nav-btn:active { transform: scale(0.92); }
.quote-sheet-nav-btn.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.quote-confirm-actions { display: flex; flex-direction: row; gap: 1rem; margin-top: 1.25rem; justify-content: center; }
.quote-confirm-yes {
    width: 160px; height: 160px; padding: 0; background: #d32f2f; border: none; border-radius: 20px;
    color: #fff; font-size: 1.1rem; font-weight: 700; cursor: pointer;
    font-family: inherit; transition: all 0.2s; box-shadow: 0 4px 14px rgba(211,47,47,0.2);
    display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3;
    aspect-ratio: 1;
}
.quote-confirm-yes:hover { background: #b71c1c; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(211,47,47,0.3); }
.quote-confirm-yes:active { transform: scale(0.98); }
.quote-confirm-actions .quote-sheet-close {
    width: 160px; height: 160px; margin-top: 0; padding: 0; font-size: 1.1rem; font-weight: 700;
    background: #f0f0f0; color: #333; border-radius: 20px;
    display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.3;
    aspect-ratio: 1;
}
.quote-confirm-actions .quote-sheet-close:hover { background: #e0e0e0; transform: translateY(-2px); }
.quote-sheet-content .quote-card-grid { max-height: none; overflow: visible; }
.quote-sheet-content:has(.quote-brands-grid) { overflow: visible !important; }
.quote-repair-modal-sheet:has(.quote-brands-grid) { max-height: 95vh !important; overflow: visible !important; }
.quote-repair-modal-content:has(.quote-brands-grid) { overflow: visible !important; }

/* Horizontal scroll list for add-repair picker */
.quote-repair-scroll-list {
    display: flex; gap: 0.75rem; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
    padding: 0.5rem 0 1rem; margin: 0 -0.5rem; padding-left: 0.5rem; padding-right: 0.5rem;
    scrollbar-width: thin; scrollbar-color: #ccc transparent;
}
.quote-repair-scroll-list::-webkit-scrollbar { height: 4px; }
.quote-repair-scroll-list::-webkit-scrollbar-track { background: transparent; }
.quote-repair-scroll-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.quote-repair-scroll-card {
    flex: 0 0 150px; scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    padding: 1rem 0.5rem; background: #fff; border: none; border-radius: 18px;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent; text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.quote-repair-scroll-card:active { transform: scale(0.96); }
.quote-repair-scroll-card.selected { box-shadow: 0 6px 20px rgba(0,155,77,0.15); background: #f0f9f4; }
.quote-repair-scroll-card-icon {
    width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.02); border-radius: 14px;
}
.quote-repair-scroll-card-icon i { font-size: 2rem; color: #009B4D; }
.quote-repair-scroll-card-icon img { width: 64px; height: 64px; object-fit: contain; }
.quote-repair-scroll-card-name { font-size: 0.82rem; font-weight: 600; color: #333; line-height: 1.3; }
.quote-repair-scroll-card-price { font-size: 0.85rem; font-weight: 700; color: #009B4D; }
.quote-repair-scroll-card-price .quote-upsell-badge { display: inline-block; margin-left: 0.25rem; }
.quote-repair-scroll-card-price .old-price { text-decoration: line-through; color: #999; font-size: 0.7rem; font-weight: 400; }
.quote-sheet-group { margin-bottom: 1.25rem; }
.quote-sheet-group-title {
    font-size: 0.8rem; font-weight: 700; color: #00796b; text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: 0.5rem; padding-left: 0.25rem;
}

/* Accordion for repair categories in sheet */
.quote-sheet-accordion {
    border: none; border-radius: 16px; margin-bottom: 0.5rem; overflow: hidden;
    background: rgba(0,0,0,0.02);
}
.quote-sheet-accordion-header {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.85rem 1rem; background: transparent; cursor: pointer;
    font-size: 0.9rem; font-weight: 600; color: #333; transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.quote-sheet-accordion-header:active { background: rgba(0,0,0,0.03); }
.quote-sheet-accordion-header > span:first-child { flex: 1; }
.quote-sheet-accordion-count {
    font-size: 0.75rem; font-weight: 500; color: #999;
    background: rgba(0,0,0,0.06); border-radius: 10px; padding: 0.1rem 0.5rem;
}
.quote-sheet-accordion-arrow { font-size: 0.7rem; color: #999; transition: transform 0.2s; }
.quote-sheet-accordion.expanded .quote-sheet-accordion-arrow { transform: rotate(180deg); }
.quote-sheet-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.quote-sheet-accordion.expanded .quote-sheet-accordion-body { max-height: 60vh; }
.quote-sheet-accordion-body .quote-card-grid { padding: 0.5rem; }

/* Brands sheet — 3 columns */
.quote-brands-grid {
    grid-template-columns: repeat(3, 1fr) !important; gap: 0.5rem !important;
    max-height: none !important; overflow: visible !important;
}
.quote-brands-grid .quote-card--compact { min-height: 0; padding: 0; aspect-ratio: 1; }
.quote-brands-grid .quote-card--compact .quote-card-icon { flex: 1; padding: 0; }
.quote-brands-grid .quote-card--compact .quote-card-icon i { font-size: 1.6rem; }
.quote-brands-grid .quote-card--compact .quote-card-icon img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.quote-brands-grid .quote-card--compact .quote-card-label { font-size: 0.72rem; font-weight: 600; }

/* Repair modal — centered title, two-column body, full-width button below */
.quote-repair-modal-layout {
    display: flex; flex-direction: column; gap: 1.5rem;
    text-align: center;
}
.quote-repair-modal-title { font-size: 1.4rem; font-weight: 700; color: #333; text-align: center; margin: 0 0 0.5rem; }
.quote-repair-modal-desc { font-size: 0.95rem; color: #6c757d; text-align: center; margin: 0 0 0.5rem; line-height: 1.5; }
.quote-repair-modal-body-wrap {
    width: 100%; text-align: center;
}
.quote-repair-modal-body {
    display: flex; flex-direction: row; gap: 0; align-items: center;
    justify-content: center; width: 100%;
}
.quote-repair-modal-info { flex: 0 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; margin-right: -3rem; z-index: 1; padding-left: 3rem; }
.quote-repair-modal-image {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    overflow: hidden; z-index: 0; padding-left: 0;
}
.quote-repair-modal-image i { font-size: 5rem; color: #009B4D; }
.quote-repair-modal-image img { max-width: 260px; max-height: 260px; width: auto; height: auto; object-fit: contain; }
.quote-repair-modal-price-label { font-size: 4rem; font-weight: 600; color: #6c757d; text-align: center; margin-bottom: 0.2rem; line-height: 1; }
.quote-repair-modal-price { font-size: 5rem; font-weight: 800; color: #009B4D; text-align: center; margin-bottom: 0.25rem; line-height: 1; }
.quote-repair-modal-price-hint { font-size: 1rem; color: #6c757d; text-align: center; margin-bottom: 0.5rem; }
.quote-repair-modal-extra { font-size: 0.9rem; color: #6c757d; text-align: center; line-height: 1.5; }
.quote-repair-modal-actions { width: 100%; }
.quote-repair-modal-select {
    width: 100%; padding: 1.2rem; background: #009B4D; color: #fff;
    border: none; border-radius: 16px; font-size: 1.15rem; font-weight: 700; cursor: pointer;
    transition: all 0.2s; font-family: inherit; touch-action: manipulation;
    box-shadow: 0 4px 14px rgba(0,155,77,0.2);
}
.quote-repair-modal-select:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,155,77,0.25); }

@media (max-width: 600px) {
    .quote-repair-modal-body { gap: 0.5rem; }
    .quote-repair-modal-image img { max-width: 180px; max-height: 180px; }
    .quote-repair-modal-price-label { font-size: 2.8rem; }
    .quote-repair-modal-price { font-size: 3.5rem; }
}

.quote-repair-modal-handle {
    width: 36px; height: 3px; background: transparent; margin: 0 auto 0.75rem;
    cursor: grab; touch-action: none;
    padding: 16px 40px; box-sizing: content-box;
    position: relative; flex-shrink: 0;
}
.quote-repair-modal-handle::before {
    content: ''; position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 36px; height: 3px; background: #ddd; border-radius: 2px;
}
.quote-repair-modal-handle:active { background: transparent; }
.quote-repair-modal-handle:active::before { background: #ccc; }
.quote-repair-modal-close {
    padding: 0.85rem; background: rgba(0,0,0,0.04); color: #666; border: none; border-radius: 12px;
    font-size: 0.95rem; font-weight: 500; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.quote-repair-modal-close:hover { background: rgba(0,0,0,0.07); }

/* Global Search — borderless */
.quote-global-search { margin-bottom: 1rem; }
.quote-global-search-wrapper { position: relative; }
.quote-global-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #999; font-size: 0.9rem; pointer-events: none; }
.quote-global-search-input {
    width: 100%; padding: 0.85rem 1rem 0.85rem 2.5rem; border: none;
    border-radius: 14px; font-size: 1rem; font-family: inherit; transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); background: #fff;
}
.quote-global-search-input:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }
.quote-global-search-results {
    margin-top: 0.5rem; border: none; border-radius: 14px; overflow: hidden; display: none;
    max-height: 320px; overflow-y: auto; background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}
.quote-global-search-results.active { display: block; }
.quote-search-result {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; cursor: pointer;
    transition: background 0.15s;
}
.quote-search-result + .quote-search-result { border-top: 1px solid rgba(0,0,0,0.04); }
.quote-search-result:hover { background: rgba(0,155,77,0.04); }
.quote-search-result-icon { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,155,77,0.06); border-radius: 10px; }
.quote-search-result-icon i { font-size: 1.2rem; color: #009B4D; }
.quote-search-result-text { flex: 1; min-width: 0; }
.quote-search-result-model { font-size: 0.9rem; font-weight: 600; color: #333; }
.quote-search-result-repair { font-size: 0.8rem; color: #888; }
.quote-search-result-price { font-size: 0.85rem; font-weight: 600; color: #009B4D; white-space: nowrap; }

/* Step-level search (hidden, kept for compat) */
.quote-search-wrapper { position: relative; margin-bottom: 1rem; display: none; }
.quote-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #999; font-size: 0.9rem; }
.quote-search-input {
    width: 100%; padding: 0.85rem 1rem 0.85rem 2.5rem; border: none;
    border-radius: 14px; font-size: 1rem; font-family: inherit; transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.quote-search-input:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }

/* ============================================
   Multi-Repair Add-on Section — borderless
   ============================================ */
.quote-upsell {
    background: #f0f9f4;
    border: none; border-radius: 16px; padding: 1.25rem; margin: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.quote-upsell-title { font-size: 1rem; font-weight: 700; color: #00796b; margin: 0 0 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.quote-upsell-title i { color: #009B4D; }
.quote-upsell-desc { font-size: 0.85rem; color: #555; margin: 0 0 0.75rem; line-height: 1.5; }
.quote-upsell-list { display: flex; flex-direction: column; gap: 0.5rem; }
.quote-upsell-item {
    display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; padding: 0.75rem;
    background: #fff; border-radius: 14px; border: none; transition: box-shadow 0.2s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.quote-upsell-item:hover { box-shadow: 0 6px 18px rgba(0,155,77,0.10); background: #f8fdf9; }
.quote-upsell-checkbox {
    appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid #ccc;
    border-radius: 6px; cursor: pointer; position: relative; flex-shrink: 0; transition: all 0.2s; margin-top: 0.1rem;
}
.quote-upsell-checkbox:checked { background: #009B4D; border-color: #009B4D; }
.quote-upsell-checkbox:checked::after {
    content: '\2713'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #fff; font-size: 0.8rem; font-weight: 700;
}
.quote-upsell-item-content { flex: 1; min-width: 0; }
.quote-upsell-item-name { font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 0.2rem; }
.quote-upsell-item-pricing { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.quote-upsell-price { font-size: 1rem; font-weight: 700; color: #009B4D; }
.quote-upsell-price--nodiscount { color: #666; }
.quote-upsell-was { font-size: 0.8rem; color: #999; text-decoration: line-through; }
.quote-upsell-badge {
    font-size: 0.7rem; font-weight: 700; color: #fff; background: #009B4D;
    padding: 0.1rem 0.4rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.02em;
}
.quote-upsell-badge--info { background: #bbb; font-weight: 500; text-transform: none; }
.quote-upsell-total {
    display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid rgba(0,155,77,0.15); font-size: 0.9rem; flex-wrap: wrap;
}
.quote-upsell-total-label { font-weight: 600; color: #333; }
.quote-upsell-total-value { font-weight: 700; color: #009B4D; font-size: 1.15rem; }
.quote-upsell-total-saving {
    font-size: 0.8rem; color: #fff; background: #009B4D; padding: 0.15rem 0.5rem;
    border-radius: 6px; font-weight: 600; margin-left: 0.25rem;
}
.quote-upsell-add-more {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    width: 100%; padding: 0.85rem; margin-top: 0.5rem;
    background: rgba(0,155,77,0.06); border: none; border-radius: 14px;
    color: #009B4D; font-size: 0.95rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s; font-family: inherit; text-align: center;
}
.quote-upsell-add-more:hover { background: rgba(0,155,77,0.12); }
.quote-upsell-add-more i { margin-right: 0.4rem; }
@media (max-width: 600px) {
    .quote-upsell-item { padding: 0.6rem; }
    .quote-upsell-item-name { font-size: 0.85rem; }
    .quote-upsell-desc { font-size: 0.8rem; }
}

/* Additional repairs summary */
.quote-additional-repairs {
    background: rgba(0,155,77,0.03); border: none; border-radius: 16px;
    padding: 1rem 1.25rem; margin: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.quote-additional-repairs-title { font-size: 0.9rem; font-weight: 700; color: #00796b; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.quote-additional-repairs-list { list-style: none; padding: 0; margin: 0 0 0.5rem; }
.quote-additional-repairs-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.35rem 0; border-bottom: 1px solid rgba(0,0,0,0.04); font-size: 0.88rem; }
.quote-additional-repairs-list li:last-child { border-bottom: none; }
.quote-additional-repairs-name { color: #333; font-weight: 500; }
.quote-additional-repairs-price { color: #009B4D; font-weight: 700; }
.quote-additional-repairs-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.5rem; border-top: 2px solid rgba(0,155,77,0.15); font-size: 0.9rem; font-weight: 600; color: #333; }
.quote-additional-repairs-total span:last-child { color: #009B4D; font-size: 1.05rem; }
.quote-additional-repairs-grand-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; margin-top: 1.5rem; border-top: 2px solid #009B4D; font-size: 1.15rem; font-weight: 700; color: #1a1a2e; }
.quote-additional-repairs-grand-total span:last-child { color: #009B4D; font-size: 1.5rem; font-weight: 800; }

/* ============================================
   Quote Summary & Breakdown — hero device image
   ============================================ */
.quote-result-card { background: #fff; border-radius: 24px; padding: 2rem; border: none; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

/* Pre-quote title — device + repair name, both big, centered */
.quote-summary-title { text-align: center; margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(0,155,77,0.1); }
.quote-summary-title .quote-summary-device { font-size: 1.4rem; font-weight: 700; color: #333; margin-bottom: 0.2rem; }
.quote-summary-title .quote-summary-repair { font-size: 1.4rem; font-weight: 700; color: #333; }

/* Pre-quote body — From/price on left, image on right, centered like modal */
.quote-summary-body-wrap { width: 100%; text-align: center; margin-bottom: 1rem; margin-top: 0.5rem; }
.quote-summary-body { display: flex; flex-direction: row; gap: 0; align-items: center; justify-content: center; width: 100%; }
.quote-summary-price-info { flex: 0 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; margin-right: -3rem; padding-left: 3rem; }
.quote-summary-price-info .quote-summary-price-label { font-size: 3rem; font-weight: 600; color: #6c757d; margin-bottom: 0.2rem; line-height: 1; }
.quote-summary-price-info .quote-summary-price { font-size: 5rem; font-weight: 800; color: #009B4D; line-height: 1; }
.quote-summary-device-img { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; padding-left: 0; }
.quote-summary-device-img img { max-width: 260px; max-height: 260px; width: auto; height: auto; object-fit: contain; }
.quote-summary-device-img i { font-size: 4rem; color: #009B4D; }

/* Teaser below in its own div */
.quote-summary-teaser-wrap { text-align: center; color: #6c757d; font-size: 0.95rem; margin-bottom: 1.5rem; }

/* Reset link for personalized quote */
.quote-summary-reset { text-align: center; margin-bottom: 1rem; }
.quote-summary-reset button {
    background: none; border: none; font-family: inherit; cursor: pointer;
    font-size: 0.85rem; color: #999; text-decoration: underline; transition: color 0.2s;
}
.quote-summary-reset button:hover { color: #009B4D; }

/* Manual quote form */
.quote-manual-form {
    display: flex; flex-direction: column; gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.quote-manual-form .quote-form-group { margin-bottom: 0; }
.quote-manual-form select {
    width: 100%; padding: 0.75rem; border: 1px solid #e0e0e0; border-radius: 12px;
    font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.2s;
    background: #fff; color: #333;
}
.quote-manual-form select:focus { border-color: #009B4D; }

/* Manual search on manual quote form */
.quote-manual-search { margin-bottom: 1.5rem; }
.quote-manual-search .quote-sheet-search { margin-bottom: 0; }
.quote-manual-search-results {
    margin-top: 0.5rem; max-height: 300px; overflow-y: auto;
    -webkit-overflow-scrolling: touch; border-radius: 12px;
}
.quote-manual-search-results.active {
    background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-radius: 12px;
}
.quote-manual-search-results .quote-search-result { cursor: pointer; }

/* Selected repair display in personalized form */
.quote-manual-selected-repair {
    padding: 0.75rem 1rem; background: rgba(0,155,77,0.06); border-radius: 12px;
    font-size: 1rem; font-weight: 600; color: #00796b;
}

/* Inline link inside form hints */
.quote-inline-link {
    background: none; border: none; font-family: inherit; cursor: pointer;
    color: #009B4D; text-decoration: underline; font-size: inherit; padding: 0;
}
.quote-inline-link:hover { color: #00796b; }

/* ============================================
   PERSONALIZED / MANUAL QUOTE — minimal, flat
   ============================================ */

/* Step header — icon + title + subtitle, centered, flat */
.quote-pq-step-header {
    text-align: center; margin-bottom: 1.5rem;
}
.quote-pq-step-icon {
    width: 72px; height: 72px; margin: 0 auto 0.75rem;
    border-radius: 18px; background: #f0f0f0;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.quote-pq-step-icon i { font-size: 2rem; color: #009B4D; }
.quote-pq-step-icon img { max-width: 52px; max-height: 52px; object-fit: contain; }
.quote-pq-step-header h2 {
    font-size: 1.4rem; font-weight: 700; color: #1a1a2e;
    margin: 0 0 0.2rem; line-height: 1.3;
}
.quote-pq-step-header p {
    font-size: 0.95rem; color: #6c757d; margin: 0;
}

/* Simple input — flat, no gradients */
.quote-pq-input {
    width: 100%; padding: 0.85rem; border: 2px solid #e8e8e8; border-radius: 12px;
    font-size: 1rem; font-family: inherit; outline: none; transition: border-color 0.2s;
    background: #fff; color: #333; margin-bottom: 1rem;
    -webkit-appearance: none; appearance: none;
}
.quote-pq-input:focus { border-color: #009B4D; }
.quote-pq-textarea { resize: vertical; min-height: 80px; }

/* Note — small, grey, what we don't repair */
.quote-pq-note {
    font-size: 0.82rem; color: #999; line-height: 1.5;
    margin: 0.5rem 0 0; padding: 0;
}

/* Search hint — appears when we have their device */
.quote-pq-search-hint {
    text-align: center; font-size: 0.82rem; color: #009B4D;
    font-weight: 600; padding: 0.5rem 0;
}

/* Banned message — we don't repair that */
.quote-pq-banned-msg {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1rem; background: #fff3cd; border-radius: 12px;
    font-size: 0.9rem; color: #856404; line-height: 1.4;
}
.quote-pq-banned-msg i { font-size: 1rem; flex-shrink: 0; }

/* Reset row */
.quote-pq-reset-row { text-align: center; margin-bottom: 1rem; }

@media (max-width: 600px) {
    .quote-summary-price-info { margin-right: -1.5rem; padding-left: 1.5rem; }
    .quote-summary-price-info .quote-summary-price-label { font-size: 2.2rem; }
    .quote-summary-price-info .quote-summary-price { font-size: 3.5rem; }
    .quote-summary-device-img img { max-width: 180px; max-height: 180px; }
}

/* Personalized quote — old layout still used for that branch */
.quote-summary-header { text-align: center; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(0,155,77,0.1); display: flex; flex-direction: row; gap: 0; align-items: center; justify-content: center; }
.quote-summary-header .quote-breakdown-device-img { flex: 0 0 auto; margin: 0; max-width: 220px; max-height: 220px; width: auto; height: auto; padding-left: 0; }
.quote-summary-info { flex: 0 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; margin-right: -3rem; padding-left: 3rem; }

@media (max-width: 600px) {
    .quote-summary-header .quote-breakdown-device-img { max-width: 140px; max-height: 140px; }
    .quote-summary-info { margin-right: -1.5rem; padding-left: 1.5rem; }
    .quote-summary-device, .quote-summary-repair, .quote-summary-price, .quote-summary-teaser { text-align: center; }
    .quote-device-summary { justify-content: center; }
}
.quote-summary-device { font-size: 0.9rem; color: #6c757d; font-weight: 500; text-align: center; }
.quote-summary-repair { font-size: 1.4rem; font-weight: 700; color: #333; margin: 0.2rem 0 0.5rem; text-align: center; }
.quote-summary-price { font-size: 2rem; font-weight: 700; color: #009B4D; text-align: center; }
.quote-summary-price--personalized { color: #6c757d; font-size: 1.3rem; text-align: center; }
.quote-summary-teaser { color: #6c757d; font-size: 0.9rem; margin: 0.75rem 0 0; line-height: 1.5; text-align: center; }

/* Personalized Quote Badge */
.quote-personalized-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    padding: 0.6rem 1.5rem; margin: 0.5rem 0 0;
    background: #f0f9f4;
    border: none; border-radius: 50px;
    font-size: 1.2rem; font-weight: 700; color: #009B4D;
}
.quote-personalized-badge i { font-size: 1.3rem; }

/* Personalized quote header — image + info side by side, left-aligned */
.quote-summary-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem; padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,155,77,0.1);
}
.quote-summary-header-img {
    flex-shrink: 0; width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
}
.quote-summary-header-img img { max-width: 64px; max-height: 64px; object-fit: contain; }
.quote-summary-header-img i { font-size: 2.5rem; color: #009B4D; }
.quote-summary-header-info { flex: 1; text-align: left; }
.quote-summary-header-info .quote-summary-device { font-size: 1.3rem; font-weight: 700; color: #333; text-align: left; margin-bottom: 0.3rem; }
.quote-summary-header-info .quote-personalized-badge { margin: 0; font-size: 0.85rem; padding: 0.35rem 0.9rem; }

/* Form row — two fields side by side */
.quote-form-row { display: flex; gap: 0.75rem; }
.quote-form-row .quote-form-group { flex: 1; }
@media (max-width: 480px) {
    .quote-form-row { flex-direction: column; gap: 0; }
}

/* Info Cards */
.quote-info-cards { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; justify-content: center; }
.quote-info-card {
    flex: 1; min-width: 140px; max-width: 200px;
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.85rem 0.9rem; background: rgba(0,0,0,0.02);
    border-radius: 14px; border: none;
}
.quote-info-card-icon { width: 36px; height: 36px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,155,77,0.08); border-radius: 10px; }
.quote-info-card-icon i { font-size: 1.1rem; color: #009B4D; }
.quote-info-card-text { text-align: left; }
.quote-info-card-title { font-size: 0.85rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.15rem; }
.quote-info-card-desc { font-size: 0.75rem; color: #777; line-height: 1.4; }

/* Issue description section */
.quote-issue-section { margin-top: 1.5rem; }
.quote-issue-section textarea { min-height: 100px; resize: vertical; }

/* Device summary breadcrumb */
.quote-device-summary {
    display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap;
    gap: 0.4rem; margin-top: 0.75rem; padding: 0.6rem 1rem;
    background: rgba(0,0,0,0.02); border-radius: 12px;
}
.quote-device-summary-item {
    font-size: 0.82rem; font-weight: 600; color: #333;
    padding: 0.2rem 0.6rem; background: #fff; border-radius: 8px; border: none; box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.quote-device-summary-divider { color: #bbb; font-size: 0.7rem; }
.quote-device-summary-divider i { font-size: 0.6rem; }

/* Quote Breakdown — restructured header */
.quote-breakdown-header { text-align: center; margin-bottom: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.quote-breakdown-header h3 { font-size: 1.8rem; font-weight: 700; color: #1a1a2e; margin: 0; text-align: center; letter-spacing: -0.02em; }
.quote-breakdown-body { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1.5rem; width: 100%; }
.quote-breakdown-info { flex: 0 1 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.quote-breakdown-device { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; line-height: 1.2; }
.quote-breakdown-repair { font-size: 1.1rem; font-weight: 500; color: #6c757d; line-height: 1.3; }
.quote-breakdown-device-img {
    flex: 0 0 auto; width: auto; height: auto; display: flex; align-items: center; justify-content: center;
    background: transparent; border-radius: 20px; padding: 0; overflow: hidden;
}
.quote-breakdown-device-img img { max-width: 150px; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.quote-breakdown-device-img i { font-size: 3rem; color: #009B4D; }

@media (max-width: 600px) {
    .quote-breakdown-device-img img { max-width: 110px; max-height: 110px; }
    .quote-breakdown-device-img i { font-size: 2.5rem; }
    .quote-breakdown-body { gap: 1rem; }
    .quote-breakdown-device { font-size: 1.2rem; }
    .quote-breakdown-repair { font-size: 0.95rem; }
    .quote-breakdown-header h3 { font-size: 1.5rem; }
}

/* Simple Price Display */
.quote-simple-price {
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 2rem;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%); border-radius: 16px; margin-bottom: 1.5rem;
}
.quote-simple-price-value { font-size: 2.75rem; font-weight: 800; color: #009B4D; letter-spacing: -0.03em; line-height: 1; }
.quote-simple-price-warranty { font-size: 0.9rem; color: #00796b; font-weight: 600; }
.quote-simple-price-time { font-size: 0.85rem; color: #666; }

/* Screen Options — premium comparison cards */
.quote-screen-options { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.quote-screen-option {
    display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem;
    border: none; border-radius: 16px; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); background: #fff;
}
.quote-screen-option:hover { box-shadow: 0 8px 24px rgba(0,155,77,0.10); transform: translateY(-2px); }
.quote-screen-option.selected { background: #f0f9f4; box-shadow: 0 8px 24px rgba(0,155,77,0.12); }
.quote-screen-option-radio {
    width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 50%; flex-shrink: 0;
    margin-top: 2px; transition: all 0.2s; position: relative;
}
.quote-screen-option.selected .quote-screen-option-radio { border-color: #009B4D; background: #009B4D; }
.quote-screen-option.selected .quote-screen-option-radio::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.quote-screen-option-content { flex: 1; }
.quote-screen-option-label { font-size: 1rem; font-weight: 600; color: #333; display: flex; align-items: center; gap: 0.5rem; }
.quote-screen-option-badge {
    font-size: 0.7rem; padding: 0.15rem 0.5rem; border-radius: 10px; background: #00c853; color: #fff; font-weight: 600;
}
.quote-screen-option-badge-common {
    background: #2962ff;
}
.quote-select-hint {
    text-align: center; padding: 1rem; color: #999; font-size: 0.9rem; font-style: italic;
}
.quote-screen-option-desc { font-size: 0.85rem; color: #777; margin-top: 0.3rem; line-height: 1.5; }
.quote-screen-option-warranty { font-size: 0.75rem; color: #00796b; margin-top: 0.3rem; font-weight: 500; }
.quote-screen-option-bullets { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.quote-screen-option-bullets li {
    font-size: 0.8rem; color: #666; padding: 0.15rem 0; display: flex; align-items: flex-start; gap: 0.4rem;
    line-height: 1.4;
}
.quote-screen-option-bullets li i { color: #009B4D; font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }
.quote-screen-option-explanation { font-size: 0.82rem; color: #777; margin-top: 0.35rem; line-height: 1.5; }
.quote-screen-option-price { font-size: 1.3rem; font-weight: 700; color: #009B4D; white-space: nowrap; }
.quote-screen-option-price.quote-only { color: #999; font-size: 0.9rem; font-weight: 500; }

/* Pro Warning */
.quote-pro-warning {
    background: rgba(255,193,7,0.08); border: none; border-radius: 14px; padding: 0.85rem 1rem;
    font-size: 0.85rem; color: #856404; margin-bottom: 1rem; display: flex; gap: 0.5rem; align-items: flex-start;
}
.quote-pro-warning i { color: #ffc107; margin-top: 2px; }

/* Quality Disclosure */
.quote-quality-disclosure {
    font-size: 0.9rem; color: #555; padding: 1rem 1.25rem; background: rgba(0,155,77,0.04);
    border-radius: 12px; margin-bottom: 1.5rem; line-height: 1.6; font-weight: 400;
    border-left: 3px solid rgba(0,155,77,0.2);
}

/* ============================================
   Post-Quote Actions (Reserve / Send / Options)
   ============================================ */
.quote-breakdown-actions { margin-top: 1.5rem; }

.quote-post-actions { text-align: center; }
.quote-post-intro { font-size: 1.15rem; font-weight: 600; color: #1a1a2e; margin: 0 0 0.3rem; }
.quote-post-sub { font-size: 0.95rem; color: #666; margin: 0 0 1.5rem; line-height: 1.5; }

.quote-post-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
.quote-cta-primary {
    padding: 1.1rem; background: #009B4D; color: #fff;
    border: none; border-radius: 14px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s; font-family: inherit; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.quote-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 155, 77, 0.25); }
.quote-cta-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.quote-cta-secondary {
    padding: 1.1rem; background: #fff; color: #009B4D; border: 2px solid #009B4D;
    border-radius: 14px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: all 0.2s; font-family: inherit; width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.quote-cta-secondary:hover { background: rgba(0,155,77,0.04); }

.quote-cta-tertiary {
    padding: 1rem; background: rgba(0,0,0,0.02); color: #555; border: none;
    border-radius: 14px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
    font-family: inherit; width: 100%; text-decoration: none;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.quote-cta-tertiary:hover { background: rgba(0,0,0,0.05); }

/* Side-by-side buttons on larger screens */
@media (min-width: 600px) {
    .quote-post-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }
    .quote-post-buttons .quote-cta-primary,
    .quote-post-buttons .quote-cta-secondary {
        flex: 1;
    }
    .quote-post-buttons .quote-cta-tertiary {
        flex: 1;
    }
}

/* Post-Quote Panels */
.quote-post-panel {
    background: #fff; border-radius: 20px; padding: 1.5rem; border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.quote-post-panel-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.quote-post-panel-header h3 { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin: 0; }
.quote-panel-back {
    background: none; border: none; color: #888; font-size: 0.85rem; cursor: pointer;
    font-family: inherit; padding: 0.3rem 0.5rem; transition: color 0.2s;
}
.quote-panel-back:hover { color: #333; }
.quote-post-panel-text { color: #666; font-size: 0.95rem; line-height: 1.6; margin: 0 0 1.2rem; }

/* Send Quote Options */
.quote-send-options { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.2rem; }
.quote-send-option {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem;
    border: none; border-radius: 14px; cursor: pointer; transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04); background: #fff;
}
.quote-send-option:hover { box-shadow: 0 4px 16px rgba(0,155,77,0.08); }
.quote-send-option input[type="radio"] {
    appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #ccc;
    border-radius: 50%; cursor: pointer; position: relative; flex-shrink: 0; transition: all 0.2s;
}
.quote-send-option input[type="radio"]:checked { border-color: #009B4D; background: #009B4D; }
.quote-send-option input[type="radio"]:checked::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 8px; height: 8px; border-radius: 50%; background: #fff;
}
.quote-send-option span { font-size: 0.95rem; color: #333; display: flex; align-items: center; gap: 0.5rem; }
.quote-send-option:has(input:checked) { background: rgba(0,155,77,0.04); box-shadow: 0 4px 16px rgba(0,155,77,0.10); }

/* Send Quote Preview */
.quote-send-quote-preview {
    background: rgba(0,0,0,0.02); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.2rem;
}
.quote-send-preview-label { font-size: 0.85rem; font-weight: 600; color: #555; margin: 0 0 0.5rem; }
.quote-send-preview-list { list-style: none; padding: 0; margin: 0; }
.quote-send-preview-list li {
    font-size: 0.9rem; color: #666; padding: 0.25rem 0; display: flex; align-items: center; gap: 0.5rem;
}
.quote-send-preview-list li i { color: #009B4D; font-size: 0.8rem; }
.quote-send-preview-list li.quote-send-preview-total {
    border-top: 1px solid rgba(0,0,0,0.06); margin-top: 0.4rem; padding-top: 0.5rem;
    font-weight: 700; color: #009B4D; font-size: 1rem;
}
.quote-send-validity { font-size: 0.85rem; color: #888; margin: 0.75rem 0 0; display: flex; align-items: center; gap: 0.4rem; }

/* Hesitation Options */
.quote-hesitation-options { display: flex; flex-direction: column; gap: 0.6rem; }
.quote-hesitation-option {
    padding: 1rem; background: #fff; border: none; border-radius: 16px;
    font-size: 0.95rem; font-weight: 500; color: #444; cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit; text-align: left; display: flex; align-items: center; gap: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.quote-hesitation-option i { color: #009B4D; font-size: 1.1rem; width: 24px; text-align: center; }
.quote-hesitation-option:hover { box-shadow: 0 8px 24px rgba(0,155,77,0.10); transform: translateX(2px); background: #f8fdf9; }

/* Hesitation Response */
.quote-hesitation-response { margin-bottom: 1.2rem; }
.quote-hesitation-response p { color: #555; font-size: 0.95rem; line-height: 1.6; margin: 0 0 0.8rem; }
.quote-option-list { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.quote-option-list li {
    font-size: 0.9rem; color: #666; padding: 0.4rem 0; display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.5;
}
.quote-option-list li i { color: #009B4D; font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.quote-hesitation-note { font-size: 0.88rem; color: #777; line-height: 1.5; margin: 0 0 0.6rem; }
.quote-budget-question { font-size: 1rem; font-weight: 600; color: #1a1a2e; margin: 1rem 0 1.2rem; }

/* Budget Input */
.quote-budget-input {
    display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem;
}
.quote-budget-prefix { font-size: 1.3rem; font-weight: 700; color: #009B4D; }
.quote-budget-input input {
    flex: 1; padding: 0.85rem 1rem; border: none; border-radius: 14px;
    font-size: 1.2rem; font-family: inherit; transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); background: #fff;
}
.quote-budget-input input:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }

/* Vertical Buttons (for sub-panels) */
.quote-post-buttons-vertical { display: flex; flex-direction: column; gap: 0.6rem; }

/* FAQ List */
.quote-faq-list { margin-bottom: 1.2rem; }
.quote-faq-item {
    border: none; border-radius: 16px; margin-bottom: 0.75rem; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04); background: #fff;
}
.quote-faq-item summary {
    padding: 1rem 1.1rem; font-size: 0.92rem; font-weight: 600; color: #444; cursor: pointer;
    list-style: none; display: flex; align-items: center; justify-content: space-between;
}
.quote-faq-item summary::after { content: '+'; font-size: 1.3rem; color: #009B4D; transition: transform 0.2s; }
.quote-faq-item[open] summary::after { transform: rotate(45deg); }
.quote-faq-item summary::-webkit-details-marker { display: none; }
.quote-faq-item p { padding: 0 1.1rem 1rem; font-size: 0.88rem; color: #666; line-height: 1.6; margin: 0; }

/* Question Box */
.quote-question-box { margin-top: 1rem; }
.quote-question-box textarea {
    width: 100%; padding: 0.85rem 1rem; border: none; border-radius: 14px;
    font-size: 0.95rem; font-family: inherit; resize: vertical; margin-bottom: 0.75rem; transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); background: #fff;
}
.quote-question-box textarea:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }

/* ============================================
   Customer Details Form
   ============================================ */
.quote-details-form { margin-top: 1.5rem; }
.quote-form-title { font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin: 0 0 1rem; }

.quote-form-group { margin-bottom: 1rem; }
.quote-form-group label { display: block; font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 0.4rem; }
.quote-form-group label .required { color: #e53935; }
.quote-form-group input, .quote-form-group textarea {
    width: 100%; padding: 0.85rem 1rem; border: none; border-radius: 14px;
    font-size: 1rem; font-family: inherit; transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06); background: #fff;
}
.quote-form-group input:focus, .quote-form-group textarea:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }
.quote-form-group .quote-form-hint { font-size: 0.8rem; color: #888; margin-top: 0.3rem; }
.quote-form-group .quote-form-error { font-size: 0.8rem; color: #e53935; margin-top: 0.3rem; display: none; }
.quote-form-group.error input, .quote-form-group.error textarea { box-shadow: 0 0 0 2px rgba(229,57,53,0.3); }
.quote-form-group.error .quote-form-error { display: block; }

/* Toggles */
.quote-toggles { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0; }
.quote-toggle { display: flex; align-items: flex-start; gap: 0.75rem; cursor: pointer; }
.quote-toggle input[type="checkbox"] {
    appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 2px solid #ccc;
    border-radius: 6px; cursor: pointer; position: relative; flex-shrink: 0; margin-top: 1px; transition: all 0.2s;
}
.quote-toggle input[type="checkbox"]:checked { background: #009B4D; border-color: #009B4D; }
.quote-toggle input[type="checkbox"]:checked::after {
    content: '\2713'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: #fff; font-size: 0.8rem; font-weight: 700;
}
.quote-toggle-label { font-size: 0.9rem; color: #444; line-height: 1.5; }
.quote-toggle-label a { color: #009B4D; text-decoration: underline; }
.quote-toggle-label .toggle-required { color: #e53935; font-size: 0.8rem; }

/* Submit Button */
.quote-submit-btn {
    width: 100%; padding: 1.1rem; background: #009B4D; color: #fff;
    border: none; border-radius: 14px; font-size: 1.1rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s; font-family: inherit; margin-top: 0.5rem;
}
.quote-submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 155, 77, 0.25); }
.quote-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.quote-submit-btn.loading { pointer-events: none; opacity: 0.8; }
.quote-form-footer { font-size: 0.8rem; color: #888; text-align: center; margin-top: 0.75rem; }

/* ============================================
   Success States
   ============================================ */
.quote-success { text-align: center; padding: 2rem 1rem; }
.quote-success-icon {
    width: 80px; height: 80px; background: #009B4D; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 2.5rem; color: #fff;
    animation: quote-success-pop 0.5s ease;
    box-shadow: 0 6px 20px rgba(0,155,77,0.25);
}
@keyframes quote-success-pop { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }
.quote-success h3 { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.5rem; }
.quote-success p { color: #666; margin: 0 0 1.5rem; line-height: 1.6; }
.quote-success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.quote-success-btn {
    padding: 0.85rem 2rem; border-radius: 14px; font-size: 1rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.2s; font-family: inherit; border: none;
}
.quote-success-btn.primary { background: #009B4D; color: #fff; }
.quote-success-btn.primary:hover { background: #00873f; }
.quote-success-btn.secondary { background: rgba(0,0,0,0.04); color: #333; }
.quote-success-btn.secondary:hover { background: rgba(0,0,0,0.07); }

/* Reject Popup */
.quote-reject-popup {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; z-index: 10000; padding: 1rem;
}
.quote-reject-popup.active { display: flex; }
.quote-reject-content {
    background: #fff; border-radius: 24px; padding: 2rem; max-width: 480px; width: 100%;
    text-align: center; animation: quote-step-enter 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.quote-reject-content h3 { font-size: 1.3rem; font-weight: 700; color: #1a1a2e; margin: 0 0 0.5rem; }
.quote-reject-content p { color: #666; font-size: 0.95rem; margin: 0 0 1.25rem; line-height: 1.6; }
.quote-reject-content textarea {
    width: 100%; padding: 0.85rem 1rem; border: none; border-radius: 14px;
    font-size: 0.95rem; font-family: inherit; min-height: 80px; resize: vertical; margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.quote-reject-content textarea:focus { outline: none; box-shadow: 0 4px 20px rgba(0,155,77,0.12); }
.quote-reject-actions { display: flex; gap: 0.75rem; }
.quote-reject-actions button {
    flex: 1; padding: 0.85rem; border-radius: 14px; font-size: 0.95rem; font-weight: 600;
    cursor: pointer; border: none; font-family: inherit; transition: all 0.2s;
}
.quote-reject-send { background: #009B4D; color: #fff; }
.quote-reject-send:hover { background: #00873f; }
.quote-reject-cancel { background: rgba(0,0,0,0.04); color: #333; }
.quote-reject-cancel:hover { background: rgba(0,0,0,0.07); }

/* ============================================
   Mobile Sticky Bottom Bar — now uses site-wide hc-mobile-taskbar
   with dynamic buttons swapped by quote.js
   ============================================ */

/* Progress sheet */
.quote-progress-sheet { display: flex; flex-direction: column; gap: 0.5rem; }

/* Search sheet */
.quote-sheet-search { position: relative; margin-bottom: 1rem; }
.quote-sheet-search-icon { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: #999; font-size: 0.9rem; }
.quote-sheet-search-input {
    width: 100%; padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: none; border-radius: 14px;
    font-size: 0.95rem; font-family: inherit; outline: none;
    transition: all 0.2s; box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.quote-sheet-search-input:focus { box-shadow: 0 4px 20px rgba(0,155,77,0.12); }
.quote-sheet-search-results {
    max-height: none; overflow: visible; -webkit-overflow-scrolling: auto;
}
.quote-progress-sheet-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem; background: rgba(0,0,0,0.02); border-radius: 14px; border: none;
}
.quote-progress-sheet-item--clickable { cursor: pointer; transition: all 0.2s; }
.quote-progress-sheet-item--clickable:active { background: rgba(0,155,77,0.06); }
.quote-progress-sheet-label {
    font-size: 0.7rem; font-weight: 600; color: #999; text-transform: uppercase;
    letter-spacing: 0.05em; min-width: 60px; flex-shrink: 0;
}
.quote-progress-sheet-value {
    flex: 1; font-size: 0.95rem; font-weight: 600; color: #333;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.quote-progress-sheet-arrow { font-size: 0.7rem; color: #009B4D; flex-shrink: 0; }

/* Mobile selection context — shows current selections above step content */
.quote-mobile-context {
    display: none; font-size: 0.8rem; font-weight: 600; color: #00796b;
    padding: 0.5rem 0.75rem; margin-bottom: 0.5rem;
    background: rgba(0,155,77,0.04); border-radius: 10px; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 600px) {
    .quote-mobile-context { display: block; }
}

/* Desktop sheet overrides */
@media (min-width: 601px) {
    .quote-sheet-content .quote-brands-grid { grid-template-columns: repeat(5, 1fr) !important; gap: 0.4rem !important; }
    .quote-sheet-content .quote-brands-grid .quote-card--compact {
        aspect-ratio: 1 !important; min-height: 0 !important; max-height: none !important;
        padding: 0 !important; overflow: hidden !important;
    }
    .quote-sheet-content .quote-brands-grid .quote-card--compact .quote-card-icon { padding: 0 !important; }
    .quote-sheet-content .quote-brands-grid .quote-card--compact .quote-card-icon i { font-size: 1rem !important; }
    .quote-sheet-content .quote-brands-grid .quote-card--compact .quote-card-icon img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; }
    .quote-sheet-content .quote-brands-grid .quote-card--compact .quote-card-label { font-size: 0.6rem !important; font-weight: 600 !important; }

    .quote-sheet-content .quote-card-grid--compact { grid-template-columns: repeat(4, 1fr) !important; gap: 0.75rem !important; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact {
        aspect-ratio: 1 !important; min-height: 0 !important; max-height: none !important;
        padding: 0 !important; overflow: hidden !important;
    }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact .quote-card-icon { padding: 0 !important; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact .quote-card-icon i { font-size: 1.8rem !important; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact .quote-card-icon img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: contain !important; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact .quote-card-label { font-size: 0.78rem !important; font-weight: 600 !important; }

    .quote-sheet-content .quote-card-grid--compact .quote-card--compact { position: relative; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact .quote-card-hint { font-size: 0.72rem; color: #009B4D; font-weight: 600; margin-top: 0.15rem; }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact:hover::after {
        content: attr(data-tooltip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
        background: #1a1a2e; color: #fff; padding: 0.4rem 0.75rem; border-radius: 8px;
        font-size: 0.78rem; white-space: nowrap; z-index: 100; pointer-events: none;
    }
    .quote-sheet-content .quote-card-grid--compact .quote-card--compact:hover::before {
        content: ''; position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%);
        border: 4px solid transparent; border-top-color: #1a1a2e; z-index: 100; pointer-events: none;
    }

    .quote-sheet-content .quote-card--manual {
        grid-column: span 1 !important;
        aspect-ratio: 1 !important;
    }
    .quote-sheet-content .quote-card--manual .quote-card-label {
        font-size: 0.78rem !important;
    }
}

/* ============================================
   Desktop Rich Layout (768px+)
   ============================================ */
@media (min-width: 768px) {
    .quote-main { max-width: 900px; padding: 2rem 1.5rem 4rem; }
    .quote-card-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .quote-card-icon i { font-size: 4rem; }
    .quote-card-label { font-size: 1rem; }
    .quote-card-hint { font-size: 0.85rem; }
    .quote-step-title { font-size: 1.75rem; }
    .quote-step-subtitle { font-size: 1rem; }

    #make-grid { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
    #make-grid .quote-card { aspect-ratio: 1; }
    #make-grid .quote-card-icon i { font-size: 2.8rem; }
    #make-grid .quote-card-label { font-size: 0.9rem; }

    #model-list { grid-template-columns: repeat(4, 1fr) !important; gap: 0.75rem; }
    #model-list .quote-card { aspect-ratio: 1; height: auto; }
    #model-list .quote-card-label { font-size: 0.88rem; }

    .quote-repair-top-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
    .quote-card--top .quote-card-label { font-size: 1rem; }
    .quote-card--top .quote-card-hint { font-size: 0.82rem; }
    .quote-repair-more { font-size: 1rem; padding: 1rem; }

    .quote-repair-modal-sheet { padding: 1.5rem 2rem; }
    .quote-repair-modal-title { font-size: 1.5rem; }
    .quote-repair-modal-price { font-size: 2.2rem; }

    .quote-result-card { padding: 2.5rem; }
    .quote-summary-repair { font-size: 1.6rem; }
    .quote-summary-price { font-size: 2.5rem; }

    .quote-breakdown-device-img { width: 200px; height: 200px; }

    .quote-sheet-content .quote-brands-grid { grid-template-columns: repeat(5, 1fr) !important; }
}

@media (min-width: 1024px) { .quote-main { max-width: 1000px; } #make-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 600px) {
    html, body { overflow-x: hidden; max-width: 100%; }
    .quote-page { overflow-x: hidden; max-width: 100vw; }
    .quote-main { padding: 1rem 0.75rem 5rem; overflow-x: hidden; max-width: 100%; }
    .quote-progress-bar { display: none; }
    .quote-breadcrumb-row { display: none !important; }
    .quote-step-title { font-size: 1.25rem; }
    .quote-step-subtitle { font-size: 0.85rem; }
    .quote-card-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .quote-card-grid--list { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .quote-card-icon i { font-size: 2.6rem; }
    .quote-card-label { font-size: 0.78rem; }
    .quote-card-hint { font-size: 0.72rem; }
    .quote-screen-option { flex-direction: column; gap: 0.5rem; }
    .quote-screen-option-price { align-self: flex-start; }
    .quote-success-actions { flex-direction: column; gap: 0.5rem; }
    .quote-success-btn { width: 100%; text-align: center; }
    .quote-post-buttons { gap: 0.5rem; }
    .quote-cta-primary { font-size: 1rem; padding: 1rem; }

    .quote-info-cards { flex-direction: column; gap: 0.5rem; }
    .quote-info-card { min-width: 0; max-width: none; }
    .quote-personalized-badge { font-size: 1.05rem; padding: 0.5rem 1.2rem; }

    #make-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    #make-grid .quote-brand-hidden .quote-card-grid--compact { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
    #make-grid .quote-card--compact { aspect-ratio: 1; }
    #make-grid .quote-card--compact .quote-card-icon i { font-size: 1.6rem; }
    #make-grid .quote-card--compact .quote-card-label { font-size: 0.7rem; }

    .quote-sheet-content .quote-brands-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
    .quote-sheet-content .quote-brands-grid .quote-card-label { font-size: 0.72rem; }
    .quote-sheet-content .quote-brands-grid .quote-card--compact .quote-card-icon i { font-size: 1.6rem; }

    .quote-sheet-content .quote-card-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .quote-sheet-content .quote-card--compact { aspect-ratio: 1; }
    .quote-sheet-content .quote-card--compact .quote-card-icon i { font-size: 2.6rem; }
    .quote-sheet-content .quote-card--compact .quote-card-label { font-size: 0.78rem; }

    .quote-sheet-content .quote-card-grid--list { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .quote-sheet-content .quote-card-grid--list .quote-card { aspect-ratio: 1; }
    .quote-sheet-content .quote-card-grid--list .quote-card-icon i { font-size: 2.6rem; }
    .quote-sheet-content .quote-card-grid--list .quote-card-label { font-size: 0.78rem; }

    #model-list { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem; }
    #model-list .quote-card { aspect-ratio: 1; height: auto; min-height: 0; }
    #model-list .quote-card-icon i { font-size: 2.6rem; }
    #model-list .quote-card-label { font-size: 0.78rem; }

    .quote-repair-top-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-card--top { aspect-ratio: 1; }
    .quote-card--top .quote-card-icon i { font-size: 2.8rem; }
    .quote-card--top .quote-card-label { font-size: 0.92rem; }
    .quote-card--top .quote-card-hint { font-size: 0.78rem; }
    .quote-repair-manual { font-size: 1.1rem; padding: 2.5rem 1.5rem; }
    .quote-model-not-listed { font-size: 1.1rem; padding: 2.5rem 1.5rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .quote-step, .quote-card, .quote-success-icon { animation: none !important; }
    .quote-progress-fill { transition: none !important; }
}

/* Colour Picker — tappable field + slide-up sheet */
.quote-colour-field-wrap { margin-bottom: 1.5rem; text-align: center; }
.quote-colour-field-label {
    display: block; font-size: 0.9rem; font-weight: 600; color: #333; margin-bottom: 0.5rem;
}
.quote-colour-field {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 0.85rem 1.2rem; border: 2px solid #e0e0e0; border-radius: 14px;
    background: #fff; cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.quote-colour-field:hover, .quote-colour-field:focus { border-color: #009B4D; outline: none; }
.quote-colour-field.has-value { border-color: #009B4D; background: #f0f9f4; }
.quote-colour-field-value { font-size: 0.95rem; color: #666; font-weight: 500; }
.quote-colour-field.has-value .quote-colour-field-value { color: #009B4D; font-weight: 600; }
.quote-colour-field-arrow { color: #ccc; font-size: 0.8rem; }

/* Colour sheet items */
.quote-colour-sheet-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.quote-colour-sheet-item {
    padding: 1rem 1.2rem; border: 2px solid #eee; border-radius: 14px;
    background: #fff; font-size: 1rem; font-weight: 500; color: #333;
    cursor: pointer; transition: all 0.2s; font-family: inherit; text-align: left;
    display: flex; align-items: center; gap: 0.75rem;
}
.quote-colour-sheet-item::before {
    content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #ccc; flex-shrink: 0;
}
.quote-colour-sheet-item:hover { border-color: #009B4D; background: #f0f9f4; }
.quote-colour-sheet-item:hover::before { border-color: #009B4D; }
.quote-colour-sheet-custom { color: #888; font-style: italic; }
.quote-colour-custom-wrap {
    display: flex; gap: 0.5rem; margin-bottom: 1rem;
}
.quote-colour-custom-input {
    flex: 1; padding: 0.75rem 1rem; border: 2px solid #e0e0e0; border-radius: 12px;
    font-size: 0.95rem; font-family: inherit; outline: none; transition: border-color 0.2s;
}
.quote-colour-custom-input:focus { border-color: #009B4D; }
.quote-colour-custom-confirm {
    padding: 0.75rem 1.5rem; border: none; border-radius: 12px;
    background: #009B4D; color: #fff; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; font-family: inherit; transition: background 0.2s;
}
.quote-colour-custom-confirm:hover { background: #008a44; }


