/* ══════════════════════════════════════════════════════════════════════
   Koral · stili del configuratore di preventivo.
   Estratti da koral.css: servono solo quando il configuratore si apre,
   e vengono caricati con lui da /configuratore.js.
   ══════════════════════════════════════════════════════════════════════ */

/* ── CONFIGURATOR MODAL ── */
.cfg-modal {
  position: fixed; inset: 0; z-index: 2147483600;
  display: none;
  align-items: stretch; justify-content: center;
}.cfg-modal.is-open { display: flex; }.cfg-modal .cfg-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 12, 10, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: cfgFadeIn 0.3s ease;
}.cfg-shell {
  position: relative; z-index: 1;
  width: min(1280px, calc(100% - 32px));
  height: calc(100vh - 32px); margin: 16px auto;
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: cfgSlideUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}/* HEADER */
.cfg-header {
  flex-shrink: 0;
  padding: 28px 36px 20px;
  background: linear-gradient(135deg, #1A1A1A 0%, #2A1F1A 100%);
  color: #fff;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  position: relative; overflow: hidden;
}.cfg-header::before {
  content: ''; position: absolute; top: -120px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.4) 0%, transparent 70%);
  pointer-events: none;
}.cfg-header-left { position: relative; z-index: 1; flex: 1; min-width: 0; }.cfg-header-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral-glow); margin-bottom: 8px;
}.cfg-header h2 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 36px; line-height: 1.05; margin-bottom: 6px;
}.cfg-header h2 em { color: var(--coral); font-style: italic; }.cfg-header-sub { font-size: 14px; color: rgba(255,255,255,0.65); }.cfg-close {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}.cfg-close svg { width: 20px; height: 20px; }.cfg-close:hover { background: rgba(255,255,255,0.16); transform: rotate(90deg); }/* BODY: single scroll container, summary sticky on the side */
.cfg-body {
  flex: 1 1 0%; min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  background: var(--cream);
}.cfg-catalog {
  min-width: 0;
  padding: 32px 36px 100px;
  background: var(--cream);
  scrollbar-width: thin; scrollbar-color: var(--coral) transparent;
}.cfg-catalog::-webkit-scrollbar { width: 6px; }.cfg-catalog::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 3px; }/* STEP */
.cfg-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}.cfg-step:last-child { border-bottom: none; }.cfg-step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--charcoal); color: var(--coral);
  font-family: 'Fraunces', serif; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 400;
}.cfg-step-content { min-width: 0; }.cfg-step-content h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 24px; margin-bottom: 4px; line-height: 1.2;
}.cfg-step-extra {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--coral-deep); background: rgba(255,107,90,0.10);
  border: 1px solid rgba(255,107,90,0.22); border-radius: 999px; padding: 3px 9px;
}.cfg-step-desc { font-size: 13px; color: var(--slate); margin-bottom: 16px; line-height: 1.5; }.cfg-step-desc strong { color: var(--coral-deep); font-weight: 600; }/* OPTIONS GRID */
/* Una card per riga, sempre. In colonna le card si stringevano fino a
   tagliare il nome del servizio e il prezzo: meglio una lista alta che
   voci che sbordano. Le classi -2 .. -5 restano perche' le porta il
   markup, ma non contano piu' quante colonne fare. */
.cfg-options { display: grid; gap: 10px; grid-template-columns: 1fr; }.cfg-options-2, .cfg-options-3 { grid-template-columns: 1fr; }.cfg-sub-label {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--coral-deep);
  margin: 14px 0 8px;
}.cfg-sub-label:first-child { margin-top: 4px; }.cfg-options-4, .cfg-options-5 { grid-template-columns: 1fr; }.cfg-opt { display: block; cursor: pointer; position: relative; }/* Visually hide the input without breaking layout / scroll-into-view.
   Using explicit top/left + clip ensures the focus target is at a known,
   predictable position (top-left of the label) so the browser's automatic
   "scroll focused element into view" doesn't jump cfg-body unexpectedly. */
