/* Popup di chiusura stagionale: vedi html/mod_custom/popup-chiusura.php */
html:has(.season-popup[open]) {
  overflow: hidden;
}

.season-popup {
  width: min(92vw, 520px);
  max-height: 90vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.season-popup::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.season-popup__box {
  position: relative;
  padding: 30px;
  text-align: center;
}
.season-popup__box > :first-of-type:not(.season-popup__close) {
  margin-top: 0;
}
.season-popup__box > :last-child {
  margin-bottom: 0;
}
.season-popup__box h2 {
  margin-bottom: 12px;
  padding: 0 24px;
  font-size: 28px;
}
.season-popup__box p {
  margin: 8px 0;
  font-size: 16px;
}
.season-popup__box hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid #eee;
}
.season-popup__box a {
  color: #736152;
}
.season-popup__box a:hover {
  text-decoration: underline;
}
.season-popup__box a[href^="tel:"] {
  white-space: nowrap;
}

.season-popup__close {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: #333;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.season-popup__close:hover {
  color: #000;
}
.season-popup__close:focus-visible {
  outline: 2px solid #bbab8a;
  outline-offset: 2px;
  border-radius: 4px;
}
