/**
 * ============================================================
 * Wrap Haus — Main Stylesheet
 * ============================================================
 * Brand Colors:
 *   Primary:    #1c7df1 (Blue)
 *   Secondary:  #c82127 (Red)
 *   Background: #ffffff (White)
 * Font: Outfit (Google Fonts)
 * Framework: Bootstrap 5 (extended)
 * ============================================================
 */

/* ── CSS Variables ── */
:root {
    --wh-primary: #1c7df1;
    --wh-primary-dark: #1565c0;
    --wh-primary-light: #e8f2fe;
    --wh-primary-rgb: 28, 125, 241;
    --wh-secondary: #c82127;
    --wh-secondary-dark: #a51c21;
    --wh-secondary-light: #fce8e9;
    --wh-bg: #ffffff;
    --wh-bg-light: #f8f9fb;
    --wh-bg-dark: #f0f2f5;
    --wh-text: #1a1a2e;
    --wh-text-muted: #6b7280;
    --wh-text-light: #9ca3af;
    --wh-border: #e5e7eb;
    --wh-border-light: #f0f0f0;
    --wh-success: #10b981;
    --wh-warning: #f59e0b;
    --wh-danger: #ef4444;
    --wh-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --wh-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --wh-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --wh-radius: 12px;
    --wh-radius-sm: 8px;
    --wh-radius-lg: 16px;
    --wh-radius-xl: 24px;
    --wh-transition: all 0.2s ease;
    --wh-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --wh-navbar-height: 60px;
}

/* ── Global Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--wh-font);
    color: var(--wh-text);
    background: var(--wh-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--wh-font);
    font-weight: 700;
    color: var(--wh-text);
}

/* ═══════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════ */

.wh-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--wh-navbar-height);
    background: var(--wh-bg);
    border-bottom: 1px solid var(--wh-border-light);
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.wh-navbar-brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.wh-logo {
    height: 36px;
    width: auto;
}

.wh-btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: var(--wh-radius-sm);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--wh-transition);
}

.wh-btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   MAIN CONTENT AREA
   ═══════════════════════════════════════ */

.wh-body {
    background: var(--wh-bg-light);
}

.wh-main {
    padding-top: var(--wh-navbar-height);
    min-height: 100vh;
}

/* ═══════════════════════════════════════
   WIZARD — Progress Bar
   ═══════════════════════════════════════ */

.wh-wizard-progress {
    position: sticky;
    top: var(--wh-navbar-height);
    z-index: 999;
    background: var(--wh-bg);
    border-bottom: 1px solid var(--wh-border-light);
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wh-wizard-progress::-webkit-scrollbar {
    display: none;
}

.wh-wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    gap: 4px;
    min-width: max-content;
    margin: 0 auto;
}

.wh-wizard-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--wh-text-light);
    white-space: nowrap;
    transition: var(--wh-transition);
    cursor: default;
    position: relative;
}

.wh-wizard-step .step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--wh-bg-dark);
    color: var(--wh-text-light);
    transition: var(--wh-transition);
    flex-shrink: 0;
}

.wh-wizard-step .step-label {
    display: none;
}

/* Active step */
.wh-wizard-step.active {
    color: var(--wh-primary);
    background: var(--wh-primary-light);
}

.wh-wizard-step.active .step-number {
    background: var(--wh-primary);
    color: #fff;
}

/* Completed step */
.wh-wizard-step.completed .step-number {
    background: var(--wh-success);
    color: #fff;
}

.wh-wizard-step.completed .step-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.65rem;
}

.wh-wizard-step.completed .step-number span {
    display: none;
}

/* Step connector line */
.wh-step-connector {
    width: 20px;
    height: 2px;
    background: var(--wh-border);
    flex-shrink: 0;
}

.wh-step-connector.completed {
    background: var(--wh-success);
}

/* ═══════════════════════════════════════
   WIZARD — Step Content Panels
   ═══════════════════════════════════════ */

