/* --- 1. DESBLOQUEIO (Full Width) --- */
.ast-page-builder-template .entry-content #mapea-plugin-wrapper,
.ast-container #mapea-plugin-wrapper {
    max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important;
}

/* Variáveis e Estrutura */
#mapea-guides-plugin {
    --m-merlot: #4F0713;
    --m-rosa: #E499B6;
    --m-gold: #FDC762;
    --m-rubi: #AD0919;
    --m-bg: #ffffff;
    
    padding: 80px 20px;
    background-color: var(--m-bg);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
}

.mapea-container { max-width: 1200px; margin: 0 auto; position: relative; }

/* Cabeçalho */
.mapea-header { text-align: center; margin-bottom: 50px; }
.mapea-pill { display: inline-block; background: rgba(79, 7, 19, 0.05); color: var(--m-merlot); font-size: 12px; font-weight: 800; letter-spacing: 2px; padding: 8px 20px; border-radius: 50px; margin-bottom: 20px; }
.mapea-header h2 { font-size: 2.8rem; color: var(--m-merlot); font-weight: 800; margin-bottom: 10px; line-height: 1.1; }
.mapea-highlight { color: var(--m-gold); position: relative; z-index: 1; }
.mapea-highlight::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 10px; background: var(--m-merlot); opacity: 0.1; z-index: -1; transform: rotate(-2deg); }

/* Carrossel Area */
.mapea-carousel-wrapper { position: relative; display: flex; align-items: center; z-index: 5; }
.mapea-track { display: flex; gap: 30px; overflow-x: auto; padding: 40px 15px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; scroll-behavior: smooth; }
.mapea-track::-webkit-scrollbar { display: none; }

/* Botões de Navegação */
.mapea-nav-btn { background: var(--m-merlot); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: all 0.3s; z-index: 10; flex-shrink: 0; position: absolute; top: 50%; transform: translateY(-50%); }
.mapea-nav-btn:hover { background: var(--m-rubi); }
.mapea-prev { left: -25px; } 
.mapea-next { right: -25px; }

/* CARD Design */
.mapea-card {
    background: white; border-radius: 20px; padding: 30px; text-align: center;
    transition: transform 0.3s ease; border: 1px solid #f0f0f0; position: relative;
    min-width: 300px; max-width: 320px; scroll-snap-align: center; flex-shrink: 0;
    display: flex; flex-direction: column; justify-content: space-between;
}
.mapea-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--m-rosa); }

/* Design "Combo" (Destaque) */
.mapea-card.is-combo { border: 2px solid var(--m-gold); background: #fffcf5; }

.mapea-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--m-gold); color: var(--m-merlot); font-weight: 800; font-size: 12px; padding: 5px 15px; border-radius: 20px; letter-spacing: 1px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); z-index: 5; white-space: nowrap; }

/* Imagem do Livro */
.mapea-book-box { position: relative; width: 160px; height: 220px; margin: 0 auto 30px auto; perspective: 1000px; }
.mapea-cover { width: 100%; height: 100%; object-fit: cover; border-radius: 5px 10px 10px 5px; box-shadow: -5px 5px 15px rgba(0,0,0,0.2); transform: rotateY(-15deg); transition: transform 0.3s; }
.mapea-card:hover .mapea-cover { transform: rotateY(0deg) scale(1.05); }

/* Infos */
.mapea-cat { font-size: 12px; font-weight: 700; color: #999; text-transform: uppercase; margin-bottom: 5px; }
.mapea-prod-title { font-size: 1.4rem; color: var(--m-merlot); font-weight: 700; margin-bottom: 10px; line-height: 1.2; min-height: 54px; display: flex; align-items: center; justify-content: center; }
.mapea-desc { font-size: 0.9rem; color: #666; margin-bottom: 20px; line-height: 1.5; min-height: 40px; }

/* Preço */
.mapea-price-box { color: var(--m-rubi); margin-bottom: 25px; display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.mapea-old { font-size: 14px; text-decoration: line-through; color: #bbb; margin-right: 5px; }
.mapea-curr { font-size: 16px; font-weight: 600; }
.mapea-val { font-size: 42px; font-weight: 800; line-height: 1; }
.mapea-cents { font-size: 18px; font-weight: 700; }

/* Botão */
.mapea-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; border-radius: 12px; font-weight: 700; text-decoration: none; background: transparent; color: var(--m-merlot); border: 2px solid var(--m-merlot); transition: all 0.3s; box-sizing: border-box; }
.mapea-btn:hover { background: var(--m-merlot); color: white; }

/* Botão Combo */
.mapea-btn.is-combo { background: var(--m-rubi); border-color: var(--m-rubi); color: white; box-shadow: 0 10px 20px rgba(173, 9, 25, 0.2); }
.mapea-btn.is-combo:hover { background: var(--m-merlot); border-color: var(--m-merlot); }

/* Mobile */
@media (max-width: 992px) {
    #mapea-guides-plugin { padding: 60px 0; }
    .mapea-container { padding: 0; } .mapea-header { padding: 0 20px; } .mapea-carousel-wrapper { padding: 0 10px; }
    .mapea-card { min-width: 280px; }
    .mapea-nav-btn { display: flex; width: 40px; height: 40px; font-size: 14px; background: rgba(79, 7, 19, 0.9); }
    .mapea-prev { left: 5px; } .mapea-next { right: 5px; }
    .mapea-track { scroll-padding: 0 50px; }
}