.order-steps-wrap {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.order-steps {
    display: flex;
    justify-content: center;
    gap: 72px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.order-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8b979e;
    font-weight: 700;
}

.order-steps li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    width: 48px;
    height: 1px;
    background: var(--line);
    content: "";
    transform: translateY(-50%);
}

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

.order-steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
}

.order-steps li.is-active {
    color: var(--navy);
}

.order-steps li.is-active span {
    border-color: var(--navy);
    color: var(--white);
    background: var(--navy);
}

.cart-section {
    background: #f7f9fa;
}

.cart-toolbar,
.cart-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    background: var(--white);
}

.cart-toolbar > label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 700;
}

.cart-toolbar input[type="checkbox"],
.cart-select {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    flex: 0 0 24px;
    align-self: center;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 2px solid #9aadb9;
    border-radius: 4px;
    background-color: var(--white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 15px 15px;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.cart-toolbar input[type="checkbox"]:hover,
.cart-select:hover {
    border-color: var(--navy);
}

.cart-toolbar input[type="checkbox"]:checked,
.cart-select:checked {
    border-color: var(--navy);
    background-color: var(--navy);
    background-image: url("../../images/icons/check.svg");
}

.cart-toolbar input[type="checkbox"]:focus-visible,
.cart-select:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(33, 63, 90, 0.14);
}

.cart-toolbar input[type="checkbox"]:disabled,
.cart-select:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.cart-toolbar > div,
.cart-submit {
    display: flex;
    gap: 10px;
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 18px 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--white);
}

.cart-item > input {
    flex: 0 0 auto;
}

.cart-item img {
    flex: 0 0 130px;
    width: 130px;
    height: 100px;
    padding: 8px;
    background: #fff;
    object-fit: contain;
    border: 1px solid var(--line);
}

.cart-item-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.cart-item-copy h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
}

.cart-item-copy p {
    margin-top: 5px;
    color: var(--muted);
}

.cart-quantity {
    display: flex;
    flex: 0 0 110px;
    flex-direction: column;
    gap: 5px;
}

.cart-quantity input {
    width: 100%;
    min-height: 42px;
    padding: 8px;
    border: 1px solid var(--line);
}

@media (max-width: 900px) {
    .order-steps {
        gap: 26px;
    }

    .order-steps li:not(:last-child)::after {
        left: calc(100% + 5px);
        width: 16px;
    }
}

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

    .order-steps li:not(:last-child)::after {
        top: auto;
        bottom: -7px;
        left: 0;
        width: 100%;
        transform: none;
    }

    .cart-toolbar,
    .cart-toolbar > div,
    .cart-submit,
    .cart-item {
        align-items: stretch;
        flex-direction: column;
    }

    .cart-item img {
        width: 100%;
        height: 180px;
    }

    .cart-select {
        align-self: flex-start;
    }

    .cart-quantity {
        flex-basis: auto;
    }
}
