/* ============================================================
   [DRIPBOX] FRONTEND CSS - FINAL VERSION V4 (FIXED BUTTONS)
   ============================================================ */

/* ============================================================
   1. CORE VARIABLES & BASE RESET
   ============================================================ */
:root {
  --dripbox-primary: #0073e6;
  --dripbox-secondary: #ff7b00;
  --dripbox-success: #2fb44a;
  --dripbox-purple: #6c63ff;
  --dripbox-danger: #d82a2a;
  --dripbox-text: #111;
  --dripbox-muted: #555;
  --dripbox-radius: 8px;
  --dripbox-shadow: 0 4px 14px rgba(0,0,0,0.08);
  --dripbox-transition: all 0.2s ease;
  --dripbox-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset Global */
.mini-affiliate-box, .dripbox-horizontal, .dripbox-banner, .dripbox-mag {
  font-family: var(--dripbox-font);
  box-shadow: var(--dripbox-shadow);
  border-radius: var(--dripbox-radius);
  color: var(--dripbox-text);
  background: #fff;
  box-sizing: border-box;
  line-height: 1.5;
  position: relative; 
}
.mini-affiliate-box *, .dripbox-horizontal *, .dripbox-banner *, .dripbox-mag * {
  box-sizing: border-box;
}

/* ============================================================
   2. LAYOUT 1: DEFAULT
   ============================================================ */
/* ==========================================================================
   DRIPBOX PLUGIN STYLES (Cleaned & Organized)
   ========================================================================== */

/* ============================================================
   1. CONTAINER & LAYOUT PRINCIPAL
   ============================================================ */
.mini-affiliate-box {
  border: 1px solid #ddd;
  padding: 25px 30px;
  margin: 50px 0 10px 0 !important;
  text-align: center;
  color: #555;
  background-color: #fff; /* Garantia de fundo branco */
}

/* Container relativo para posicionamento de badges absolutos */
.dripbox-container {
  position: relative;
}

/* ============================================================
   2. TIPOGRAFIA (Títulos e Textos)
   ============================================================ */
.mini-affiliate-title {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 20px; /* Margem unificada */
  color: #444;
}

.mini-affiliate-disclaimer {
  font-size: 13px;
  margin-top: 20px;
  color: var(--dripbox-muted, #999); /* Fallback se a variável não existir */
  font-style: italic;
}

/* ============================================================
   3. IMAGENS (Duas variações identificadas)
   ============================================================ */

/* --- Variação A: Wrapper Padrão (Flexbox) --- */
.mini-affiliate-img-wrapper {
  width: 100%;
  max-width: 520px;
  height: 300px;
  border-radius: 8px;
  margin: 20px auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-affiliate-img-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 28px;
}

/* --- Variação B: Wrapper Quadrado 1:1 (DripBox Default) --- */
.dripbox-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 20px;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
}

/* Força aspect ratio 1:1 (quadrado) */
.dripbox-image-wrapper::before {
  content: '';
  display: block;
  padding-top: 100%;
}

.dripbox-image-wrapper .dripbox-product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.dripbox-image-wrapper .dripbox-product-image.loaded {
  opacity: 1;
}

/* Link clicável da imagem */
.dripbox-image-wrapper .dripbox-image-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.dripbox-image-wrapper .dripbox-image-link:hover .dripbox-product-image {
  opacity: 0.85;
}

/* Fallback (ícone de caixa) se imagem não carregar */
.dripbox-image-wrapper::after {
  content: '📦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

/* Esconde fallback quando imagem carrega */
.dripbox-image-wrapper:has(.dripbox-product-image.loaded)::after {
  display: none;
}

/* ============================================================
   4. BADGES (Etiquetas)
   ============================================================ */

/* --- Badge Antigo (Lasso Style) --- */
.mini-affiliate-badge {
  background: #d6001c;
  color: #fff;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 26px !important;
}

/* Remove badge antigo se o novo estiver ativo (Regra de segurança) */
.dripbox-badge-default {
  display: none !important;
}

/* --- Badge Novo (Premium Banner Style) --- */
.dripbox-badge-default-new {
  position: absolute;
  top: -15px;
  left: -7px;
  background: linear-gradient(135deg, #d82a2a 0%, #b91c1c 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 20px rgba(216, 42, 42, 0.5);
  z-index: 100;
  line-height: 1;
  white-space: nowrap;
  animation: badgePulse 2s ease-in-out infinite; /* Nota: animation 'badgePulse' não estava definida neste arquivo */
  animation: badgeIn 0.35s ease-out; /* Substituindo pela badgeIn que está definida */
  min-width: 140px;
  text-align: center;
}

/* Seta decorativa na parte inferior do badge */
.badge-arrow-default {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 8px solid #8a0012;
  border-left: 8px solid transparent;
}

@keyframes badgeIn {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============================================================
   5. PRÓS & CONTRAS (Grid System)
   ============================================================ */
.mini-pros-cons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 0;
  text-align: left;
}

.mini-pros,
.mini-cons {
  flex: 1 1 280px;
}

/* Títulos (Consolidado) */
.mini-pros h4,
.mini-cons h4 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px !important;
  padding-left: 15px;
  position: relative;
  color: #333; 
}

/* Linha decorativa abaixo do título */
.mini-pros h4::after,
.mini-cons h4::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background: currentColor;
}

/* Listas */
.mini-pros ul,
.mini-cons ul {
  padding-left: 0; /* Ajustado de -15px para 0 para evitar corte */
  margin-left: 0;
}

.mini-pros li,
.mini-cons li {
  list-style: none;
  margin: 8px 0 8px 12px;
  font-size: 15px;
  line-height: 1.5;
  display: flex !important;
  gap: 10px; /* Substitui column-gap para flexbox */
  align-items: center;
  color: #666;
}

/* Ícones (SVG via Data URI) */
.mini-pros li::before {
  content: "";
  min-width: 21px; /* min-width evita esmagar o ícone */
  height: 21px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='%2308960f' viewBox='0 0 24 24'><path d='M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10ZM11 16l6-6-1.414-1.414L11 13.172l-2.586-2.586L7 12l4 4Z'/></svg>") no-repeat center;
  background-size: contain;
}

.mini-cons li::before {
  content: "";
  min-width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23d82a2a' stroke-width='2.4' viewBox='0 0 24 24'><circle cx='12' cy='12' r='10'/><line x1='8' y1='8' x2='16' y2='16'/><line x1='16' y1='8' x2='8' y2='16'/></svg>") no-repeat center;
  background-size: contain;
}

/* ============================================================
   6. BOTÕES (Call to Action)
   ============================================================ */
.mini-affiliate-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  width: 100%;
}

