/* Area partner ElleBox (partner.html, partner-registrati.html).
   Design system consegnato il 9 ott 2026 (design_area_partner_chatgpt),
   con Poppins da Google Fonts al posto dei file locali. Solo queste pagine
   lo caricano: i selettori globali non toccano il resto del sito. */
/* Token condivisi. Valori del design approvato. */
:root {
 --font-family: 'Poppins', sans-serif;
 --font-weight-body: 400; --font-weight-title: 600; --font-weight-strong: 700;
 --color-background-start: #1B1436; --color-background-end: #0A0716;
 --color-surface: #14163a; --color-border: #2b2f57;
 --color-text: #ffffff; --color-text-secondary: #c9cce4; --color-text-muted: #9aa0c4;
 --color-positive: #2dfcdc;
 --color-cyan: #22D3EE; --color-blue: #3B82F6; --color-violet: #8B5CF6;
 --color-pink: #EC4899; --color-coral: #FB7185;
 --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 32px; --space-5: 40px; --space-6: 48px; --space-8: 64px;
 --radius-small: 6px; --radius-badge: 8px; --radius-input: 10px; --radius-button: 12px; --radius-card-mobile: 16px; --radius-card: 20px;
 --shadow-card: 0 16px 48px #00000018; --shadow-primary: 0 5px 24px #8b5cf61a;
 --motion-duration: .18s; --focus-width: 2px; --focus-offset: 4px;
}

