/* ============================================
   CUSTOMER FORM - LIGHT THEME
   Scoped with .ce- prefix to avoid Shopify conflicts
   ============================================ */

/* Fonts */
@font-face {
    font-family: 'Haffer';
    src: url('/fonts/Haffer-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Haffer';
    src: url('/fonts/Haffer-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'RZA';
    src: url('/fonts/RzaRegular-Desktop.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset within wrapper */
.ce-form-wrapper *,
.ce-form-wrapper *::before,
.ce-form-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Wrapper */
.ce-form-wrapper {
    font-family: 'Haffer', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 540px;
    margin: 0 auto;
    padding: 24px 20px;
    background: #ffffff;
    color: #1a1a1a;
    position: relative;
    overflow: hidden;
}

/* Override wrapper width for landing screen */
.ce-form-wrapper:has([data-step="intro"].active) {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Progress Bar */
.ce-progress {
    height: 3px;
    background: #f0f0f0;
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.ce-progress-bar {
    height: 100%;
    background: #ff575f;
    border-radius: 3px;
    width: 0%;
    transition: width 0.4s ease;
}

/* Steps */
.ce-step {
    display: none;
    animation: ceSlideIn 0.3s ease;
}

.ce-step.active {
    display: flex;
    flex-direction: column;
}

@keyframes ceSlideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ceSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.ce-step-content {
}

/* Typography */
.ce-form-wrapper h1 {
    font-family: 'RZA', 'Haffer', -apple-system, sans-serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.ce-subtitle {
    font-size: 15px;
    color: #888888;
    margin-bottom: 32px;
    line-height: 1.4;
}

/* Inputs */
.ce-input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: #1a1a1a;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ce-input:focus {
    border-color: #ff575f;
    box-shadow: 0 0 0 4px rgba(255, 87, 95, 0.08);
}

.ce-input::placeholder {
    color: #c0c0c0;
}

.ce-select {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    color: #1a1a1a;
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ce-select:focus {
    border-color: #ff575f;
    box-shadow: 0 0 0 4px rgba(255, 87, 95, 0.08);
}

/* Search Input with Icon */
.ce-search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.ce-search-input-wrapper .ce-input {
    padding-left: 44px;
}

.ce-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #c0c0c0;
    pointer-events: none;
}

/* Spinner */
.ce-spinner {
    display: none;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #ff575f;
    border-radius: 50%;
    animation: ceSpin 0.6s linear infinite;
}

.ce-spinner.active {
    display: block;
}

@keyframes ceSpin {
    to { transform: translateY(-50%) rotate(360deg); }
}

/* Brand Grid */
.ce-brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.ce-brand-btn {
    padding: 14px 16px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    color: #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
}

.ce-brand-btn:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.ce-brand-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
    color: #ff575f;
    font-weight: 600;
}

/* Year Grid */
.ce-year-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ce-year-btn {
    padding: 16px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.ce-year-btn:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.ce-year-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
    color: #ff575f;
}

/* Model Results */
.ce-model-results {
    max-height: 320px;
    overflow-y: auto;
}

.ce-model-item {
    padding: 14px 16px;
    border: 1.5px solid transparent;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.15s ease;
    border-radius: 8px;
    margin-bottom: 4px;
}

.ce-model-item:hover {
    background: #f8f8f8;
}

.ce-model-item.selected {
    background: #fff5f5;
    border-color: #ff575f;
}

.ce-model-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.ce-model-meta {
    font-size: 13px;
    color: #999999;
}

.ce-model-meta span {
    margin-right: 12px;
}

.ce-model-ebike-badge {
    display: inline-block;
    background: #eef6ff;
    color: #3b82f6;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ce-no-results {
    text-align: center;
    padding: 32px 16px;
    color: #999999;
    font-size: 14px;
}

/* Can't find link */
.ce-cant-find {
    margin-top: 16px;
    text-align: center;
}

.ce-cant-find a {
    color: #999999;
    font-size: 14px;
    text-decoration: none;
}

.ce-cant-find a:hover {
    text-decoration: underline;
}

/* Groupset Selection */
.ce-groupset-brand-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.ce-groupset-brand-btn {
    padding: 16px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.ce-groupset-brand-btn:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.ce-groupset-brand-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
    color: #ff575f;
}

.ce-groupset-models {
    margin-top: 16px;
}

.ce-groupset-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ce-groupset-btn {
    padding: 10px 18px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ce-groupset-btn:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.ce-groupset-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
    color: #ff575f;
    font-weight: 600;
}

/* Electronic Question */
.ce-electronic-question {
    margin-top: 24px;
}

.ce-divider {
    height: 1px;
    background: #f0f0f0;
    margin-bottom: 24px;
}

.ce-hint {
    font-size: 13px;
    color: #b0b0b0;
    margin-top: -4px;
    margin-bottom: 12px;
}

.ce-electronic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ce-electronic-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.ce-electronic-btn:hover {
    background: #f0f0f0;
    border-color: #e0e0e0;
}

.ce-electronic-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
}

.ce-electronic-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.ce-electronic-btn.selected .ce-electronic-label {
    color: #ff575f;
}

.ce-electronic-desc {
    font-size: 12px;
    color: #999999;
}

/* Splash / Landing */
.ce-splash {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px;
}

.ce-splash-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #f0f0f0;
    color: #1a1a1a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.ce-splash-title {
    font-family: 'RZA', 'Georgia', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #1a1a1a;
    margin: 0 0 16px;
}

.ce-splash-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #666666;
    max-width: 400px;
    margin: 0 0 32px;
}

.ce-splash-gif {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
    opacity: 1;
}

.ce-splash .ce-btn-large {
    margin-bottom: 40px;
}

.ce-splash-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

.ce-splash-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666666;
}

.ce-splash-detail svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #ff575f;
}

