/* Fix for Featured Products Section */
.featured-products-section {
    padding: 60px 0 !important;
    background: #f8f9fa !important;
    min-height: auto !important;
    display: block !important;
    position: relative !important;
    z-index: 10 !important;
}

.featured-products-section * {
    box-sizing: border-box !important;
}

.featured-products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

@media (max-width: 768px) {
    .featured-products-grid {
        grid-template-columns: 1fr !important;
    }
}

.featured-product-card {
    background: white !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-decoration: none !important;
    height: auto !important;
}

.featured-product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15) !important;
}

.product-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 125% !important;
    overflow: hidden !important;
    background: #f5f5f5 !important;
}

.product-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.product-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0,0,0,0.8) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.featured-product-card:hover .product-overlay {
    opacity: 1 !important;
}

.product-quick-view {
    color: white !important;
    text-decoration: none !important;
    border: 2px solid white !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.product-quick-view:hover {
    background: white !important;
    color: #333 !important;
}

.product-info {
    padding: 20px !important;
    text-align: center !important;
}

.product-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.4 !important;
    display: block !important;
    min-height: auto !important;
}

.product-price {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
    display: block !important;
}

/* Section header styles */
.section-header {
    text-align: center !important;
    margin-bottom: 50px !important;
}

.section-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
}

.section-subtitle {
    font-size: 18px !important;
    color: #666 !important;
    margin: 0 !important;
}

/* View All button */
.section-cta {
    text-align: center !important;
    margin-top: 40px !important;
}

.modern-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #333 !important;
    color: white !important;
    padding: 15px 35px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.modern-button:hover {
    background: #555 !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
    color: white !important;
}

.modern-button i {
    font-size: 14px !important;
}

/* Remove all pseudo elements from buttons */
.modern-button::before,
.modern-button::after,
.featured-product-card a::before,
.featured-product-card a::after,
.product-quick-view::before,
.product-quick-view::after,
a[href*="products"]::before,
a[href*="products"]::after {
    display: none !important;
    content: none !important;
}