.wh-step-panel {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.wh-step-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wh-step-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 16px 100px;
}

.wh-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--wh-text);
}

.wh-step-subtitle {
    font-size: 0.9rem;
    color: var(--wh-text-muted);
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   PHOTO UPLOAD
   ═══════════════════════════════════════ */

.wh-upload-zone {
    border: 2px dashed var(--wh-border);
    border-radius: var(--wh-radius-lg);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--wh-transition);
    background: var(--wh-bg);
    position: relative;
    overflow: hidden;
}

.wh-upload-zone:hover,
.wh-upload-zone.dragover {
    border-color: var(--wh-primary);
    background: var(--wh-primary-light);
}

.wh-upload-zone .upload-icon {
    font-size: 3rem;
    color: var(--wh-primary);
    margin-bottom: 16px;
}

.wh-upload-zone .upload-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--wh-text);
    margin-bottom: 6px;
}

.wh-upload-zone .upload-hint {
    font-size: 0.8rem;
    color: var(--wh-text-muted);
}

.wh-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Upload preview */
.wh-upload-preview {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.wh-upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--wh-radius);
    box-shadow: var(--wh-shadow);
    object-fit: contain;
}

.wh-upload-preview .file-info {
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--wh-text-muted);
}

/* Upload progress */
.wh-upload-progress {
    display: none;
    margin-top: 20px;
}

.wh-upload-progress .progress {
    height: 6px;
    border-radius: 3px;
}

.wh-upload-progress .progress-bar {
    background: var(--wh-primary);
    transition: width 0.3s ease;
}

/* Low resolution warning */
.wh-quality-warning {
    display: none;
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-radius: var(--wh-radius-sm);
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #92400e;
}

/* ═══════════════════════════════════════
   DESIGN GALLERY
   ═══════════════════════════════════════ */

/* Category filter pills */
.wh-design-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wh-design-filters::-webkit-scrollbar {
    display: none;
}

.wh-filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    background: var(--wh-bg);
    color: var(--wh-text-muted);
    border: 1px solid var(--wh-border);
    cursor: pointer;
    transition: var(--wh-transition);
}

.wh-filter-pill:hover {
    border-color: var(--wh-primary);
    color: var(--wh-primary);
}

.wh-filter-pill.active {
    background: var(--wh-primary);
    color: #fff;
    border-color: var(--wh-primary);
}

/* Design grid */
.wh-design-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Design card */
.wh-design-card {
    background: var(--wh-bg);
    border-radius: var(--wh-radius);
    border: 2px solid var(--wh-border-light);
    overflow: hidden;
    cursor: pointer;
    transition: var(--wh-transition);
    position: relative;
}

.wh-design-card:hover {
    border-color: var(--wh-primary);
    box-shadow: var(--wh-shadow);
    transform: translateY(-2px);
}

.wh-design-card.selected {
    border-color: var(--wh-primary);
    box-shadow: 0 0 0 3px rgba(var(--wh-primary-rgb), 0.2);
}

.wh-design-card.selected::after {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: var(--wh-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    z-index: 2;
}

.wh-design-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--wh-bg-dark);
}

/* Placeholder for designs without thumbnails */
.wh-design-thumb-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--wh-bg-dark), var(--wh-border));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--wh-text-light);
}

.wh-design-info {
    padding: 10px 12px;
}

.wh-design-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--wh-text);
}

.wh-design-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.wh-design-tier {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wh-design-tier.standard {
    background: #e8f5e9;
    color: #2e7d32;
}

.wh-design-tier.premium {
    background: #e3f2fd;
    color: #1565c0;
}

.wh-design-tier.luxury {
    background: #fff3e0;
    color: #e65100;
}

.wh-design-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--wh-border);
    flex-shrink: 0;
}

/* Featured badge */
.wh-featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f59e0b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   VEHICLE DETAILS FORM
   ═══════════════════════════════════════ */

.wh-form-group {
    margin-bottom: 20px;
}

