.order-wrapper {
    background: var(--clr-gray-100);
    min-height: 100%;
    padding: 24px 0 60px;
}

.order-container {
    max-width: var(--container-max-sm);
    margin: 0 auto;
    padding: 0 16px;
}

.order-card {
    background: var(--clr-white);
    border-radius: var(--radius-sm);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.order-card h5 {
    margin-bottom: 16px;
}

.order-item-row {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--clr-gray-100);
}
.order-item-row:last-child { border-bottom: none; }
.order-item-row .thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    background: var(--clr-gray-100);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}
.order-item-row .order-item-body {
    flex: 1;
    min-width: 0;
}

/* 수량조절 + 항목금액 */
.order-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--clr-gray-300);
    border-radius: var(--radius-sm);
}
.qty-stepper .qty-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    color: var(--clr-text-primary);
    font-size: var(--fs-regular);
}
.qty-stepper .qty-btn:hover {
    background: var(--clr-gray-100);
}
.qty-stepper .qty-btn:disabled {
    color: var(--clr-gray-300);
    background: none;
    cursor: default;
}
.qty-stepper .qty-value {
    min-width: 32px;
    text-align: center;
}
.order-item-row .line-price {
    font-weight: var(--fw-bold);
}

/* 항목 제거 (×) */
.order-item-row .item-remove {
    align-self: flex-start;
    width: 24px;
    height: 24px;
    padding: 0;
    background: none;
    color: var(--clr-gray-500);
    font-size: 18px;
    flex-shrink: 0;
}
.order-item-row .item-remove:hover {
    background: none;
    color: var(--clr-text-primary);
}

/* mirrors ds-price-summary__row / --row--total in components.css. Kept as its
   own class (not renamed to ds-*) because public/js/order-success.page.js
   builds its own price rows client-side with this exact class name. */
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}
.price-row.total {
    font-weight: bold;
    font-size: 1.2em;
    border-top: 1px solid var(--clr-gray-300);
    padding-top: 12px;
    margin-top: 8px;
}

.row.info-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--clr-gray-100);
}
.row.info-row:last-child { border-bottom: none; }
.row.info-row .label {
    width: 110px;
    flex-shrink: 0;
    color: var(--clr-text-secondary);
}
.row.info-row .value {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}
