/* 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;
    aspect-ratio: 1 / 1;
    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;
    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;
    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;
    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 {
    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 {
    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 {}

.badge-featured {}

.badge-outofstock {}

/* Categoria do produto */
.product-category {
    padding: 10px 15px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category a {
    text-decoration: none;
}

.product-category a:hover {}

/* Título do produto */
.product-title {
    padding: 10px 15px 0;
}

.product-title a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
}

.product-title a:hover {}

/* Avaliações do produto */
.product-rating {
    padding: 8px 15px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-rating .star-rating {}

.rating-count {
    font-size: 12px;
}

/* Preço do produto */
.product-price {
    padding: 8px 15px 0;
    font-size: 18px;
    font-weight: 700;
}

.product-price del {
    font-size: 14px;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
}

/* Status do estoque */
.product-stock {
    padding: 5px 15px 0;
}

.in-stock {
    font-size: 12px;
    font-weight: 600;
}

.out-of-stock {
    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 {
    border: 1px solid currentColor;
    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 {}

/* 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;
    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 {}

/* 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-'] {}

.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;
    }
}

.product-parcelamento {
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
}

/* ========================================================
   TEMPLATES PREMIUM (Default, Card, List)
   ======================================================== */

/* --- Default Template (cp-default-item) --- */
.cp-default-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cp-default-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.cp-default-item .cp-thumbnail {
    position: relative;
    overflow: hidden;
}

.cp-default-item .cp-thumbnail img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.cp-default-item:hover .cp-thumbnail img {
    transform: scale(1.05);
}

.cp-default-item .cp-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.cp-default-item .cp-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cp-default-item .cp-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.cp-default-item .cp-category a {
    color: inherit;
    text-decoration: none;
}

.cp-default-item .cp-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cp-default-item .cp-title a {
    text-decoration: none;
    transition: color 0.2s;
}

.cp-default-item .cp-title a:hover {}

.cp-default-item .cp-rating {
    margin-bottom: 12px;
    font-size: 13px;
}

.cp-default-item .cp-price {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cp-default-item .cp-price del {
    font-size: 14px;
    font-weight: 500;
    margin-right: 6px;
}

.cp-default-item .cp-price ins {
    text-decoration: none;
}

.cp-default-item .cp-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.cp-default-item .cp-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-default-item .cp-btn {
    display: block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e0e0e0;
}

.cp-default-item .cp-btn:hover {}

.cp-default-item .cp-add-to-cart .button {
    width: 100%;
    border-radius: 8px;
    padding: 10px 20px;
    text-align: center;
    border: 1px solid currentColor;
    font-weight: 600;
    transition: background 0.2s;
}

.cp-default-item .cp-add-to-cart .button:hover {}

/* --- Premium Card Template (cp-card-premium) --- */
.cp-card-premium {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cp-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.cp-card-premium__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.cp-card-premium__thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cp-card-premium:hover .cp-card-premium__thumb img {
    transform: scale(1.08);
}

.cp-card-premium__badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.cp-card-premium__badges span {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cp-card-premium__badges .badge-sale {
    background: rgba(231, 76, 60, 0.9);
}

.cp-card-premium__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cp-card-premium__cat {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.cp-card-premium__cat a {
    color: inherit;
    text-decoration: none;
}

.cp-card-premium__title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.3;
}

.cp-card-premium__title a {
    text-decoration: none;
}

.cp-card-premium__rating {
    margin-bottom: 12px;
}

.cp-card-premium__excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.cp-card-premium__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f2f6;
}

.cp-card-premium__price {
    font-size: 18px;
    font-weight: 800;
}

.cp-card-premium__price del {
    font-size: 13px;
    margin-right: 5px;
}

.cp-card-premium__price ins {
    text-decoration: none;
}

.cp-card-premium__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.cp-card-premium__btn:hover {
    transform: rotate(-45deg);
}

.cp-card-premium__add-to-cart .button {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid currentColor;
    transition: background 0.3s;
}

.cp-card-premium__add-to-cart .button:hover {}

/* --- Modern List Template (cp-list-modern) --- */
.cp-list-modern {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
    transition: all 0.3s;
    border: 1px solid #f5f6fa;
}

.cp-list-modern:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.cp-list-modern__thumb {
    flex: 0 0 250px;
    max-width: 250px;
    overflow: hidden;
}

.cp-list-modern__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cp-list-modern:hover .cp-list-modern__thumb img {
    transform: scale(1.05);
}

.cp-list-modern__content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cp-list-modern__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.cp-list-modern__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.cp-list-modern__title a {
    text-decoration: none;
}

.cp-list-modern__title a:hover {}

.cp-list-modern__price {
    font-size: 20px;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.cp-list-modern__price del {
    display: block;
    font-size: 13px;
    font-weight: 500;
}

.cp-list-modern__price ins {
    text-decoration: none;
}

.cp-list-modern__meta {
    font-size: 13px;
    margin-bottom: 12px;
    font-weight: 500;
}

.cp-list-modern__meta a {
    color: inherit;
    text-decoration: none;
}

.cp-list-modern__rating {
    margin-bottom: 15px;
}

.cp-list-modern__excerpt {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cp-list-modern__actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cp-list-modern__btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cp-list-modern__btn:hover {}

.cp-list-modern__add-to-cart .button {
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid currentColor;
    transition: background 0.3s;
    text-decoration: none;
}

.cp-list-modern__add-to-cart .button:hover {}

@media (max-width: 768px) {
    .cp-list-modern {
        flex-direction: column;
    }

    .cp-list-modern__thumb {
        flex: 0 0 auto;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .cp-list-modern__header {
        flex-direction: column;
    }

    .cp-list-modern__price {
        text-align: left;
    }

    .cp-list-modern__price del {
        display: inline-block;
        margin-right: 8px;
    }
}