@media (max-width: 480px) {
    .ce-splash-title {
        font-size: 28px;
    }
    .ce-splash {
        padding-top: 24px;
    }
}

/* Condition Disclaimer */
.ce-condition-disclaimer {
    font-size: 13px;
    color: #999999;
    line-height: 1.5;
}

/* Upload Examples */
.ce-upload-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.ce-upload-example {
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.ce-upload-example-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.ce-upload-example-label {
    display: block;
    font-size: 12px;
    color: #999999;
    margin-top: 6px;
}

/* Three-column nav (back / skip / continue) */
.ce-nav-three {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ce-skip-photos-link {
    color: #999999;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.ce-skip-photos-link:hover {
    text-decoration: underline;
    color: #666666;
}

.ce-upload-message {
    display: none;
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    color: #808080;
}

/* Modal */
.ce-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ce-modal-overlay.active {
    display: flex;
}

.ce-modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.ce-modal h2 {
    font-family: 'RZA', 'Georgia', serif;
    font-size: 22px;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.ce-modal p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 8px;
}

.ce-modal p:last-of-type {
    margin-bottom: 24px;
}

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

/* Input with prefix (£ symbol) */
.ce-input-prefix-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ce-input-prefix {
    position: absolute;
    left: 14px;
    color: #999999;
    font-size: 15px;
    pointer-events: none;
}

.ce-input-with-prefix {
    padding-left: 30px;
}

.ce-rrp-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #c0392b;
    line-height: 1.4;
}

/* Extra Notes Textarea */
.ce-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Condition Cards */
.ce-condition-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ce-condition-card {
    padding: 20px;
    background: #f8f8f8;
    border: 1.5px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ce-condition-card:hover {
    background: #f3f3f3;
    border-color: #e0e0e0;
}

.ce-condition-card.selected {
    background: #fff5f5;
    border-color: #ff575f;
}

.ce-condition-grade {
    font-family: 'RZA', 'Haffer', sans-serif;
    font-size: 28px;
    color: #1a1a1a;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ce-condition-card.selected .ce-condition-grade {
    color: #ff575f;
}


.ce-condition-label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.ce-condition-desc {
    font-size: 14px;
    color: #888888;
    line-height: 1.5;
}

/* Loading Screen */
.ce-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 20px;
    text-align: center;
}

.ce-loading-spinner-large {
    width: 48px;
    height: 48px;
    border: 3px solid #e0e0e0;
    border-top-color: #ff575f;
    border-radius: 50%;
    animation: ce-spin 0.8s linear infinite;
}

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

.ce-loading-message {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.ce-loading-sub {
    font-size: 0.95rem;
    color: #666;
}

/* Result Screen */
.ce-result-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 40px;
}

.ce-result-bike-name {
    font-family: 'RZA', 'Haffer', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.ce-result-bike-specs {
    font-size: 14px;
    color: #888888;
    margin-bottom: 40px;
}

.ce-result-box {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 40px 32px;
    width: 100%;
    margin-bottom: 32px;
}

.ce-result-label {
    font-size: 13px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.ce-result-offer {
    font-size: 16px;
    color: #666666;
    margin-bottom: 8px;
}

.ce-result-price {
    font-family: 'RZA', 'Haffer', sans-serif;
    font-size: 38px;
    color: #ff575f;
    font-weight: 400;
    margin-bottom: 12px;
}

.ce-result-note {
    font-size: 14px;
    color: #999999;
}

.ce-result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ce-result-box-inner {
    display: flex;
    align-items: center;
}

.ce-result-box-text {
    flex: 0 0 60%;
}

.ce-result-box-arrow {
    flex: 0 0 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ce-result-arrow {
    width: 100%;
    max-width: 100px;
    height: auto;
}

/* Buttons */
.ce-btn {
    padding: 14px 28px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ce-btn-primary {
    background: #ff575f;
    color: #ffffff;
}

.ce-btn-primary:hover:not(:disabled) {
    background: #ff6b72;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 87, 95, 0.25);
}

.ce-btn-primary:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ce-btn-large {
    padding: 18px 32px;
    font-size: 17px;
}

.ce-btn-back {
    background: transparent;
    color: #888888;
    padding: 14px 20px;
}

.ce-btn-back:hover {
    color: #1a1a1a;
}

.ce-btn-ghost {
    background: transparent;
    color: #888888;
    border: 1.5px solid #e0e0e0;
}

.ce-btn-ghost:hover {
    background: #f8f8f8;
    color: #1a1a1a;
}

/* Navigation */
.ce-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
}

.ce-required {
    color: #e53e3e;
    font-weight: 400;
}

/* Form Groups */
.ce-form-group {
    margin-bottom: 20px;
}

/* Two-column form row */
.ce-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.ce-form-row .ce-form-group {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .ce-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .ce-form-row .ce-form-group {
        margin-bottom: 20px;
    }
}

.ce-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

/* Two-column form row */
.ce-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Pill buttons (replace radio groups) */
.ce-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ce-pill-btn {
    padding: 8px 18px;
    background: #f8f8f8;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ce-pill-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.ce-pill-btn.selected {
    background: #fff5f5;
    border-color: #ff575f;
    color: #ff575f;
    font-weight: 600;
}

/* Radio Group */
.ce-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ce-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #1a1a1a;
}

.ce-radio input[type="radio"] {
    accent-color: #ff575f;
    width: 18px;
    height: 18px;
}

/* Checkbox */
.ce-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
}

.ce-checkbox input[type="checkbox"] {
    accent-color: #ff575f;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ce-checkbox a {
    color: #ff575f;
    text-decoration: none;
}

.ce-checkbox a:hover {
    text-decoration: underline;
}

/* Upload Grid */
.ce-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.ce-upload-box {
    position: relative;
}

.ce-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 12px;
    background: #f8f8f8;
    border: 2px dashed #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 140px;
    text-align: center;
}

.ce-upload-placeholder:hover {
    border-color: #ff575f;
    background: #fff8f8;
}

.ce-upload-placeholder.has-image {
    border-style: solid;
    border-color: #34d399;
    background-size: cover;
    background-position: center;
    padding: 0;
}

.ce-upload-placeholder.has-image span,
.ce-upload-placeholder.has-image svg {
    display: none;
}

.ce-upload-placeholder svg {
    width: 28px;
    height: 28px;
    color: #c0c0c0;
}

.ce-upload-placeholder span {
    font-size: 13px;
    color: #999999;
}

.ce-upload-required {
    font-size: 11px !important;
    color: #ff575f !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ce-upload-optional {
    font-size: 11px !important;
    color: #c0c0c0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ce-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* Confirmation */
.ce-confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 60px;
}

.ce-confirm-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ce-confirm-icon svg {
    width: 32px;
    height: 32px;
    color: #34d399;
}

.ce-reject-icon {
    width: 64px;
    height: 64px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ce-reject-icon svg {
    width: 32px;
    height: 32px;
    color: #ef4444;
}

.ce-confirmation h1 {
    margin-bottom: 12px;
}

.ce-confirmation .ce-subtitle {
    max-width: 380px;
}

.ce-quote-ref {
    font-size: 14px;
    color: #999999;
    background: #f8f8f8;
    padding: 10px 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

/* Responsive */
@media (max-width: 480px) {
    .ce-form-wrapper {
        padding: 16px;
    }

    .ce-form-wrapper h1 {
        font-size: 22px;
    }

    .ce-brand-grid {
        grid-template-columns: 1fr;
    }

    .ce-year-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ce-upload-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ce-upload-grid .ce-upload-box:last-child {
        grid-column: span 2;
    }

    .ce-result-price {
        font-size: 30px;
    }
}

@media (max-width: 360px) {
    .ce-year-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   LANDING SCREEN REDESIGN
   Conversion-focused hero for sell-manual.html
   ============================================ */

/* Override wrapper max-width for landing screen only */
.sell-landing {
    max-width: 1500px !important;
    margin: 0 auto;
    padding: 12px 40px 16px !important;
    overflow: hidden;
}

/* Hero Section - Two Columns */
.sell-landing-hero {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
    margin-bottom: 20px;
}

/* Left Column */
.sell-landing-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-height: 500px;
    padding: 60px 50px;
    border-radius: 16px;
    background: #000000;
}

.sell-landing-headline {
    font-family: 'RZA', 'Haffer', serif !important;
    font-size: 52px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-transform: none !important;
}

.sell-landing-headline-sub {
    font-family: 'Haffer', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    margin: 12px 0 0 0 !important;
}

.sell-landing-subheadline {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    margin: 16px 0 0 0;
    max-width: 480px;
}

/* Right Column */
.sell-landing-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    min-height: 500px;
}

.sell-landing-value-props {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sell-landing-value-prop {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.sell-landing-value-prop:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sell-landing-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #ff575f;
    margin-top: 2px;
}

.sell-landing-prop-content {
    flex: 1;
}

.sell-landing-prop-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px 0;
}

.sell-landing-prop-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
    margin: 0;
}

.sell-landing-cta {
    width: 100%;
    margin-top: 8px;
}

.sell-landing-microcopy {
    text-align: center;
    font-size: 13px;
    color: #999999;
    margin: -16px 0 0 0;
}

.sell-landing-trustpilot {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

/* How It Works Section */
.sell-landing-how-it-works {
    border-top: 1px solid #f0f0f0;
    padding-top: 36px;
}

.sell-landing-section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ff575f;
    text-align: center;
    margin: 0 0 24px 0;
}

.sell-landing-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 24px;
    align-items: start;
}

