/* Winter price list: shared by all four translations. */
html[lang] body.pz-redesign-body.pz-prices-page .pz-price-content > h4::before {
  content: attr(data-season);
  max-width: 100%;
  line-height: 1.5;
  white-space: normal;
}

body.pz-prices-page .pz-price-content,
body.pz-prices-page .pz-rate-finder > *,
body.pz-prices-page .pz-rate-finder__form,
body.pz-prices-page .pz-rate-finder__result dl > * {
  min-width: 0;
}

body.pz-prices-page .pz-winter-intro {
  margin: 22px 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

body.pz-redesign-body.pz-prices-page .pz-winter-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

body.pz-prices-page .pz-winter-table th {
  padding: 12px 16px;
  color: #fff;
  background: #294b3d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

body.pz-redesign-body.pz-prices-page .pz-winter-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: middle;
}

body.pz-prices-page .pz-package-duration,
body.pz-prices-page .pz-package-total {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
}

body.pz-prices-page .pz-price-amount {
  white-space: nowrap;
}

body.pz-prices-page .pz-offer-ref {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: #78511e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.pz-prices-page .pz-winter-offers {
  margin: 32px 0;
  padding: clamp(18px, 3vw, 30px);
  background: #f8f4eb;
  border: 1px solid #ded6c5;
  border-radius: 22px;
}

body.pz-prices-page .pz-winter-offers h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.pz-prices-page .pz-winter-offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 22px;
}

body.pz-prices-page .pz-winter-offers article {
  min-width: 0;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #e2ddcf;
  border-radius: 14px;
  scroll-margin-top: 120px;
}

body.pz-prices-page .pz-winter-offers h4 {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.pz-prices-page .pz-winter-offers p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
}

body.pz-prices-page .pz-rate-finder__result dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Longer translated package labels need the full result width. */
body.pz-prices-page .pz-rate-finder__result:not(:empty) {
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

body.pz-prices-page .pz-rate-finder__result dl,
body.pz-prices-page .pz-rate-finder__result > p {
  grid-column: 1 / -1;
}

body.pz-prices-page .pz-rate-finder__result dt {
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* Essential rates and conditions stay visible without scroll animations. */
body.pz-prices-page .pz-prices-content.pz-reveal,
body.pz-prices-page .pz-prices-content .pz-reveal {
  opacity: 1;
  transform: none;
}

body.pz-prices-page .pz-rate-finder__result dt,
body.pz-prices-page .pz-rate-finder__result dd {
  overflow-wrap: anywhere;
}

body.pz-prices-page .pz-rate-finder__result dd small {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

body.pz-prices-page .pz-rate-finder__result .pz-package-duration,
body.pz-prices-page .pz-rate-finder__result .pz-package-total {
  display: none;
}

body.pz-redesign-body.pz-prices-page .pz-rate-finder__result a.pz-offer-ref {
  color: #ffe0a3 !important;
}

body.pz-redesign-body.pz-prices-page .pz-price-index > div {
  flex-wrap: wrap;
  overflow: visible;
}

body.pz-redesign-body.pz-prices-page .pz-price-index a {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Match the breakpoint that turns the table into cards in alpine-light.css. */
@media (max-width: 767px) {
  body.pz-redesign-body.pz-prices-page .pz-winter-table td::before {
    font-size: 0.75rem;
    letter-spacing: 0.025em;
  }

  body.pz-redesign-body.pz-prices-page .pz-winter-table td::after {
    font-size: 0.7rem;
    letter-spacing: 0;
    line-height: 1.5;
  }

  body.pz-prices-page .pz-winter-table .pz-package-duration,
  body.pz-prices-page .pz-winter-table .pz-package-total {
    display: none;
  }
}

@media (max-width: 479.98px) {
  body.pz-redesign-body.pz-prices-page .pz-winter-table tr:nth-child(n + 4),
  body.pz-prices-page .pz-rate-finder__result dl {
    grid-template-columns: minmax(0, 1fr);
  }

  body.pz-redesign-body.pz-prices-page .pz-winter-table tr:nth-child(n + 4) td:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(41, 66, 54, 0.11);
  }
}
