/* ================= 页面级容器 ================= */
.order-page {
    max-width: 900px;              /* ✅ 更宽 */
    margin: 24px auto;              /* ✅ 上下留白 */
    padding: 0 24px 40px;          /* ✅ 更大呼吸感 */
    background: #f5f5f5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ================= 卡片通用 ================= */
.order-confirm-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;                 /* ✅ 卡片更舒展 */
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ================= 店铺信息 ================= */
.order-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.order-tag.self-run {
    background: #e4393c;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
}

.order-store-name {
    font-size: 15px;
    font-weight: 500;
}

/* ================= 商品信息 ================= */
.order-product-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.order-product-image {
    width: 100px;                 /* ✅ 图片更大 */
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-details {
    flex: 1;
}

.order-product-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.order-product-spec {
    font-size: 13px;
    color: #999;
}

.order-product-price-info {
    text-align: right;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-left: 16px;
}

.order-product-price-info .price {
    font-size: 15px;
}

.order-product-price-info .total-price {
    font-size: 18px;
    color: #e4393c;
    font-weight: bold;
}

/* ================= 分割线 ================= */
.divider {
    height: 1px;
    background: #eee;
    margin: 20px 0;
}

/* ================= 优惠 / 留言 ================= */
.order-discount-section {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
}

.order-message-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
}

.order-message-section > span {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.order-message-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 13px;
    background: #333;
    color: #ccc;
    resize: none;
    height: 70px;
    box-sizing: border-box;
}

/* ================= 费用明细 ================= */
.order-summary-header {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f5f5f5;
}

.order-cost-details {
    font-size: 14px;
}

.order-cost-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.order-freight {
    color: #999;
}

.order-discount {
    color: #666;
}

.order-final-price-row {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #eee;
    font-size: 15px;
}

.order-final-price {
    font-size: 20px;
    color: #e4393c;
    font-weight: bold;
}

/* ================= ✅ 下单按钮（非悬浮） ================= */
.order-action {
    text-align: right;
    margin-top: 24px;
}

.order-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.order-btn-primary {
    background: #e4393c;
    color: #fff;
    transition: background 0.2s;
}

.order-btn-primary:hover {
    background: #c9302c;
}