.cfg-opt input {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}.cfg-opt-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 13px 16px 13px 48px;
  transition: all 0.2s;
  /* In riga, non in colonna: il pallino a sinistra, poi icona e nome, il
     prezzo spinto a destra dal nome che si allarga. */
  display: flex; flex-direction: row; align-items: center;
}.cfg-opt-card::before {
  content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px;
  border: 2px solid rgba(0,0,0,0.15);
  border-radius: 6px;
  background: #fff;
  transition: all 0.2s;
}.cfg-opt input[type="radio"] ~ .cfg-opt-card::before { border-radius: 50%; }.cfg-opt input:checked ~ .cfg-opt-card {
  border-color: var(--coral);
  background: var(--coral-soft);
  box-shadow: 0 8px 24px rgba(255,107,90,0.15);
}.cfg-opt input:checked ~ .cfg-opt-card::before {
  background: var(--coral);
  border-color: var(--coral);
  box-shadow: inset 0 0 0 4px #fff;
}.cfg-opt input[type="checkbox"]:checked ~ .cfg-opt-card::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 16px; background-repeat: no-repeat; background-position: center;
}.cfg-opt:hover .cfg-opt-card { border-color: rgba(255,107,90,0.4); transform: translateY(-2px); }.cfg-opt-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--cream); color: var(--coral-deep);
  font-size: 16px; font-weight: 600; flex: none; margin-right: 12px;
}.cfg-opt-icon svg { width: 18px; height: 18px; }.cfg-opt-name {
  flex: 1; min-width: 0;
  font-size: 13.5px; font-weight: 600; color: var(--charcoal);
  line-height: 1.35;
}.cfg-opt-name small {
  display: block; font-weight: 400; color: var(--slate);
  font-size: 11px; margin-top: 2px;
}.cfg-opt-price {
  flex: none; margin-left: 14px; text-align: right;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 17px; color: var(--coral-deep); font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}/* SUMMARY (right panel) */
.cfg-summary {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: calc(100vh - 32px - 120px);
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid rgba(0,0,0,0.06);
  scrollbar-width: thin;
}.cfg-summary-inner { padding: 28px 24px; display: flex; flex-direction: column; min-height: 100%; }.cfg-summary-title {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 22px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,0.08);
}/* Living coral preview */
.cfg-coral {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(255,234,231,0.6) 0%, rgba(255,255,255,0.4) 100%);
  border: 1px solid rgba(255,107,90,0.12);
  border-radius: 16px;
  position: relative; overflow: hidden;
}.cfg-coral::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,90,0.12) 0%, transparent 70%);
  pointer-events: none;
}.cfg-coral-stage {
  width: 88px; height: 88px; flex-shrink: 0;
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; z-index: 1;
}.cfg-coral-svg { width: 88px; height: 88px; }.cfg-coral-meta { flex: 1; min-width: 0; position: relative; z-index: 1; }.cfg-coral-count {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 32px; line-height: 1; color: var(--coral-deep);
  margin-bottom: 2px;
}.cfg-coral-count .cc-suffix { font-size: 12px; color: var(--slate); margin-left: 4px; }.cfg-coral-label strong {
  display: block; font-size: 13px; color: var(--charcoal);
  font-weight: 600; line-height: 1.25;
}.cfg-coral-label span {
  display: block; font-size: 11px; color: var(--slate);
  margin-top: 2px; line-height: 1.4;
}/* Buono €50 voucher badge */
.cfg-voucher-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--coral-soft);
  border: 1.5px dashed var(--coral);
  border-radius: 14px; padding: 13px 16px; margin-bottom: 14px;
  animation: cfgPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}.cfg-voucher-badge.is-pending { background: var(--cream); border-color: rgba(255,107,90,0.5); }.cfg-voucher-emoji { font-size: 24px; line-height: 1; flex-shrink: 0; }.cfg-voucher-text { display: flex; flex-direction: column; gap: 2px; }.cfg-voucher-text strong { font-size: 14px; color: var(--coral-deep); }.cfg-voucher-text span { font-size: 12px; color: var(--slate); line-height: 1.35; }/* Voucher line inside the discount list gets a highlight */