:root {
  --bg:#0A0716;
  --surface:#14163a;
  --border:#2b2f57;
  --muted:#c9cce4;
  --dim:#9aa0c4;
  --ok:#2dfcdc;
  --gradient:linear-gradient(110deg,#22D3EE,#3B82F6,#8B5CF6,#EC4899,#FB7185)
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  background:linear-gradient(135deg,#1B1436 0%,#0A0716 76%);
  color:white;
  font:400 14px/1.65 var(--font-family);
  min-height:100vh
}
a {
  color:inherit;
  text-decoration:none
}
button,input {
  font:inherit
}
button,a,input {
  transition:background .18s,border-color .18s,transform .18s
}
header {
  height:104px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 64px;
  background:#0a071680
}
.brand {
  width:258px;
  display:block
}
nav {
  display:flex;
  gap:var(--space-4);
  align-items:center
}
nav a {
  color:var(--dim)
}
nav a.active {
  color:white
}
nav small {
  border-left:1px solid var(--border);
  padding-left:32px;
  color:var(--muted)
}
main {
  max-width:1312px;
  padding:48px 32px 64px;
  margin:auto
}
.eyebrow {
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ok);
  font-weight:600
}
h1 {
  font-size:40px;
  line-height:1.2;
  letter-spacing:-1.3px;
  font-weight:600;
  margin:12px 0 16px
}
h2 {
  font-size:23px;
  line-height:1.3;
  font-weight:600;
  margin:0 0 12px
}
h3 {
  font-size:16px;
  margin:0 0 8px;
  font-weight:600
}
p {
  color:var(--muted);
  margin:0 0 24px
}
.sub {
  color:var(--dim);
  font-size:12px
}
.heading {
  margin-bottom:32px
}
.grid {
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:var(--space-4)
}
.card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  padding:var(--space-4);
  box-shadow:var(--shadow-card)
}
.steps {
  display:flex;
  gap:var(--space-4);
  font-size:12px;
  color:var(--dim);
  margin-bottom:40px
}
.steps b {
  color:white;
  font-weight:500
}
.steps span {
  display:inline-grid;
  place-items:center;
  border:1px solid var(--border);
  border-radius:50%;
  width:28px;
  height:28px;
  margin-right:8px
}
.steps .current span {
  border-color:var(--ok);
  color:var(--ok)
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  border:1px solid var(--border);
  border-radius:var(--radius-button);
  padding:12px 24px;
  color:white;
  background:transparent;
  font-weight:600;
  font-size:13px;
  cursor:pointer
}
.primary {
  background:var(--gradient);
  color:#0A0716;
  border:0;
  box-shadow:var(--shadow-primary)
}
.btn:hover {
  filter:brightness(1.1);
  transform:translateY(-1px)
}
.btn:focus-visible,input:focus-visible,a:focus-visible {
  outline:2px solid var(--ok);
  outline-offset:4px
}
.btn:disabled {
  background:#2b2f57;
  color:var(--dim);
  cursor:not-allowed;
  transform:none;
  filter:none
}
.wide {
  width:100%
}
.badge {
  display:inline-block;
  border-radius:var(--radius-badge);
  padding:6px 10px;
  background:#2dfcdc0d;
  color:var(--ok);
  border:1px solid #2dfcdc35;
  font-size:11px;
  font-weight:500
}
.product-image {
  height:270px;
  width:100%;
  object-fit:contain;
  border-radius:14px;
  background:#0a0716;
  margin:24px 0
}
.product-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}
.product-head h2 {
  font-size:32px;
  margin:0
}
.specs {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}
.specs span {
  padding:4px 10px;
  border:1px solid var(--border);
  border-radius:6px;
  font-size:11px;
  color:var(--muted)
}
.price {
  font-size:64px;
  letter-spacing:-3px;
  line-height:1.15;
  font-weight:600;
  margin:16px 0 4px
}
.price small {
  font-size:14px;
  letter-spacing:0;
  font-weight:400;
  color:var(--dim)
}
table {
  border-collapse:collapse;
  width:100%;
  margin:24px 0
}
th {
  text-align:left;
  color:var(--dim);
  font-size:11px;
  font-weight:400;
  padding:12px 16px;
  border-bottom:1px solid var(--border)
}
td {
  padding:12px 16px;
  border-bottom:1px solid var(--border);
  font-size:13px
}
td:last-child,th:last-child {
  text-align:right
}
.selected {
  background:#2dfcdc0b;
  color:var(--ok)
}
.selected td:first-child {
  border-left:2px solid var(--ok)
}
.quantity {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:24px 0
}
.stepper {
  display:flex;
  border:1px solid var(--border);
  border-radius:var(--radius-input);
  overflow:hidden
}
.stepper button {
  width:44px;
  background:#0A0716;
  border:0;
  color:white;
  cursor:pointer
}
.stepper input {
  width:72px;
  border:0;
  text-align:center;
  border-radius:0;
  padding:12px 4px;
  appearance:textfield
}
.stepper input::-webkit-inner-spin-button {
  appearance:none
}
.row {
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin:12px 0;
  color:var(--muted)
}
.total {
  padding:20px 0;
  border-top:1px solid var(--border);
  margin-top:20px
}
.total strong {
  color:white;
  font-size:22px
}
.auth {
  display:grid;
  grid-template-columns:1fr 440px;
  gap:100px;
  align-items:center;
  max-width:1100px;
  padding-top:72px
}
.auth h1 {
  font-size:52px
}
.auth .intro {
  max-width:480px
}
.auth .orbit {
  width:96px;
  margin-bottom:32px
}
.auth .card {
  padding:var(--space-4)
}
.field {
  display:block;
  margin-bottom:20px;
  font-size:12px;
  color:var(--muted)
}
input:not([type=checkbox]) {
  display:block;
  width:100%;
  background:#0a071680;
  border:1px solid var(--border);
  border-radius:var(--radius-input);
  color:white;
  padding:14px 16px;
  margin-top:8px;
  min-height:50px
}
input::placeholder {
  color:var(--dim)
}
.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 24px
}
.fields .full {
  grid-column:1/-1
}
.check {
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:12px;
  color:var(--muted);
  margin:24px 0
}
.check input {
  appearance:none;
  flex:none;
  width:18px;
  height:18px;
  border:1px solid #9aa0c4;
  border-radius:4px;
  background:#0a0716;
  margin:2px 0
}
.check input:checked {
  background:var(--ok);
  box-shadow:inset 0 0 0 4px #14163a
}
.check a {
  text-decoration:underline
}
.auth-footer {
  text-align:center;
  margin:24px 0 0;
  font-size:11px;
  color:var(--dim)
}
.note {
  border-left:2px solid var(--ok);
  padding:4px 0 4px 16px;
  color:var(--muted);
  font-size:12px;
  margin:24px 0
}
.footer {
  border-top:1px solid var(--border);
  padding:var(--space-3) 64px;
  display:flex;
  justify-content:space-between;
  color:var(--dim);
  font-size:10px
}
.summary .price {
  font-size:58px
}
.summary {
  border-top:2px solid var(--ok)
}
.order-detail {
  display:flex;
  gap:var(--space-3);
  align-items:center;
  margin:24px 0
}
.order-detail img {
  width:110px;
  height:90px;
  object-fit:contain;
  background:#0a0716;
  border-radius:var(--radius-button)
}
.status {
  font-size:10px;
  padding:6px 10px;
  border:1px solid;
  border-radius:6px;
  white-space:nowrap
}
.pending {
  color:#FB7185;
  border-color:#FB718550;
  background:#FB71850b
}
.confirmed {
  color:#2dfcdc;
  border-color:#2dfcdc50;
  background:#2dfcdc0b
}
.production {
  color:#c9cce4;
  border-color:#8B5CF6;
  background:#8B5CF60b
}
.shipped {
  color:#22D3EE;
  border-color:#22D3EE50;
  background:#22D3EE0b
}
.orders {
  padding:8px 24px
}
.orders td {
  height:94px
}
.orders td:first-child {
  font-weight:600;
  color:white
}
.orders .btn {
  font-size:11px;
  min-height:40px;
  padding:8px 14px
}
.orders a.download {
  font-size:11px;
  color:var(--muted);
  text-decoration:underline
}
.orders td:last-child {
  min-width:160px
}
.form-title {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center
}
.section-gap {
  margin-top:32px
}
.inline-input {
  display:flex;
  gap:8px;
  align-items:center
}
.inline-input input {
  flex:1;
  min-width:0
}
.inline-input .btn {
  margin-top:8px;
  min-height:50px;
  padding:10px 16px
}
.guide-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-3)
}
.swatch {
  height:70px;
  border:1px solid var(--border);
  border-radius:var(--radius-badge);
  margin-bottom:12px
}
.guide-grid .card p {
  font-size:12px;
  margin-bottom:0
}
.gallery {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:var(--space-3)
}
.gallery a:hover {
  border-color:var(--ok)
}