/* Ícone do Carrinho */
.mini-affiliate-buttons a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.17 14h9.66c.75 0 1.41-.41 1.75-1.03l3.58-6.49a1 1 0 00-.87-1.48H6.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 16.37 5.48 18 7 18h12v-2H7.17z'/></svg>") no-repeat center;
  background-size: contain;
  vertical-align: middle;
}

/* Efeito Hover */
.mini-affiliate-buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.25);
}

/* ============================================================
   7. FOLDERS / ACCORDIONS (Specs, Who, Why)
   ============================================================ */
.mini-affiliate-folders .folder-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* NOTA: O código original tinha font-size: 3px aqui. 
   Desativei pois tornaria o texto ilegível. Mantendo a regra abaixo de 12px.
*/
/* .mini-affiliate-folders .folder .folder-content { font-size: 3px !important; } */

.folder-content {
  font-size: 12px !important;
  background: #fff;
  line-height: 1.6;
  text-align: left;
  color: #555;
  padding: 10px; /* Adicionado padding para não colar na borda */
}

/* Força tamanho da fonte dentro do folder */
.folder-content p,
.folder-content span,
.folder-content div,
.folder-content * {
  font-size: 12px !important;
}

/* ============================================================
   8. MEDIA QUERIES (Mobile Responsiveness)
   ============================================================ */

