:root {
  --ink:#12213b;
  --muted:#697586;
  --blue:#195cea;
  --line:#e1e7ee;
  --soft:#f3f6fb;
  --radius:18px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  color:var(--ink);
  background:#fcfcfd;
  font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
a {
  color:var(--blue);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button,input,select,textarea {
  font:inherit
}
button,.button {
  display:inline-flex;
  gap:25px;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:#fff;
  padding:13px 21px;
  border:0;
  border-radius:9px;
  cursor:pointer;
  font-weight:600;
  text-decoration:none
}
button:hover,.button:hover {
  background:#124dcc;
  text-decoration:none
}
button:disabled {
  opacity:.5;
  cursor:not-allowed
}
.small {
  padding:8px 14px;
  font-size:13px
}
.link {
  background:none;
  color:var(--ink);
  padding:0
}
.link:hover {
  background:none;
  color:var(--blue)
}
.danger {
  color:#b3283a
}
.pilotbar {
  background:var(--ink);
  color:#fff;
  padding:9px 5%;
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  display:flex;
  justify-content:space-between
}
.pilotbar span {
  letter-spacing:.2px;
  font-weight:400
}
.header {
  max-width:1380px;
  margin:auto;
  padding:25px 5%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line)
}
.brand {
  font-size:24px;
  font-weight:800;
  letter-spacing:-1px;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:10px
}
.brand:hover {
  text-decoration:none
}
.brandmark {
  font-size:24px;
  background:var(--blue);
  color:#fff;
  border-radius:9px;
  padding:1px 7px;
  letter-spacing:-3px;
  padding-right:10px
}
.brand small {
  font-size:9px;
  letter-spacing:2px;
  font-weight:500;
  border-left:1px solid var(--line);
  padding-left:12px;
  margin-left:5px
}
.header nav {
  display:flex;
  gap:26px;
  align-items:center;
  font-size:13px;
  font-weight:600
}
.header nav a {
  color:var(--ink)
}
.header nav a.button {
  color:#fff
}
.header form {
  margin:0
}
main {
  max-width:1380px;
  padding:0 5% 60px;
  margin:auto;
  min-height:70vh
}
h1,h2,h3,h4 {
  line-height:1.15;
  margin:0 0 18px;
  letter-spacing:-.6px
}
h1 {
  font-size:44px;
  max-width:770px
}
h2 {
  font-size:30px
}
h3 {
  font-size:18px
}
h4 {
  font-size:17px;
  margin-top:30px
}
p {
  margin:0 0 20px
}
.eyebrow {
  font-size:10px;
  font-weight:700;
  letter-spacing:1.8px;
  color:var(--blue);
  margin-bottom:18px
}
.muted {
  color:var(--muted)
}
.hero {
  margin:35px 0 0;
  padding:55px;
  border-radius:24px;
  background:#eaf0fc;
  display:grid;
  grid-template-columns:1.25fr 1fr;
  gap:30px;
  overflow:hidden;
  position:relative
}
.hero h1 {
  font-size:58px;
  letter-spacing:-2.6px;
  line-height:1.03;
  max-width:620px
}
.hero p:not(.eyebrow) {
  max-width:520px;
  color:#4f6182;
  font-size:16px
}
.hero .button {
  margin-top:8px
}
.hero-note {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative
}
.orb {
  width:230px;
  height:230px;
  border:1px solid #b9caed;
  background:radial-gradient(ellipse at 30% 25%,#fff,#c0d2ff 60%,#7b9bdf);
  box-shadow:20px 30px 80px #a4bde55e,inset 0 0 25px #fff;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:110px;
  letter-spacing:-16px;
  font-weight:800;
  color:#fff;
  text-shadow:0 6px 20px #7e9cd8;
  padding-right:14px;
  margin-bottom:28px
}
.hero-note p {
  font-size:13px!important;
  margin:0
}
.benefits {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:23px 10px;
  border-bottom:1px solid var(--line);
  color:var(--muted);
  font-size:12px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  margin:50px 0 20px
}
.section-heading h2 {
  margin:0
}
.section-heading .eyebrow {
  margin-bottom:8px
}
.filters {
  display:flex;
  gap:15px;
  align-items:end;
  margin-bottom:28px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px
}
.filters label {
  margin:0;
  min-width:140px
}
.filters .search {
  flex:1
}
label {
  display:block;
  font-size:12px;
  font-weight:600;
  margin:0 0 16px
}
input,select,textarea {
  display:block;
  width:100%;
  background:#fff;
  border:1px solid #cfd8e4;
  border-radius:8px;
  padding:11px;
  color:var(--ink);
  margin-top:6px;
  min-width:0
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #bbceff;
  border-color:var(--blue)
}
.check {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}
.check input {
  width:16px;
  height:16px;
  margin:0
}
.grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px
}
.card {
  display:block;
  background:white;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .15s,box-shadow .15s
}
.card:hover {
  text-decoration:none;
  transform:translateY(-3px);
  box-shadow:0 15px 35px #19274712
}
.product-image {
  height:225px;
  background:#f7f9fc;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:25px
}
.product-image img {
  width:100%;
  
  object-fit:contain;
  mix-blend-mode:multiply
}
.placeholder {
  font-size:58px;
  font-weight:800;
  letter-spacing:-6px;
  color:#c1cde0
}
.card-body {
  padding:20px
}
.card h3 {
  font-size:17px;
  margin:9px 0 12px;
  min-height:40px
}
.card .card-body>p {
  font-size:12px;
  color:var(--muted);
  min-height:38px
}
.card .eyebrow {
  font-size:8px
}
.card-foot {
  font-size:10px;
  display:flex;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:15px;
  font-weight:600
}
.card-foot span {
  color:var(--blue);
  font-size:17px
}
.pagination {
  display:flex;
  justify-content:center;
  gap:35px;
  margin:30px 0
}
.auth {
  max-width:460px;
  margin:65px auto;
  background:white;
  padding:35px;
  border:1px solid var(--line);
  border-radius:var(--radius)
}
.auth h1 {
  font-size:36px
}
.auth.wide {
  max-width:750px
}
.auth form {
  margin-top:25px
}
.auth p {
  color:var(--muted)
}
.auth button {
  width:100%
}
.auth .fine {
  font-size:12px
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 20px
}
.notice,.alert {
  padding:20px 24px;
  margin:25px 0;
  border-radius:12px;
  background:#edf3ff;
  font-size:14px
}
.notice p {
  margin:5px 0 0
}
.notice a {
  display:inline-block;
  margin-top:12px
}
.alert {
  background:#fff0f1;
  color:#982435
}
.warning {
  color:#926018
}
.empty {
  padding:70px 25px;
  background:var(--soft);
  text-align:center;
  border-radius:18px
}
.empty h1 {
  margin:auto auto 20px
}
.back {
  display:inline-block;
  margin:35px 0;
  font-size:13px
}
.detail {
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:50px
}
.detail h1 {
  font-size:40px
}
.detail-image {
  min-height:450px;
  border-radius:20px;
  background:var(--soft);
  display:flex;
  justify-content:center;
  align-items:center;
  padding:50px;
  align-self:start
}
.detail-image img {
  max-width:100%;
  max-height:400px;
  object-fit:contain;
  mix-blend-mode:multiply
}
.lead {
  color:var(--muted);
  font-size:17px
}
.table-wrap {
  overflow-x:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:13px
}
th,td {
  text-align:left;
  padding:15px 12px;
  border-bottom:1px solid var(--line)
}
th {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--muted)
}
td small {
  color:var(--muted)
}
.fine {
  font-size:11px;
  color:var(--muted);
  line-height:1.6;
  margin-top:20px
}
.disabled-action {
  background:#e8edf4;
  color:#6c798e;
  font-weight:600;
  padding:15px;
  text-align:center;
  border-radius:8px;
  margin-top:25px
}
.description {
  border-top:1px solid var(--line);
  padding-top:35px;
  margin-top:45px
}
.description p {
  max-width:800px
}
.gallery {
  display:flex;
  gap:18px;
  flex-wrap:wrap
}
.gallery img {
  width:130px;
  height:150px;
  object-fit:contain;
  background:var(--soft);
  border-radius:10px
}
.account-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px
}
.panel,.address {
  padding:26px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  margin:20px 0
}
.address form {
  display:inline-block;
  margin-left:25px
}
.admin-tabs {
  display:flex;
  gap:12px;
  border-bottom:1px solid var(--line);
  margin:25px 0;
  flex-wrap:wrap
}
.admin-tabs a {
  padding:10px 14px;
  color:var(--muted)
}
.admin-tabs .selected {
  color:var(--blue);
  border-bottom:2px solid var(--blue)
}
main>.eyebrow,main>section:not(.hero):first-child {
  margin-top:40px
}
.customer h3 {
  margin-bottom:7px
}
.customer p {
  font-size:13px;
  color:var(--muted)
}
details {
  margin-top:24px
}
summary {
  cursor:pointer;
  font-weight:600
}
details form {
  padding-top:15px
}
dt {
  font-size:12px;
  font-weight:600;
  color:var(--muted)
}
dd {
  margin:3px 0 18px
}
footer {
  background:var(--ink);
  color:#c8d2e1;
  padding:32px 5%;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:12px
}
footer strong {
  color:white;
  font-size:18px
}
@media(max-width:1000px) {
  .hero {
    padding:35px
  }
  .hero h1 {
    font-size:45px
  }
  .grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .hero-note .orb {
    width:180px;
    height:180px
  }
  .brand small {
    display:none
  }
  .detail {
    gap:25px
  }
  .filters {
    flex-wrap:wrap
  }
  .filters .search {
    min-width:250px
  }
}
@media(max-width:700px) {
  main {
    padding:0 5% 35px
  }
  .pilotbar {
    font-size:8px;
    letter-spacing:.5px
  }
  .pilotbar span {
    max-width:190px;
    text-align:right
  }
  .header {
    padding:20px 5%;
    gap:20px;
    flex-wrap:wrap
  }
  .header nav {
    gap:20px;
    justify-content:space-between;
    width:100%
  }
  .brand {
    font-size:23px
  }
  .hero {
    padding:28px;
    grid-template-columns:1fr
  }
  .hero h1 {
    font-size:43px;
    letter-spacing:-1.7px
  }
  .hero-note {
    display:none
  }
  .benefits {
    font-size:10px;
    gap:8px
  }
  .grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .product-image {
    height:180px;
    padding:20px
  }
  .card-body {
    padding:14px
  }
  .card h3 {
    font-size:15px
  }
  .card .card-body>p {
    display:none
  }
  .card-foot {
    font-size:9px
  }
  .filters {
    padding:14px;
    gap:10px
  }
  .filters label {
    flex:1;
    min-width:120px
  }
  .filters button {
    width:100%
  }
  h1 {
    font-size:34px
  }
  h2 {
    font-size:26px
  }
  .auth {
    padding:25px;
    margin:35px auto
  }
  .form-grid {
    grid-template-columns:1fr
  }
  .detail {
    grid-template-columns:1fr
  }
  .detail-image {
    min-height:280px;
    padding:30px
  }
  .detail-image img {
    max-height:260px
  }
  .detail h1 {
    font-size:32px
  }
  .account-grid {
    grid-template-columns:1fr;
    gap:0
  }
  footer {
    flex-direction:column;
    gap:8px
  }
  .panel {
    padding:20px
  }
  .admin-tabs {
    gap:0;
    font-size:12px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  .card {
    transition:none
  }
}
.cart-line {
  display:grid;
  grid-template-columns:minmax(150px,1fr) 155px 110px 70px;
  gap:25px;
  align-items:center;
  padding:26px 0;
  border-bottom:1px solid var(--line)
}
.cart-line a {
  font-size:17px;
  font-weight:650
}
.cart-line p {
  margin:5px 0
}
.quantity {
  display:flex;
  align-items:center
}
.quantity button {
  padding:9px 13px;
  background:var(--soft);
  color:var(--ink);
  font-size:20px
}
.quantity input {
  width:70px;
  margin:0;
  text-align:center;
  border-radius:0;
  padding:11px 3px
}
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance:none
}
.quantity input {
  appearance:textfield
}
.cart-line>strong {
  text-align:right
}
.cart-summary {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:35px;
  padding:35px 0
}
.cart-summary strong {
  font-size:30px
}
.add-quantity {
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:10px
}
.add-quantity input {
  width:70px;
  margin:0
}
.cart-line small {
  color:var(--muted)
}
@media(max-width:700px) {
  .cart-line {
    grid-template-columns:1fr 1fr;
    gap:18px
  }
  .cart-line>div:first-child {
    grid-column:1/-1
  }
  .cart-line>strong {
    text-align:right
  }
  .cart-summary {
    justify-content:space-between
  }
}
/* Importazione estesa */
.import-report {white-space:pre-wrap;overflow-wrap:anywhere;max-height:600px;overflow:auto;background:var(--soft);padding:18px;font-size:12px}
.actions {display:flex;gap:12px;flex-wrap:wrap}
.badge {display:inline-block;padding:3px 8px;border-radius:5px;background:var(--soft);margin:2px}
.admin-thumb {width:64px;height:75px;object-fit:contain;float:right;margin:0 0 12px 18px}
.content-page {max-width:880px;margin:45px auto}
.content-page .copy {white-space:pre-line;overflow-wrap:anywhere}
/* 0.5.4 · nota sotto i campi per allegare file */
.upload-note{display:block;margin-top:6px;font-size:12px;color:var(--muted,#66727c)}
.upload-note.warning{color:#982435}
/* 0.5.5 · area del cliente */
.account-page>.notice{margin-bottom:14px}
.account-nav{display:flex;flex-wrap:wrap;gap:8px 18px;margin:6px 0 22px;font-size:14px}.account-nav a{border-bottom:1px solid currentColor}
.account-page>.panel,.account-page>.account-grid{margin-bottom:22px}
.account-data{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px 22px;margin:0 0 14px}.account-data div{margin:0}.account-data dt{font-size:12px;color:var(--muted,#66727c);margin:0}.account-data dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
#gdpr h3{font-size:16px;margin:18px 0 6px}.actions-inline{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:8px 0}.actions-inline form{margin:0}
.account-print h2{font-size:18px;margin:26px 0 8px}.account-print-table{width:100%;border-collapse:collapse;font-size:14px}.account-print-table th,.account-print-table td{border-bottom:1px solid var(--line,#dfe5ec);padding:7px 8px;text-align:left;vertical-align:top}.account-print-table th{width:34%;font-weight:600;color:#3d444b}
@media print{.store-header,.store-toolbar,.site-footer,.site-strip,.pilotbar,.no-print,.skip-link{display:none!important}.storefront main{padding:0;max-width:none}.account-print-table th,.account-print-table td{padding:4px 6px}}
/* Foto principale del prodotto con larghezza e altezza: la pagina non si sposta mentre carica (0.7.0). */
.detail-image img{height:auto}
/* Scheda prodotto: "Nella stessa categoria" (0.7.0). */
.related-products{margin-top:32px}.related-products h2{font-size:22px;margin:0 0 16px}.related-products .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media(max-width:1100px){.related-products .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){.related-products .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