.cfg-discount-list li.is-voucher {
  background: var(--coral-soft);
  margin: 4px -8px; padding: 8px 10px; border-radius: 8px;
}.cfg-discount-list li.is-voucher .cfg-disc-label,
.cfg-discount-list li.is-voucher .cfg-disc-amount { color: var(--coral-deep); font-weight: 700; }.cfg-item-list { list-style: none; margin: 0 0 16px; }.cfg-item-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 10px 0; font-size: 13px;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
}.cfg-item-list li:last-child { border-bottom: none; }.cfg-item-list li .cfg-item-name { flex: 1; color: var(--charcoal); }.cfg-item-list li .cfg-item-price { color: var(--slate); font-variant-numeric: tabular-nums; flex-shrink: 0; }.cfg-empty { text-align: center; color: var(--slate); padding: 24px 0 !important; font-style: italic; border: none !important; }.cfg-discount-list { list-style: none; margin: 0 0 16px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); }.cfg-discount-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 8px 0; font-size: 12px; color: var(--coral-deep); font-weight: 600;
}.cfg-discount-list .cfg-disc-label { flex: 1; }.cfg-discount-list .cfg-disc-emoji { margin-right: 6px; }.cfg-discount-list .cfg-disc-amount { font-variant-numeric: tabular-nums; flex-shrink: 0; }.cfg-totals { padding-top: 14px; border-top: 2px solid var(--charcoal); margin-bottom: 18px; }.cfg-total-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
}
/* display:flex batte il display:none che il browser dà a [hidden]: senza questa
   riga "Risparmi −€0" e le voci ricorrenti a zero restavano in pagina. */
