html.offer-is-open,
html.offer-is-open body {
  overflow: hidden;
}

.opening-offer {
  --offer-cream: #f4f2e5;
  --offer-green: #224c38;
  width: min(29rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #faf9ee;
  border-radius: 22px;
  background: #fffdf6;
  color: var(--ink);
  box-shadow: 0 20px 70px #19372140;
}

.opening-offer::backdrop { background: rgb(23 45 32 / 35%); }
.offer-header {
  position: relative;
  isolation: isolate;
  padding: 21px 27px 19px;
  background: var(--offer-cream);
}
.offer-photo {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 50%);
  mask-image: linear-gradient(90deg, transparent, black 50%);
}
.offer-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #984038;
  font: 750 .8rem/1.1 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.offer-kicker img { width: 21px; height: 23px; }
.opening-offer h2 { margin: 7px 0 0; line-height: 1; }
.opening-offer h2:focus { outline: none; }
.offer-name {
  display: block;
  font: 400 italic 1.32rem/1.12 var(--serif);
  letter-spacing: -.02em;
}
.offer-price {
  display: flex;
  align-items: baseline;
  color: var(--offer-green);
  font: 780 4.3rem/.96 var(--display);
  letter-spacing: -.08em;
}
.offer-price small {
  margin-inline: .15em .13em;
  font-size: .52em;
  font-weight: 650;
  letter-spacing: -.06em;
}
.offer-price > span {
  font: 600 1.15rem/1 var(--body);
  letter-spacing: -.045em;
}
.offer-close {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0dfd3;
  border-radius: 50%;
  background: #fffdf6;
  color: var(--offer-green);
}
.offer-close .icon { width: 17px; height: 17px; stroke-width: 2; }
.offer-close:hover { background: #eaf0e4; }
.offer-contact {
  padding: 19px 27px 23px;
  border-top: 1px dashed #c7cbb9;
}
.offer-contact p {
  margin: 0;
  color: #424e44;
  font: 400 1rem/1.45 var(--body);
}
.offer-actions {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}
.offer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid var(--offer-green);
  border-radius: 10px;
  font: 700 .96rem/1.2 var(--body);
  text-align: center;
  transition: background-color .18s;
}
.offer-whatsapp { flex: 1.2; background: var(--offer-green); color: #fff; }
.offer-whatsapp:hover { background: #153e29; }
.offer-call { flex: .85; color: var(--offer-green); }
.offer-call:hover { background: #eaf0e4; }
.offer-actions .icon { width: 19px; height: 19px; }

@media (max-width: 600px) {
  .opening-offer {
    width: min(29rem, calc(100% - 16px));
    margin: auto auto max(8px, env(safe-area-inset-bottom));
    border-radius: 18px;
  }
  .offer-header { padding: 13px 18px 12px; }
  .offer-kicker img { width: 17px; height: 19px; }
  .offer-name { font-size: 1.25rem; }
  .offer-price { font-size: 3.25rem; }
  .offer-contact { padding: 12px 17px 15px; }
  .offer-actions { margin-top: 10px; gap: 7px; }
  .offer-actions a { padding: 8px; gap: 5px; font-size: .875rem; }
}
@media (max-height: 480px) {
  .offer-header { padding-block: 10px; }
  .offer-price { font-size: 2.7rem; }
  .offer-contact { padding-block: 10px; }
  .offer-actions { margin-top: 7px; }
}
@media (prefers-reduced-motion: no-preference) {
  .opening-offer[open] { animation: offer-arrive .26s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes offer-arrive {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