@media(max-width:700px) {
  header {
  height:80px;
  padding:0 20px
}
.brand {
  width:205px
}
nav {
  gap:16px;
  font-size:11px
}
nav small,nav .exit {
  display:none
}
header:has(nav) .brand {
  width:154px
}
main {
  padding:var(--space-4) 20px 40px
}
.heading {
  margin-bottom:24px
}
h1 {
  font-size:32px;
  letter-spacing:-.8px
}
h2 {
  font-size:20px
}
.grid,.fields,.auth,.guide-grid,.gallery {
  grid-template-columns:1fr;
  gap:var(--space-3)
}
.card {
  padding:var(--space-3);
  border-radius:var(--radius-card-mobile)
}
.steps {
  gap:14px;
  margin-bottom:28px;
  font-size:10px
}
.steps span {
  display:block;
  margin:0 0 6px
}
.auth {
  padding-top:32px;
  gap:var(--space-3)
}
.auth h1 {
  font-size:34px
}
.auth .orbit {
  display:none
}
.auth .intro p {
  margin-bottom:0
}
.auth .card {
  padding:var(--space-3)
}
.auth .intro h1 {
  margin:8px 0 12px
}
.auth-footer {
  font-size:10px
}
.price,.summary .price {
  font-size:46px;
  letter-spacing:-2px
}
.product-head {
  align-items:flex-start;
  gap:16px;
  flex-direction:column
}
.product-image {
  height:220px
}
.product-head h2 {
  font-size:28px
}
.footer {
  padding:var(--space-3) 20px;
  gap:12px;
  flex-direction:column
}
.orders {
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none
}
.orders table,.orders tbody,.orders tr,.orders td {
  display:block;
  width:100%
}
.orders thead {
  display:none
}
.orders tr {
  padding:var(--space-3);
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-card-mobile);
  margin-bottom:16px
}
.orders td {
  height:auto;
  border:0;
  padding:6px 0;
  text-align:left;
  display:flex;
  justify-content:space-between;
  align-items:center
}
.orders td:before {
  content:attr(data-label);
  color:var(--dim);
  font-size:11px;
  font-weight:400
}
.orders td:first-child {
  font-size:16px
}
.orders td:last-child {
  justify-content:flex-end;
  padding-top:16px
}
.form-title {
  align-items:flex-start;
  flex-direction:column;
  gap:0
}
.fields .full {
  grid-column:auto
}
.summary .check {
  font-size:11px
}
.row {
  font-size:12px
}
.total strong {
  font-size:19px
}
th,td {
  padding:12px 8px
}
.order-detail {
  gap:16px
}

}

@media(prefers-reduced-motion:reduce) {
  * {
  transition:none!important
}

}


