/* Trava scroll da página enquanto o modal está aberto */
html.home-modal-open {
  overflow: hidden;
  /* Evita filete branco nas bordas da viewport com o backdrop semitransparente */
  background-color: rgba(15, 23, 42, 0.52);
}
html.home-modal-open body {
  overflow: hidden;
  touch-action: none;
}

.home-modal {
  border: none;
  padding: 0;
  margin: auto;
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(440px, calc(100vw - 28px));
  max-height: min(82dvh, 640px);
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.home-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-modal::backdrop {
  position: fixed;
  inset: -8px;
  margin: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-modal__panel {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.28);
  box-sizing: border-box;
}
.home-modal:not(.home-modal--coupon) .home-modal__panel {
  padding-inline: 0;
}
.home-modal--has-hero:not(.home-modal--coupon) .home-modal__panel {
  padding-top: 0;
}
.home-modal__standard {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.home-modal:not(.home-modal--coupon) .home-modal__standard {
  padding-inline: 20px;
}
.home-modal__top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  padding: 20px 0 12px;
  flex-shrink: 0;
}
.home-modal:not(.home-modal--coupon)
  .home-modal__top:has(> .home-modal__badge-pill[hidden]:first-child:last-child) {
  display: none !important;
}
.home-modal__badge-pill {
  align-self: flex-start;
  margin-right: auto;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(234, 88, 12, 0.22);
}
.home-modal__badge-pill[hidden] {
  display: none !important;
}
/* Fechar fora do cartão (sobre o backdrop), como apps de referência */
.home-modal__close {
  position: absolute;
  z-index: 20;
  top: -11px;
  right: -11px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #fff;
  color: var(--ink-muted);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(15, 23, 42, 0.04),
    0 14px 36px rgba(15, 23, 42, 0.18);
}
.home-modal__close:hover {
  background: #fff;
  color: var(--ink);
  border-color: rgba(148, 163, 184, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 2px 0 rgba(15, 23, 42, 0.05),
    0 16px 40px rgba(15, 23, 42, 0.2);
}
.home-modal__scroll {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 0 12px;
  overscroll-behavior: contain;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
}
.home-modal--has-hero:not(.home-modal--coupon) .home-modal__scroll {
  padding-top: 18px;
}
/* Com badge visível: o topo já traz ar; evita somar demais antes do banner */
.home-modal:not(.home-modal--coupon)
  .home-modal__panel:has(.home-modal__badge-pill:not([hidden]))
  .home-modal__scroll {
  padding-top: 12px;
}
.home-modal__media {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: none;
  aspect-ratio: 21 / 9;
  background: #fafbfc;
  flex-shrink: 0;
}
.home-modal--has-hero:not(.home-modal--coupon) .home-modal__media {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.home-modal__media[hidden] {
  display: none !important;
}
.home-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: middle;
}
.home-modal:not(.home-modal--has-hero) .home-modal__media img {
  object-fit: contain;
}
/* Sem URL de imagem: mesmo “mood” do carrossel (só slides com data-hm-cta-href = banners configuráveis) */
.home-modal__media--fb1 {
  background: linear-gradient(115deg, #c2410c 0%, #ea580c 42%, #fb923c 100%);
}
.home-modal__media--fb2 {
  background: linear-gradient(115deg, #1e3a5f 0%, #2563eb 45%, #38bdf8 100%);
}
.home-modal__media--fb3 {
  background: linear-gradient(115deg, #431407 0%, #9a3412 50%, #ea580c 100%);
}
.home-modal__media--fb1 img,
.home-modal__media--fb2 img,
.home-modal__media--fb3 img {
  display: none !important;
}
/* Eventos da semana: mesmo gradiente dos cartões (himg-*) */
.home-modal__media--ev1 {
  background: linear-gradient(135deg, #1a1040, #2d1b69, #4c1d95);
}
.home-modal__media--ev2 {
  background: linear-gradient(135deg, #0c2a1e, #065f46, #047857);
}
.home-modal__media--ev3 {
  background: linear-gradient(135deg, #1c1008, #92400e, #b45309);
}
.home-modal__media--ev4 {
  background: linear-gradient(135deg, #0f172a, #1e3a5f, #1e40af);
}
.home-modal__media--ev1 img,
.home-modal__media--ev2 img,
.home-modal__media--ev3 img,
.home-modal__media--ev4 img {
  display: none !important;
}
.home-modal__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}
.home-modal__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
}
.home-modal__tags[hidden] {
  display: none !important;
}
.home-modal__tags .chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.98);
  color: var(--ink-muted);
}
.home-modal__tags .chip--accent {
  background: rgba(251, 146, 60, 0.95);
  color: #431407;
  border-color: rgba(194, 65, 12, 0.35);
  font-weight: 800;
}
.home-modal__meta {
  margin: 0 0 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-deep);
}
.home-modal__meta[hidden] {
  display: none !important;
}
.home-modal__meta-pin {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--ink-faint);
}
.home-modal__meta-pin[hidden] {
  display: none !important;
}
.home-modal__meta-text {
  flex: 1 1 140px;
  min-width: 0;
  line-height: 1.35;
}
.home-modal__meta--program {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.75rem;
}
.home-modal__meta--program .home-modal__meta-text {
  color: var(--ink-faint);
  font-weight: 500;
}
.home-modal__admission {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.home-modal__admission--gratis {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.35);
}
.home-modal__admission--pago {
  background: rgba(234, 88, 12, 0.12);
  color: #9a3412;
  border: 1px solid rgba(234, 88, 12, 0.32);
}
@media (max-width: 360px) {
  .home-modal__admission {
    margin-left: 0;
  }
}
.home-modal__body {
  margin: 0 0 4px;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--ink-muted);
  white-space: pre-wrap;
}
.home-modal__body[hidden] {
  display: none !important;
}

.home-modal__biz {
  margin-top: 18px;
}
.home-modal__biz[hidden] {
  display: none !important;
}
.home-modal__bizhead {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}
.home-modal__biz-logo {
  width: 54px;
  height: 54px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, #ea580c 0%, #c2410c 100%);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
  flex-shrink: 0;
  overflow: hidden;
}
.home-modal__biz-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-modal__biz-img[hidden] {
  display: none !important;
}
.home-modal__biz-ph {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}
.home-modal__biz-ph[hidden] {
  display: none !important;
}
.home-modal__biz-text {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.home-modal__biz-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-modal__biz-tipo {
  margin: -0.55em 0 0;
  padding: 0;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-modal__biz-tipo[hidden] {
  display: none !important;
}
.home-modal__biz-desc {
  margin: 8px 0 0;
  color: var(--ink-faint);
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
}
.home-modal__biz-desc[hidden] {
  display: none !important;
}

.home-modal__foot {
  flex-shrink: 0;
  padding: 4px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.home-modal__foot[hidden] {
  display: none !important;
}
.home-modal__foot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  padding-top: 14px;
}
.home-modal__foot-actions:has(.js-home-modal-cta[hidden]) {
  grid-template-columns: 1fr;
}
@media (max-width: 360px) {
  .home-modal__foot-actions {
    grid-template-columns: 1fr;
  }
}

.home-modal__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-modal__cta:hover {
  filter: brightness(1.06);
}
.home-modal__cta[hidden] {
  display: none !important;
}
.home-modal__cta--empty {
  cursor: pointer;
}

.home-modal__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
  padding: 20px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
  border-top: 1px solid var(--line);
  box-shadow: none;
}
.home-modal__brand[hidden] {
  display: none !important;
}
.home-modal__brand-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.home-modal__brand-mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-sizing: border-box;
}
.home-modal__brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.home-modal__brand-img[hidden] {
  display: none !important;
}
.home-modal__brand-ph {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.home-modal__brand-ph[hidden] {
  display: none !important;
}
.home-modal__brand-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
}
.home-modal__brand-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  min-width: 0;
  margin: 0 0 6px;
}
.home-modal__brand-sub {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-muted);
}
.home-modal__brand-sub[hidden] {
  display: none !important;
}
.home-modal__brand-star {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  color: #f59e0b;
}
/* Mesmo padrão visual das tags em .biz__chips (Explorar) */
.home-modal__brand-chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 3px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 1px 0 2px;
  margin: 0 0 2px;
}
.home-modal__brand-chips::-webkit-scrollbar {
  display: none;
}
.home-modal__brand-chips[hidden] {
  display: none !important;
}
.home-modal__brand-chips .chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.98);
  color: var(--ink-muted);
}
.home-modal__brand-chips .chip--accent {
  background: rgba(251, 146, 60, 0.95);
  color: #431407;
  border-color: rgba(194, 65, 12, 0.35);
  font-weight: 800;
}
.home-modal__brand-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  width: 100%;
}
@media (max-width: 360px) {
  .home-modal__brand-actions {
    grid-template-columns: 1fr;
  }
}
.home-modal__btn--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand-deep) !important;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(234, 88, 12, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-modal__btn--ghost:hover {
  background: #f8fafc;
}
.home-modal__btn--ghost[hidden] {
  display: none !important;
}
.home-modal__btn--ghost.home-modal__empresa--inert {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
/* ── Modal cupom: ticket / recibo ── */
.home-modal.home-modal--coupon {
  overflow: visible;
  background: transparent;
  box-shadow: none;
  width: min(340px, calc(100vw - 40px));
  max-width: min(340px, calc(100vw - 40px));
  max-height: none;
  padding: 0;
}
/* home.php define max-height no .home-modal — cupom não pode rolar */
.home-modal.home-modal--coupon,
.home-modal.home-modal--coupon[open] {
  max-height: none;
  overflow: visible;
}
/* Mesmo backdrop dos outros modais */
.home-modal.home-modal--coupon::backdrop {
  position: fixed;
  inset: -8px;
  margin: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.home-modal.home-modal--coupon[open] {
  overflow: visible;
}
.home-modal--coupon .home-modal__panel {
  padding: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-height: none;
}
.home-modal--coupon .home-modal__scroll {
  overflow: visible;
}
/* Fechar igual aos outros modais (sobre o canto do ticket) */
.home-modal--coupon .home-modal__close {
  top: -11px;
  right: -11px;
  z-index: 20;
  background: #fff;
  color: #4b5568;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 1.45rem;
  line-height: 1;
  display: grid;
  place-items: center;
}
.home-modal--coupon .home-modal__close:hover {
  background: #fff;
  color: #111018;
}
.home-modal--coupon .home-modal__close span {
  display: block;
  line-height: 1;
  font-weight: 400;
  transform: translateY(-1px);
}
.home-modal--coupon .home-modal__standard {
  display: none !important;
}
.home-modal:not(.home-modal--coupon) .home-modal__coupon-sheet {
  display: none !important;
}
.home-modal--coupon .home-modal__coupon-sheet {
  display: block;
  width: 100%;
  overflow: visible;
}

/* Ticket: fundo branco único (::before) evita “risco” entre topo / perfuração / rodapé */
.home-modal__ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  padding-bottom: 18px;
  filter: none;
}
.home-modal__ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  pointer-events: none;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.28);
  /* Serrilhado no fim da mesma camada — sem risco entre rodapé e recorte */
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,0 H120 L117,14 114,3 111,14 108,3 105,14 102,3 99,14 96,3 93,14 90,3 87,14 84,3 81,14 78,3 75,14 72,3 69,14 66,3 63,14 60,3 57,14 54,3 51,14 48,3 45,14 42,3 39,14 36,3 33,14 30,3 27,14 24,3 21,14 18,3 15,14 12,3 9,14 6,3 3,14 0,3 Z'/%3E%3C/svg%3E");
  mask-image:
    linear-gradient(#000 0 0),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0,0 H120 L117,14 114,3 111,14 108,3 105,14 102,3 99,14 96,3 93,14 90,3 87,14 84,3 81,14 78,3 75,14 72,3 69,14 66,3 63,14 60,3 57,14 54,3 51,14 48,3 45,14 42,3 39,14 36,3 33,14 30,3 27,14 24,3 21,14 18,3 15,14 12,3 9,14 6,3 3,14 0,3 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(100% - 18px), 100% 18px;
  mask-size: 100% calc(100% - 18px), 100% 18px;
  -webkit-mask-position: 0 0, bottom;
  mask-position: 0 0, bottom;
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-composite: source-over, destination-over;
  mask-composite: add;
}
.home-modal__ticket > * {
  position: relative;
  z-index: 1;
}

.home-modal__coupon-top {
  padding: 32px 26px 0;
  text-align: center;
  background: transparent;
}

.home-modal__coupon-octagon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
}
.home-modal__coupon-octagon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(234, 88, 12, 0.35));
}

