/*! DoubleZero7 — configuratore Lodes, CSS standalone (2026-11-24 17:01). Generato da scripts/build-standalone.js. */

/* reset dentro il configuratore (al posto del preflight di Tailwind) */
.dz7-scope { font-family: Unica77LLWeb, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; color: var(--dark); -webkit-font-smoothing: antialiased; text-align: left; }
.dz7-scope *, .dz7-scope ::before, .dz7-scope ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: var(--grey); }
.dz7-scope :where(button, input, optgroup, select, textarea) { font: inherit; color: inherit; margin: 0; padding: 0; background: none; border: 0 solid var(--grey); border-radius: 0; outline: 0; text-transform: none; letter-spacing: normal; box-shadow: none; min-height: 0; height: auto; width: auto; }
.dz7-scope :where(button, [role="button"]) { cursor: pointer; }
.dz7-scope :where(button:disabled) { cursor: default; }
.dz7-scope :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; font-weight: inherit; margin: 0; }
.dz7-scope :where(p, figure, blockquote, dl, dd) { margin: 0; }
.dz7-scope :where(ol, ul) { list-style: none; margin: 0; padding: 0; }
.dz7-scope :where(img, svg, video, canvas) { display: block; vertical-align: middle; max-width: none; }
.dz7-scope :where(strong, b) { font-weight: 400; }

.dz7-scope *, .dz7-scope ::before, .dz7-scope ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.dz7-scope ::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

.dz7-scope {
  background-color: var(--white);
  font-family: Unica77LLWeb, Helvetica Neue, Helvetica, Arial, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-size: 14px;
  line-height: 20px;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  /* un solo peso per famiglia: niente grassetti simulati */
}

.dz7-scope :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.dz7-scope .spec-label {
  font-size: 11px;
  text-transform: uppercase;
  line-height: 15px;
  color: var(--darkgrey);
  letter-spacing: .08em;
}

.dz7-scope .spec-code {
  font-size: 11px;
  line-height: 15px;
  color: var(--darkgrey);
  font-family: var(--mono);
  letter-spacing: .02em;
}

/* barra step in alto */

.dz7-scope .step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  border-width: 1px;
  border-color: var(--light);
  background-color: var(--light);
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 13px;
  line-height: 17px;
  color: var(--dark);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 999px;
}

.dz7-scope .step-pill:hover {
  border-color: var(--dark);
}

.dz7-scope .step-pill .spec-label {
  color: var(--darkgrey);
}

.dz7-scope .step-pill.is-done .spec-label {
  color: var(--gold);
}

.dz7-scope .step-pill.is-active {
  border-color: var(--dark);
  background-color: var(--dark);
  color: var(--white);
}

.dz7-scope .step-pill.is-active .spec-label {
  color: var(--gold);
}

.dz7-scope .step-pill.is-locked {
  pointer-events: none;
  opacity: 0.3;
}

.dz7-scope .btn-primary {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-width: 1px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 999px;
}

.dz7-scope .btn-primary:disabled {
  pointer-events: none;
  opacity: 0.3;
}

.dz7-scope .btn-primary {
  border-color: var(--dark);
  background-color: var(--dark);
  color: var(--white);
}

.dz7-scope .btn-primary:hover {
  border-color: var(--gold);
  background-color: var(--gold);
}

.dz7-scope .btn-secondary {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-width: 1px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 999px;
}

.dz7-scope .btn-secondary:disabled {
  pointer-events: none;
  opacity: 0.3;
}

.dz7-scope .btn-secondary {
  border-color: var(--grey);
  background-color: var(--white);
  color: var(--dark);
}

.dz7-scope .btn-secondary:hover {
  border-color: var(--dark);
}

.dz7-scope .btn-ghost {
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-width: 1px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: 999px;
}

.dz7-scope .btn-ghost:disabled {
  pointer-events: none;
  opacity: 0.3;
}

.dz7-scope .btn-ghost {
  color: var(--darkgrey);
  border-color: transparent;
}

.dz7-scope .btn-ghost:hover {
  color: var(--dark);
}

.dz7-scope .btn-sm {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 17px;
}

/* box "grigetto" */

.dz7-scope .panel {
  background-color: var(--light);
  border-radius: var(--r-card);
}

/* card di scelta: come le card indirizzo del checkout, con il radio in alto a destra (oro se scelta) */