.stepper {
  flex:none
}
.stepper input:not([type=checkbox]) {
  width:72px;
  margin:0;
  border:0;
  border-radius:0;
  min-height:48px;
  padding:12px 4px
}
.steps span {
  display:inline-grid
}
.shipping-fields {
  display:none
}
.card:has(.shipping-toggle:checked) .shipping-fields {
  display:grid
}
.field input:disabled {
  background:#2b2f57;
  color:#9aa0c4
}
.field input:hover {
  border-color:#9aa0c4
}
.brand {
  mix-blend-mode:screen
}
.form-title {
  align-items:start
}

@media(max-width:700px) {
  .steps span {
  display:grid
}
.catalog-grid {
  display:flex;
  flex-direction:column
}
.catalog-grid>section:last-child {
  order:-1
}
.quantity {
  gap:12px;
  font-size:12px
}
.product-image {
  height:200px
}
.price small {
  font-size:12px
}
.auth h1 {
  font-size:32px
}
.auth .intro br {
  display:none
}

}


.brand {
  mix-blend-mode:normal
}
@media(max-width:700px) {
  .summary-grid {
  display:flex;
  flex-direction:column
}
.summary-grid>.summary {
  order:-1
}

}


/* Stati condivisi supplementari: non cambiano gli stati di riposo dei mock-up. */
input:disabled,button:disabled,[aria-disabled="true"] {
  cursor:not-allowed
}

input:disabled:hover {
  border-color:var(--border)
}

input[type=checkbox]:focus-visible {
  outline:2px solid var(--ok);
  outline-offset:4px
}

input[type=checkbox]:disabled {
  opacity:.45
}

.btn[aria-disabled="true"] {
  background:#2b2f57;
  color:var(--dim);
  pointer-events:none;
  box-shadow:none
}

.btn:disabled:hover {
  filter:none;
  transform:none
}

.card[aria-disabled="true"],.badge[aria-disabled="true"],.status[aria-disabled="true"] {
  opacity:.5
}

/* Card, badge e tabella sono informativi: nessun falso hover o focus. */


/* ---- Integrazione nel sito (9 ott 2026) ---- */
[hidden] { display: none !important; }
header .brand-link { display: block; }
nav .exit { background: none; border: 0; color: var(--dim); cursor: pointer; padding: 0; font: inherit; }
nav .exit:hover { color: white; }
nav button.tab { background: none; border: 0; padding: 0; font: inherit; color: var(--dim); cursor: pointer; }
nav button.tab.active { color: white; }
.steps .step { background: none; border: 0; padding: 0; font: inherit; color: inherit; display: flex; align-items: center; cursor: default; }
.steps .step.done { cursor: pointer; }
.steps .step.done:hover { color: white; }
.pa-msg { font-size: 12px; min-height: 18px; margin: 12px 0 0; }
.pa-msg.err { color: var(--color-coral); }
.pa-msg.ok { color: var(--ok); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 12px; }
.linkbtn:hover { color: white; }
.loading { text-align: center; color: var(--dim); padding: 80px 0; }
textarea {
  display: block; width: 100%; background: #0a071680; border: 1px solid var(--border);
  border-radius: var(--radius-input); color: white; padding: 14px 16px; margin-top: 8px;
  min-height: 96px; font: inherit; resize: vertical;
}
textarea::placeholder { color: var(--dim); }
textarea:focus-visible { outline: 2px solid var(--ok); outline-offset: 4px; }
.field .opt { color: var(--dim); }
.prod-pair { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
.prod-pair .card > p:last-child { margin-bottom: 0; }
.prod-lines { margin: 16px 0 0; padding: 0; list-style: none; }
.prod-lines li { color: var(--muted); font-size: 13px; padding: 6px 0; border-top: 1px solid var(--border); }
.prod-lines li:first-child { border-top: 0; }
.tier-lancio td { color: var(--color-pink); }
.order-total { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.order-total .row.total { flex: 1; margin: 0; border: 0; padding: 0; }
.order-total .btn { min-width: 280px; }
.order-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.order-line h3 { margin: 0 0 2px; }
.empty { color: var(--dim); margin: 0; }
.orders .btn { white-space: nowrap; }
@media (max-width: 700px) {
  .prod-pair { grid-template-columns: 1fr; gap: var(--space-3); }
  .prod-pair > .price-card { order: -1; }
  nav .exit { display: inline; }
  .order-total .btn { min-width: 0; width: 100%; }
}
