/* components/order.css — Order · order-complete */
/* ── Order ── */
.order-section {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-default);
}

.order-section.border-b-0 {
    border-bottom: none;
}

.order-section:first-child {
    padding-top: 0;
}

.order-section__head {
    margin-bottom: 1.25rem;
}

.order-section__title {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--gray-900);
}

.order-section__desc {
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.order-payment {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-payment__option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.125rem;
    border: 1px solid var(--border-default);
    border-radius: var(--form-radius);
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-payment__option:hover {
    border-color: color-mix(in srgb, var(--brand-green) 35%, var(--border-default));
}

.order-payment__option:has(input:checked) {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-green) 12%, transparent);
}

.order-payment__input {
    accent-color: var(--brand-green);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.order-payment__label {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
}

.order-items-mini {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-default);
}

.order-items-mini__row {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.order-items-mini__name {
    color: var(--gray-900);
    font-weight: 600;
}

.order-items-mini__meta {
    color: var(--text-muted);
    font-size: var(--text-ui-sm);
    margin-top: 0.125rem;
}

.order-items-mini__price {
    color: var(--gray-900);
    font-weight: 700;
    white-space: nowrap;
}

.order-complete {
    max-width: 36rem;
    margin: 0 auto;
    padding: 0 0 var(--page-end-padding);
    text-align: center;
}

.order-complete.order-complete-layout {
    padding-top: 1.5rem;
}

.order-complete__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--brand-green) 10%, transparent);
    color: var(--brand-green);
}

.order-complete__title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .order-complete__title {
        font-size: 1.875rem;
    }
}

.order-complete__order-no {
    font-size: var(--text-ui-md);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.order-complete__order-no strong {
    color: var(--brand-green);
    font-weight: 800;
}

.order-complete__box {
    text-align: left;
    margin-bottom: 2rem;
}

.order-complete__box.cart-summary {
    position: static;
}

.order-complete__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .order-complete__actions {
        flex-direction: row;
        justify-content: center;
    }
}