.wh-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wh-text);
    margin-bottom: 6px;
}

.wh-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--wh-border);
    border-radius: var(--wh-radius-sm);
    font-family: var(--wh-font);
    font-size: 0.95rem;
    color: var(--wh-text);
    background: var(--wh-bg);
    transition: var(--wh-transition);
    -webkit-appearance: none;
}

.wh-form-control:focus {
    outline: none;
    border-color: var(--wh-primary);
    box-shadow: 0 0 0 3px rgba(var(--wh-primary-rgb), 0.15);
}

.wh-form-control.is-invalid {
    border-color: var(--wh-danger);
}

.wh-form-error {
    display: none;
    font-size: 0.8rem;
    color: var(--wh-danger);
    margin-top: 4px;
}

/* Selection button group (for vehicle type, coverage) */
.wh-select-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.wh-select-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1.5px solid var(--wh-border);
    border-radius: var(--wh-radius);
    background: var(--wh-bg);
    cursor: pointer;
    transition: var(--wh-transition);
    text-align: center;
}

.wh-select-btn:hover {
    border-color: var(--wh-primary);
}

.wh-select-btn.selected {
    border-color: var(--wh-primary);
    background: var(--wh-primary-light);
    color: var(--wh-primary);
}

.wh-select-btn .select-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--wh-text-muted);
}

.wh-select-btn.selected .select-icon {
    color: var(--wh-primary);
}

.wh-select-btn .select-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   AI PREVIEW
   ═══════════════════════════════════════ */

.wh-preview-container {
    background: var(--wh-bg);
    border-radius: var(--wh-radius-lg);
    overflow: hidden;
    box-shadow: var(--wh-shadow);
}

.wh-preview-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--wh-border-light);
}

.wh-preview-panel {
    position: relative;
    background: var(--wh-bg);
}

.wh-preview-panel img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.wh-preview-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.wh-preview-actions {
    padding: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Preview loading state */
.wh-preview-loading {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.wh-preview-loading .spinner-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.wh-preview-loading .spinner-ring {
    width: 80px;
    height: 80px;
    border: 4px solid var(--wh-border-light);
    border-top-color: var(--wh-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.wh-preview-loading .loading-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wh-text);
    margin-bottom: 4px;
}

.wh-preview-loading .loading-hint {
    font-size: 0.85rem;
    color: var(--wh-text-muted);
}

/* Preview error state */
.wh-preview-error {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: #fff5f5;
    border-radius: var(--wh-radius);
    border: 1px solid #fecaca;
}

/* ═══════════════════════════════════════
   QUOTE CARD
   ═══════════════════════════════════════ */

.wh-quote-card {
    background: var(--wh-bg);
    border-radius: var(--wh-radius-lg);
    box-shadow: var(--wh-shadow);
    overflow: hidden;
}

.wh-quote-header {
    background: linear-gradient(135deg, var(--wh-primary), var(--wh-primary-dark));
    color: #fff;
    padding: 24px 20px;
    text-align: center;
}

.wh-quote-header .quote-label {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 6px;
}

.wh-quote-header .quote-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.wh-quote-body {
    padding: 20px;
}

.wh-quote-breakdown {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wh-quote-breakdown li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--wh-border-light);
    font-size: 0.9rem;
}

.wh-quote-breakdown li:last-child {
    border-bottom: none;
}

.wh-quote-breakdown .breakdown-label {
    color: var(--wh-text-muted);
}

.wh-quote-breakdown .breakdown-value {
    font-weight: 600;
    color: var(--wh-text);
}

.wh-quote-disclaimer {
    font-size: 0.8rem;
    color: var(--wh-text-light);
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--wh-border-light);
}

/* ═══════════════════════════════════════
   LEAD FORM
   ═══════════════════════════════════════ */

/* Contact preference buttons */
.wh-contact-group {
    display: flex;
    gap: 10px;
}

