 .customer-quote-page { padding-top: 3rem; padding-bottom: 5rem; }

.customer-quote {
    display: grid;
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

.customer-quote__intro,
.customer-quote__form,
.customer-quote__result {
    border: 1px solid #203844;
    border-radius: 18px;
    background: #0a1b24;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.customer-quote__intro { padding: 1.5rem; }
.customer-quote__intro h1 { margin: .2rem 0 .5rem; }
.customer-quote__intro p:last-child { margin: 0; color: #91aab7; }

.customer-quote__form { padding: 1.25rem; }
.customer-quote__route {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.customer-quote__point,
.customer-quote__cargo {
    margin: 0;
    padding: 1.15rem;
    border: 1px solid #203844;
    border-radius: 14px;
    background: #081720;
}
.customer-quote__point legend {
    padding: 0 .45rem;
    color: #f3f8fa;
    font-weight: 800;
}
.customer-quote__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}
.customer-quote__fields .field--wide { grid-column: 1 / -1; }

.customer-quote .field label {
    display: block;
    margin-bottom: .35rem;
    color: #a9c0cb;
    font-size: .8rem;
    font-weight: 700;
}
.customer-quote input,
.customer-quote select {
    width: 100%;
    padding: .72rem .8rem;
    border: 1px solid #2a4552;
    border-radius: 9px;
    background: #06141b;
    color: #f4f8fa;
}
.customer-quote input:focus,
.customer-quote select:focus {
    outline: none;
    border-color: #ff334b;
}

.customer-quote__cargo { margin-top: 1rem; }
.customer-quote__section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}
.customer-quote__section-head h2 { margin: .15rem 0 0; }

.customer-quote__motorcycles { display: grid; gap: .75rem; }
.customer-quote__motorcycle {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: .8rem;
    align-items: end;
    padding: .9rem;
    border: 1px solid #1d3440;
    border-radius: 12px;
    background: #0b1c26;
}
.customer-quote__motorcycle-actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-end;
}
.customer-quote__motorcycle-actions span {
    max-width: 220px;
    color: #7e9aa9;
    font-size: .76rem;
    text-align: right;
}

.customer-quote__search { position: relative; }
.customer-quote__results {
    position: absolute;
    z-index: 40;
    top: calc(100% + .3rem);
    left: 0;
    right: 0;
    max-height: 240px;
    overflow: auto;
    padding: .35rem;
    border: 1px solid #2c4652;
    border-radius: 10px;
    background: #07151d;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .38);
}
.customer-quote__result-option {
    display: block;
    width: 100%;
    padding: .65rem .7rem;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #dfe9ed;
    text-align: left;
    cursor: pointer;
}
.customer-quote__result-option:hover,
.customer-quote__result-option:focus { background: #112a35; }

.customer-quote__message {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #6d5b2c;
    border-radius: 10px;
    background: rgba(192, 150, 44, .08);
    color: #e1cf91;
}
.customer-quote__message--error {
    border-color: #7a3340;
    background: rgba(255, 51, 75, .07);
    color: #ff98a5;
}

.customer-quote__actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1rem;
}
.customer-quote__actions small {
    margin-right: auto;
    max-width: 650px;
    color: #7f9baa;
}
.customer-quote__submit { min-width: 190px; }

.customer-quote__result {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem;
    padding: 1.35rem;
    border-color: #4a343b;
    background: linear-gradient(135deg, rgba(255, 51, 75, .07), #0a1b24 42%);
}
.customer-quote__price {
    display: block;
    margin: .25rem 0 .4rem;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
}
.customer-quote__code { color: #91aab7; }
.customer-quote__payment {
    align-self: stretch;
    padding: 1rem;
    border: 1px solid #203844;
    border-radius: 12px;
    background: #081720;
}
.customer-quote__payment span,
.customer-quote__payment small {
    display: block;
    color: #7f9baa;
}
.customer-quote__payment strong {
    display: block;
    margin: .35rem 0;
    color: #fff;
    font-size: 1.7rem;
}
.customer-quote__result-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: .65rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding-top: .2rem;
}

.customer-quote-app-header { margin-bottom: 1rem; }

@media (max-width: 860px) {
    .customer-quote__route,
    .customer-quote__result { grid-template-columns: 1fr; }
    .customer-quote__motorcycle { grid-template-columns: 1fr 1fr; }
    .customer-quote__motorcycle-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 620px) {
    .customer-quote-page { padding-top: 1.25rem; }
    .customer-quote__fields,
    .customer-quote__motorcycle { grid-template-columns: 1fr; }
    .customer-quote__section-head,
    .customer-quote__actions { align-items: stretch; flex-direction: column; }
    .customer-quote__motorcycle-actions {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
    }
    .customer-quote__motorcycle-actions span { text-align: left; }
}


.customer-quote__save-location {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-control);
    background: color-mix(in srgb, var(--surface-2) 82%, transparent);
}

.customer-quote__save-location .checkbox-line {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.customer-quote__save-location input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    accent-color: var(--brand-red);
}

.customer-quote__save-location small {
    color: var(--text-muted);
    font-size: .78rem;
}