.cfg-total-row[hidden] { display: none; }.cfg-total-sub, .cfg-total-saved { font-size: 13px; color: var(--slate); }.cfg-total-saved { color: var(--coral-deep); font-weight: 600; }.cfg-total-final {
  margin-top: 6px; padding-top: 10px; border-top: 1px dashed rgba(0,0,0,0.1);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; font-size: 25px; font-weight: 700;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
  align-items: baseline;
}.cfg-total-final small { font-family: 'Plus Jakarta Sans'; font-size: 12px; color: var(--slate); font-weight: 400; }.cfg-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px;
  background: var(--coral); color: #fff;
  border: none; border-radius: 50px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all 0.3s;
}.cfg-cta:hover:not(:disabled) { background: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,107,90,0.3); }.cfg-cta:disabled { background: rgba(0,0,0,0.1); color: rgba(0,0,0,0.4); cursor: not-allowed; }.cfg-cta:disabled .cfg-cta-hint { color: rgba(0,0,0,0.35); }.cfg-cta-ghost { background: transparent !important; color: var(--charcoal) !important; border: 1.5px solid var(--mist) !important; }.cfg-cta-ghost:hover { border-color: var(--coral) !important; color: var(--coral) !important; }.cfg-cta-spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: cfgSpin 0.8s linear infinite; }/* Dual CTA stack (Salva / Prenota) */
.cfg-cta-stack { display: flex; flex-direction: column; gap: 10px; }.cfg-cta-stack .cfg-cta {
  flex-direction: column; gap: 2px; padding: 14px 18px; line-height: 1.2;
}.cfg-cta-hint {
  font-size: 11px; font-weight: 500; opacity: 0.85;
  letter-spacing: 0.2px;
}.cfg-cta-book {
  background: var(--charcoal);
}.cfg-cta-book:hover:not(:disabled) {
  background: #000; box-shadow: 0 12px 32px rgba(26,26,26,0.3);
}.cfg-cta-or {
  position: relative; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--slate);
  padding: 2px 0;
}.cfg-cta-or::before, .cfg-cta-or::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 32px); height: 1px; background: rgba(0,0,0,0.08);
}.cfg-cta-or::before { left: 0; }.cfg-cta-or::after { right: 0; }.cfg-cta-or span { background: var(--cream); padding: 0 6px; }/* Deposit card (book step) */
.cfg-deposit-card {
  background: linear-gradient(135deg, #FFEAE7 0%, #FFF8F6 100%);
  border: 1px solid rgba(255,107,90,0.18);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
}.cfg-deposit-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; color: var(--slate);
  padding: 6px 0;
}.cfg-deposit-row-main {
  font-size: 15px; color: var(--charcoal);
  border-top: 1px dashed rgba(255,107,90,0.3);
  border-bottom: 1px dashed rgba(255,107,90,0.3);
  margin: 4px 0;
  padding: 10px 0;
}.cfg-deposit-row-main small { font-size: 11px; color: var(--slate); font-weight: 400; margin-left: 4px; }.cfg-deposit-value { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--charcoal); }.cfg-deposit-amount {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 26px; color: var(--coral-deep);
}.cfg-deposit-note {
  font-size: 12px; color: var(--slate); line-height: 1.5;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(0,0,0,0.06);
}.cfg-cta-success-action {
  display: inline-flex; margin-top: 18px; text-decoration: none;
}.cfg-note { font-size: 11px; color: var(--slate); line-height: 1.5; margin-top: 14px; text-align: center; }/* EMAIL STEP: fills the whole modal, no nested card-on-cream look */
.cfg-email-step, .cfg-success {
  position: absolute; inset: 0; z-index: 5;
  background: #fff;
  display: flex; flex-direction: column; align-items: center;
  padding: 16px 24px 60px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  animation: cfgFadeIn 0.3s ease;
}.cfg-email-step[hidden], .cfg-success[hidden] { display: none !important; }.cfg-voucher-badge[hidden], .cfg-discount-list[hidden], .cfg-step[hidden] { display: none !important; }.cfg-email-card, .cfg-success-card {
  width: 100%; max-width: 440px;
  background: transparent; border-radius: 0;
  padding: 16px 4px 32px;
  box-shadow: none;
  margin-top: 0;
  flex-shrink: 0;
}.cfg-email-close {
  position: sticky; top: 8px;
  align-self: flex-end;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--charcoal);
  border: none;
  color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: all 0.2s;
  flex-shrink: 0;
}.cfg-email-close svg { width: 18px; height: 18px; }.cfg-email-close:hover { background: var(--coral); transform: rotate(90deg); }.cfg-email-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; color: var(--slate);
  font-family: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; margin-bottom: 16px; padding: 0;
}.cfg-email-back:hover { color: var(--coral); }.cfg-email-back svg { width: 16px; height: 16px; }.cfg-email-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--coral); margin-bottom: 8px;
}.cfg-email-card h3 {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: 32px; margin-bottom: 8px; line-height: 1.1;
}.cfg-email-sub { font-size: 14px; color: var(--slate); line-height: 1.6; margin-bottom: 24px; }.cfg-form { display: flex; flex-direction: column; gap: 14px; }.cfg-field { display: flex; flex-direction: column; gap: 6px; }.cfg-field label { font-size: 12px; font-weight: 600; color: var(--charcoal); }.cfg-opt-label { font-weight: 400; color: var(--slate); font-size: 11px; }.cfg-field input, .cfg-field textarea {
  font-family: inherit; font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--mist);
  border-radius: 12px;
  background: var(--cream);
  transition: all 0.2s;
  resize: vertical;
}.cfg-field input:focus, .cfg-field textarea:focus {
  outline: none; border-color: var(--coral); background: #fff;
  box-shadow: 0 0 0 3px rgba(255,107,90,0.12);
}.cfg-checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--slate); line-height: 1.5;
  cursor: pointer; padding: 4px 0;
}.cfg-checkbox input { width: 16px; height: 16px; accent-color: var(--coral); margin-top: 2px; flex-shrink: 0; }.cfg-checkbox a { color: var(--coral); }.cfg-form-note {
  font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-top: 4px;
}.cfg-form-note.is-error { background: #fff0ee; color: var(--coral-deep); }.cfg-form-note.is-success { background: #ecfdf5; color: #047857; }/* SUCCESS */
.cfg-success-card { text-align: center; }.cfg-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
  color: #fff; font-size: 36px; line-height: 72px;
  margin: 0 auto 20px;
}.cfg-success h3 { font-family: 'Fraunces', serif; font-weight: 400; font-size: 30px; margin-bottom: 10px; }.cfg-success p { font-size: 15px; color: var(--slate); line-height: 1.6; margin-bottom: 8px; }.cfg-success-sub { padding-top: 14px; border-top: 1px solid var(--mist); margin-top: 18px; }.cfg-success-sub a { color: var(--coral); font-weight: 600; text-decoration: none; }.cfg-success-sub a:hover { color: var(--coral-deep); }.cfg-success .cfg-cta { margin-top: 18px; }/* MOBILE STICKY MINI CORAL: hidden on desktop, sticky-top on mobile */
.cfg-mini-coral { display: none; }@media (max-width: 540px) {
  /* Sul telefono la card si stringe ancora un po': era questo il blocco
     che teneva il layout in riga, ora vale per tutti. */
  .cfg-opt-card { padding: 12px 12px 12px 44px; }
  .cfg-opt-card::before { left: 12px; }
  .cfg-opt-price { margin-left: 12px; }
}/* Lock body scroll when modal open */
body.cfg-locked { overflow: hidden; }/* Hide Bink booking widget while configurator is open (avoids overlap with options) */
body.cfg-locked button[style*="position:fixed"]:not(.cfg-close):not(.cfg-cta):not(.cfg-email-close):not(.cfg-email-back),
body.cfg-locked button[style*="position: fixed"]:not(.cfg-close):not(.cfg-cta):not(.cfg-email-close):not(.cfg-email-back),
body.cfg-locked > div[style*="position:fixed"],
body.cfg-locked > div[style*="position: fixed"],
body.cfg-locked [class*="bink" i],
body.cfg-locked [id*="bink" i],
body.cfg-locked [class*="binatomy" i],
body.cfg-locked [id*="binatomy" i],
body.cfg-locked iframe[src*="binatomy.link"] { display: none !important; pointer-events: none !important; }body.cfg-locked .wa-float { display: none !important; }/* "+ IVA" accanto ai prezzi: piccolo, grigio, senza rubare la scena */
.cfg-opt-price small { font-size: 10.5px; font-weight: 500; color: var(--slate); margin-left: 4px; letter-spacing: 0; }.cfg-item-price small { font-size: 9.5px; font-weight: 500; color: var(--slate); margin-left: 3px; }.cfg-total-sub small { font-size: 10.5px; font-weight: 500; color: var(--slate); }