.home-modal__coupon-kicker {
  margin: 0 0 10px;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #111018;
}

.home-modal__coupon-title {
  margin: 0 auto 14px;
  max-width: 280px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #64748b;
}

.home-modal__coupon-how {
  margin: 0 auto 18px;
  max-width: 290px;
  padding: 12px 14px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #334155;
  text-align: left;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
}

.home-modal__coupon-how:empty {
  display: none;
  margin: 0;
  padding: 0;
  border: none;
}

.home-modal__coupon-benefit-label {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

.home-modal__coupon-value {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #111018;
}
.home-modal__coupon-value[hidden] {
  display: none !important;
}

/* Linha tracejada + recorte semicircular nas laterais (não é “bola”, é mordida no papel) */
.home-modal__coupon-perforation {
  --coupon-hole: 12px;
  position: relative;
  display: flex;
  align-items: center;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  overflow: visible;
  background: transparent;
}
.home-modal__coupon-perforation::before,
.home-modal__coupon-perforation::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--coupon-hole);
  height: calc(var(--coupon-hole) * 2);
  transform: translateY(-50%);
  background: transparent;
  pointer-events: none;
  z-index: 2;
}
/* Semicírculo encaixa no fundo escurecido (mesmo tom do backdrop) */
.home-modal__coupon-perforation::before {
  left: calc(var(--coupon-hole) * -1);
  border-radius: 0 var(--coupon-hole) var(--coupon-hole) 0;
  box-shadow: var(--coupon-hole) 0 0 0 rgba(15, 23, 42, 0.52);
}
.home-modal__coupon-perforation::after {
  right: calc(var(--coupon-hole) * -1);
  border-radius: var(--coupon-hole) 0 0 var(--coupon-hole);
  box-shadow: calc(var(--coupon-hole) * -1) 0 0 0 rgba(15, 23, 42, 0.52);
}
.home-modal__coupon-perforation-line {
  display: block;
  flex: 1;
  height: 0;
  margin: 0 10px;
  border-top: 2px dashed #d1d5db;
}
.home-modal__coupon-bottom {
  padding: 4px 22px 14px;
  text-align: left;
  background: transparent;
}

