#carpathia-winter-offer {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(656px, calc(100% - 32px));
  height: fit-content;
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: auto;
  background: #14251b;
  color: #fffaf0;
  box-shadow: 0 18px 55px #11180f40, 0 2px 6px #10190f14;
  font-family: system-ui, sans-serif;
}

#carpathia-winter-offer:not([open]) { display: none; }
#carpathia-winter-offer::backdrop { background: rgb(13 23 16 / 54%); }
html:has(#carpathia-winter-offer[open]) { overflow: hidden; }

#carpathia-winter-offer .ch-winter-layout {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 372px;
}

#carpathia-winter-offer .ch-winter-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#carpathia-winter-offer .ch-winter-visual picture,
#carpathia-winter-offer .ch-winter-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

#carpathia-winter-offer .ch-winter-visual img {
  max-width: none;
  object-fit: cover;
  object-position: center;
}

#carpathia-winter-offer .ch-winter-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgb(15 29 22 / 84%) 0%, rgb(15 29 22 / 63%) 34%, transparent 68%);
}

#carpathia-winter-offer .ch-winter-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 38px clamp(27px, 6vw, 47px) 42px;
}

#carpathia-winter-offer .ch-winter-season {
  margin: 0;
  color: #f0dfc7;
  font: 650 12px/1.3 system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#carpathia-winter-offer .ch-winter-discount {
  display: flex;
  align-items: baseline;
  margin: 0;
  color: #fffaf0;
  font: 400 clamp(74px, 15vw, 110px)/.93 Baskerville, Georgia, serif;
  letter-spacing: -.075em;
  white-space: nowrap;
}

#carpathia-winter-offer .ch-winter-percent {
  margin-left: .14em;
  font-size: .56em;
  letter-spacing: -.04em;
}

#carpathia-winter-offer .ch-winter-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
  min-height: 46px;
  margin-top: 15px;
  padding: 0 17px;
  border: 0;
  border-radius: 0;
  background: #f5f0e5;
  color: #20342a;
  font: 620 14px/1.3 system-ui, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

#carpathia-winter-offer .ch-winter-action span { font-size: 18px; font-weight: 400; }
#carpathia-winter-offer .ch-winter-action:hover { background: #f0ddbe; color: #20342a; }

#carpathia-winter-offer .ch-winter-close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fffaf0;
  cursor: pointer;
}

#carpathia-winter-offer .ch-winter-close span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: #14231bcc;
  font: 400 26px/1 system-ui, sans-serif;
}

#carpathia-winter-offer .ch-winter-close:hover span { background: #223b2f; }
#carpathia-winter-offer :focus-visible { outline: 2px solid #fffaf0; outline-offset: 3px; }

@media (max-width: 548px) {
  #carpathia-winter-offer { width: min(355px, calc(100% - 24px)); }

  #carpathia-winter-offer .ch-winter-layout {
    grid-template-columns: 1fr;
    grid-template-rows: min(280px, 78vw) 1fr;
  }

  #carpathia-winter-offer .ch-winter-visual {
    bottom: auto;
    height: min(324px, 92vw);
  }

  #carpathia-winter-offer .ch-winter-visual img { object-position: center 33%; }

  #carpathia-winter-offer .ch-winter-visual::after {
    background: linear-gradient(0deg, #14251b 0%, rgb(20 37 27 / 84%) 35%, transparent 66%);
  }

  #carpathia-winter-offer .ch-winter-copy {
    grid-row: 2;
    align-items: center;
    gap: 9px;
    padding: 22px 17px 26px;
  }

  #carpathia-winter-offer .ch-winter-discount { font-size: 84px; }
  #carpathia-winter-offer .ch-winter-action { margin-top: 8px; }
}