/* ── adattamenti per schermi piccoli, estratti da koral.css ── */
@media (max-width: 980px) {
  .cfg-shell { width: 100%; height: 100vh; height: 100dvh; margin: 0; border-radius: 0; }
  .cfg-mini-coral-stage {
    width: 48px; height: 48px; flex-shrink: 0;
    display: flex; align-items: flex-end; justify-content: center;
  }
  .cfg-mini-coral-stage svg { width: 48px; height: 48px; }
  .cfg-mini-coral-info {
    flex: 1; min-width: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .cfg-mini-coral-status {
    font-size: 12px; font-weight: 600; color: var(--charcoal);
    line-height: 1.2; flex: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .cfg-mini-coral-total {
    font-family: 'Fraunces', serif;
    font-size: 20px; color: var(--coral-deep); font-weight: 400;
    flex-shrink: 0; line-height: 1;
  }
  .cfg-mini-coral-total small {
    font-family: inherit; font-size: 10px; color: var(--slate);
    margin-left: 2px; font-weight: 400;
  }
  .cfg-catalog {
    flex: none;
    height: auto;
    overflow: visible;
    padding: 20px 20px 24px;
  }
  .cfg-summary {
    width: auto;
    flex: none;
    height: auto;
    position: static; max-height: none;
    background: #fff;
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
    overflow: visible;
  }
  .cfg-summary-inner { padding: 22px 20px 28px; }
  .cfg-summary-title { font-size: 18px; margin-bottom: 12px; }
  .cfg-step { grid-template-columns: 36px 1fr; gap: 12px; padding: 18px 0; }
  .cfg-step-num { width: 36px; height: 36px; font-size: 16px; }
  .cfg-step-content h3 { font-size: 20px; }
  .cfg-header { padding: 20px 20px 16px; }
  .cfg-header h2 { font-size: 26px; }
  .cfg-email-card, .cfg-success-card { padding: 28px 22px; }
  .cfg-email-step, .cfg-success { padding: 12px 16px 80px; overscroll-behavior: contain; }
}

/* RESPONSIVE configurator */
@media (max-width: 980px) {
  /* Single column flow on mobile: catalog scrolls into summary, no parallel sticky panel */
  .cfg-body {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    min-height: 0;
  }
  /* Sticky mini coral pinned at top of cfg-body so it stays visible while scrolling */
  .cfg-mini-coral {
    display: flex;
    align-items: center;
    gap: 12px;
    position: sticky; top: 0; z-index: 5;
    padding: 10px 16px;
    background: linear-gradient(180deg, #FFF8F6 0%, rgba(255,248,246,0.96) 100%);
    border-bottom: 1px solid rgba(255,107,90,0.14);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  }
}

@keyframes cfgPop { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

@keyframes cfgSpin { to { transform: rotate(360deg); } }

/* Una card di canone che non esiste per quel sito (il Care sulla landing) sparisce:
   .cfg-opt e' display:block, quindi [hidden] da solo non basterebbe. */
.cfg-opt[hidden] { display: none; }

/* Riga dell'abbonamento video: sta sotto al totale ma non ne fa parte.
   Grafica piu' leggera del totale, cosi' si legge come una spesa a parte. */
.cfg-total-ricorrente {
  margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(0,0,0,0.1);
  font-size: 13px; color: var(--slate); font-weight: 600;
}
.cfg-total-ricorrente small { display: block; font-size: 10.5px; font-weight: 500; color: var(--slate); opacity: .8; }
.cfg-total-ricorrente span:last-child { color: var(--coral-deep); white-space: nowrap; }
.cfg-total-ricorrente span:last-child small { display: inline; font-size: 10px; margin-left: 3px; color: var(--slate); }

/* Il prezzo del canone lo scrive il configuratore a ogni render, con l'IVA gia'
   applicata e il periodo ("/mese", "/anno") accanto. Tiene una classe sua invece
   di .cfg-opt-price perche' iva-switch.js riscrive quella classe e, riscrivendola,
   terrebbe solo la cifra buttando via il periodo. */
.cfg-canone-price {
  flex: none; margin-left: 14px; text-align: right;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 17px; color: var(--coral-deep); font-weight: 600;
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.cfg-canone-price small { font-size: 10.5px; font-weight: 500; color: var(--slate); margin-left: 4px; letter-spacing: 0; }
@media (max-width: 640px) { .cfg-canone-price { margin-left: 12px; } }

/* ── Il sito si accende solo sopra una produzione ──
   Le due voci restano in pagina ma spente: nasconderle avrebbe fatto
   sparire e ricomparire uno step intero a ogni cambio di scelta. */
.cfg-site-lock,
.cfg-podcast-lancio {
  margin: 0 0 16px;
  padding: 11px 15px;
  border-radius: 12px;
  background: rgba(255,107,90,0.07);
  border: 1px solid rgba(255,107,90,0.22);
  font-size: 13.5px; line-height: 1.55;
  color: var(--coral-deep, #d9513f);
}
.cfg-podcast-lancio { margin-top: -4px; }
.cfg-podcast-lancio strong { font-weight: 700; }
.cfg-opt.is-locked { opacity: 0.42; }
.cfg-opt.is-locked .cfg-opt-card { cursor: not-allowed; }