.home-modal__coupon-for {
  margin: 0 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
}

.home-modal__coupon-merchant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e8edf2;
}

.home-modal__coupon-merchant-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.home-modal__coupon-merchant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-modal__coupon-merchant-img[hidden] {
  display: none !important;
}

.home-modal__coupon-merchant-ph {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #ea580c;
}
.home-modal__coupon-merchant-ph[hidden] {
  display: none !important;
}

.home-modal__coupon-merchant-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.home-modal__coupon-merchant-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111018;
  line-height: 1.25;
}

.home-modal__coupon-merchant-meta {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.35;
}
.home-modal__coupon-merchant-meta[hidden] {
  display: none !important;
}

.home-modal__coupon-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.home-modal__coupon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.home-modal__coupon-btn[hidden] {
  display: none !important;
}

/* Botão principal (verde da ref. → laranja marca) */
.home-modal__coupon-btn--primary {
  border: none;
  background: #ea580c;
  color: #fff;
  box-shadow: 0 8px 22px rgba(234, 88, 12, 0.38);
}
.home-modal__coupon-btn--primary:hover {
  background: #c2410c;
}
.home-modal__coupon-btn--primary.home-modal__coupon-btn--inert {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

/* Link secundário (estilo “Pay again” da ref.) */
.home-modal__coupon-btn--link {
  min-height: auto;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: #9a3412;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: none;
}
.home-modal__coupon-btn--link:hover {
  color: #c2410c;
  text-decoration: underline;
}

/* Serrilhado desenhado na máscara do ::before (evita linha com o rodapé) */
.home-modal__ticket-saw {
  display: none !important;
}

