.product-card {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* 🔥 quadrado */
    object-fit: cover;   /* corta sem distorcer */
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.product-title {
    font-size: 1rem;
    margin-top: 10px;
}

.product-price {
    color: #a85c2c;
    font-weight: bold;
}

.product-card h5 {
    font-family: 'Courgette', cursive;
    color: #6b4f3b;
    font-size: 18px;
    margin: 0;
}

.btn-solarina {
    background-color: #8b6346;
    color: #fff;
    border: none;
    border-radius: 6px;
    transition: 0.3s;
    margin: auto;
    padding: 5px 30px;
    width: fit-content;
    text-decoration: none;
    font-size: 12pt;
}

.btn-solarina:hover {
    background-color: #6f4e37;
    color: #fff;
}

/* WooCommerce Categories */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
}

.woocommerce ul.products li.product-card-item,
.woocommerce ul.products li.product-category {
    list-style: none;
    display: flex;
    justify-content: center;
}

.woocommerce ul.products li.product-card-item {
    align-items: stretch;
}

.product-card {
    min-height: 100%;
}

.product-card h5 {
    font-family: 'Courgette', cursive;
    color: #6b4f3b;
    font-size: 18px;
    margin: 0;
    min-height: 3rem;
}

.product-image {
    display: block;
    width: 100%;
    max-width: 300px;
    max-height: 300px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 auto;
}

.product-image img,
.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.woocommerce ul.products li.product-category {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    text-align: center;
}

.woocommerce ul.products li.product-category a {
    display: block;
    width: 100%;
}

.woocommerce ul.products li.product-category img {
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.woocommerce ul.products li.product-category h2 {
    margin-top: 10px;
    font-size: 1rem;
}


.lojas {
    background: #ffffff;
}

.lojas .product-card {
    background: #ffffff;
}

/* Carousel Custom Styles - Featured Products */

.featured-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.featured-carousel {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
    min-height: 450px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    filter: blur(0px);
}

/* Item saindo pela esquerda */
.carousel-item.exiting {
    opacity: 0;
    filter: blur(8px);
    flex: 0 0 calc(33.333% - 14px);
}

/* Garantir consistência do product-card dentro do carousel */
.carousel-item .product-card {
    height: 100%;
}

/* Responsivo para tablets */
@media (max-width: 992px) {
    .featured-carousel {
        gap: 15px;
    }
    
    .carousel-item {
        flex: 0 0 calc(50% - 7.5px);
        min-height: 400px;
    }
    
    .carousel-item.exiting {
        flex: 0 0 calc(50% - 7.5px);
    }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
    .featured-carousel {
        gap: 12px;
    }
    
    .carousel-item {
        flex: 0 0 calc(100% - 12px);
        min-height: 350px;
    }
    
    .carousel-item.exiting {
        flex: 0 0 calc(100% - 12px);
    }
}