body.flora-anuncio-open {
  overflow: hidden;
}

.flora-anuncio {
  position: fixed;
  inset: 0;
  z-index: 100020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(13, 28, 18, 0.68);
  -webkit-backdrop-filter: blur(6px) saturate(0.88);
  backdrop-filter: blur(6px) saturate(0.88);
  animation: flora-anuncio-fade 180ms ease-out both;
}

.flora-anuncio-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: #fff;
  color: #15271a;
  box-shadow: 0 30px 90px rgba(5, 18, 9, 0.32), 0 4px 18px rgba(5, 18, 9, 0.14);
  animation: flora-anuncio-enter 260ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.flora-anuncio-art {
  display: block;
  width: 100%;
  aspect-ratio: 880 / 496;
  object-fit: cover;
  background: #15271a;
}

.flora-anuncio-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(21, 39, 26, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 12px rgba(5, 18, 9, 0.16);
  color: #15271a;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.flora-anuncio-close:hover {
  background: #b2ff72;
  box-shadow: 0 5px 16px rgba(5, 18, 9, 0.2);
  transform: rotate(90deg);
}

.flora-anuncio-close:focus-visible {
  outline: 3px solid #77c847;
  outline-offset: 3px;
}

.flora-anuncio-dialog h2 {
  margin: 24px 26px 10px;
  color: #15271a;
  font-family: "CINQUERA", "Montserrat", Arial, sans-serif;
  font-size: clamp(23px, 5.5vw, 29px);
  font-weight: 400;
  letter-spacing: 0.025em;
  line-height: 1.12;
  text-transform: uppercase;
  text-wrap: balance;
}

.flora-anuncio-dialog h2::after {
  display: block;
  width: 44px;
  height: 4px;
  margin-top: 12px;
  border-radius: 999px;
  background: #b2ff72;
  content: "";
}

.flora-anuncio-dialog > p {
  max-width: 54ch;
  margin: 0 26px;
  color: #4d6254;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.flora-anuncio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 26px 26px;
}

.flora-anuncio-go {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(83, 135, 49, 0.12);
  border-radius: 999px;
  background: #b2ff72;
  box-shadow: 0 7px 18px rgba(92, 151, 55, 0.18);
  color: #15271a;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.flora-anuncio-go:hover {
  transform: translateY(-1px);
  background: #a2f15f;
  box-shadow: 0 10px 22px rgba(92, 151, 55, 0.24);
}

.flora-anuncio-go:focus-visible {
  outline: 3px solid #4b8a2e;
  outline-offset: 3px;
}

.flora-anuncio-later {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #47604f;
  cursor: pointer;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background-color 160ms ease, color 160ms ease;
}

.flora-anuncio-later:hover {
  background: #eff8e9;
  color: #15271a;
}

.flora-anuncio-later:focus-visible {
  outline: 3px solid #4b8a2e;
  outline-offset: 3px;
}

.flora-anuncio-later:only-child {
  margin-inline: auto;
}

@keyframes flora-anuncio-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes flora-anuncio-enter {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 480px) {
  .flora-anuncio-dialog {
    border-radius: 20px;
  }

  .flora-anuncio-close {
    top: 10px;
    right: 10px;
  }

  .flora-anuncio-dialog h2 {
    margin: 20px 20px 9px;
  }

  .flora-anuncio-dialog > p {
    margin-right: 20px;
    margin-left: 20px;
    font-size: 14px;
  }

  .flora-anuncio-actions {
    gap: 8px;
    margin: 18px 20px 20px;
  }

  .flora-anuncio-go {
    min-height: 48px;
    padding: 0 14px;
    font-size: 13px;
  }

  .flora-anuncio-later {
    padding: 0 10px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flora-anuncio,
  .flora-anuncio-dialog,
  .flora-anuncio-close,
  .flora-anuncio-go,
  .flora-anuncio-later {
    animation: none;
    transition: none;
  }
}
