/* Bundle Deal Styles */
.bundle-deal-multiple {
    border: 2px solid #e74c3c;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.bundle-deal-multiple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #e74c3c);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bundle-deal-title {
    color: #e74c3c;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bundle-deal-title i {
    font-size: 20px;
    color: #f39c12;
}

.bundle-deal-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.bundle_items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.bundle_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 400px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid #e74c3c;
}

.bundle_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bundle_item-image-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    flex-shrink: 0;
}

.bundle_item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.bundle_item-info {
    flex: 1;
    text-align: left;
}

.bundle_item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 32px;
}

.bundle_item-unit {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.bundle_item-price {
    font-size: 12px;
    font-weight: bold;
    color: #e74c3c;
}

.bundle_plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f39c12;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(243, 156, 18, 0.3);
    align-self: center;
    transform: rotate(90deg);
}

.bundle-deal-pricing {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #e9ecef;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    text-align: center;
}

.original-price {
    color: #666;
    font-size: 14px;
    text-decoration: line-through;
}

.bundle-price {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
}

.discount-amount {
    color: #27ae60;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bundle_items {
        gap: 12px;
    }

    .bundle_item {
        max-width: 100%;
        padding: 12px;
    }

    .bundle_item-image-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }

    .bundle_item-name {
        font-size: 12px;
    }

    .bundle_plus {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }

    .bundle-deal-pricing {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}@media (max-width: 480px) {
    .bundle_item-image-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 10px;
    }

    .bundle_item {
        padding: 10px;
    }

    .bundle_item-name {
        font-size: 11px;
    }

    .bundle_item-price {
        font-size: 11px;
    }
}

/* Animation for bundle items */
.bundle_item {
    animation: slideInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.bundle_item:nth-child(1) { animation-delay: 0.1s; }
.bundle_item:nth-child(3) { animation-delay: 0.2s; }
.bundle_item:nth-child(5) { animation-delay: 0.3s; }
.bundle_item:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