.dz7-scope .option-card {
  position: relative;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  border-width: 1px;
  border-color: var(--light);
  background-color: var(--light);
  padding-left: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 50px;
  text-align: left;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-radius: var(--r-card);
}

.dz7-scope .option-card::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 18px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--dark);
  background: var(--white);
}

.dz7-scope .option-card:hover {
  border-color: var(--dark);
}

.dz7-scope .option-card.is-selected {
  border-color: var(--dark);
}

.dz7-scope .option-card.is-selected::after {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px var(--white);
}

.dz7-scope .tool-btn {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-width: 1px;
  border-color: var(--grey);
  background-color: var(--white);
  font-size: 13px;
  color: var(--dark);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  width: 28px;
  height: 28px;
  border-radius: 999px;
}

.dz7-scope .tool-btn:hover {
  border-color: var(--dark);
}

.dz7-scope .tool-btn.is-active {
  border-color: var(--dark);
  background-color: var(--dark);
  color: var(--white);
}

.dz7-scope .pointer-events-none {
  pointer-events: none;
}

.dz7-scope .static {
  position: static;
}

.dz7-scope .fixed {
  position: fixed;
}

.dz7-scope .sticky {
  position: sticky;
}

.dz7-scope .\!mx-0 {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.dz7-scope .mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.dz7-scope .my-10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.dz7-scope .-ml-12 {
  margin-left: -12px;
}

.dz7-scope .-mr-12 {
  margin-right: -12px;
}

.dz7-scope .mb-10 {
  margin-bottom: 10px;
}

.dz7-scope .mb-12 {
  margin-bottom: 12px;
}

.dz7-scope .mb-15 {
  margin-bottom: 15px;
}

.dz7-scope .mb-20 {
  margin-bottom: 20px;
}

.dz7-scope .mb-24 {
  margin-bottom: 24px;
}

.dz7-scope .mb-30 {
  margin-bottom: 30px;
}

.dz7-scope .mb-5 {
  margin-bottom: 5px;
}

.dz7-scope .ml-auto {
  margin-left: auto;
}

.dz7-scope .mr-10 {
  margin-right: 10px;
}

.dz7-scope .mt-10 {
  margin-top: 10px;
}

.dz7-scope .mt-12 {
  margin-top: 12px;
}

.dz7-scope .mt-24 {
  margin-top: 24px;
}

.dz7-scope .mt-30 {
  margin-top: 30px;
}

.dz7-scope .mt-5 {
  margin-top: 5px;
}

.dz7-scope .block {
  display: block;
}

.dz7-scope .inline-block {
  display: inline-block;
}

.dz7-scope .flex {
  display: flex;
}

.dz7-scope .inline-flex {
  display: inline-flex;
}

.dz7-scope .\!table {
  display: table !important;
}

.dz7-scope .table {
  display: table;
}

.dz7-scope .grid {
  display: grid;
}

.dz7-scope .hidden {
  display: none;
}

.dz7-scope .h-10 {
  height: 10px;
}

.dz7-scope .h-14 {
  height: 14px;
}

.dz7-scope .h-full {
  height: 100%;
}

.dz7-scope .\!w-60 {
  width: 60px !important;
}

.dz7-scope .\!w-auto {
  width: auto !important;
}

.dz7-scope .w-10 {
  width: 10px;
}

.dz7-scope .w-100 {
  width: 100px;
}

.dz7-scope .w-14 {
  width: 14px;
}

.dz7-scope .w-20 {
  width: 20px;
}

.dz7-scope .w-40 {
  width: 40px;
}

.dz7-scope .w-60 {
  width: 60px;
}

.dz7-scope .w-full {
  width: 100%;
}

.dz7-scope .min-w-0 {
  min-width: 0px;
}

.dz7-scope .max-w-83 {
  max-width: 83%;
}

.dz7-scope .flex-1 {
  flex: 1 1 0%;
}

.dz7-scope .shrink-0 {
  flex-shrink: 0;
}

.dz7-scope .grow {
  flex-grow: 1;
}

.dz7-scope .translate-x-full {
  --tw-translate-x: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.dz7-scope .transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.dz7-scope .resize {
  resize: both;
}

.dz7-scope .grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dz7-scope .\!flex-row {
  flex-direction: row !important;
}

.dz7-scope .flex-col {
  flex-direction: column;
}

.dz7-scope .flex-wrap {
  flex-wrap: wrap;
}

.dz7-scope .items-center {
  align-items: center;
}

.dz7-scope .items-baseline {
  align-items: baseline;
}

.dz7-scope .justify-end {
  justify-content: flex-end;
}

.dz7-scope .justify-between {
  justify-content: space-between;
}

.dz7-scope .gap-10 {
  gap: 10px;
}

.dz7-scope .gap-12 {
  gap: 12px;
}

.dz7-scope .gap-15 {
  gap: 15px;
}

.dz7-scope .gap-20 {
  gap: 20px;
}

.dz7-scope .gap-5 {
  gap: 5px;
}

.dz7-scope .self-start {
  align-self: flex-start;
}

.dz7-scope .overflow-auto {
  overflow: auto;
}

.dz7-scope .overflow-x-auto {
  overflow-x: auto;
}

.dz7-scope .overflow-y-auto {
  overflow-y: auto;
}

.dz7-scope .whitespace-nowrap {
  white-space: nowrap;
}

.dz7-scope .rounded {
  border-radius: 0.25rem;
}

.dz7-scope .rounded-full {
  border-radius: 9999px;
}

.dz7-scope .rounded-xl {
  border-radius: 0.75rem;
}

.dz7-scope .border {
  border-width: 1px;
}

.dz7-scope .border-b {
  border-bottom-width: 1px;
}

.dz7-scope .border-t {
  border-top-width: 1px;
}

.dz7-scope .border-gold {
  border-color: var(--gold);
}

.dz7-scope .border-grey {
  border-color: var(--grey);
}

.dz7-scope .border-red {
  border-color: var(--red);
}

.dz7-scope .bg-gold {
  background-color: var(--gold);
}

.dz7-scope .bg-grey {
  background-color: var(--grey);
}

.dz7-scope .bg-light {
  background-color: var(--light);
}

.dz7-scope .bg-white {
  background-color: var(--white);
}

.dz7-scope .p-10 {
  padding: 10px;
}

.dz7-scope .p-15 {
  padding: 15px;
}

.dz7-scope .p-20 {
  padding: 20px;
}

.dz7-scope .\!px-0 {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.dz7-scope .px-10 {
  padding-left: 10px;
  padding-right: 10px;
}

.dz7-scope .px-12 {
  padding-left: 12px;
  padding-right: 12px;
}

.dz7-scope .px-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.dz7-scope .px-20 {
  padding-left: 20px;
  padding-right: 20px;
}

.dz7-scope .px-24 {
  padding-left: 24px;
  padding-right: 24px;
}

.dz7-scope .px-5 {
  padding-left: 5px;
  padding-right: 5px;
}

.dz7-scope .py-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.dz7-scope .py-12 {
  padding-top: 12px;
  padding-bottom: 12px;
}

.dz7-scope .py-15 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.dz7-scope .py-24 {
  padding-top: 24px;
  padding-bottom: 24px;
}

.dz7-scope .py-5 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.dz7-scope .text-left {
  text-align: left;
}

.dz7-scope .text-center {
  text-align: center;
}

.dz7-scope .font-serif {
  font-family: PracticeRegular;
}

.dz7-scope .text-10 {
  font-size: 10px;
}

.dz7-scope .text-11 {
  font-size: 11px;
}

.dz7-scope .text-13 {
  font-size: 13px;
}

.dz7-scope .text-14 {
  font-size: 14px;
}

.dz7-scope .text-15 {
  font-size: 15px;
}

.dz7-scope .text-16 {
  font-size: 16px;
}

.dz7-scope .text-18 {
  font-size: 18px;
}

.dz7-scope .text-24 {
  font-size: 24px;
}

.dz7-scope .text-26 {
  font-size: 26px;
}

.dz7-scope .text-34 {
  font-size: 34px;
}

.dz7-scope .leading-13 {
  line-height: 13px;
}

.dz7-scope .leading-15 {
  line-height: 15px;
}

.dz7-scope .leading-17 {
  line-height: 17px;
}

.dz7-scope .leading-18 {
  line-height: 18px;
}

.dz7-scope .leading-20 {
  line-height: 20px;
}

.dz7-scope .leading-26 {
  line-height: 26px;
}

.dz7-scope .leading-34 {
  line-height: 34px;
}

.dz7-scope .text-dark {
  color: var(--dark);
}

.dz7-scope .text-darkgrey {
  color: var(--darkgrey);
}

.dz7-scope .text-gold {
  color: var(--gold);
}

.dz7-scope .text-red {
  color: var(--red);
}

.dz7-scope .text-white {
  color: var(--white);
}

.dz7-scope .opacity-30 {
  opacity: 0.3;
}

.dz7-scope .outline {
  outline-style: solid;
}

.dz7-scope .filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* ------------------------------------------------------------------ */

/* Font Lodes — stessi nomi di famiglia del tema del sito               */

/* (Unica77LLWeb per tutti i testi, PracticeRegular per i titoli)       */

/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */

/* Colori del tema. Nel sito queste variabili sono già definite dal    */

/* tema: qui servono solo per far girare il configuratore da solo.      */

/* Bianco = sfondo generico, light (grigetto) = box, gold = evidenze.   */

/* ------------------------------------------------------------------ */

.dz7-scope {
  --white: #ffffff;
  --light: #ebebe8;
  --grey: #d4d4cf;
  --darkgrey: #4a4a46;
  /* scurito per leggibilità (era #6b6b68) */
  --dark: #000000;
  --gold: #c79240;
  --red: #b6572f;
  --alert: #e30613;
  /* avvisi bloccanti */
  --yellow: #e0b84a;
  --green: #5c7a5e;
  --dz7-top: 64px;
  /* altezza della barra step sticky (aggiornata da main.js) */
  /* micro-elementi del sito B2B: card molto arrotondate, pill, codici in monospazio */
  --r-card: 20px;
  --r-sm: 12px;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------ */

/* Layout: barra step sticky, distinta base sticky a destra             */

/* ------------------------------------------------------------------ */

.dz7-scope .dz7-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
}

/* colonna disegno + distinta base; la distinta si chiude in una barra verticale (più spazio al disegno) */

@media (min-width: 1024px) {
  .dz7-scope .dz7-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .dz7-scope .dz7-layout.is-cart-closed {
    grid-template-columns: minmax(0, 1fr) 44px;
  }
}

/* selettore lingua di test nella barra in alto */

.dz7-scope .dz7-lang {
  display: inline-flex;
  border: 1px solid var(--grey);
  border-radius: 999px;
  overflow: hidden;
}

.dz7-scope .dz7-lang button {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--darkgrey);
  cursor: pointer;
}

.dz7-scope .dz7-lang button:hover {
  color: var(--dark);
}

.dz7-scope .dz7-lang button.is-active {
  background: var(--dark);
  color: var(--white);
}

.dz7-scope .dz7-cart-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
}

.dz7-scope .dz7-cart-rail:hover {
  background: var(--dark);
}

@media (min-width: 1024px) {
  .dz7-scope .dz7-cart-rail {
    flex-direction: column;
    height: 100%;
    padding: 16px 0;
  }

  .dz7-scope .dz7-cart-rail-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
  }

  .dz7-scope .dz7-cart {
    position: sticky;
    top: var(--dz7-top);
    height: calc(var(--dz7-vh, 100vh) - var(--dz7-top));
  }
}

