:root {
  --bottom-ad-bar-height: 100px;
  --bottom-ad-bar-height-mobile: 90px;
}

/* reserva só o espaço necessário para o ad fixo */
body {
  padding-bottom: var(--bottom-ad-bar-height) !important;
}

/* barra fixa inferior */
#bottom-ad-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  width: 100%;
  height: var(--bottom-ad-bar-height);
  background: #f3f4f6;
  border-top: 1px solid #d1d5db;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

/* conteúdo interno mais compacto */
.bottom-ad-bar__inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  text-align: center;
}

.bottom-ad-bar__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9ca3af;
  line-height: 1;
  margin: 0;
}

.bottom-ad-bar__ad {
  display: block;
  max-width: 100%;
  line-height: 0;
}

.bottom-ad-bar__remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid #3b82f6;
  border-radius: 999px;
  background: #fff;
  color: #3b82f6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.bottom-ad-bar__remove-btn:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

/* mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: var(--bottom-ad-bar-height-mobile) !important;
  }

  #bottom-ad-bar {
    height: var(--bottom-ad-bar-height-mobile);
  }

  .bottom-ad-bar__inner {
    padding: 6px 8px;
    gap: 5px;
  }

  .bottom-ad-bar__label {
    font-size: 9px;
  }

  .bottom-ad-bar__remove-btn {
    font-size: 12px;
    padding: 5px 12px;
  }
}
