/* 優惠券提示區塊 - 柔和設計 */
.coupon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-color: #667eea !important;
    color: #fff !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25) !important;
    border-left: 4px solid rgba(255, 255, 255, 0.5) !important;
    flex-direction: column !important;
}

.coupon > .d-flex {
    width: 100%;
    flex-direction: row !important;
}

.coupon .material-symbols-rounded {
    font-size: 24px;
    flex-shrink: 0;
}

.coupon .text-right {
    flex-shrink: 0;
    white-space: nowrap;
}

.coupon .text-right .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.coupon .badge-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.coupon ul.list-unstyled li {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coupon ul.list-unstyled li .font-weight-bold {
    color: #fff;
}

.coupon ul.list-unstyled li .text-success {
    color: #90ee90 !important;
    font-weight: 600;
}

.coupon ul.list-unstyled li .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
}

/* 另一種風格選項 - 淡雅風格 */
.coupon.style-light {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
    background-color: #f5f7fa !important;
    color: #2c3e50 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border-left: 4px solid #667eea !important;
}

.coupon.style-light .material-symbols-rounded {
    color: #667eea;
}

.coupon.style-light ul.list-unstyled li {
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.coupon.style-light ul.list-unstyled li .font-weight-bold {
    color: #2c3e50;
}

.coupon.style-light ul.list-unstyled li .text-success {
    color: #27ae60 !important;
}

.coupon.style-light ul.list-unstyled li .text-muted {
    color: #7f8c8d !important;
}

/* 漸變綠色風格 - 清新風格 */
.coupon.style-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
    background-color: #11998e !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3) !important;
    border-left: 4px solid rgba(255, 255, 255, 0.5) !important;
}

/* 溫暖橙色風格 */
.coupon.style-orange {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    background-color: #f093fb !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(240, 147, 251, 0.3) !important;
    border-left: 4px solid rgba(255, 255, 255, 0.5) !important;
}

/* 促銷優惠卡片優化 - 簡單扁平設計 (避免閃爍) */
.promotion-summary-card {
    background: #fff9e6 !important;
    border: 1px solid #ffc107 !important;
    border-left: 3px solid #ffc107 !important;
}

.promotion-summary-card .card-body {
    padding: 0.5rem 0.75rem !important;
    min-height: 36px;
}

.promotion-summary-card .material-symbols-rounded {
    color: #ff9800;
    font-size: 18px;
}

.promotion-summary-card .text-success {
    color: #ff6b00 !important;
    font-weight: 700;
    font-size: 1.15rem;
}

.promotion-summary-card .font-weight-bold {
    color: #f57c00;
}

.promotion-summary-card .text-muted {
    color: #666 !important;
}

/* 方案2: 清新綠色風格 (註解掉,需要時啟用) */
/*
.promotion-summary-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(139, 195, 74, 0.12) 100%) !important;
    border: 1px solid rgba(76, 175, 80, 0.3) !important;
    border-left: 4px solid #4caf50 !important;
}

.promotion-summary-card .material-symbols-rounded {
    color: #4caf50;
}

.promotion-summary-card .text-success {
    color: #2e7d32 !important;
}

.promotion-summary-card .font-weight-bold {
    color: #388e3c;
}
*/

/* 方案3: 簡約線框風格 (註解掉,需要時啟用) */
/*
.promotion-summary-card {
    background: #ffffff !important;
    border: 2px solid #667eea !important;
    border-radius: 8px !important;
}

.promotion-summary-card .material-symbols-rounded {
    color: #667eea;
}

.promotion-summary-card .text-success {
    color: #667eea !important;
}

.promotion-summary-card .font-weight-bold {
    color: #333;
}
*/

/* 購物車底部按鈕 - 使用 main.css 的原始樣式 (不覆蓋) */
/* #cart 的樣式由 main.css 控制 */

/* 移除橘色漸層,讓按鈕使用 .btn-main 的紫紅色 */
/*
#cart button {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
}

#cart button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.4);
}

#cart button:active {
    transform: translateY(0);
}
*/

/* 購物車列表項目文字顏色保持深色 (配合淡黃背景) */
#cart ul li {
    color: rgba(51, 51, 51, 0.85);
    font-weight: 500;
}