/* Pannello laterale moduli luce (si apre sopra la distinta base, il disegno resta visibile) */

.dz7-scope .dz7-drawer {
  position: fixed;
  top: var(--dz7-top);
  right: 0;
  bottom: 0;
  z-index: 40;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--light);
  border-left: 1px solid var(--dark);
}

.dz7-scope .dz7-drawer .panel {
  background: var(--white);
}

.dz7-scope .dz7-drawer .dz7-thumb {
  background: var(--light);
  border-color: var(--light);
}

/* ------------------------------------------------------------------ */

/* Micro-elementi del sito B2B: fasce titolo, contatore tondo, pill,    */

/* carrello (testata oro, card bianche, totale, barra nera)             */

/* ------------------------------------------------------------------ */

.dz7-scope .dz7-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--dark);
  color: var(--white);
}

.dz7-scope .dz7-count {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
}

.dz7-scope .dz7-count.is-small {
  width: 26px;
  height: 26px;
  font-size: 12px;
}

.dz7-scope .dz7-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  line-height: 17px;
  cursor: pointer;
  transition: background-color .15s, color .15s;
  white-space: nowrap;
  flex: none;
}

.dz7-scope .dz7-pill.is-on-gold:hover {
  background: var(--white);
  color: var(--gold);
}

.dz7-scope .dz7-pill.is-on-dark:hover {
  background: var(--white);
  color: var(--dark);
}