.sell-landing-step {
    text-align: center;
}

.sell-landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff575f;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.sell-landing-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

.sell-landing-step-desc {
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
    margin: 0;
}

.sell-landing-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #cccccc;
    padding-top: 24px;
}

/* Fade-in animation */
@keyframes sellLandingFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sell-landing-hero {
    animation: sellLandingFadeIn 0.6s ease;
}

.sell-landing-how-it-works {
    animation: sellLandingFadeIn 0.8s ease 0.2s backwards;
}

/* Mobile Layout - Single Column Stack */
@media (max-width: 767px) {
    .sell-landing {
        padding: 6px 16px 12px !important;
    }

    .sell-landing-hero {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 10px;
    }

    .sell-landing-left {
        min-height: auto;
        padding: 20px 20px;
        gap: 8px;
        order: 1;
    }

    .sell-landing-headline {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    .sell-landing-headline-sub {
        font-size: 13px !important;
        margin-top: 4px !important;
    }

    .sell-landing-subheadline {
        display: none !important;
    }

    .sell-landing-right {
        gap: 14px;
        min-height: auto;
        order: 2;
    }

    /* Show CTA first in mobile order */
    .sell-landing-cta {
        order: -1;
        margin-bottom: 12px;
    }

    .sell-landing-microcopy {
        order: 0;
        margin-bottom: 16px;
    }

    .sell-landing-value-props {
        gap: 10px;
        order: 1;
    }

    .sell-landing-value-prop {
        padding-bottom: 10px;
        gap: 10px;
        border-bottom-width: 1px;
    }

    .sell-landing-value-prop:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .sell-landing-icon {
        width: 16px;
        height: 16px;
    }

    .sell-landing-prop-title {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .sell-landing-prop-desc {
        font-size: 11px;
        line-height: 1.3;
    }

    .sell-landing-microcopy {
        font-size: 11px;
        margin-top: -12px;
    }

    .sell-landing-trustpilot {
        margin-top: 16px;
        padding: 16px 0;
    }

    /* Super condensed How It Works for mobile */
    .sell-landing-how-it-works {
        padding-top: 20px;
        border-top: none;
    }

    .sell-landing-section-label {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .sell-landing-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .sell-landing-step {
        text-align: center;
    }

    .sell-landing-step-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
        margin: 0 auto 8px;
    }

    .sell-landing-step-title {
        font-size: 11px;
        margin: 0;
    }

    .sell-landing-step-desc {
        display: none;
    }

    .sell-landing-step-arrow {
        display: none;
    }

    .sell-landing-step:not(:last-child)::before {
        display: none;
        top: 48px;
        bottom: -8px;
        width: 2px;
        background: #f0f0f0;
    }
}
