/* Blog Bundles Section */
.blog-bundles-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.bundles-header {
    text-align: center;
    margin-bottom: 40px;
}

.bundles-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 10px;
}

.bundles-title i {
    color: #e41d3c;
}

.bundles-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Bundle Card */
.bundle-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bundle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(228, 29, 60, 0.15);
}

.bundle-header {
    position: relative;
    background: #f8f9fa;
}

.bundle-savings-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e41d3c;
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(228, 29, 60, 0.3);
}

.bundle-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.bundle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bundle-card:hover .bundle-image img {
    transform: scale(1.05);
}

.bundle-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bundle-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 12px;
}

.bundle-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Bundle Products */
.bundle-products {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.bundle-products-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.bundle-products-title::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #e41d3c;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    margin-right: 10px;
    font-size: 0.8rem;
}

.bundle-products-grid {
    display: grid;
    gap: 12px;
}

.bundle-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.bundle-product-item:hover {
    background: #fff5f5;
}

.bundle-product-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid #f0f0f0;
}

.bundle-product-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bundle-product-name {
    font-size: 0.9rem;
    color: #2f2f2f;
    font-weight: 500;
}

.bundle-product-qty {
    background: #e41d3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Bundle Pricing */
.bundle-pricing {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
    border-radius: 12px;
    border: 2px solid #e41d3c;
}

.bundle-price-original {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bundle-price-original .label {
    color: #6c757d;
    font-size: 0.9rem;
}

.bundle-price-original .price {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 1rem;
}

.bundle-price-final {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bundle-price-final .label {
    color: #2f2f2f;
    font-weight: 600;
    font-size: 1rem;
}

.bundle-price-final .price {
    color: #e41d3c;
    font-weight: 700;
    font-size: 1.8rem;
}

.bundle-savings {
    text-align: center;
    padding: 8px;
    background: #e41d3c;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Add to Cart Button */
.btn-add-bundle-to-cart {
    width: 100%;
    padding: 15px;
    background: #e41d3c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-add-bundle-to-cart:hover {
    background: white;
    color: #e41d3c;
    box-shadow: 0 0 0 2px #e41d3c inset;
    transform: translateY(-2px);
}

.btn-add-bundle-to-cart i {
    transition: transform 0.3s ease;
}

.btn-add-bundle-to-cart:hover i {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .bundles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bundles-title {
        font-size: 1.5rem;
    }
    
    .bundle-title {
        font-size: 1.25rem;
    }
    
    .bundle-price-final .price {
        font-size: 1.5rem;
    }
}


/* Notification Toast */
.bundle-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 300px;
    max-width: 400px;
    z-index: 10000;
    transform: translateX(450px);
    transition: transform 0.3s ease;
}

.bundle-notification.show {
    transform: translateX(0);
}

.bundle-notification-success {
    border-left: 4px solid #28a745;
}

.bundle-notification-error {
    border-left: 4px solid #dc3545;
}

.bundle-notification-info {
    border-left: 4px solid #17a2b8;
}

.notification-content strong {
    display: block;
    color: #2f2f2f;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.notification-content p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.notification-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.notification-close:hover {
    color: #2f2f2f;
}

/* Cart Badge Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.pulse {
    animation: pulse 0.5s ease;
}

/* Loading State for Button */
.btn-add-bundle-to-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-add-bundle-to-cart .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile Notification */
@media (max-width: 768px) {
    .bundle-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-150px);
    }
    
    .bundle-notification.show {
        transform: translateY(0);
    }
}