.dz7-scope .dz7-cart-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--gold);
  color: var(--white);
}

.dz7-scope .dz7-card {
  flex: none;
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
}

.dz7-scope .dz7-card-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--dark);
  font-size: 14px;
  line-height: 18px;
}

.dz7-scope .dz7-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
}

.dz7-scope .dz7-cart-line + .dz7-cart-line {
  border-top: 1px solid var(--light);
}

.dz7-scope .dz7-qty {
  flex: none;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  font-size: 13px;
  border-radius: 999px;
}

.dz7-scope .dz7-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-top: 1px solid var(--dark);
  font-size: 15px;
  line-height: 20px;
}

.dz7-scope .dz7-cart-total span + span {
  font-size: 13px;
  color: var(--darkgrey);
  text-align: right;
}

.dz7-scope .dz7-checkout {
  width: 100%;
  min-height: 64px;
  padding: 12px 20px;
  background: var(--dark);
  color: var(--white);
  font-size: 21px;
  line-height: 26px;
  cursor: pointer;
  transition: background-color .15s;
}

.dz7-scope .dz7-checkout:hover {
  background: var(--gold);
}

.dz7-scope .dz7-checkout:disabled {
  opacity: .35;
  pointer-events: none;
}

.dz7-scope .dz7-back {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 20px;
  color: var(--dark);
  cursor: pointer;
}

