/* Featured Products Section */
.featured-products-section {
    padding: 60px 0;
    width: 100%;
    margin: 0 auto;
}

/* Section Title Styles (Matching Projects & Categories) */


.featured-products-section .section-divider {
    display: none;
    /* Hide divider if not used in other sections directly or style it */
}

/* Match container width from other sections */

/* Match container width from other sections */
@media (min-width: 1500px) {
    .featured-products-section .container {
        max-width: 1450px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.featured-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.featured-products__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    /* Or adjust based on image ratio */
    cursor: pointer;
}

.featured-products__image-wrapper {
    width: 100%;
    height: 100%;
}

.featured-products__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect: Scale Image */
.featured-products__item:hover .featured-products__image {
    transform: scale(1.05);
}

/* Overlay */
.featured-products__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Darken on hover */
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed padding, using absolute positioning for border frame */
}

.featured-products__item:hover .featured-products__overlay {
    opacity: 1;
}

/* Inner Frame Border */
.featured-products__overlay-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
    height: auto;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Allow clicks to pass through if needed */
}

/* Title */
.featured-products__title-text {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    /* Adjusted size for better fit */
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
    text-transform: lowercase;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .featured-products-section {
        padding: 40px 0;
    }
}