/* ========================================
   POPUP DE CUPOM PROMOCIONAL
   Cores definidas via variáveis CSS inline (admin do módulo).
   ======================================== */
.po-popup-overlay {
  --po-primary: #2d5f2e;
  --po-primary-light: #448f45;
  --po-accent: #d4af37;
  --po-accent-dark: #b0912e;
  --po-accent-bg: #fbf7eb;
  --po-text: #1f2933;
  --po-muted: #5b6770;
  --po-bg: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 20, 35, .65);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  font-family: inherit;
}
.po-popup-overlay.po-show { opacity: 1; visibility: visible; }
.po-popup {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--po-bg);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  transform: translateY(20px) scale(.97);
  transition: transform .35s;
  text-align: center;
  color: var(--po-text);
}
.po-popup-overlay.po-show .po-popup { transform: none; }
.po-popup-head {
  background: linear-gradient(135deg, var(--po-primary), var(--po-primary-light));
  color: #fff;
  padding: 28px 24px 22px;
}
.po-popup-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .12);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.po-popup-off { font-size: 64px; font-weight: 800; line-height: 1; color: var(--po-accent); }
.po-popup-off small { font-size: 22px; font-weight: 700; color: #fff; margin-left: 4px; }
.po-popup-head p { margin: 8px 0 0; font-size: 16px; opacity: .95; color: #fff; }
.po-pix {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 20px;
  background: #32bcad;
  color: #fff;
  font-size: 14px;
}
.po-popup-body { padding: 22px 24px 24px; }
.po-popup-body p { margin: 0 0 14px; color: var(--po-muted); font-size: 15px; line-height: 1.45; }
.po-coupon {
  display: flex;
  align-items: stretch;
  border: 2px dashed var(--po-accent);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.po-coupon-code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--po-primary);
  background: var(--po-accent-bg);
  padding: 10px;
  user-select: all;
}
.po-coupon-copy {
  border: 0;
  cursor: pointer;
  background: var(--po-accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
  transition: background .2s;
}
.po-coupon-copy:hover { background: var(--po-accent-dark); }
.po-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none !important;
  background: var(--po-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 14px;
  border-radius: 10px;
  transition: filter .2s;
}
.po-cta:hover { filter: brightness(1.15); }
.po-popup-body .po-popup-note { font-size: 12px; margin: 12px 0 0; }
.po-popup-note:empty { display: none; }
.po-countdown { font-weight: 700; color: var(--po-primary); }
.po-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  line-height: 32px;
  cursor: pointer;
}
.po-popup-close:hover { background: rgba(255, 255, 255, .3); }
.po-popup-dismiss {
  background: none;
  border: 0;
  color: var(--po-muted);
  font-size: 13px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: underline;
}
@media (max-width: 420px) {
  .po-popup-off { font-size: 52px; }
  .po-coupon-code { font-size: 18px; }
}