.dz7-scope .dz7-back svg {
  width: 12px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}

.dz7-scope .dz7-back:hover {
  color: var(--gold);
}

/* ------------------------------------------------------------------ */

/* Visualizzatore SVG, inspector, toolbar composizione                  */

/* (CSS semplice: classi generate da JS, sempre incluse nel build)      */

/* ------------------------------------------------------------------ */

.dz7-scope .dz7-stage {
  position: relative;
  background: var(--white);
  margin: 0 10px;
  border-radius: var(--r-sm);
  overflow: hidden;
}

.dz7-scope .dz7-svg {
  display: block;
  width: 100%;
  height: max(440px, calc(var(--dz7-vh, 100vh) - var(--dz7-top) - 330px));
  touch-action: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
}

.dz7-scope .dz7-svg.hidden {
  display: none;
}

.dz7-scope .dz7-hit {
  cursor: pointer;
}

.dz7-scope .dz7-light, .dz7-scope .dz7-feed {
  cursor: grab;
}

.dz7-scope .dz7-svg.is-dragging, .dz7-scope .dz7-svg.is-dragging .dz7-light {
  cursor: grabbing;
}

.dz7-scope .dz7-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 0 12px 8px;
  font-size: 13px;
  line-height: 17px;
}

.dz7-scope .dz7-metrics .spec-label {
  margin-right: 4px;
}

.dz7-scope .dz7-meter {
  display: inline-block;
  width: 90px;
  height: 4px;
  background: var(--grey);
  border-radius: 2px;
  overflow: hidden;
}

.dz7-scope .dz7-meter > span {
  display: block;
  height: 100%;
  background: var(--dark);
}

.dz7-scope .dz7-meter > span.is-warn {
  background: var(--alert);
}

.dz7-scope .dz7-place {
  cursor: pointer;
}

.dz7-scope .dz7-place-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: 13px;
  line-height: 18px;
}

.dz7-scope .dz7-place-banner strong {
  font-weight: 400;
  color: var(--gold);
}

.dz7-scope .dz7-hint {
  padding: 8px 12px;
  font-size: 11px;
  line-height: 15px;
  color: var(--darkgrey);
}

.dz7-scope .dz7-inspector {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  background: var(--white);
  padding: 10px 14px;
  margin: 0 10px 10px;
  border-radius: var(--r-sm);
}

.dz7-scope .dz7-insp-title {
  font-size: 14px;
  margin-right: 4px;
}

.dz7-scope .dz7-insp-error {
  flex-basis: 100%;
  font-size: 11px;
  color: var(--red);
}

.dz7-scope .dz7-insp-error:empty {
  display: none;
}

.dz7-scope .dz7-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--darkgrey);
}

