/* 5G LAB – pagina Telefoni */
.tel-consiglio { display: flex; gap: 16px; align-items: center; background: linear-gradient(120deg, #f1effd, #fdf2fa); border: 1.5px solid #ddd6fe; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 22px; }
.tel-consiglio-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.tel-consiglio-ico svg { width: 24px; height: 24px; }
.tel-consiglio b { display: block; color: var(--navy); font-size: 17px; }
.tel-consiglio span { font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.tel-filtri { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.tel-marche { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.tel-marche button { flex-shrink: 0; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: 14.5px; padding: 9px 16px; border-radius: 999px; cursor: pointer; }
.tel-marche button.attiva { background: var(--navy); border-color: var(--navy); color: #fff; }
.tel-cerca { flex: 1 1 220px; max-width: 320px; font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid #d9d9e6; border-radius: 12px; }
.tel-griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tel-griglia[hidden] { display: none; }
.tel-caricamento { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 30px; }
.tel-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.tel-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,20,60,.12); }
.tel-card-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; width: 100%; height: 100%; padding: 16px; position: relative; }
.tel-card-btn:focus-visible { outline: 3px solid rgba(90,80,175,.4); outline-offset: -3px; }
.tel-card-foto { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--bg-soft); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.tel-card-foto img { width: 100%; height: 100%; object-fit: contain; }
.tel-segnaposto { color: #b9b7d6; width: 64px; height: 64px; display: block; }
.tel-segnaposto.grande { width: 110px; height: 110px; }
.tel-segnaposto svg { width: 100%; height: 100%; }
.tel-evidenza { position: absolute; top: 24px; left: 24px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.tel-marca { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--magenta); }
.tel-modello { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.tel-memorie { font-size: 13px; color: var(--muted); }
.tel-card-prezzo { margin-top: 6px; font-family: 'Rajdhani', sans-serif; font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.tel-card-prezzo small { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); }
.tel-card-rate { font-size: 13px; font-weight: 700; color: var(--viola); }
.tel-card-disp, .tel-disp { font-size: 13px; font-weight: 700; }
.tel-card-disp.si, .tel-disp.si { color: #047857; }
.tel-card-disp.no, .tel-disp.no { color: #b45309; }
.tel-card-cta { margin-top: 10px; justify-content: center; padding: 10px 14px; }
.tel-vuoto { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 20px; display: grid; gap: 12px; justify-items: center; }
.tel-vuoto h2 { font-size: 24px; color: var(--navy); }
.tel-vuoto p { color: var(--muted); }
.tel-nota { margin-top: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.tel-nota a { color: var(--viola); font-weight: 700; }

/* scheda */
.tel-scheda { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: none; border-radius: 22px; padding: 0; box-shadow: 0 30px 80px rgba(20,20,60,.35); }
.tel-scheda::backdrop { background: rgba(20,20,60,.55); }
.tel-chiudi { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--bg-soft); font-size: 18px; cursor: pointer; color: var(--navy); }
.tel-scheda-corpo { padding: 24px clamp(18px, 4vw, 34px) 30px; }
.tel-scheda-top { display: grid; grid-template-columns: 260px 1fr; gap: 24px; margin-bottom: 22px; }
.tel-scheda-foto { aspect-ratio: 1 / 1; background: var(--bg-soft); border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.tel-scheda-foto img { width: 100%; height: 100%; object-fit: contain; }
.tel-scheda-info { display: flex; flex-direction: column; gap: 10px; }
.tel-scheda-info h2 { font-size: clamp(24px, 3.5vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.15; }
.tel-desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.tel-prezzo { display: flex; align-items: baseline; gap: 10px; }
.tel-prezzo span { font-family: 'Rajdhani', sans-serif; font-size: 40px; font-weight: 700; color: var(--navy); line-height: 1; }
.tel-prezzo small { font-size: 13px; color: var(--muted); font-weight: 600; }
.tel-passo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; color: var(--navy); margin: 22px 0 12px; }
.tel-passo .n { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 14px; }
.tel-modi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.tel-modo input { position: absolute; opacity: 0; pointer-events: none; }
.tel-modo-box { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 2px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; position: relative; background: #fff; }
.tel-modo-box b { font-size: 16px; color: var(--navy); }
.tel-modo-box span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.tel-modo input:checked + .tel-modo-box { border-color: var(--viola); background: #f7f5ff; box-shadow: 0 0 0 3px rgba(90,80,175,.15); }
.tel-modo input:focus-visible + .tel-modo-box { outline: 3px solid rgba(90,80,175,.4); outline-offset: 2px; }
.tel-modo .tel-badge { align-self: flex-start; background: var(--grad); color: #fff !important; font-size: 11.5px !important; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.tel-riepilogo { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; margin: 18px 0 14px; font-size: 14.5px; color: var(--ink); }
.tel-riepilogo b { text-align: right; color: var(--navy); }
.tel-riepilogo .tot { font-weight: 800; color: var(--navy); border-top: 1px solid var(--line); padding-top: 6px; }
.tel-scheda .check { margin-top: 10px; }
.tel-nota-form { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (max-width: 700px) {
  .tel-scheda-top { grid-template-columns: 1fr; }
  .tel-scheda-foto { max-width: 220px; justify-self: center; width: 100%; }
  .tel-modi { grid-template-columns: 1fr; }
  .tel-griglia { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tel-card-btn { padding: 10px; }
  .tel-modello { font-size: 15.5px; }
  .tel-card-prezzo { font-size: 24px; }
  .tel-evidenza { top: 16px; left: 16px; }
}
