/**
 * Arquivo: simple-card.css
 * Descrição: Estilos para o shortcode simple-card
 * Versão: 1.0.0
 * Data: 2026-02-17
 */
/* Styles required by simple-card.php output */
/* 
 * Scoped styles for Frontend Preview 
 * Evita vazamento para o administrativo do WP
 */
.mp-frontend-scope .generic-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.mp-frontend-scope .card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mp-frontend-scope .card-tall .card-img {
    aspect-ratio: 9 / 16;
}

.mp-frontend-scope .card-wide .card-img {
    aspect-ratio: 16 / 9;
}

.mp-frontend-scope .card-square .card-img {
    aspect-ratio: 1 / 1;
}

.mp-frontend-scope .card-list-left,
.mp-frontend-scope .card-list-right {
    flex-direction: row;
    max-width: 300px;
}

.mp-frontend-scope .card-list-left .card-img,
.mp-frontend-scope .card-list-right .card-img {
    width: 100%;
    aspect-ratio: 9 / 16;
}

.mp-frontend-scope .card-list-right {
    flex-direction: row-reverse;
}

.mp-frontend-scope .card-list-left .card-body,
.mp-frontend-scope .card-list-right .card-body {
    width: 65%;
}

@media (max-width: 480px) {
    .mp-frontend-scope .card-list-left,
    .mp-frontend-scope .card-list-right {
        flex-direction: column;
        max-width: 300px;
    }
    .mp-frontend-scope .card-list-left .card-img,
    .mp-frontend-scope .card-list-right .card-img {
        width: 100%;
    }
    .mp-frontend-scope .card-list-left .card-body,
    .mp-frontend-scope .card-list-right .card-body {
        width: 100%;
    }
}

.mp-frontend-scope .card-body {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mp-frontend-scope .card-title {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.mp-frontend-scope .card-title a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-frontend-scope .card-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-frontend-scope .generic-card.card-list-large-left,
.mp-frontend-scope .generic-card.card-list-large-right {
    width: 100%;
    max-width: 100%;
    flex-direction: row;
}

.mp-frontend-scope .generic-card.card-list-large-right {
    flex-direction: row-reverse;
}

.mp-frontend-scope .generic-card.card-list-large-left .card-img,
.mp-frontend-scope .generic-card.card-list-large-right .card-img {
    width: 300px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.mp-frontend-scope .generic-card.card-list-large-left .card-body,
.mp-frontend-scope .generic-card.card-list-large-right .card-body {
    flex: 1;
}

@media (max-width: 600px) {
    .mp-frontend-scope .generic-card.card-list-large-left,
    .mp-frontend-scope .generic-card.card-list-large-right {
        flex-direction: column;
    }
    .mp-frontend-scope .generic-card.card-list-large-left .card-img,
    .mp-frontend-scope .generic-card.card-list-large-right .card-img {
        width: 100%;
        max-width: 100%;
    }
}

.mp-frontend-scope .price-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mp-frontend-scope .product-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: #2ecc71;
}

.mp-frontend-scope .price-consult {
    color: #f39c12;
}

.mp-frontend-scope .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8em;
    margin-right: 5px;
}

.mp-frontend-scope .price-new {
    color: #e74c3c;
}

.mp-frontend-scope .card-actions {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mp-frontend-scope .mp-loja-card-img-link:hover img {
    transform: scale(1.05);
}

.mp-frontend-scope .mp-loja-btn-details:hover {
    opacity: 0.9;
}

/* 
   Button and Link Styles removed.
   Now relying on shared definitions in widgets/css/cta-styles.css 
*/