.dz7-scope .dz7-input {
  border: 1px solid var(--grey);
  background: var(--white);
  font-size: 13px;
  padding: 5px 10px;
  color: var(--dark);
  border-radius: 999px;
}

.dz7-scope .dz7-input:hover {
  border-color: var(--dark);
}

.dz7-scope input.dz7-input {
  width: 84px;
}

.dz7-scope .dz7-split {
  font-size: 11px;
  color: var(--gold);
}

.dz7-scope .dz7-row {
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: var(--r-sm);
}

.dz7-scope .dz7-row:hover {
  border-color: var(--grey);
}

.dz7-scope .dz7-row.is-selected {
  border-color: var(--gold);
}

.dz7-scope .dz7-row select, .dz7-scope .dz7-inspector select {
  max-width: 100%;
}

/* Lista moduli luce inseriti: riga compatta, menu solo sulla riga selezionata */

.dz7-scope .dz7-lrow {
  background: var(--white);
  border: 1px solid var(--white);
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
}

.dz7-scope .dz7-lrow:hover {
  border-color: var(--grey);
}

.dz7-scope .dz7-lrow.is-selected {
  border-color: var(--gold);
  cursor: default;
}

.dz7-scope .dz7-lrow-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.dz7-scope .dz7-lrow-thumb {
  flex: none;
  width: 36px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 8px;
}

.dz7-scope .dz7-lrow-thumb svg {
  width: 100%;
  height: 100%;
  padding: 3px;
}

/* quantità come nel carrello del sito: "—" e "+" ai lati, numero su fondo nero */

.dz7-scope .dz7-stepper {
  flex: none;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--dark);
  border-radius: 999px;
  overflow: hidden;
}

.dz7-scope .dz7-stepper button {
  width: 26px;
  height: 26px;
  font-size: 13px;
  line-height: 1;
  color: var(--dark);
}

.dz7-scope .dz7-stepper button:hover {
  background: var(--light);
}

.dz7-scope .dz7-stepper span {
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: var(--dark);
  color: var(--white);
}

.dz7-scope .dz7-lrow-edit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--light);
}

.dz7-scope .dz7-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.dz7-scope .dz7-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dz7-scope .dz7-side .panel.is-scroll {
  max-height: 420px;
  overflow-y: auto;
}

/* catena lunga: scorre; la lista moduli cresce */

@media (min-width: 1200px) {
  .dz7-scope .dz7-compose {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

.dz7-scope .dz7-stored {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 18px;
  background: #fdf7e8;
  border: 1px solid var(--gold);
  border-radius: var(--r-sm);
}

.dz7-scope .dz7-stored strong {
  font-weight: inherit;
  color: var(--dark);
  margin-right: 4px;
}

.dz7-scope .dz7-stored span {
  color: var(--darkgrey);
}

.dz7-scope .dz7-export {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dz7-scope .dz7-export .dz7-input {
  width: 220px;
  max-width: 100%;
}

.dz7-scope .dz7-notice {
  margin: 0 10px 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--red);
  border: 1px solid var(--red);
  background: var(--white);
  border-radius: var(--r-sm);
}

.dz7-scope .dz7-notice.is-warn {
  color: #8a5a12;
  border-color: var(--yellow);
  background: #fdf7e8;
}

/* avvisi bloccanti (carico oltre il driver, limite dei 20 m): rosso pieno con triangolo */

.dz7-scope .dz7-notice.is-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--alert);
  border-color: var(--alert);
  background: #fff5f5;
}

.dz7-scope .dz7-alert-ic {
  flex: none;
  width: 16px;
  height: 15px;
  margin-top: 1px;
}

.dz7-scope .dz7-alert-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  line-height: 15px;
  color: var(--alert);
}

.dz7-scope .dz7-alert-line .dz7-alert-ic {
  width: 13px;
  height: 12px;
}

.dz7-scope .text-alert {
  color: var(--alert);
}

.dz7-scope .dz7-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  vertical-align: -3px;
  border-radius: 999px;
  background: var(--alert);
  color: #fff;
  font: 700 13px/1 Georgia, 'Times New Roman', serif;
  font-style: italic;
  cursor: pointer;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--alert) 18%, transparent);
  transition: transform .15s, box-shadow .15s;
}

.dz7-scope .dz7-info:hover, .dz7-scope .dz7-info:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--alert) 25%, transparent);
}

