html {
  --offer-green: #086247;
  --offer-green-tint: #dff6eb;
}

body:has([data-offer-banner]:not([hidden])) .site-header {
  top: var(--offer-banner-height, 0px);
}

body:has([data-offer-banner]:not([hidden])) main [id] {
  scroll-margin-top: calc(var(--header-height, 78px) + var(--offer-banner-height, 0px) + 16px);
}

.offer-price-pair { display: inline-flex; align-items: baseline; gap: .25em; }
.offer-price-pair del { color: var(--muted); font-size: .95rem; font-weight: 500; white-space: nowrap; letter-spacing: normal; }
.offer-price-pair mark { color: var(--offer-green); background: var(--offer-green-tint); padding: 0 .12em; border-radius: .13em; white-space: nowrap; }
.offer-price-label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
p.offer-price-note { width: fit-content; margin: 0 0 14px; padding: 6px 10px; border-inline-start: 3px solid var(--offer-green); border-radius: 4px; background: var(--offer-green-tint); color: var(--offer-green); font-size: .875rem; font-weight: var(--font-weight-strong, 650); line-height: 1.4; }
.pricing-head p.offer-price-note { margin: 14px auto 0; }
[data-after-offer][hidden] { display: none; }

.offer-banner {
  position: sticky;
  z-index: 1001;
  top: 0;
  background: var(--offer-green);
  background-image: linear-gradient(110deg, #064a38, transparent 55%, #064a38);
  color: #fff;
  border-bottom: 1px solid #07543d;
}
.offer-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  width: min(1080px, calc(100% - 104px));
  min-height: 44px;
  margin-inline: auto;
  padding-block: 8px;
}
.offer-banner-title, .offer-banner-detail {
  margin: 0;
  line-height: 1.4;
  font-size: .875rem;
}
.offer-banner-title { font-size: clamp(.875rem, 1.7vw, 1rem); font-weight: var(--font-weight-strong); text-align: center; text-wrap: balance; }
.offer-banner-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 8px;
}
.offer-banner-prices { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.offer-banner-prices del { color: #d9eee6; text-decoration-color: #f7a89a; text-decoration-thickness: 2px; }
.offer-banner-prices b {
  padding: 1px 10px;
  border-radius: 999px;
  background: #f5faf7;
  color: #064a38;
  font-size: 1.2em;
  font-weight: var(--font-weight-title);
}
.offer-banner-deadline { color: #d9eee6; font-size: .8125rem; white-space: nowrap; }
.offer-banner-close:hover { background: #ffffff17; color: #fff; }
.offer-banner-close {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 8px;
  transform: translateY(-50%);
  width: 36px;
  height: 44px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #b0d0c4;
  font: inherit;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.offer-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(900px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--blue-dark);
  box-shadow: 0 16px 56px #07194926;
}
.offer-dialog::backdrop { background: #07194965; }
html:has(.offer-dialog[open]) { overflow: hidden; }
.offer-dialog[open] {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  grid-template-rows: minmax(180px, 1fr) auto;
  grid-template-areas: "content visual" "actions visual";
}
.offer-dialog > form { display: contents; }
.offer-dialog-layout { display: contents; }
.offer-dialog-content {
  grid-area: content;
  align-self: end;
  min-width: 0;
  padding: 34px clamp(24px, 4vw, 44px) 16px;
}
.offer-dialog-actions { grid-area: actions; padding: 0 clamp(24px, 4vw, 44px) 22px; }
.offer-dialog-content, .offer-dialog-actions { position: relative; z-index: 2; }
.offer-visual {
  grid-area: visual;
  display: grid;
  align-content: end;
  min-height: 0;
  margin: 0;
}
.offer-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.offer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgb(255 255 255 / .92), rgb(255 255 255 / .82) 105px, transparent 172px),
    linear-gradient(90deg, #fff 0%, rgb(255 255 255 / .98) 36%, rgb(255 255 255 / .83) 49%, rgb(255 255 255 / .27) 63%, transparent 77%);
  pointer-events: none;
}
.offer-review {
  position: relative;
  z-index: 2;
  padding: 45px 24px 22px clamp(26px, 4vw, 50px);
  color: var(--blue-dark);
}
.offer-review blockquote { margin: 0; font-size: .95rem; line-height: 1.5; }
.offer-review p { margin: 7px 0 0; color: var(--muted); font-size: .8125rem; }
.offer-close {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--blue-dark);
  background: #fff;
  box-shadow: 0 2px 10px #0719491f;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.offer-close:hover { background: var(--soft); }
.offer-kicker {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: var(--font-weight-strong);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.offer-dialog h2 {
  max-width: 23ch;
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: var(--font-weight-title);
  line-height: 1.16;
  letter-spacing: -.03em;
}
.offer-dialog h2 span, .offer-deadline strong { color: var(--blue); }
.offer-dialog h2:focus { outline: none; }
.offer-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 15px 0 8px;
}
.offer-reference {
  color: var(--muted);
  font-size: 1.125rem;
  white-space: nowrap;
  padding-inline-end: 14px;
  border-inline-end: 1px solid var(--line);
}
.offer-current { display: inline-flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.offer-amount strong {
  color: var(--blue);
  font-size: 3rem;
  font-weight: var(--font-weight-title);
  letter-spacing: -.05em;
  line-height: 1.1;
}
.offer-copy, .offer-deadline {
  margin: 0;
  line-height: 1.5;
}
.offer-copy { color: var(--muted); }
.offer-deadline { font-size: .875rem; }
.offer-book {
  width: 100%;
  justify-content: center;
}
.offer-method {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  margin-top: 5px;
  color: var(--blue);
  font-size: .875rem;
  font-weight: var(--font-weight-strong);
  text-align: center;
  text-underline-offset: 3px;
}
.offer-book:focus-visible, .offer-close:focus-visible, .offer-method:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.offer-banner-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 760px) {
  html:has(dialog.offer-dialog[open]) [data-mobile-floating-cta] { display: none; }
  .offer-banner-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    width: calc(100% - 24px);
  }
  .offer-banner-title { font-size: clamp(.75rem, 3.4vw, .875rem); line-height: 1.3; }
  .offer-banner-detail { column-gap: 5px; margin-inline: 26px; font-size: .75rem; }
  .offer-banner-prices b { padding-inline: 8px; }
  .offer-banner-deadline { font-size: .71875rem; }
  .offer-banner-close { inset-block: auto 0; inset-inline-end: 4px; transform: none; width: 32px; }
}
@media (max-width: 660px) {
  .offer-dialog {
    --offer-top-inset: max(10px, env(safe-area-inset-top));
    --offer-bottom-inset: max(10px, env(safe-area-inset-bottom));
    inset: var(--offer-top-inset) 0 var(--offer-bottom-inset);
    width: calc(100% - 20px);
    max-width: none;
    max-height: calc(100dvh - var(--offer-top-inset) - var(--offer-bottom-inset));
  }
  .offer-dialog[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "body" "actions";
    overflow: hidden;
  }
  .offer-dialog-layout {
    grid-area: body;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .offer-visual { position: relative; order: -1; min-height: clamp(184px, 53vw, 238px); flex: 0 0 auto; }
  .offer-visual::after { background: linear-gradient(180deg, transparent 33%, rgb(255 255 255 / .95) 73%, #fff); }
  .offer-photo { object-position: 65% 42%; }
  .offer-close { width: 38px; height: 38px; font-size: 22px; }
  .offer-dialog-content { width: 100%; padding: 4px 16px 12px; }
  .offer-kicker { margin-bottom: 6px; font-size: .6875rem; }
  .offer-dialog h2 { max-width: none; margin-bottom: 7px; font-size: clamp(1.25rem, 5.8vw, 1.43rem); }
  .offer-copy { font-size: .875rem; }
  .offer-amount { column-gap: 10px; margin-top: 10px; }
  .offer-amount strong { font-size: 2.2rem; }
  .offer-reference { padding-inline-end: 10px; }
  .offer-current { font-size: .875rem; }
  .offer-review { padding: 14px 16px 10px; }
  .offer-review blockquote { font-size: .8125rem; }
  .offer-review p { margin-top: 4px; font-size: .75rem; }
  .offer-dialog-actions { padding: 10px 16px 6px; border-top: 1px solid var(--line); }
  .offer-method { min-height: 36px; margin-top: 3px; }
}
.offer-banner[hidden], .offer-banner-close[hidden] { display: none; }
.offer-book { color: #fff; }