/* Ajustes Gerais Mobile */
@media (max-width: 600px) {
  .mini-affiliate-box { 
    padding: 20px; 
  }
  .mini-affiliate-title { 
    font-size: 22px; 
  }
  /* Botões ocupam 100% da largura no mobile */
  .mini-affiliate-buttons a { 
    flex: 1 1 100%; 
  }
  /* Folders viram uma coluna só */
  .mini-affiliate-folders .folder-row {
    grid-template-columns: 1fr;
  }
}

/* Ajustes Específicos do Badge no Mobile */
@media (max-width: 768px) {
  .dripbox-badge-default-new {
    font-size: 11px;
    padding: 10px 18px;
    top: -12px;
    left: -7px;
    min-width: 120px;
  }
  
  .badge-arrow-default {
    bottom: -6px;
    border-top: 6px solid #8a0012;
    border-left: 6px solid transparent;
  }
}





/* ==========================================================================
   3. LAYOUT 2: HORIZONTAL (Cleaned & Organized)
   ========================================================================== */

/* ============================================================
   1. CONTAINER PRINCIPAL
   ============================================================ */
.dripbox-horizontal {
  position: relative;
  display: flex;
  align-items: center; /* Alinha verticalmente ao centro */
  justify-content: space-between;
  gap: 20px;
  
  /* Box Model */
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 40px 0 20px 0; /* Topo maior para compensar o badge */
  margin: 25px 0;
  
  /* Visual */
  background: #f8f9fb;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  font-family: "Inter", sans-serif;
  overflow: visible; /* Permite que o badge saia da caixa */
}

/* ============================================================
   2. COLUNA ESQUERDA (IMAGEM)
   ============================================================ */
.dripbox-horizontal .dripbox-left {
  flex: 0 0 240px; /* Largura fixa para a coluna da imagem */
  display: flex;
  align-items: center;
  justify-content: center;
}

.dripbox-horizontal .dripbox-left img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 10px;
}

/* ============================================================
   3. COLUNA DIREITA (CONTEÚDO)
   ============================================================ */
.dripbox-horizontal .dripbox-right {
  flex: 1 1 calc(100% - 240px); /* Ocupa o restante do espaço */
  padding-right: 20px;
  box-sizing: border-box;
}

/* Centralização de Texto (Título e Descrição) */
.dripbox-horizontal .dripbox-right > h3,
.dripbox-horizontal .dripbox-right > p {
  text-align: center;
  display: block;
  width: 100%;
  margin: 0 auto;
}

/* Estilo do Título */
.dripbox-horizontal .dripbox-right > h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

/* Estilo da Descrição (Why we picked it) */
.dripbox-horizontal .dripbox-right > p {
  color: #555;
  font-size: 15px;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ============================================================
   4. BADGE (ETIQUETA FLUTUANTE)
   ============================================================ */
   
/* Ajuste no container para evitar cortes */
.dripbox-container {
  position: relative;
  /* padding-top removido aqui para não conflitar com outros layouts, 
     o padding já está no .dripbox-horizontal */
}

.dripbox-badge-horizontal {
  position: absolute;
  top: 30px; 
  left: -7px; /* Efeito "saindo" da caixa */

  /* Estilo Premium */
  background: linear-gradient(135deg, #d82a2a 0%, #b91c1c 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;

  padding: 12px 24px;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 6px 20px rgba(216, 42, 42, 0.5);

  z-index: 100;
  line-height: 1;
  white-space: nowrap;
  min-width: 140px;
  text-align: center;

  animation: badgeIn 0.35s ease-out;
}

/* Seta decorativa (Dobra do Badge) */
.dripbox-badge-horizontal::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 0;
  border-top: 8px solid #8a0012; /* Cor mais escura para sombra */
  border-left: 8px solid transparent;
}

@keyframes badgeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   5. PRÓS & CONTRAS (GRID)
   ============================================================ */
.dripbox-horizontal .mini-pros-cons {
  display: grid !important;
  grid-template-columns: 1fr 1fr; /* Duas colunas iguais */
  gap: 40px;
  margin: 20px 0;
}

/* Títulos (Pros/Cons) */
.dripbox-horizontal .mini-pros h4,
.dripbox-horizontal .mini-cons h4 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0 0 6px 0;
  border: none;
  position: relative;
}

