html:has(dialog.cavp-configuratore-sito[open]) {
  overflow: hidden;
}
.cavp-configuratore-sito {
  box-sizing: border-box;
  width: min(900px, calc(100% - 24px));
  max-width: none;
  max-height: min(90dvh, 960px);
  margin: auto;
  padding: 66px 16px 16px;
  border: 1px solid #748ab7;
  border-top: 5px solid #dfbd71;
  border-radius: 16px;
  background: linear-gradient(145deg, #081936, #183b73);
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  box-shadow: 0 24px 72px rgb(3 11 30 / .7);
  overflow: auto;
}
.cavp-configuratore-sito::backdrop {
  background: rgb(10 23 54 / 58%);
}
.cavp-configuratore-chiudi {
  position: absolute;
  top: 10px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid #dfbd71;
  border-radius: 50%;
  background: #0f2b5d;
  color: white;
  font: 800 24px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.cavp-configuratore-chiudi:focus-visible {
  outline: 3px solid white;
  outline-offset: 2px;
}
[data-cavp-configuratore-native][hidden] {
  display: none !important;
}
.cavp-configuratore-ingresso {
  margin-block: 12px 0;
  text-align: center;
}
.cavp-configuratore-ingresso button {
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid #b4914c;
  border-radius: 9px;
  background: #dfbd71;
  color: #0e2655;
  font: 800 16px/1.3 Manrope, Arial, sans-serif;
  cursor: pointer;
}
.cavp-configuratore-ingresso p {
  margin-block: 12px 0;
}
@media (max-width: 767px) {
  .cavp-configuratore-sito {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    padding: 62px 7px 7px;
  }
}
