/* 加購商品推薦區塊樣式 */
.addon-recommendations {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #ffc107;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.addon-recommendations .tit_s {
    color: #b8860b;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.addon-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.addon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.addon-item.border-success {
    border-color: #28a745 !important;
    background-color: #f8fff9;
}

.addon-item .card-img-top {
    transition: transform 0.3s ease;
}

.addon-item:hover .card-img-top {
    transform: scale(1.05);
}

.addon-item .price-info {
    font-size: 0.9rem;
}

.addon-item .price-info .text-decoration-line-through {
    font-size: 0.8rem;
}

.addon-item .btn {
    transition: all 0.3s ease;
}

.addon-item .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* 數量選擇器樣式 */
.addon-item input[type="number"] {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 2px 4px;
}

.addon-item input[type="number"]:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    outline: none;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .addon-recommendations {
        padding: 15px;
        margin: 0 -10px;
    }
    
    .addon-recommendations .card-title {
        font-size: 0.9rem;
    }
    
    .addon-item .price-info {
        font-size: 0.8rem;
    }
}

/* 動畫效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.addon-recommendations {
    animation: fadeInUp 0.6s ease;
}

.addon-item {
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.addon-item:nth-child(1) { animation-delay: 0.1s; }
.addon-item:nth-child(2) { animation-delay: 0.2s; }
.addon-item:nth-child(3) { animation-delay: 0.3s; }
.addon-item:nth-child(4) { animation-delay: 0.4s; }
.addon-item:nth-child(5) { animation-delay: 0.5s; }
.addon-item:nth-child(6) { animation-delay: 0.6s; }