.UI_OrderItemCard {
    display: grid;
    gap: 14px;
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #edf2ef;
    background-color: #fbfcfb;
    align-items: start;
}

.UI_OrderItemMediaLink,
.UI_OrderItemMediaWrap {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e9e4;
    background-color: #f6f8f7;
}

.UI_OrderItemImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.UI_OrderItemContent {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.UI_OrderItemCodeList {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    align-items: center;
}

.UI_OrderItemCode {
    font-size: 12px;
    line-height: 1.5;
    color: #6a7f73;
}

.UI_OrderItemNameLink {
    color: inherit;
    text-decoration: none;
}

.UI_OrderItemName {
    font-size: 1em;
    font-weight: 700;
    line-height: 1.5;
    color: var(--MainText1);
    word-break: break-word;
}

.UI_OrderItemPriceGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.UI_OrderItemPriceCell {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e4ece7;
    background-color: #fff;
}

.UI_OrderItemPriceLabel {
    font-size: 12px;
    font-weight: 700;
    color: #708a7b;
}

.UI_OrderItemPriceValue {
    min-width: 0;
}

.UI_OrderItemPriceValue.PriceDisplayStack {
    display: grid;
    gap: 2px;
}

.UI_OrderItemPriceValue .PriceDisplayMain {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--Gray_Main1);
    word-break: break-word;
}

.UI_OrderItemPriceValue .PriceDisplaySub {
    font-size: 0.76em;
    line-height: 1.3;
    color: var(--SubText1);
    word-break: break-word;
}

.UI_OrderItemQuantityValue {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--Gray_Main1);
}

@media screen and (max-width: 760px) {
    .UI_OrderItemPriceGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 520px) {
    .UI_OrderItemCard {
        grid-template-columns: 1fr;
    }

    .UI_OrderItemPriceGrid {
        grid-template-columns: 1fr;
    }
}