.dz7-scope .dz7-info.is-open {
  background: var(--dark);
  box-shadow: none;
}

/* variante informativa (scura, popup all'hover con .dz7-tipwrap) usata accanto ai titoli "Moduli luce" */

.dz7-scope .dz7-info.is-hover {
  width: 18px;
  height: 18px;
  font-size: 12px;
  background: var(--dark);
  box-shadow: none;
  cursor: help;
}

.dz7-scope .dz7-weight-info {
  vertical-align: middle;
}

.dz7-scope .dz7-weight-info .dz7-tip {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.dz7-scope .dz7-info-text {
  display: none;
  margin-top: 6px;
  color: var(--darkgrey);
  font-size: 12px;
  line-height: 17px;
}

.dz7-scope .dz7-info.is-open + .dz7-info-text {
  display: block;
}

.dz7-scope .dz7-cart-rail-alert {
  display: inline-flex;
  padding: 3px;
  background: var(--white);
  border-radius: 999px;
}

.dz7-scope .dz7-cart-rail-alert .dz7-alert-ic {
  width: 16px;
  height: 15px;
  margin: 0;
}

/* gruppi affiancati che vanno a capo interi; i filetti sono lo spazio di 1px tra i gruppi che
   lascia vedere il fondo grigio (niente overflow: hidden, che taglierebbe i tooltip) */

.dz7-scope .dz7-toolbar {
  display: flex;
  flex-wrap: wrap;
  background: var(--light);
  border-radius: var(--r-card);
  padding: 4px 6px;
}

.dz7-scope .dz7-group {
  flex: 1 1 auto;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dz7-scope .dz7-group + .dz7-group {
  border-left: 1px solid var(--grey);
}

.dz7-scope .dz7-group-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.dz7-scope .dz7-tool {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 17px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
  border-radius: 999px;
}

.dz7-scope .dz7-tool:hover {
  border-color: var(--dark);
}

.dz7-scope .dz7-tool.is-selected {
  border-color: var(--dark);
  box-shadow: inset 0 0 0 1px var(--dark);
}

.dz7-scope .dz7-tool.is-primary {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}

.dz7-scope .dz7-tool.is-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.dz7-scope .dz7-ic {
  width: 26px;
  height: 21px;
  flex: none;
}

.dz7-scope .ic-bld {
  fill: var(--grey);
}

.dz7-scope .ic-trk {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.dz7-scope .dz7-tool.is-selected .ic-trk {
  stroke: var(--gold);
}

/* Tooltip: spiegazione del pezzo + effetto se aggiunto in fondo alla catena */

.dz7-scope .dz7-tipwrap {
  position: relative;
  display: inline-flex;
}

.dz7-scope .dz7-tip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 280px;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--dark);
  font-size: 13px;
  line-height: 18px;
  pointer-events: none;
  border-radius: 16px;
}

/* se il tooltip uscirebbe dallo schermo a destra si apre verso sinistra (classe messa da main.js) */

.dz7-scope .dz7-tipwrap.is-flip .dz7-tip {
  left: auto;
  right: 0;
}

.dz7-scope .dz7-tipwrap:hover .dz7-tip, .dz7-scope .dz7-tipwrap:focus-within .dz7-tip {
  display: flex;
}

.dz7-scope .dz7-tip strong {
  font-weight: 400;
  font-size: 14px;
  color: var(--dark);
}

.dz7-scope .dz7-tip span {
  color: var(--darkgrey);
}

.dz7-scope .dz7-tip em {
  font-style: normal;
  color: var(--gold);
}

.dz7-scope .dz7-tip-ic {
  width: 80px;
  height: 64px;
  background: var(--light);
  padding: 6px;
  border-radius: 10px;
}

.dz7-scope .dz7-tip .ic-bld {
  fill: var(--grey);
}

.dz7-scope .dz7-tip .ic-trk {
  stroke: var(--dark);
}

.dz7-scope .dz7-tool:disabled {
  opacity: .3;
  pointer-events: none;
}

/* Miniature trascinabili del pannello luci + "fantasma" durante il drag */

.dz7-scope .dz7-thumb {
  flex: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px dashed var(--grey);
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: var(--r-sm);
}

.dz7-scope .dz7-thumb:hover {
  border-color: var(--dark);
}

.dz7-scope .dz7-thumb {
  position: relative;
}

/* badge "Trascina" sulle miniature del pannello luci */

.dz7-scope .dz7-drag-badge {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 10px;
  line-height: 14px;
  pointer-events: none;
}

.dz7-scope .dz7-thumb:not(.dz7-thumb-tall) .dz7-drag-badge {
  right: -6px;
  bottom: -8px;
  padding: 2px 4px;
  font-size: 0;
  gap: 0;
}

.dz7-scope .dz7-drag-badge svg, .dz7-scope .dz7-howto-ic svg, .dz7-scope .dz7-drop-hint svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.dz7-scope .dz7-thumb:hover .dz7-drag-badge {
  background: var(--gold);
}

/* istruzioni del drag & drop in cima al pannello */

.dz7-scope .dz7-howto {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px dashed var(--gold);
  font-size: 13px;
  line-height: 18px;
}

.dz7-scope .dz7-howto strong {
  font-weight: 400;
  font-size: 14px;
}

.dz7-scope .dz7-howto-ic {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dz7-scope .dz7-howto-ic svg {
  width: 16px;
  height: 16px;
}

/* suggerimento sul disegno mentre il pannello luci è aperto */

.dz7-scope .dz7-drop-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  line-height: 16px;
  pointer-events: none;
}

.dz7-scope .dz7-thumb-tall {
  width: 100%;
  height: 96px;
}

.dz7-scope .dz7-thumb-art {
  width: 40px;
  height: 100%;
  max-height: 84px;
}

.dz7-scope .dz7-ghost {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: var(--white);
  border: 1px solid var(--dark);
  font-size: 13px;
  border-radius: 999px;
  transform: translate(0, 0);
  opacity: .92;
}

.dz7-scope .dz7-ghost .dz7-thumb-art {
  width: 28px;
  height: 40px;
}

.dz7-scope .dz7-ghost.is-over {
  border-color: var(--gold);
}

.dz7-scope .dz7-ghost.is-over.is-invalid {
  border-color: var(--red);
}

.dz7-scope .dz7-ghost.is-over.is-invalid::after {
  content: attr(data-invalid);
  color: var(--red);
  font-size: 11px;
}

.dz7-scope .dz7-thumb-art.is-module {
  width: 48px;
  height: 44px;
}

.dz7-scope .dz7-ghost .dz7-thumb-art.is-module {
  width: 40px;
  height: 36px;
}

.dz7-scope .dz7-svg.is-panning {
  cursor: grabbing;
}

@media (min-width: 1024px) {
  .dz7-scope .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dz7-scope .md\:border-l {
    border-left-width: 1px;
  }

  .dz7-scope .md\:border-t-0 {
    border-top-width: 0px;
  }
}

@media (min-width: 1200px) {
  .dz7-scope .lg\:p-30 {
    padding: 30px;
  }
}

@media (min-width: 1600px) {
  .dz7-scope .xl\:text-18 {
    font-size: 18px;
  }

  .dz7-scope .xl\:leading-20 {
    line-height: 20px;
  }
}

/* Plugin standalone (lodes-dz7-configurator): regole aggiunte in coda al CSS dal build.
   --dz7-site-top = altezza dell'header fisso del sito (attributo offset dello shortcode, default 0):
   la barra degli step e la distinta base restano sotto l'header quando si scorre. */
.dz7-scope { --dz7-site-top: 0px; --dz7-vh: calc(100vh - var(--dz7-site-top)); }
.dz7-scope .dz7-topbar { top: var(--dz7-site-top); }
@media (min-width: 768px) {
  .dz7-scope .dz7-cart { top: calc(var(--dz7-site-top) + var(--dz7-top)); }
}

/* action 'none': niente pulsante finale (resta la distinta base con il riepilogo) */
.dz7-no-checkout .dz7-checkout { display: none !important; }

/* il configuratore occupa tutta la larghezza del contenitore in cui è inserito lo shortcode */
.dz7-standalone { width: 100%; max-width: none; background: var(--white, #fff); }

/* pannello luci e fantasma del drag vivono in <body> (vedi DZ7App.mount): partono sotto l'header */
.dz7-portal .dz7-drawer { top: var(--dz7-site-top, 0px); z-index: 99990; }
.dz7-portal .dz7-ghost { z-index: 99995; }