.wh-contact-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1.5px solid var(--wh-border);
    border-radius: var(--wh-radius-sm);
    background: var(--wh-bg);
    cursor: pointer;
    transition: var(--wh-transition);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--wh-text-muted);
}

.wh-contact-btn:hover {
    border-color: var(--wh-primary);
}

.wh-contact-btn.selected {
    border-color: var(--wh-primary);
    background: var(--wh-primary-light);
    color: var(--wh-primary);
}

.wh-contact-btn i {
    font-size: 1.3rem;
}

/* Time preference buttons */
.wh-time-group {
    display: flex;
    gap: 10px;
}

.wh-time-btn {
    flex: 1;
    padding: 10px 8px;
    border: 1.5px solid var(--wh-border);
    border-radius: var(--wh-radius-sm);
    background: var(--wh-bg);
    cursor: pointer;
    transition: var(--wh-transition);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--wh-text-muted);
}

.wh-time-btn:hover {
    border-color: var(--wh-primary);
}

.wh-time-btn.selected {
    border-color: var(--wh-primary);
    background: var(--wh-primary-light);
    color: var(--wh-primary);
}

/* Privacy consent */
.wh-consent-box {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    background: var(--wh-bg-light);
    border-radius: var(--wh-radius-sm);
    font-size: 0.85rem;
    color: var(--wh-text-muted);
}

.wh-consent-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--wh-primary);
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */

.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: var(--wh-radius-sm);
    font-family: var(--wh-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wh-transition);
    text-decoration: none;
    line-height: 1;
}

.wh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wh-btn-primary {
    background: var(--wh-primary);
    color: #fff;
}

.wh-btn-primary:hover:not(:disabled) {
    background: var(--wh-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--wh-primary-rgb), 0.3);
}

.wh-btn-secondary {
    background: var(--wh-secondary);
    color: #fff;
}

.wh-btn-secondary:hover:not(:disabled) {
    background: var(--wh-secondary-dark);
    color: #fff;
}

.wh-btn-outline {
    background: transparent;
    color: var(--wh-text-muted);
    border: 1.5px solid var(--wh-border);
}

.wh-btn-outline:hover:not(:disabled) {
    border-color: var(--wh-primary);
    color: var(--wh-primary);
}

.wh-btn-success {
    background: var(--wh-success);
    color: #fff;
}

.wh-btn-success:hover:not(:disabled) {
    background: #059669;
    color: #fff;
}

.wh-btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.wh-btn-block {
    width: 100%;
}

.wh-btn .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
}

/* ═══════════════════════════════════════
   BOTTOM ACTION BAR (Mobile App Feel)
   ═══════════════════════════════════════ */

.wh-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--wh-bg);
    border-top: 1px solid var(--wh-border-light);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.wh-bottom-bar-inner {
    display: flex;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.wh-bottom-bar .wh-btn {
    flex: 1;
}

/* Price summary in bottom bar */
.wh-bottom-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--wh-border-light);
}

.wh-bottom-price-item {
    text-align: center;
}

.wh-bottom-price-item .price-label {
    font-size: 0.7rem;
    color: var(--wh-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wh-bottom-price-item .price-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--wh-text);
}

.wh-bottom-price-item .price-value.total {
    color: var(--wh-primary);
    font-size: 1.1rem;
}

/* ═══════════════════════════════════════
   CONFIRMATION PAGE
   ═══════════════════════════════════════ */

.wh-confirmation {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.wh-confirmation-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--wh-success);
}

.wh-confirmation h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.wh-confirmation p {
    color: var(--wh-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.wh-next-steps {
    background: var(--wh-bg-light);
    border-radius: var(--wh-radius);
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.wh-next-steps .step-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
}

.wh-next-steps .step-item:not(:last-child) {
    border-bottom: 1px solid var(--wh-border-light);
}

.wh-next-steps .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--wh-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   CARDS & UTILITIES
   ═══════════════════════════════════════ */

.wh-card {
    background: var(--wh-bg);
    border-radius: var(--wh-radius);
    box-shadow: var(--wh-shadow-sm);
    border: 1px solid var(--wh-border-light);
}

.wh-card-body {
    padding: 20px;
}

/* Alert / Toast */
.wh-toast {
    position: fixed;
    top: calc(var(--wh-navbar-height) + 10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--wh-text);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--wh-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--wh-shadow-lg);
    display: none;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.wh-toast.success {
    background: var(--wh-success);
}

.wh-toast.error {
    background: var(--wh-danger);
}

/* Empty state */
.wh-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--wh-text-muted);
}