/* Linha decorativa abaixo do título */
.dripbox-horizontal .mini-pros h4::after,
.dripbox-horizontal .mini-cons h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: currentColor;
}

/* Cores dos Títulos */
.dripbox-horizontal .mini-pros h4 { color: #1aaa55; }
.dripbox-horizontal .mini-cons h4 { color: #d32f2f; }

/* Listas */
.dripbox-horizontal .mini-pros ul,
.dripbox-horizontal .mini-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dripbox-horizontal .mini-pros li,
.dripbox-horizontal .mini-cons li {
  margin: 6px 0 6px 0; /* Margem esquerda ajustada */
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666;
}

/* Ícones SVG */
.dripbox-horizontal .mini-pros li::before,
.dripbox-horizontal .mini-cons li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  /* Os backgrounds SVGs já estão definidos no CSS global ou herdados, 
     aqui ajustamos apenas o tamanho para o layout horizontal */
}

/* ============================================================
   6. BOTÕES (CTA - Estilo Lasso)
   ============================================================ */
.dripbox-horizontal .mini-affiliate-buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 20px !important;
  width: 100% !important;
}

.dripbox-horizontal .mini-affiliate-buttons a {
  flex: 1 1 auto !important;
  max-width: 180px !important;
  height: auto !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  
  /* Tipografia */
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  line-height: 1.2 !important;
  color: #fff !important;
  text-decoration: none !important;
  
  /* Box */
  border-radius: 8px !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  
  /* Flex para alinhar ícone */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Ícone Carrinho dentro do botão */
.dripbox-horizontal .mini-affiliate-buttons a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.17 14h9.66c.75 0 1.41-.41 1.75-1.03l3.58-6.49a1 1 0 00-.87-1.48H6.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 16.37 5.48 18 7 18h12v-2H7.17z'/></svg>") no-repeat center;
  background-size: contain;
}

/* Efeito Hover */
.dripbox-horizontal .mini-affiliate-buttons a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}

/* ============================================================
   7. RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
  /* Vira coluna única (Stack) */
  .dripbox-horizontal { 
    flex-direction: column; 
    padding-top: 50px; /* Mais espaço para o badge no mobile */
  }
  
  /* Imagem no topo */
  .dripbox-horizontal .dripbox-left { 
    width: 100%; 
    height: 200px; 
    flex: 0 0 auto;
  }
  
  /* Conteúdo */
  .dripbox-horizontal .dripbox-right {
    padding-right: 0;
    padding: 0 20px;
  }
  
  /* Prós e Contras um embaixo do outro */
  .dripbox-horizontal .mini-pros-cons { 
    grid-template-columns: 1fr; 
    gap: 20px; 
  }
  
  /* Botões full width */
  .dripbox-horizontal .mini-affiliate-buttons a { 
    max-width: 100% !important; 
    width: 100% !important;
  }
}


/* ==========================================================================
   5. LAYOUT 3: BANNER V2 (Cleaned & Organized)
   ========================================================================== */

/* ============================================================
   1. CONTAINER PRINCIPAL
   ============================================================ */
.dripbox-banner-v2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  /* Visual Box */
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);

  /* Espaçamento */
  padding: 35px 25px 25px 25px; /* Topo maior para acomodar a badge */
  margin: 40px 0;
  
  /* Permite que a badge "flutue" para fora */
  overflow: visible; 
}

/* ============================================================
   2. BADGE FLUTUANTE (Topo Esquerdo)
   ============================================================ */
