/* ============================================================
   Custom Bazo - Barra de Presente + Popup
   ============================================================ */

/* ---- Top Bar (acima do header) ---- */

.bazo-top-bar {
  background-color: #1a0a00;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  user-select: none;
  transition: background-color 0.2s;
}

.bazo-top-bar:hover {
  background-color: #2a1500;
}

.bazo-top-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  color: #1a0a00;
  border: none;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.bazo-top-bar__btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.bazo-top-bar__text strong {
  font-weight: 700;
}

/* ---- Modal de Presente ---- */

.bazo-gift-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  align-items: center;
  justify-content: center;
}

.bazo-gift-modal-overlay.is-open {
  display: flex;
}

.bazo-gift-modal {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  animation: bazoModalIn 0.22s ease;
}

@keyframes bazoModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bazo-gift-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #555;
  line-height: 1;
  font-size: 20px;
}

.bazo-gift-modal__close:hover {
  color: #000;
}

.bazo-gift-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a0a00;
  margin: 0 0 8px;
  padding-right: 24px;
}

.bazo-gift-modal__desc {
  font-size: 14px;
  color: #333;
  margin: 0 0 16px;
  line-height: 1.5;
}

.bazo-gift-modal__desc strong {
  font-weight: 700;
}

.bazo-gift-modal__images {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.bazo-gift-modal__images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.bazo-gift-modal__rules-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a0a00;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bazo-gift-modal__rules-text {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* ---- Responsivo ---- */

@media (max-width: 480px) {
  .bazo-top-bar {
    font-size: 12px;
    padding: 9px 12px;
    gap: 8px;
  }

  .bazo-top-bar__btn {
    padding: 4px 10px;
    font-size: 12px;
  }


}
