/* Estilo para a imagem dos cards */ 
.owl-carousel-push .post-thumbnail img,
.post-list-push .post-thumbnail img,
.product-carousel-push .product-thumbnail img,
.product-list-push .product-thumbnail img {
    width: 100%;
    border-radius: 10px 10px 0 0;
    min-height: 250px;
    object-fit: cover;
}

/* Estilo para o título dos cards */
.owl-carousel-push,
.product-carousel-push {
    position: relative;
}

.post-list-push,
.product-list-push {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.owl-carousel-push h2 a,
.post-list-push h2 a,
.product-carousel-push .product-title a,
.product-list-push .product-title a {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #333;
    display: block;
    margin-top: 10px;
    padding: 10px 15px;
}

.owl-carousel-push h2,
.post-list-push h2,
.product-carousel-push .product-title,
.product-list-push .product-title {
    margin-bottom: 0;
}

/* Estilo para a descrição dos cards */
.owl-carousel-push .post-description,
.post-list-push .post-description,
.product-carousel-push .product-description,
.product-list-push .product-description {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    color: #666;
    margin: 10px 0;
    padding: 0 15px;
    flex-grow: 1;
}

/* Estilo para os campos personalizados */
.owl-carousel-push .custom-fields,
.post-list-push .custom-fields,
.product-carousel-push .custom-fields,
.product-list-push .custom-fields {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    color: #666;
    padding: 10px 15px;
    min-height: 25px;
    display: block
}

/* Estilo para o botão */
.owl-carousel-push .post-button a,
.post-list-push .post-button a,
.product-carousel-push .product-button a,
.product-list-push .product-button a {
    background-color: #99CA3C;
    color: white;
    border-radius: 50px;
    text-align: center;
    display: block;
    padding: 5px 35px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    margin: 15px auto;
    width: fit-content;
}

/* ===== ESTILOS ESPECÍFICOS PARA PRODUTOS WOOCOMMERCE ===== */

/* Container de produtos */
.product-item,
.product-grid-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.product-item:hover,
.product-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Thumbnail do produto */
.product-thumbnail {
    position: relative;
    overflow: hidden;
}

.product-thumbnail img {
    transition: transform 0.3s ease;
}

.product-item:hover .product-thumbnail img,
.product-grid-item:hover .product-thumbnail img {
    transform: scale(1.05);
}

/* Badges do produto */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge-sale,
.badge-featured,
.badge-outofstock {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.badge-sale {
    background-color: #ff4757;
    color: white;
}

.badge-featured {
    background-color: #ffa502;
    color: white;
}

.badge-outofstock {
    background-color: #747d8c;
    color: white;
}

/* Categoria do produto */
.product-category {
    padding: 10px 15px 0;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category a {
    color: #666;
    text-decoration: none;
}

.product-category a:hover {
    color: #99CA3C;
}

/* Título do produto */
.product-title {
    padding: 10px 15px 0;
}

.product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
}

.product-title a:hover {
    color: #99CA3C;
}

/* Avaliações do produto */
.product-rating {
    padding: 8px 15px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .star-rating {
    color: #ffa502;
}

.rating-count {
    font-size: 12px;
    color: #666;
}

/* Preço do produto */
.product-price {
    padding: 8px 15px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2f3542;
}

.product-price del {
    color: #747d8c;
    font-size: 14px;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
    color: #ff4757;
}

/* Status do estoque */
.product-stock {
    padding: 5px 15px 0;
}

.in-stock {
    color: #2ed573;
    font-size: 12px;
    font-weight: 600;
}

.out-of-stock {
    color: #ff4757;
    font-size: 12px;
    font-weight: 600;
}

/* Ações do produto */
.product-actions {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-wrapper {
    text-align: center;
}

.add-to-cart-wrapper .button {
    background-color: #3742fa;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart-wrapper .button:hover {
    background-color: #2f3542;
}

/* Layout Grid para produtos */
.product-grid-item {
    flex: 1 1 calc(25% - 12px);
    min-width: 250px;
}

@media (max-width: 768px) {
    .product-grid-item {
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .product-grid-item {
        flex: 1 1 100%;
    }
}

/* ===== ESTILOS EXISTENTES PARA POSTS ===== */

/* Estilos para os dots */
.owl-carousel-push.owl-theme .owl-dots,
.product-carousel-push.owl-theme .owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin-top: 10px;
}

.owl-carousel-push.owl-theme .owl-dots .owl-dot,
.product-carousel-push.owl-theme .owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.owl-carousel-push.owl-theme .owl-dots .owl-dot span,
.product-carousel-push.owl-theme .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #D6D6D6;
    display: block;
    -webkit-backface-visibility: visible;
    transition: opacity 200ms ease;
    border-radius: 30px;
}

.owl-carousel-push.owl-theme .owl-dots .owl-dot.active span,
.owl-carousel-push.owl-theme .owl-dots .owl-dot:hover span,
.product-carousel-push.owl-theme .owl-dots .owl-dot.active span,
.product-carousel-push.owl-theme .owl-dots .owl-dot:hover span {
    background: #869791;
}

/* Estilos para os botões de navegação */
.owl-carousel-push.owl-theme .owl-nav,
.product-carousel-push.owl-theme .owl-nav {
    margin-top: 10px;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.owl-theme .owl-nav [class*='owl-'] {
    background: none;
    color: black;
}

.owl-carousel-push .owl-nav .owl-prev,
.product-carousel-push .owl-nav .owl-prev {
    position: absolute;
    left: -20px;
    top: 50%;
    opacity: .8;
}

.owl-carousel-push .owl-nav .owl-next,
.product-carousel-push .owl-nav .owl-next {
    position: absolute;
    right: -20px;
    top: 50%;
    opacity: .8;
}

@media (max-width: 480px) {
    .owl-carousel-push .owl-nav .owl-prev,
    .product-carousel-push .owl-nav .owl-prev {
        left: -10px;
    }

    .owl-carousel-push .owl-nav .owl-next,
    .product-carousel-push .owl-nav .owl-next {
        right: -10px;
    }
}