.dbx-badge-floating {
  position: absolute;
  top: -20px;
  left: -15px; /* Efeito saindo da caixa */

  /* Estilo Premium */
  background: linear-gradient(135deg, #d82a2a 0%, #b91c1c 100%);
  color: #fff;
  
  /* Tipografia */
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;

  /* Forma */
  padding: 10px 20px;
  border-radius: 8px; /* Borda arredondada uniforme */

  /* Sombra e Borda Interna */
  box-shadow: 
    0 6px 16px rgba(37, 99, 235, 0.55), /* Nota: Mantive o azul do seu código original */
    inset 0 -1px 0 rgba(255,255,255,0.18);

  z-index: 100;
}

/* ============================================================
   3. COLUNAS (GRID/FLEX)
   ============================================================ */

/* --- Coluna da Esquerda (Imagem) --- */
.banner-left-col {
  flex: 0 0 180px; /* Largura fixa */
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-img-main {
  width: auto;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

/* --- Coluna Central (Texto & Reviews) --- */
.banner-center-col {
  flex: 1; /* Ocupa o espaço disponível */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Coluna da Direita (Botões) --- */
.banner-right-col {
  flex: 0 0 220px; /* Largura fixa para botões */
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ============================================================
   4. TIPOGRAFIA & REVIEWS
   ============================================================ */
.banner-heading {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: #111;
  line-height: 1.2;
}

.banner-desc {
  font-size: 15px;
  color: #555;
  margin: 5px 0 12px 0;
  line-height: 1.5;
}

/* Bloco de Avaliação */
.banner-reviews-block {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.review-text { 
  font-size: 14px; 
  font-weight: 700; 
  color: #333; 
}

.star-row { 
  display: flex; 
  gap: 2px; 
}

.score-text { 
  font-size: 14px; 
  font-weight: 700; 
  color: #ffb400; 
}

/* ============================================================
   5. BOTÕES (Estilo Lasso/Premium)
   ============================================================ */
.dripbox-banner-v2 .btn-check-price {
  display: inline-flex !important; /* Flex para alinhar ícone e texto */
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  text-align: center;
  
  /* Box Model */
  padding: 12px 18px !important;
  border-radius: 8px !important;
  
  /* Tipografia */
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  color: #fff !important;
  
  /* Efeitos */
  box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

/* Ícone Carrinho (SVG) */
.dripbox-banner-v2 .btn-check-price::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.17 14h9.66c.75 0 1.41-.41 1.75-1.03l3.58-6.49a1 1 0 00-.87-1.48H6.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 16.37 5.48 18 7 18h12v-2H7.17z'/></svg>") no-repeat center;
  background-size: contain;
}

/* Hover Effect */
.dripbox-banner-v2 .btn-check-price:hover { 
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}

/* ============================================================
   6. RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
  .dripbox-banner-v2 { 
    flex-direction: column; 
    text-align: center; 
    padding-top: 40px; 
  }

  /* Centraliza a badge no topo */
  .dbx-badge-floating { 
    left: 50%; 
    transform: translateX(-50%); 
    top: -15px; 
  }

  /* Colunas ocupam largura total */
  .banner-left-col, 
  .banner-center-col, 
  .banner-right-col { 
    width: 100%; 
    flex: auto; 
  }

  /* Centraliza bloco de reviews */
  .banner-reviews-block { 
    justify-content: center; 
  }
}


/* ==========================================================================
   6. LAYOUT 4: MAG (V6 - Cleaned & Organized)
   ========================================================================== */

/* ============================================================
   1. CONTAINER PRINCIPAL
   ============================================================ */
.dripbox-mag {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  
  /* Espaçamento e Reset */
  padding: 0 0 30px 0 !important; 
  margin: 0 !important;
  
  /* Layout */
  position: relative;
  overflow: visible; /* Permite elementos vazarem (Badge) */
  display: flex;
  flex-direction: column;
}

/* ============================================================
   2. BADGE (ETIQUETA LATERAL)
   ============================================================ */
.mag-badge {
  background: #d82a2a;
  color: #fff;
  
  /* Tamanho e Forma */
  width: 140px; 
  min-height: 45px;
  padding: 10px 35px; 
  border-radius: 2px 4px 4px 0;
  
  /* Posicionamento */
  position: absolute;
  top: 50px;
  left: -8px;
  z-index: 10;
  
  /* Flex para alinhar texto */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  
  /* Tipografia */
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: 14px;
  
  /* Sombra */
  box-shadow: 2px 3px 6px rgba(0,0,0,0.2);
}

.mag-badge span { 
  display: block; 
  width: 100%; 
}

/* Seta decorativa do Badge */
.badge-arrow {
  position: absolute;
  bottom: -8px; 
  left: 0;
  width: 0; 
  height: 0;
  border-top: 8px solid #8a0012; /* Cor da sombra */
  border-left: 8px solid transparent;
}

/* ============================================================
   3. HEADER (Título e Área Superior)
   ============================================================ */
.mag-header {
  padding-left: 170px !important; /* Espaço para não cobrir o badge */
  padding-top: 50px !important;
  padding-right: 20px;
  margin-top: 0 !important; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mag-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0 !important;
  line-height: 1.1;
  position: relative;
}

/* ============================================================
   4. RATING SYSTEM (Bolinhas)
   ============================================================ */
.mag-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0;
}

/* Texto "Editor's Choice" */
.mag-rating .rating-text {
  color: #9ca3af; /* Cinza suave */
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
}

/* Nota Numérica (ex: 4.5) */
.rating-value {
  font-weight: 700; 
  font-size: 13px; 
  color: #d82a2a; 
  line-height: 1;
}

/* Container das Bolinhas */
.rating-dots {
  display: flex !important;
  gap: 5px;
}

/* Estilo Base da Bolinha */
.rating-dots .dot {
  width: 13px !important;
  height: 13px !important;
  border-radius: 50%;
  background-color: #fff !important; /* Vazia por padrão */
  border: 2px solid #d82a2a !important;
  display: block !important;
}

/* Estado: Cheia */
.rating-dots .dot.full {
  background-color: #d82a2a !important;
}

/* Estado: Metade (Gradiente CSS) */
.rating-dots .dot.half {
  background: linear-gradient(
    to right,
    #d82a2a 50%,
    #fff 50%
  );
}

/* Estado: Vazia (Redundante, mas garante override) */
.rating-dots .dot.empty {
  background: #fff;
}

/* ============================================================
   5. CORPO DO LAYOUT (Colunas)
   ============================================================ */
.mag-body {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 0 0 30px;
}

/* Coluna Esquerda (Prós/Contras) */
.mag-left {
  flex: 1 1 10%; /* Flexível */
}

/* Coluna Direita (Imagem + Botões) */
.mag-right {
  flex: 0 0 240px; /* Largura fixa */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
}

/* ============================================================
   6. IMAGEM (Posicionamento Negativo)
   ============================================================ */
.mag-image {
  width: 100%;
  max-width: 260px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* O Pulo do Gato: Sobe a imagem para alinhar com o título */
  margin-top: -90px; 
}

.mag-image img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* ============================================================
   7. PRÓS & CONTRAS (Lado a Lado)
   ============================================================ */
.mini-pros-cons.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 10px;
  border: none; 
  padding: 0;
}

/* Títulos */
.mini-pros-cons.side-by-side h4 {
  font-size: 18px; 
  font-weight: 700; 
  color: #555;
  border-bottom: none !important;
  padding-bottom: 8px; 
  margin-bottom: 15px;
  margin-top: 30px;
}

/* Listas */
.mini-pros-cons.side-by-side ul { 
  padding: 0 !important; 
  margin: 0 !important; 
  list-style: none !important; 
}

.mini-pros-cons.side-by-side li {
  padding-left: 15px !important; 
  margin: 10px 0;
  display: flex; 
  align-items: flex-start; 
  gap: 10px;
  font-size: 15px; 
  color: #555;
}

/* Ícones (herdados do SVG global, ajuste de tamanho) */
.mini-pros-cons.side-by-side li::before {
  flex-shrink: 0; 
  width: 20px; 
  height: 20px; 
  margin-top: 2px;
}

/* Esconde botões de "ver mais" se existirem */
.dripbox-mag .proscons-toggle, 
.view-more-btn { 
  display: none !important; 
}

/* ============================================================
   8. BOTÕES (Estilo Forçado para Sidebar)
   ============================================================ */
.dripbox-mag .mag-buttons {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Wrapper dos botões */
.dripbox-mag .mag-buttons .mini-affiliate-buttons {
  display: flex !important;
  flex-direction: column !important; /* Um embaixo do outro */
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  max-width: 240px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Estilo Individual do Botão */
.dripbox-mag .mag-buttons .mini-affiliate-buttons a {
  display: inline-block !important;
  width: 100% !important;
  max-width: 220px !important;
  
  /* Altura Fixa */
  min-height: 0 !important;
  max-height: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  
  /* Texto */
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  color: #fff !important;
  
  /* Box */
  padding: 0 18px !important;
  margin: 0 !important;
  border-radius: 7px !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12) !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  vertical-align: middle !important;
  
  transition: transform 0.2s ease !important;
}

/* Ícone Carrinho */
.dripbox-mag .mini-affiliate-buttons a::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'><path d='M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zm10 0c-1.1 0-1.99.9-1.99 2S15.9 22 17 22s2-.9 2-2-.9-2-2-2zM7.17 14h9.66c.75 0 1.41-.41 1.75-1.03l3.58-6.49a1 1 0 00-.87-1.48H6.21l-.94-2H1v2h2l3.6 7.59-1.35 2.44C4.52 16.37 5.48 18 7 18h12v-2H7.17z'/></svg>") no-repeat center;
  background-size: contain;
}

/* Hover Effect */
.dripbox-mag .mag-buttons .mini-affiliate-buttons a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2) !important;
}

/* ============================================================
   9. RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 900px) {
  
  /* Ajuste do Header */
  .mag-header { 
    padding: 60px 15px 0 15px !important; 
    align-items: center; 
    text-align: center; 
  }
  
  /* Ajuste do Badge (Centralizado) */
  .mag-badge { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: auto; 
    max-width: 200px; 
    text-align: center; 
    align-items: center;
  }
  
  /* Remove a seta no mobile */
  .badge-arrow { 
    display: none; 
  }
  
  /* Inverte a ordem: Imagem acima, Texto abaixo */
  .mag-body { 
    flex-direction: column-reverse; 
    padding: 20px; 
  }
  
  /* Coluna ocupa 100% */
  .mag-right { 
    width: 100%; 
  }
  
  /* Prós e Contras um abaixo do outro */
  .mini-pros-cons.side-by-side { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
}

/* ==========================================================================
   7. PADRONIZAÇÃO VISUAL GLOBAL (Sombra e Arredondamento)
   ========================================================================== */

/* 1. RESET: Remove estilos antigos do container (Apenas Layout Default) */
.mini-affiliate-img-wrapper {
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* 2. ESTILO UNIFICADO DAS IMAGENS (Todos os Layouts) */
/* Aplica Radius 12px, Sombra Suave e Fundo Branco em todas as imagens */
.mini-affiliate-img-wrapper img,          /* Layout 1: Default */
.dripbox-horizontal .dripbox-left img,    /* Layout 2: Horizontal */
.dripbox-banner-v2 .banner-img-main,      /* Layout 3: Banner */
.dripbox-mag .mag-image img               /* Layout 4: Mag */
{
  /* Forma */
  border-radius: 12px !important;
  overflow: hidden !important;
  
  /* Visual */
  background: #fff !important; /* Garante fundo branco para PNGs transparentes */
  box-shadow: 
    0 8px 20px rgba(0,0,0,0.08), 
    0 2px 6px rgba(0,0,0,0.04) !important;
  
  /* Performance */
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* 3. EFEITO HOVER UNIFICADO (Levantar + Sombra Forte) */
.mini-affiliate-img-wrapper img:hover,
.dripbox-horizontal .dripbox-left img:hover,
.dripbox-banner-v2 .banner-img-main:hover,
.dripbox-mag .mag-image img:hover 
{
  transform: translateY(-3px) !important;
  box-shadow: 
    0 12px 24px rgba(0,0,0,0.12), 
    0 4px 8px rgba(0,0,0,0.06) !important;
}
