/* =============================================================================
   How to Order Page Styles
   Aligned with existing design patterns from contact.css and dealers.css
   ============================================================================= */

/* Page Container */
.how-to-order-page {
    background: var(--theme-bg-primary, #ffffff);
    min-height: 100vh;
}

.how-to-order-page > .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Header */
.page-header {
    padding: 2.5rem 0 2rem;
    text-align: center;
}

.page-title {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--theme-text-primary, #1f2937);
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.page-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--theme-text-muted, #6b7280);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================================================
   Steps Container
   ============================================================================= */

.steps-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
}

/* =============================================================================
   Step Card
   ============================================================================= */

.step-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--theme-border-light, #e5e7eb);
}

.step-card:last-of-type {
    border-bottom: none;
}

.step-card--highlight {
    background: var(--theme-bg-secondary, #fef2f2);
    margin: 0 -1.5rem;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    border-bottom: none;
}

.step-card--highlight + .step-card {
    border-top: none;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-primary, #e43131);
    color: #ffffff;
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-family: var(--font-family-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text-primary, #1f2937);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--theme-text-secondary, #4b5563);
    margin: 0 0 1rem;
}

.step-description:last-child {
    margin-bottom: 0;
}

/* Step Contact Links */
.step-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.contact-label {
    font-size: 0.9375rem;
    color: var(--theme-text-muted, #6b7280);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--theme-primary, #e43131);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--theme-primary-dark, #c52a2a);
}

.contact-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Step Action Button */
.step-action {
    margin-top: 1.25rem;
}

/* =============================================================================
   Resource Links (Step 4)
   ============================================================================= */

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--theme-bg-primary, #ffffff);
    border-radius: 0.75rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--theme-primary, #e43131);
    text-decoration: none;
    transition: color 0.2s ease;
}

.resource-link:hover {
    color: var(--theme-primary-dark, #c52a2a);
}

.resource-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =============================================================================
   Proof Process (Step 4)
   ============================================================================= */

.proof-process {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--theme-bg-primary, #ffffff);
    border-radius: 0.75rem;
}

.proof-title {
    font-family: var(--font-family-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-text-primary, #1f2937);
    margin: 0 0 1rem;
}

.proof-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style: disc;
}

.proof-list li {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--theme-text-secondary, #4b5563);
    margin-bottom: 0.5rem;
}

.proof-list li:last-child {
    margin-bottom: 0;
}

/* Custom Option Box */
.custom-option {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--theme-bg-primary, #ffffff);
    border-left: 4px solid var(--theme-primary, #e43131);
    border-radius: 0 0.5rem 0.5rem 0;
}

.custom-option p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--theme-text-secondary, #4b5563);
    margin: 0;
}

.custom-option strong {
    color: var(--theme-text-primary, #1f2937);
}

/* =============================================================================
   Order CTA Section
   ============================================================================= */

.order-cta {
    padding: 2rem 0 3rem;
}

.order-cta__content {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--theme-bg-secondary, #fef2f2);
    border-radius: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.order-cta__title {
    font-family: var(--font-family-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-text-primary, #1f2937);
    margin: 0 0 0.75rem;
}

.order-cta__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--theme-text-muted, #6b7280);
    margin: 0 0 1.5rem;
}

.order-cta__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================================================
   Responsive Styles
   ============================================================================= */

@media (max-width: 768px) {
    .how-to-order-page > .container {
        padding: 0 1rem;
    }

    .page-header {
        padding: 2rem 0 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .steps-container {
        padding: 0.5rem 0 2rem;
    }

    .step-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .step-card--highlight {
        margin: 1rem -1rem;
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .step-title {
        font-size: 1.125rem;
    }

    .step-description {
        font-size: 0.9375rem;
    }

    .step-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .resource-links {
        padding: 1rem;
    }

    .proof-process {
        padding: 1rem;
    }

    .custom-option {
        padding: 1rem;
    }

    .order-cta__content {
        padding: 2rem 1.5rem;
    }

    .order-cta__title {
        font-size: 1.25rem;
    }

    .order-cta__actions {
        flex-direction: column;
    }

    .order-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