.wh-empty-state i {
    font-size: 3rem;
    color: var(--wh-border);
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════
   RESPONSIVE — Desktop (md+)
   ═══════════════════════════════════════ */

@media (min-width: 768px) {
    .wh-step-content {
        padding: 32px 20px 60px;
    }

    .wh-wizard-step .step-label {
        display: inline;
    }

    .wh-design-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .wh-select-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .wh-step-title {
        font-size: 1.6rem;
    }

    .wh-bottom-bar {
        padding: 16px 24px;
    }

    .wh-preview-comparison {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large desktop */
@media (min-width: 1200px) {
    .wh-design-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .wh-select-group {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — Mobile (< 768px)
   ═══════════════════════════════════════ */

@media (max-width: 767.98px) {
    /* Make it feel like a native app */
    body {
        -webkit-user-select: none;
        user-select: auto;
        overscroll-behavior-y: contain;
    }

    .wh-navbar {
        height: 52px;
    }

    .wh-logo {
        height: 28px;
    }

    .wh-main {
        padding-top: 52px;
    }

    .wh-wizard-progress {
        top: 52px;
    }

    :root {
        --wh-navbar-height: 52px;
    }

    .wh-step-content {
        padding: 16px 14px 90px;
    }

    .wh-step-title {
        font-size: 1.2rem;
    }

    .wh-step-subtitle {
        font-size: 0.85rem;
    }

    .wh-wizard-steps {
        justify-content: flex-start;
        padding: 10px 12px;
        gap: 2px;
    }

    .wh-wizard-step {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .wh-wizard-step .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .wh-step-connector {
        width: 12px;
    }

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

    .wh-preview-comparison {
        grid-template-columns: 1fr;
    }

    .wh-select-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .wh-upload-zone {
        padding: 30px 16px;
    }

    .wh-upload-zone .upload-icon {
        font-size: 2.5rem;
    }

    .wh-form-control {
        padding: 11px 14px;
        font-size: 16px; /* Prevents iOS zoom */
    }

    /* Bottom bar tighter on mobile */
    .wh-bottom-bar {
        padding: 10px 14px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .wh-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .wh-btn-lg {
        padding: 14px 24px;
    }
}

/* ═══════════════════════════════════════
   iOS SAFE AREA SUPPORT
   ═══════════════════════════════════════ */

@supports (padding: max(0px)) {
    .wh-bottom-bar {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* ═══════════════════════════════════════
   PAYMENT SECTION
   ═══════════════════════════════════════ */

.wh-payment-methods {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.wh-payment-method {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid var(--wh-border);
    border-radius: var(--wh-radius);
    background: var(--wh-bg);
    cursor: pointer;
    transition: var(--wh-transition);
}

.wh-payment-method:hover {
    border-color: var(--wh-primary);
}

.wh-payment-method.selected {
    border-color: var(--wh-primary);
    background: var(--wh-primary-light);
}

.wh-payment-method img {
    height: 32px;
    object-fit: contain;
}

.wh-payment-method span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ═══════════════════════════════════════
   SKELETON LOADERS
   ═══════════════════════════════════════ */

.wh-skeleton {
    background: linear-gradient(90deg, var(--wh-bg-dark) 25%, var(--wh-bg-light) 50%, var(--wh-bg-dark) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--wh-radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════
   DARK SCROLLBAR (subtle)
   ═══════════════════════════════════════ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--wh-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wh-text-light);
}
