.content-container.quote-page {
    width: 100%;
}

@media (min-width: 50.001rem) {
    .content-container.quote-page {
        padding-inline: 0;
    }
}

.quote-page .quote-form {
    padding: 0;
    border: 0;
    background: transparent;
}

.quote-section {
    min-width: 0;
    margin: 0 0 1.5rem;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid #d9dfe2;
    border-radius: 6px;
    background: #fafbfc;
}

.quote-section > legend {
    padding-inline: 0.5rem;
    color: #006699;
    font-size: 1.15rem;
    font-weight: 650;
}

.quote-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.quote-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.35rem;
}

.quote-field > label,
.quote-choice-group > legend {
    color: #39454c;
    font-size: 0.9rem;
    font-weight: 600;
}

.quote-field-wide {
    grid-column: 1 / -1;
}

.quote-field-modified {
    border-left: 3px solid #006699;
    padding-left: 0.65rem;
}

.quote-modification-tools:not([hidden]) {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.quote-modification-tools .quote-field-status {
    margin-left: 0;
}

.quote-reset-field {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    min-height: 1.75rem;
    padding: 0.25rem;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #006699;
    font: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

.quote-page .quote-field input,
.quote-page .quote-field > select,
.quote-page .quote-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
}

.quote-page .quote-field textarea {
    resize: vertical;
}

.quote-unit-field {
    display: flex;
    gap: 0.5rem;
}

.quote-unit-field input {
    flex: 1;
}

.quote-page .quote-unit-field select {
    flex-shrink: 0;
    min-height: 2.75rem;
}

.quote-page .quote-help {
    margin: 0 0 0.5rem;
    color: #59666d;
    font-size: 0.85rem;
}

.quote-choice-group {
    min-width: 0;
    margin-block: 1rem 1.5rem;
}

.quote-choice-group > legend {
    margin-bottom: 0.65rem;
}

.quote-rotations > label {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.quote-page .quote-form input[type="radio"] {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin: 0;
    accent-color: #006699;
}

.quote-rotations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.quote-rotations > label {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
}

.quote-rotations span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quote-actions .button {
    cursor: pointer;
}

.quote-actions .button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.quote-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.quote-page .quote-validation.validation-summary-valid {
    display: none;
}

.quote-page .quote-validation.validation-summary-errors {
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    border-left: 4px solid #bd2632;
    background: #fbeff0;
    color: #9e1f29;
}

.quote-notice {
    padding: 1rem;
    border-left: 4px solid #006699;
    background: #eef6fa;
}

.quote-cart-items {
    margin-block: 1.5rem;
    overflow-x: auto;
    border: 1px solid #d9dfe2;
    border-radius: 6px;
}

.quote-cart-items:focus-visible {
    outline: 2px solid #006699;
    outline-offset: 2px;
}

.quote-page .quote-cart-table {
    width: 100%;
    min-width: 42rem;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.quote-cart-table th,
.quote-cart-table td {
    padding: 0.75rem 1rem;
    border: 0;
    border-bottom: 1px solid #d9dfe2;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.quote-cart-table thead th {
    background: #eef3f6;
    color: #39454c;
    font-weight: 650;
}

.quote-cart-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.quote-cart-table tbody tr:last-child > * {
    border-bottom: 0;
}

.quote-cart-specifications {
    width: 65%;
    line-height: 1.6;
}

.quote-cart-quantity {
    font-variant-numeric: tabular-nums;
}

.quote-page .quote-quantity-form {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.quote-quantity-form input[name="quantity"] {
    box-sizing: border-box;
    width: 7rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid #87959d;
    border-radius: 4px;
    background: #fff;
    color: #39454c;
    font: inherit;
}

.quote-quantity-status {
    display: block;
    color: #59666d;
    max-width: 12rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    min-height: 1.2em;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.quote-quantity-status[data-faded="true"] {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .quote-quantity-status {
        transition: none;
    }
}

.quote-quantity-status[data-error="true"] {
    color: #9e1f29;
}

.quote-specifications-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.75rem;
    align-items: start;
}

.quote-specification {
    min-width: 0;
    padding: 0.25rem 0.5rem;
}

.quote-specification-wide {
    grid-column: 1 / -1;
}

@media (max-width: 50rem) {
    .quote-specifications-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.quote-specification-customized {
    border-left: 3px solid #006699;
    background: #eef6fa;
}

.quote-specification-value {
    white-space: pre-wrap;
}

.quote-field-status {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.4rem;
    border: 1px solid #006699;
    border-radius: 3px;
    color: #006699;
    font-size: 0.7rem;
    font-weight: 650;
}

.quote-item-status {
    margin-top: 0.35rem;
    color: #59666d;
    font-size: 0.8rem;
    font-weight: normal;
}

.quote-cart-row-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.quote-cart-row-actions a,
.quote-page .quote-remove-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006699;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.quote-page .quote-remove-link {
    color: #bd2632;
}

.quote-page .quote-inline-form {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.quote-page > .quote-actions {
    margin-bottom: 2rem;
}

.quote-thanks-confirmation {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 3vw, 2rem);
    padding-block: 0.5rem 2.5rem;
    border-bottom: 1px solid #d9dfe2;
}

.quote-thanks-icon {
    display: grid;
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border: 1px solid #c8dfe9;
    border-radius: 50%;
    background: #eef6fa;
    color: #006699;
}

.quote-thanks-confirmation h1 {
    max-width: 42rem;
}

.quote-thanks-confirmation .hero-lede {
    margin-bottom: 1.5rem;
}

.quote-thanks-details {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4rem);
    padding-top: 2.5rem;
}

.quote-next-steps {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: quote-step;
}

.quote-next-steps li {
    position: relative;
    min-height: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    counter-increment: quote-step;
}

.quote-next-steps li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: #eef6fa;
    color: #006699;
    font-size: 0.85rem;
    font-weight: 700;
    content: counter(quote-step);
}

.quote-next-steps h3 {
    margin-bottom: 0.4rem;
    color: #39454c;
    font-size: 1.3rem;
}

.quote-next-steps p {
    margin-bottom: 0;
}

.quote-thanks-contact {
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid #d9dfe2;
    border-top: 3px solid #006699;
    border-radius: 4px;
    background: #fafbfc;
}

.quote-thanks-phone {
    display: inline-block;
    padding-block: 0.5rem;
    color: #006699;
    font-size: 1.2rem;
    font-weight: 700;
}

.quote-thanks-location {
    color: #59666d;
    font-size: 0.85rem;
}

@media (max-width: 40rem) {
    .quote-thanks-confirmation {
        flex-direction: column;
    }

    .quote-thanks-details {
        grid-template-columns: 1fr;
    }

    .quote-thanks .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .quote-fields,
    .quote-rotations {
        grid-template-columns: 1fr;
    }

    .quote-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
