body {
    background: #f5f6f8;
    font-family: 'Microsoft YaHei', 'Segoe UI', 'PingFang SC', Arial, sans-serif;
    margin: 0;
    padding-bottom: 68px;
}

.cart-container {
    max-width: 100%;
    margin: 0;
    background: #f5f6f8;
    padding: 0 0 4px 0;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.header-title {
    font-weight: 600;
    font-size: 17px;
    color: #ea1a26;
    margin-left: 32px;
}

.back-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea1a26;
    font-size: 14px;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s, color 0.15s;
}

.back-btn:hover {
    background: rgba(234, 26, 38, 0.1);
    color: #c01520;
}

/* ===== 订单模式信息卡 ===== */
.order-mode-card {
    background: linear-gradient(180deg, #fff5f5 0%, #ffffff 40%, #ffffff 100%);
    border-radius: 12px;
    padding: 10px 14px 8px;
    margin: 6px 10px 8px;
    border: 1px solid rgba(234, 26, 38, 0.08);
    box-shadow: 0 2px 12px rgba(234, 26, 38, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.order-mode-card::before {
    display: none;
}

.order-mode-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(234, 26, 38, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.mode-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ea1a26 0%, #f75d3f 100%);
    letter-spacing: 0.5px;
}

.mode-badge i {
    font-size: 10px;
}

.mode-card-body {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.mode-info-row {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
}

.mode-info-row i {
    color: #ea1a26;
    width: 14px;
    text-align: center;
    font-size: 11px;
    flex-shrink: 0;
}

.mode-info-row .mode-info-value {
    color: #444;
    font-weight: 500;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mode-info-hint {
    color: #bbb;
    font-size: 11px;
    padding: 1px 0;
}

/* 门店名高亮行 */
.mode-store-row {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
    margin-top: 1px;
}

.mode-store-row i {
    color: #ea1a26;
    font-size: 12px;
    flex-shrink: 0;
}

.mode-store-name {
    color: #c4565a;
    font-weight: 600;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

/* ===== 门店距离+导航按钮（整体可点击，与sku-market风格统一） ===== */
.store-dist-nav {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 10px;
    background: #fff0f0;
    color: #ea1a26;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.store-dist-nav:hover {
    background: rgba(234, 26, 38, 0.12);
    color: #d01520;
}

.store-dist-nav:active {
    transform: scale(0.96);
}

.store-dist-nav i.fa-diamond-turn-right {
    font-size: 10px;
    margin-left: 1px;
}

.store-dist-text {
    font-weight: 600;
    font-size: 10px;
    color: #ea1a26;
}

/* ===== 购物车列表 ===== */
.cart-list {
    margin: 0;
    padding: 0 0 2px;
    list-style: none;
}

.cart-list-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 8px 12px;
    border-bottom: 1px solid #f5f5f7;
    transition: background 0.15s;
}

.cart-list-item:last-child {
    border-bottom: none;
}

.cart-list-item:active {
    background: #fafbfe;
}

/* ===== 门店分组配送费（分组头部内联，红色主题） ===== */
.cart-group-delivery {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    font-size: 10px;
    color: #ea1a26;
    padding: 1px 6px;
    background: #fff0f0;
    border-radius: 3px;
    height: 18px;
    line-height: 1;
}

.cart-group-delivery .cart-fee-val {
    color: #d01520;
    font-weight: 600;
}

.cart-group-delivery i {
    font-size: 9px;
    color: #ea1a26;
}

.cart-img-wrap {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f6f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.cart-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    flex: 1;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.cart-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 18px;
}

.cart-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.del-btn {
    background: transparent;
    border: none;
    color: #bbb;
    font-size: 11px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all .2s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.del-btn:hover {
    color: #fff;
    background: #ea1a26;
    box-shadow: 0 2px 6px rgba(234, 26, 38, 0.25);
}

.del-btn:active {
    transform: scale(0.88);
    background: #d01520;
}

/* ===== 商品行内门店名称 ===== */
.cart-store-info {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #999;
    line-height: 1.2;
    min-width: 0;
    padding: 1px 5px;
    background: #fff0f0;
    border-radius: 3px;
}

.cart-store-info i {
    color: #ea1a26;
    font-size: 9px;
    flex-shrink: 0;
}

.cart-store-name-inline {
    color: #c4565a;
    font-weight: 500;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    max-width: 120px;
}

/* 商品行内门店距离导航适配 */
.cart-store-info .store-dist-nav {
    margin-left: 2px;
    padding: 1px 5px;
    font-size: 10px;
    gap: 2px;
    background: #fff0f0;
}

.cart-store-info .store-dist-nav i.fa-diamond-turn-right {
    font-size: 9px;
}

.cart-store-info .store-dist-text {
    font-size: 10px;
}

/* ===== 价格行 ===== */
.cart-price-row {
    display: flex;
    align-items: center;
    margin-top: 3px;
    gap: 0;
}

.cart-unit-price {
    font-size: 11px;
    color: #aaa;
    font-weight: 400;
    flex-shrink: 0;
    margin-right: auto;
}

.cart-unit-price em {
    font-style: normal;
    font-size: 10px;
    color: #ccc;
}

.cart-ctrls {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    background: #f5f5f7;
    border-radius: 12px;
    padding: 1px;
}

.cart-ctrl-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all .15s;
    color: #ea1a26;
    font-weight: bold;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.cart-ctrl-btn:active {
    background: #ffe0e4;
    transform: scale(0.9);
}

.cart-ctrl-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    box-shadow: none;
}

.cart-qty {
    width: 34px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    border: none;
    background: transparent;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
    padding: 0;
    line-height: 1;
    font-family: inherit;
}

.cart-qty::-webkit-inner-spin-button,
.cart-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-qty:focus {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(234, 26, 38, 0.25);
    border-radius: 4px;
}

.cart-subtotal {
    font-size: 14px;
    font-weight: 700;
    color: #ea1a26;
    flex-shrink: 0;
    margin-right: 8px;
}

/* ===== 商品卡片标签行（配送费+打包费+优惠券，靠右对齐，空间不足可向左延伸） ===== */
.cart-tags-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: wrap;
    flex-basis: 100%;
    margin-top: 1px;
    min-height: 0;
}

/* ===== 统一药丸标签基础样式 ===== */
.cart-item-fee,
.cart-item-coupon {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    height: 20px;
    padding: 0 7px 0 6px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
    transition: all 0.15s;
}

/* ===== 配送费药丸标签（红色主题） ===== */
.cart-item-fee--delivery {
    background: #fff0f0;
    color: #888;
    cursor: default;
}

.cart-item-fee--delivery i {
    font-size: 9px;
    color: #ea1a26;
    flex-shrink: 0;
}

.cart-item-fee--delivery .cart-fee-tag {
    color: #888;
}

.cart-item-fee--delivery .cart-fee-val {
    color: #666;
    font-weight: 600;
}

/* 免配送费标签 */
.cart-item-fee-free.cart-item-fee--delivery {
    background: #fff0f0;
}

.cart-item-fee-free.cart-item-fee--delivery i {
    color: #ea1a26;
}

.cart-item-fee-free.cart-item-fee--delivery .cart-fee-tag {
    color: #888;
    font-weight: 500;
}

/* ===== 打包费药丸标签（红色主题，与配送费一致） ===== */
.cart-item-fee--pack {
    background: #fff0f0;
    color: #888;
    cursor: default;
}

.cart-item-fee--pack i {
    font-size: 9px;
    color: #ea1a26;
    flex-shrink: 0;
}

.cart-item-fee--pack .cart-fee-tag {
    color: #888;
}

.cart-item-fee--pack .cart-fee-val {
    color: #666;
    font-weight: 600;
}

/* ===== 服务费药丸标签（红色主题，与配送费一致） ===== */
.cart-item-fee--service {
    background: #fff0f0;
    color: #888;
    cursor: default;
}

.cart-item-fee--service i {
    font-size: 9px;
    color: #ea1a26;
    flex-shrink: 0;
}

.cart-item-fee--service .cart-fee-tag {
    color: #888;
}

.cart-item-fee--service .cart-fee-val {
    color: #666;
    font-weight: 600;
}

/* ===== 优惠券药丸标签 ===== */
.cart-item-coupon {
    cursor: pointer;
    background: #fff0f0;
    border: 1px solid #ffd6d6;
    color: #888;
    max-width: 55%;
}

.cart-item-coupon:active {
    transform: scale(0.96);
    background: #ffe8e8;
}

.cart-item-coupon i.fa-tag {
    font-size: 9px;
    color: #ea1a26;
    flex-shrink: 0;
}

.cart-coupon-text {
    font-size: 10px;
    color: #888;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-coupon-text.selected {
    color: #666;
    font-weight: 600;
}

.cart-coupon-arrow {
    font-size: 8px;
    color: #bbb;
    flex-shrink: 0;
    margin-left: 1px;
}

/* 无可用优惠券（禁用状态） */
.cart-item-coupon-disabled {
    cursor: default;
    background: #fff0f0;
    border: 1px solid #fff0f0;
    color: #bbb;
    pointer-events: none;
}

.cart-item-coupon-disabled i.fa-tag {
    color: #ea1a26;
}

.cart-item-coupon-disabled .cart-coupon-text {
    color: #bbb;
}

.cart-empty {
    text-align: center;
    color: #999;
    padding: 60px 0 40px;
    font-size: 14px;
}

.bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}

.bottom-bar-total {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.bottom-total-label {
    font-size: 11px;
    color: #999;
}

.bottom-total-price {
    font-size: 20px;
    color: #ea1a26;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cart-price {
    font-size: 17px;
    color: #ea1a26;
    font-weight: bold;
}

.pay-btn {
    background: linear-gradient(100deg, #fb565a 0%, #ea1a26 54%, #f75d3f 100%);
    color: #fff;
    border: none;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 700;
    padding: 0 28px;
    height: 36px;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(234, 26, 39, 0.15);
    cursor: pointer;
    position: relative;
    transition: box-shadow .15s, background .2s, transform .16s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.pay-btn:active {
    transform: scale(0.96);
    box-shadow: 0 1px 5px rgba(234, 26, 39, 0.10);
}

.pay-btn:focus {
    outline: 2px solid #faacac;
}

.pay-btn:disabled {
    background: linear-gradient(100deg, #eee, #f5f5f5);
    color: #bbb;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(0.2);
}

.pay-btn .fa {
    margin-right: 8px;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .cart-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    .bottom-bar {
        padding: 0 10px;
    }
}

/* ===== 购物车门店分组（统一所有模式） ===== */
.cart-store-group {
    margin: 6px 10px 4px;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    overflow: visible;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.cart-store-group:first-child {
    margin-top: 0;
}

.cart-store-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px 6px;
    background: #f8f8fa;
}

.cart-store-header i {
    color: #ea1a26;
    font-size: 12px;
}

.cart-store-name {
    font-size: 13px;
    font-weight: 600;
    color: #c4565a;
}

/* 分组内的商品卡片样式调整 */
.cart-store-group .cart-list-item {
    margin: 0;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px 12px;
}

.cart-store-group .cart-list-item:last-child {
    border-bottom: none;
}

/* ===== 门店分组配送费（分组头部内联，红色主题） ===== */
.cart-group-delivery {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    font-size: 10px;
    color: #ea1a26;
    padding: 1px 6px;
    background: #fff0f0;
    border-radius: 3px;
    height: 18px;
    line-height: 1;
}

.cart-group-delivery .cart-fee-val {
    color: #d01520;
    font-weight: 600;
}

.cart-group-delivery i {
    font-size: 9px;
    color: #ea1a26;
}

/* ===== 门店分组费用汇总 ===== */
.cart-group-fees {
    padding: 6px 12px 8px;
    margin: 0;
    background: #fafbfd;
    border-top: 1px solid #f0f0f2;
}

.cart-group-fee-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 0;
}

.cart-group-fee-label {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-group-fee-label i {
    font-size: 10px;
    color: #ea1a26;
}

.cart-group-fee-value {
    font-size: 12px;
    color: #555;
    font-weight: 600;
}

/* ===== 订单模式卡片折叠 ===== */
.mode-card-header-right {
    display: flex;
    align-items: center;
}

.mode-card-toggle {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: rgba(234, 26, 38, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ea1a26;
    font-size: 9px;
    transition: all 0.2s;
}

.mode-card-toggle:hover {
    background: rgba(234, 26, 38, 0.15);
}

.mode-card-toggle.collapsed i {
    transform: rotate(180deg);
}

.mode-card-collapse {
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    max-height: 200px;
    opacity: 1;
}

.mode-card-collapse.collapsed {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.12s ease;
}

/* ===== 主卡片 ===== */
.cart-main-card {
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.settle-deduct {
    font-size: 12px;
    color: #ea1a26;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
}

/* ===== 积分抵扣行 ===== */
.settle-points-row {
    display: flex;
    align-items: center;
    padding: 10px 12px 12px;
    gap: 6px;
    background: #fff;
    margin: 2px 10px 6px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.points-info {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.points-info i {
    font-size: 12px;
    color: #e6a23c;
}

.points-label {
    font-size: 12px;
    color: #8a6d3b;
    font-weight: 500;
}

.points-available {
    font-size: 11px;
    color: #c08a30;
    font-weight: 600;
    margin-left: 2px;
}

.points-ctrl {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
    justify-content: flex-end;
    margin-right: 4px;
}

.points-input {
    width: 52px;
    padding: 3px 4px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    height: 24px;
    line-height: 1;
}

.points-input:focus {
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.points-unit {
    font-size: 11px;
    color: #999;
}

.settle-deduct {
    font-size: 12px;
    color: #ea1a26;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 44px;
    text-align: right;
}

/* 分隔线（积分行独立卡片后不再需要） */
.settle-divider {
    display: none;
}

/* ===== 优惠券选择抽屉 ===== */
.coupon-picker-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 500;
    justify-content: center;
    align-items: flex-end;
    transition: background 0.3s;
}

.coupon-picker-overlay.active {
    display: flex;
}

.coupon-picker-sheet {
    width: 100%;
    max-width: 540px;
    height: 90vh;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    animation: sheetUp 0.3s ease;
    overflow: hidden;
}

.coupon-picker-bar {
    width: 36px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 8px auto 0;
    flex-shrink: 0;
}

.coupon-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.coupon-picker-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.coupon-picker-close {
    width: 28px; height: 28px;
    border: none; background: #f5f5f5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #999; font-size: 13px;
    transition: all 0.15s;
}

.coupon-picker-close:hover { background: #eee; color: #555; }
.coupon-picker-close:active { transform: scale(0.9); }

.coupon-picker-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
}

.coupon-picker-loading {
    text-align: center;
    padding: 40px 0;
    color: #999;
    font-size: 14px;
}

.coupon-picker-empty {
    text-align: center;
    padding: 40px 0;
    color: #bbb;
    font-size: 13px;
}

.coupon-picker-empty i {
    font-size: 32px;
    display: block;
    margin-bottom: 8px;
    color: #ddd;
}

/* 优惠券卡片 */
.coupon-card {
    display: flex;
    align-items: stretch;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    background: #fff;
}

.coupon-card:hover {
    border-color: #f5a0a0;
    box-shadow: 0 2px 8px rgba(234, 26, 38, 0.08);
}

.coupon-card.selected {
    border-color: #ea1a26;
    background: #fff8f8;
    box-shadow: 0 0 0 1px #ea1a26, 0 2px 8px rgba(234, 26, 38, 0.1);
}

.coupon-card.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.3);
}

.coupon-card-left {
    width: 76px;
    background: linear-gradient(135deg, #ea1a26, #f75d3f);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 10px 4px;
    flex-shrink: 0;
    position: relative;
}

.coupon-card-left::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}

.coupon-card-amount {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.coupon-card-unit {
    font-size: 10px;
    opacity: 0.85;
    margin-top: 1px;
}

.coupon-card-right {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.coupon-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-card-threshold {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.coupon-card-expire {
    font-size: 10px;
    color: #bbb;
    margin-top: 2px;
}

.coupon-card-check {
    display: none;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex-shrink: 0;
    color: #ea1a26;
    font-size: 16px;
}

.coupon-card.selected .coupon-card-check {
    display: flex;
}

.coupon-picker-foot {
    display: flex;
    gap: 10px;
    padding: 12px 16px 16px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    background: #fff;
}

.coupon-picker-clear {
    flex: 1;
    padding: 11px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.coupon-picker-clear:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.coupon-picker-clear:active {
    transform: scale(0.97);
}

.coupon-picker-confirm {
    flex: 2;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(100deg, #fb565a 0%, #ea1a26 54%, #f75d3f 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 2px 8px rgba(234, 26, 38, 0.2);
}

.coupon-picker-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.coupon-picker-confirm:hover:not(:disabled) {
    opacity: 0.92;
}

.coupon-picker-confirm:active:not(:disabled) {
    transform: scale(0.97);
}

/* ===== 底部抽屉动画 ===== */
@keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ===== 备注按钮（标题行icon按钮，与del-btn对称） ===== */
.cart-remark-btn {
    background: transparent;
    border: none;
    color: #bbb;
    font-size: 11px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all .2s ease;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cart-remark-btn:hover {
    color: #ea1a26;
    background: #fff0f0;
}

.cart-remark-btn:active {
    transform: scale(0.88);
    background: #ffe0e0;
}

/* 有备注内容时高亮 */
.cart-remark-btn.has-remark {
    color: #ea1a26;
}

.cart-remark-btn.has-remark:hover {
    background: #fff0f0;
}

/* 备注展开输入区域 */
.cart-remark-expand {
    display: none;
    flex-basis: 100%;
    margin-top: 4px;
    animation: remarkFadeIn 0.2s ease;
}

.cart-remark-expand.active {
    display: block;
}

@keyframes remarkFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.cart-remark-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 12px;
    color: #333;
    background: #fff;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
    height: 36px;
}

.cart-remark-textarea::placeholder {
    color: #bbb;
    font-size: 12px;
}

.cart-remark-textarea:focus {
    border-color: #ea1a26;
    box-shadow: 0 0 0 2px rgba(234, 26, 38, 0.08);
}

.cart-remark-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.cart-remark-char-count {
    font-size: 10px;
    color: #bbb;
}

.cart-remark-confirm-btn {
    font-size: 12px;
    color: #fff;
    background: linear-gradient(100deg, #fb565a 0%, #ea1a26 54%, #f75d3f 100%);
    border: none;
    cursor: pointer;
    padding: 5px 18px;
    border-radius: 12px;
    font-weight: 600;
    transition: box-shadow 0.15s, transform 0.16s;
    box-shadow: 0 1px 4px rgba(234, 26, 38, 0.15);
    line-height: 1.5;
}

.cart-remark-confirm-btn:hover {
    box-shadow: 0 2px 8px rgba(234, 26, 38, 0.25);
}

.cart-remark-confirm-btn:active {
    transform: scale(0.96);
    box-shadow: 0 1px 3px rgba(234, 26, 38, 0.1);
}