.order-steps {
    display: flex;
    gap: 25px;
    margin-bottom: 45px;
    justify-content: center;
}

.order-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--muted);
}

.order-steps li:not(:last-child)::after {
    content: "";
    flex: 0 0 clamp(24px, 4vw, 64px);
    height: 2px;
    margin-left: 12px;
    background: var(--line);
}

.order-step-label {
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-steps li[aria-current], .order-steps li.is-complete {
    color: var(--red);
}

.order-steps li.is-complete::after {
    background: var(--red);
}

.order-step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.order-step-number {
    border: 1px solid currentColor;
    border-radius: 50%;
    flex-shrink: 0;
}

.cart-toolbar, .cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

#cartContent {
    background: var(--surface);
    border: 1px solid var(--line);
}

.cart-toolbar {
    padding: 18px 24px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}

#cartCount {
    margin: 0;
    color: var(--muted);
}

.cart-toolbar label {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-table-head, .cart-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
}

.cart-row {
    border-bottom: 1px solid var(--line);
}

.cart-table-head > span:first-child, .cart-select {
    width: 20px;
    flex-shrink: 0;
}

.cart-select {
    display: flex;
    align-items: center;
    min-height: 24px;
}

.cart-toolbar input[type="checkbox"], .cart-select input[type="checkbox"] {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--muted);
    border-radius: 3px;
    background: var(--surface);
}

.cart-toolbar input:checked, .cart-toolbar input:indeterminate, .cart-select input:checked {
    border-color: var(--red);
    background: var(--red);
}

.cart-toolbar input::before, .cart-select input::before {
    content: "";
    width: 10px;
    height: 6px;
    margin-bottom: 3px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    opacity: 0;
}

.cart-toolbar input:checked::before, .cart-select input:checked::before {
    opacity: 1;
}

.cart-toolbar input:indeterminate::before {
    height: 0;
    margin: 0;
    border-left: 0;
    transform: none;
    opacity: 1;
}

.cart-toolbar input:focus-visible, .cart-select input:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
}

.cart-table-head > span:nth-child(2), .cart-image {
    width: 120px;
    flex-shrink: 0;
}

.cart-table-head > span:nth-child(3), .cart-description {
    flex: 1 1 0;
    min-width: 0;
}

.cart-table-head > span:nth-child(4), .cart-makes {
    flex: 1.35 1 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cart-makes {
    color: var(--muted);
    line-height: 1.8;
}

.cart-field-label {
    display: none;
}

.cart-table-head > span:nth-child(5), .quantity {
    width: 104px;
    flex-shrink: 0;
}

.cart-image {
    padding: 8px;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .2s ease;
}

.cart-image:hover,
.cart-image:focus-visible {
    border-color: var(--red);
}

.cart-image img {
    width: 100%;
    height: 102px;
    object-fit: contain;
}

.cart-description h2 {
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.35;
    margin-bottom: 8px;
    overflow-wrap: anywhere;
}

.cart-description p {
    margin: 0;
    overflow-wrap: anywhere;
}

.cart-description .product-note:not(:empty) {
    margin-top: 10px;
    color: var(--muted);
}

.quantity span {
    display: none;
}

.quantity input {
    min-height: 44px;
    padding: 10px 12px;
    text-align: center;
}

.cart-summary {
    padding: 20px 24px;
}

.cart-delete-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.cart-delete-actions .button {
    background: var(--surface);
}

.cart-delete-actions .button:hover,
.cart-delete-actions .button:focus-visible {
    color: #fff;
    border-color: var(--red);
    background: var(--red);
}

.order-steps-bar {
    padding: clamp(20px, 2.3vw, 30px) 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.order-steps-bar .order-steps {
    margin: 0;
}

.section.order-section {
    padding: clamp(32px, 4vw, 56px) 0 clamp(48px, 6vw, 88px);
}

.quote-form {
    max-width: 850px;
    margin: 0 auto;
}

.quote-form h2 {
    margin-bottom: 28px;
    color: var(--navy);
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.3;
}

.quote-form .form-actions {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.quote-form .form-actions > .button {
    min-width: 160px;
}

.receipt {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px);
    background: var(--surface);
    text-align: center;
}

.receipt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(64px, 6vw, 80px);
    height: clamp(64px, 6vw, 80px);
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
}

.receipt-title {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.3;
}

.receipt-description {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.receipt-order {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    max-width: 640px;
    margin: 24px auto 0;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--surface-muted);
    color: var(--muted);
}

.receipt-order strong {
    min-width: 0;
    color: var(--navy);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    letter-spacing: .03em;
    overflow-wrap: anywhere;
}

.receipt > .button {
    min-width: 180px;
    max-width: 100%;
    margin-top: 28px;
}

@media (max-width: 900px) {
.order-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.order-steps li {
    align-items: flex-start;
    min-height: 30px;
}

.order-step-label {
    padding-top: 4px;
}

.order-steps li:not(:last-child)::after {
    position: absolute;
    top: 34px;
    bottom: -16px;
    left: 14px;
    width: 2px;
    height: auto;
    margin-left: 0;
}

#cartContent {
    border: 0;
    background: transparent;
}

.cart-toolbar, .cart-summary {
    border: 1px solid var(--line);
}

#cartItems {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.cart-table-head {
    display: none;
}

.cart-row {
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--line);
}

.cart-select {
    flex: 0 0 100%;
}

.cart-description {
    flex: 1 1 calc(100% - 144px);
}

.cart-makes {
    flex: 0 0 100%;
}

.cart-field-label {
    display: block;
    margin-bottom: 6px;
    color: var(--navy);
    font-weight: 600;
}

.quantity {
    flex: 0 0 100%;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.quantity span {
    display: inline;
}

.quantity input {
    width: 104px;
    flex-shrink: 0;
}

.cart-summary {
    flex-wrap: wrap;
}

}

@media (max-width: 640px) {
.order-steps {
    margin-bottom: 28px;
}

.cart-row {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.cart-select {
    flex: auto;
    width: 100%;
}

.cart-image {
    width: 180px;
    max-width: 100%;
}

.cart-image img {
    height: auto;
    aspect-ratio: 1;
}

.cart-description {
    flex: auto;
    width: 100%;
}

.cart-makes {
    flex: auto;
    width: 100%;
}

.quantity {
    flex: auto;
    width: 100%;
}

.cart-toolbar, .cart-summary {
    flex-wrap: wrap;
}

.cart-summary {
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.cart-delete-actions {
    justify-content: space-between;
}

.cart-summary > .button {
    width: 100%;
}

}
.cart-table-head {
    color: var(--navy);
    font-weight: 600;
    padding: 14px 24px;
    background: var(--surface-muted);
    border-bottom: 1px solid var(--line);
}
.quote-form {
    background: var(--surface);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 36px #14263e14;
}
.order-steps li[aria-current] .order-step-number,
.order-steps li.is-complete .order-step-number {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}
.receipt-icon .icon {
    width: 50%;
    height: 50%;
}
@media (max-width: 640px) {
    .quote-form {
        padding: 24px 16px;
    }
    .cart-toolbar {
        padding: 15px;
        gap: 10px;
    }
    .quote-form .form-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
}
.cart-description .product-note {
    white-space: pre-line;
    overflow-wrap: anywhere;
}
