/* MECO — stile del sito
   Fondo scuro, un colore di marca (indaco, la luce del laser a diodo) e
   l'azzurro solo per la stampa 3D. Elementi piccoli e piatti, niente effetti pesanti. */

:root {
  --bg: #0b0b10;
  --bg-2: #101016;
  --surface: #14141c;
  --surface-2: #1b1b26;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --white: #f4f4f8;
  --text: #b1b1c0;          /* 9:1 sul fondo */
  --muted: #7d7d90;         /* 4.8:1 sul fondo */
  --accent: #8b7bff;
  --accent-hi: #b5a9ff;
  --blu3d: #4cc2ff;
  --danger: #ef6b6b;

  /* nomi usati dai componenti di catalogo, prodotto e carrello */
  --green: var(--accent);
  --green-hi: var(--accent-hi);

  --ff-display: 'Space Grotesk', system-ui, sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 10px;
  --r-lg: 14px;
  --hdr-h: 64px;
  --lg-gap: 0px;
  --lg-cap-h: var(--hdr-h);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { background: var(--bg); color: var(--text); font-family: var(--ff-body); font-size: 15.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #0b0b10; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--white); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
p { text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 10px 14px; border-radius: var(--r-sm); background: var(--white); color: #0b0b10; font-weight: 600; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }
.section { padding: clamp(40px, 6vw, 80px) 0; }
.section--tight { padding: clamp(22px, 3vw, 40px) 0; }
.section--alt { background: rgba(255, 255, 255, .018); border-block: 1px solid var(--line); }
.shop-section { padding-top: clamp(16px, 2vw, 24px); }

/* ── Sfondo: percorsi macchina ── */
.bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0,0,0,.28), #000 100%); mask-image: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(0,0,0,.28), #000 100%); }
.bg path { fill: none; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.bg-v { stroke: rgba(139, 123, 255, .17); }
.bg-b { stroke: rgba(76, 194, 255, .14); }
.bg-fill { stroke-width: .8; opacity: .7; }
.bg-travel { stroke: rgba(255, 255, 255, .07); stroke-dasharray: 3 7; }
.bg-head { offset-rotate: 0deg; animation: bg-run linear infinite; }
.bg-head circle:first-child { opacity: .22; }
.bg-head--v circle { fill: var(--accent-hi); }
.bg-head--b circle { fill: var(--blu3d); }
@keyframes bg-run { to { offset-distance: 100%; } }
@media (prefers-reduced-motion: reduce) { .bg-head { display: none; } }

/* ── Icone: i tratti si disegnano ── */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hdr-nav .ico *, .menu nav .ico *, .service-ico .ico *, .step-dot .ico * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ico-draw .9s ease forwards; }
.hdr-nav a:nth-child(2) .ico *, .menu nav a:nth-child(2) .ico * { animation-delay: .1s; }
.hdr-nav a:nth-child(3) .ico *, .menu nav a:nth-child(3) .ico * { animation-delay: .2s; }
.hdr-nav a:nth-child(4) .ico *, .menu nav a:nth-child(4) .ico * { animation-delay: .3s; }
.menu nav a:nth-child(5) .ico * { animation-delay: .4s; }
.hdr-nav a:hover .ico *, .service:hover .service-ico .ico * { animation: ico-redraw .7s ease forwards; animation-delay: 0s; }
@keyframes ico-draw { to { stroke-dashoffset: 0; } }
@keyframes ico-redraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ── Intestazione ── */
.hdr { position: sticky; top: 0; z-index: 900; background: rgba(11, 11, 16, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; height: var(--hdr-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
.logo span { font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; color: var(--white); }
.hdr-nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.hdr-nav a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-sm); font-size: .9rem; font-weight: 500; color: var(--text); transition: color .15s, background .15s; }
.hdr-nav a .ico { width: 16px; height: 16px; color: var(--accent-hi); }
.hdr-nav a:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.hdr-nav a.is-active { color: var(--white); box-shadow: inset 0 -2px 0 var(--accent); border-radius: var(--r-sm) var(--r-sm) 0 0; }
.hdr-nav a.is-main { background: var(--accent); color: #0b0b10; font-weight: 600; box-shadow: none; border-radius: var(--r-sm); }
.hdr-nav a.is-main .ico { color: #0b0b10; }
.hdr-nav a.is-main:hover { background: var(--accent-hi); color: #0b0b10; }

.hdr-search, .menu-search { position: relative; display: flex; align-items: center; }
.hdr-search { width: clamp(180px, 22vw, 280px); }
.hdr-search > .ico, .menu-search > .ico { position: absolute; left: 12px; width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.hdr-search input, .menu-search input { width: 100%; height: 38px; padding: 0 12px 0 36px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--white); font-size: .9rem; }
.hdr-search input::placeholder, .menu-search input::placeholder { color: var(--muted); }
.hdr-search input:focus, .menu-search input:focus { outline: none; border-color: var(--accent); background: rgba(139, 123, 255, .08); }
.hdr-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 300px; padding: 6px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); }
.hdr-suggest a { display: block; padding: 9px 10px; border-radius: var(--r-sm); font-size: .9rem; color: var(--white); }
.hdr-suggest a small { display: block; font-size: .76rem; color: var(--muted); }
.hdr-suggest a:hover, .hdr-suggest a.is-sel { background: rgba(139, 123, 255, .14); }
.hdr-suggest p { padding: 9px 10px; font-size: .86rem; color: var(--muted); }

.hdr-cart { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--white); flex: none; }
.hdr-cart:hover { border-color: var(--accent); }
.cart-n { min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-content: center; border-radius: 100px; background: var(--accent); color: #0b0b10; font-size: .74rem; font-weight: 700; }
.hdr-burger { display: none; width: 38px; height: 38px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: none; }
.hdr-burger span { width: 16px; height: 1.6px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.hdr-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* Menu su telefono: un pannello semplice sotto la barra */
.menu { border-top: 1px solid var(--line); background: var(--bg-2); padding: 14px 0 18px; max-height: calc(100vh - var(--hdr-h)); overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; margin-top: 10px; }
.menu nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 6px; border-bottom: 1px solid var(--line); font-size: 1rem; font-weight: 500; color: var(--white); }
.menu nav a:last-child { border-bottom: 0; }
.menu nav a .ico { color: var(--accent-hi); }
.menu nav a.is-active { color: var(--accent-hi); }
.menu nav a .cart-n { margin-left: auto; }
.menu-search input { height: 44px; font-size: 1rem; }
@media (max-width: 1180px) {
  .hdr-nav, .hdr-search { display: none; }
  .hdr-in { gap: 10px; }
  .logo { margin-right: auto; }
  .hdr-burger { display: inline-flex; }
}
@media (min-width: 1181px) { .menu { display: none !important; } }

/* ── Pulsanti e link ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid transparent; background: transparent; font-family: var(--ff-body); font-size: .9rem; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; -webkit-appearance: none; }
.btn .ico { width: 16px; height: 16px; }
.btn--primary { background: var(--accent); color: #0b0b10; }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { border-color: var(--line-2); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent); background: rgba(139, 123, 255, .08); }
.btn--sm { min-height: 34px; padding: 0 12px; font-size: .84rem; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--accent-hi); }
.arrow-link .ico { width: 14px; height: 14px; transition: transform .15s; }
.arrow-link:hover .ico { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--text); font-size: .86rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--white); }

.kicker { margin-bottom: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }
.lead { font-size: 1.02rem; color: var(--text); max-width: 56ch; }
.row-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 3px 10px; border-radius: 100px; border: 1px solid var(--line-2); font-size: .78rem; color: var(--white); }

/* ── Conferme: in basso, spariscono da sole ── */
.flash { position: fixed; left: 50%; bottom: 20px; z-index: 940; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid rgba(139, 123, 255, .6); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8); color: var(--white); font-size: .9rem; animation: flash-out .5s 8s forwards; }
.flash .ico { color: var(--accent-hi); }
@keyframes flash-out { to { opacity: 0; visibility: hidden; transform: translate(-50%, 10px); } }

/* ── Apertura della home ── */
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(28px, 4vw, 56px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 860px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
.hero-txt h1 { margin-bottom: 14px; max-width: 14ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; font-size: .86rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { width: 14px; height: 14px; color: var(--accent-hi); stroke-width: 2.4; }
.hero-media { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(20, 20, 28, .72); overflow: hidden; aspect-ratio: 7 / 5; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }

/* Disegno animato: laser che incide e stampante che costruisce */
.hs { width: 100%; height: 100%; }
.hs * { vector-effect: non-scaling-stroke; }
.hs-rail { stroke: rgba(181, 169, 255, .35); stroke-width: 1.4; }
.hs-rail--b { stroke: rgba(76, 194, 255, .35); }
.hs-plate { fill: rgba(139, 123, 255, .05); stroke: rgba(181, 169, 255, .5); stroke-width: 1.3; }
.hs-grain { fill: none; stroke: rgba(181, 169, 255, .14); stroke-width: 1; }
.hs-text { font-family: var(--ff-display); font-weight: 700; font-size: 58px; fill: rgba(181, 169, 255, .3); stroke: var(--accent-hi); stroke-width: 1.3; }
.hs-head rect { fill: var(--surface-2); stroke: var(--accent-hi); stroke-width: 1.3; }
.hs-beam { stroke: var(--accent-hi); stroke-width: 1.2; opacity: .85; }
.hs-spot { fill: #fff; }
.hs-spot-glow { fill: var(--accent); opacity: .45; }
.hs-bed { stroke: rgba(76, 194, 255, .6); stroke-width: 2; stroke-linecap: round; }
.hs-layer { fill: rgba(76, 194, 255, .12); stroke: var(--blu3d); stroke-width: 1.1; transform-box: fill-box; transform-origin: 0 50%; }
.hs-layer.hs-rev { transform-origin: 100% 50%; }
.hs-nozzle rect, .hs-nozzle path { fill: var(--surface-2); stroke: var(--blu3d); stroke-width: 1.3; }
.hs-arm { stroke: rgba(76, 194, 255, .35); stroke-width: 1.4; }
.hs-l0 { animation: hs-l0 10s linear infinite; }
@keyframes hs-l0 { 0%, 0% { transform: scaleX(0); opacity: 1; } 7%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l1 { animation: hs-l1 10s linear infinite; }
@keyframes hs-l1 { 0%, 8% { transform: scaleX(0); opacity: 1; } 15%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l2 { animation: hs-l2 10s linear infinite; }
@keyframes hs-l2 { 0%, 16% { transform: scaleX(0); opacity: 1; } 23%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l3 { animation: hs-l3 10s linear infinite; }
@keyframes hs-l3 { 0%, 24% { transform: scaleX(0); opacity: 1; } 31%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l4 { animation: hs-l4 10s linear infinite; }
@keyframes hs-l4 { 0%, 32% { transform: scaleX(0); opacity: 1; } 39%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l5 { animation: hs-l5 10s linear infinite; }
@keyframes hs-l5 { 0%, 40% { transform: scaleX(0); opacity: 1; } 47%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l6 { animation: hs-l6 10s linear infinite; }
@keyframes hs-l6 { 0%, 48% { transform: scaleX(0); opacity: 1; } 55%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l7 { animation: hs-l7 10s linear infinite; }
@keyframes hs-l7 { 0%, 56% { transform: scaleX(0); opacity: 1; } 63%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l8 { animation: hs-l8 10s linear infinite; }
@keyframes hs-l8 { 0%, 64% { transform: scaleX(0); opacity: 1; } 71%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-l9 { animation: hs-l9 10s linear infinite; }
@keyframes hs-l9 { 0%, 72% { transform: scaleX(0); opacity: 1; } 79%, 88% { transform: scaleX(1); opacity: 1; } 96%, 100% { transform: scaleX(1); opacity: 0; } }
.hs-nozzle { animation: hs-nozzle 10s linear infinite; }
@keyframes hs-nozzle { 0% { transform: translate(384.0px, 286px); } 7% { transform: translate(472.0px, 286px); } 8% { transform: translate(468.0px, 273px); } 15% { transform: translate(388.0px, 273px); } 16% { transform: translate(391.6px, 260px); } 23% { transform: translate(464.4px, 260px); } 24% { transform: translate(461.5px, 247px); } 31% { transform: translate(394.5px, 247px); } 32% { transform: translate(396.4px, 234px); } 39% { transform: translate(459.6px, 234px); } 40% { transform: translate(459.0px, 221px); } 47% { transform: translate(397.0px, 221px); } 48% { transform: translate(396.4px, 208px); } 55% { transform: translate(459.6px, 208px); } 56% { transform: translate(461.5px, 195px); } 63% { transform: translate(394.5px, 195px); } 64% { transform: translate(391.6px, 182px); } 71% { transform: translate(464.4px, 182px); } 72% { transform: translate(468.0px, 169px); } 79% { transform: translate(388.0px, 169px); } 88% { transform: translate(388.0px, 169px); } 96%, 100% { transform: translate(384.0px, 286px); } }
@media (prefers-reduced-motion: reduce) { .hs-layer { transform: none !important; opacity: 1 !important; } .hs-nozzle { transform: translate(428px, 169px); } }

/* ── Schede ── */
.card, .form-panel { background: rgba(20, 20, 28, .78); border: 1px solid var(--line); border-radius: var(--r-lg); }
.form-panel { padding: clamp(18px, 2.4vw, 26px); }
.form-panel h2 { margin-bottom: 10px; }
.form-panel p { margin-bottom: 14px; }
.ph { aspect-ratio: var(--ph-ratio, 4/3); width: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; border-radius: var(--r-md); background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px), var(--surface); color: var(--muted); }
.ph .ico { width: 24px; height: 24px; opacity: .6; }
.ph-txt strong { font-size: .74rem; font-weight: 500; }

/* Scheda prodotto: la foto fa il lavoro, il testo è poco */
.p-card { display: flex; flex-direction: column; padding: 0; background: transparent; border: 0; border-radius: var(--r-lg); }
.p-card-media { position: relative; display: block; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.p-card-media img, .p-card-media .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: 0; }
.p-card:hover .p-card-media { border-color: var(--accent); transform: translateY(-2px); }
.p-tag { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 100px; background: rgba(11, 11, 16, .8); font-size: .7rem; font-weight: 600; color: var(--white); }
.p-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.p-tag--3d::before { background: var(--blu3d); }
.p-card-body { display: flex; flex-direction: column; gap: 2px; padding: 10px 2px 0; }
.p-card-cat { display: none; }
.p-card h3 { font-family: var(--ff-body); font-size: .95rem; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.p-card:hover h3 { color: var(--accent-hi); }
.p-card p { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.p-card-foot { margin-top: 4px; }
.p-card .arrow-link { display: none; }
.p-price { font-family: var(--ff-display); font-size: 1.02rem; font-weight: 700; color: var(--white); }
.p-price small { font-family: var(--ff-body); font-size: .76rem; font-weight: 400; color: var(--muted); }
.p-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 220px); gap: 16px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.p-row > * { scroll-snap-align: start; }
@media (max-width: 560px) { .p-row { grid-auto-columns: 46%; gap: 12px; } }

/* ── Servizi ── */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .services { grid-template-columns: minmax(0, 1fr); } }
.service { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(20, 20, 28, .78); transition: border-color .15s; }
.service:hover { border-color: rgba(139, 123, 255, .55); }
.service--3d:hover { border-color: rgba(76, 194, 255, .55); }
.service-ico { width: 40px; height: 40px; display: grid; place-content: center; border-radius: var(--r-md); background: rgba(139, 123, 255, .12); color: var(--accent-hi); }
.service-ico .ico { width: 20px; height: 20px; }
.service--3d .service-ico { background: rgba(76, 194, 255, .12); color: var(--blu3d); }
.service--3d .arrow-link { color: var(--blu3d); }
.service p { font-size: .93rem; }
.service .arrow-link { margin-top: auto; padding-top: 6px; }

/* ── Come funziona: una linea che si riempie ── */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps::before, .steps::after { content: ''; position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; border-radius: 2px; }
.steps::before { background: var(--line-2); }
.steps::after { background: linear-gradient(90deg, var(--accent), var(--blu3d)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s cubic-bezier(.4, 0, .2, 1); }
.steps.is-in::after { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.step-dot { width: 40px; height: 40px; display: grid; place-content: center; margin-bottom: 14px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--line-2); color: var(--muted); transition: border-color .4s, color .4s; }
.steps.is-in li .step-dot { border-color: var(--accent); color: var(--accent-hi); }
.steps.is-in li:nth-child(2) .step-dot { transition-delay: .45s; } .steps.is-in li:nth-child(3) .step-dot { transition-delay: .9s; } .steps.is-in li:nth-child(4) .step-dot { transition-delay: 1.35s; border-color: var(--blu3d); color: var(--blu3d); }
.steps:not(.is-in) .step-dot .ico * { animation: none; }
.steps h3 { margin-bottom: 4px; }
.steps p { font-size: .9rem; }
@media (max-width: 720px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .steps::before, .steps::after { left: 19px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-in::after { transform: scaleY(1); }
  .steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .step-dot { grid-row: span 2; margin: 0; }
}

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid rgba(139, 123, 255, .35); background: rgba(139, 123, 255, .07); }
.cta h2 { margin-bottom: 6px; }
.cta p { max-width: 58ch; }

/* ── Pagine interne ── */
.page-hero { padding: clamp(20px, 3vw, 36px) 0 clamp(14px, 2vw, 22px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.page-hero p { max-width: 68ch; }
.page-hero .hero-actions { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .8rem; color: var(--muted); }
.crumbs a:hover { color: var(--white); }
.crumbs span { opacity: .5; }
.crumbs b { font-weight: 500; color: var(--text); }
.dept-nav { position: sticky; top: var(--hdr-h); z-index: 700; background: rgba(11, 11, 16, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.dept-nav-inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.dept-nav-inner::-webkit-scrollbar { display: none; }
.dept-nav a { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; font-size: .88rem; font-weight: 500; color: var(--text); border-bottom: 2px solid transparent; white-space: nowrap; }
.dept-nav a:hover { color: var(--white); }
.dept-nav a.is-active { color: var(--white); border-bottom-color: var(--accent); }
.dept-nav a small { font-size: .74rem; color: var(--muted); }

.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: .82rem; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; padding: 9px 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--white); font-size: .93rem; transition: border-color .15s, background .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { cursor: pointer; appearance: none; padding-right: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d7d90' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.field select option { background: var(--surface); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(139, 123, 255, .08); }
.form-note { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.specs { border-top: 1px solid var(--line); }
.spec { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--white); text-align: right; }
.empty-box h2 { margin-bottom: 8px; }
.empty-box p { margin-bottom: 16px; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.two-col h2 { margin-bottom: 14px; }
.num-list { counter-reset: n; display: grid; gap: 14px; margin-bottom: 20px; }
.num-list li { counter-increment: n; position: relative; padding-left: 42px; min-height: 28px; }
.num-list li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-content: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-hi); font-family: var(--ff-display); font-size: .84rem; font-weight: 700; }
.num-list b { display: block; color: var(--white); font-weight: 600; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.contact { display: grid; gap: 2px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(20, 20, 28, .78); }
a.contact:hover { border-color: var(--accent); }
.contact .ico { width: 20px; height: 20px; margin-bottom: 8px; color: var(--accent-hi); }
.contact span { font-size: .78rem; color: var(--muted); }
.contact b { color: var(--white); font-weight: 600; word-break: break-word; }
.contact small { font-size: .8rem; color: var(--text); }

/* ── Piè di pagina ── */
.ftr { margin-top: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); background: rgba(11, 11, 16, .8); font-size: .88rem; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 28px; }
@media (max-width: 800px) { .ftr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ftr-brand { grid-column: 1 / -1; } }
.ftr-brand p { margin-top: 12px; max-width: 34ch; }
.ftr h2 { margin-bottom: 10px; font-family: var(--ff-body); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ftr-grid nav a, .ftr-grid div > a, .ftr-grid div > span { display: block; padding: 3px 0; color: var(--text); word-break: break-word; }
.ftr-grid a:hover { color: var(--white); }
.ftr-bottom { padding-top: 16px; padding-bottom: 20px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }


/* ───────── Negozio: filtri a lato e risultati ───────── */


.page-hero .kicker { display: none; }







.shop { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 960px) { .shop { grid-template-columns: minmax(0, 1fr); } }

.filters-box { position: sticky; top: calc(var(--hdr-h) + 60px); padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.filters-box summary { display: flex; align-items: center; gap: 10px; font-family: var(--ff-display); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--white); cursor: pointer; list-style: none; }
.filters-box summary::-webkit-details-marker { display: none; }
.filters-box summary svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2; }
.filters-box form { margin-top: 22px; }
@media (min-width: 961px) { .filters-box summary { pointer-events: none; } }
@media (max-width: 960px) { .filters-box { position: static; } }

.filter-group { border: 0; padding: 18px 0 6px; margin: 0; border-top: 1px solid var(--line); }
.filter-group legend { float: left; width: 100%; margin-bottom: 12px; font-family: var(--ff-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.opt { clear: both; display: flex; align-items: center; gap: 12px; min-height: 40px; cursor: pointer; color: var(--text); font-size: .93rem; }
.opt:hover { color: var(--white); }
.opt input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 50%; background: var(--bg); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.opt input[type="checkbox"] { border-radius: 6px; }
.opt input:checked { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--green); }
.opt--3d input:checked { border-color: var(--blu3d); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--blu3d); }
.opt input:checked + span { color: var(--white); }
.price-range { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-range .field { margin-bottom: 8px; }
.filter-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }

.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.shop-count { font-size: .95rem; }
.shop-count b { font-family: var(--ff-display); font-size: 1.3rem; color: var(--white); margin-right: 4px; }
.shop-sort { display: flex; align-items: center; gap: 12px; margin: 0; }
.shop-sort label { margin: 0; white-space: nowrap; }
.shop-sort select { min-width: 220px; padding-top: 11px; padding-bottom: 11px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid rgba(139,123,255,.4); background: rgba(139,123,255,.08); color: var(--white); font-size: .84rem; }
.chips a:hover { border-color: var(--green); }
.chips a span { font-size: 1.1rem; line-height: 1; color: var(--green-hi); }

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 16px; }
@media (max-width: 560px) { .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-grid .p-card { padding: 8px 8px 14px; } .p-grid .p-card-body { padding: 12px 4px 0; }
  .p-grid .p-card h3 { font-size: .95rem; } .p-grid .p-card p, .p-grid .p-card-cat { display: none; }
  .p-grid .p-card-foot { flex-direction: column; align-items: flex-start; gap: 8px; } .p-grid .p-price { font-size: 1.05rem; } }

.empty-box h2 { font-size: 1.5rem; margin-bottom: 12px; }
.empty-box p { margin-bottom: 24px; max-width: 56ch; }

/* ───────── Scheda prodotto: anteprima · configurazione · acquisto ───────── */
.p-top { padding-top: clamp(14px, 2vw, 22px); }
.p-top .crumbs { margin-bottom: 0; }
.p-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); gap: clamp(24px, 3vw, 44px); align-items: start; padding-top: clamp(18px, 2.4vw, 30px); padding-bottom: clamp(48px, 7vw, 96px); }
.p-form { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1180px) { .p-form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .p-page { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 861px) { .p-media { position: sticky; top: calc(var(--hdr-h) + 24px); } }
@media (min-width: 1181px) { .buybox { position: sticky; top: calc(var(--hdr-h) + 24px); } }

.p-preview { position: relative; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, var(--surface-2), var(--bg-2) 70%); overflow: hidden; }
.p-preview .board { width: 80%; }
.p-preview-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-sm); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: rgba(9,9,13,.7); border: 1px solid var(--line-2); }
.p-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.p-thumbs img, .p-thumbs .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: var(--r-md); padding: 6px; }
.p-thumbs .ph svg { width: 22px; height: 22px; }
.p-note { margin-top: 10px; font-size: .82rem; color: var(--muted); }

/* La tavola incisa (anteprima) */
.board { position: relative; width: 100%; aspect-ratio: 8 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px; border-radius: 18px; text-align: center;
  background-color: #D4AE7E; color: #3B210D; font-family: var(--ff-display); font-weight: 700;
  background-image: repeating-linear-gradient(95deg, rgba(60,30,8,.09) 0 2px, transparent 2px 11px), repeating-linear-gradient(92deg, rgba(255,240,215,.08) 0 1px, transparent 1px 29px);
  box-shadow: 0 26px 60px -18px rgba(0,0,0,.8), inset 0 0 0 1px rgba(0,0,0,.18); transition: background-color .25s, color .25s; }
.board--3d { background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 1px, transparent 1px 4px); border-radius: 999px; aspect-ratio: 3 / 1; }
.board-line1, .board-line2 { word-break: break-word; text-shadow: 0 0 1px rgba(20,8,0,.5), 0 0 7px rgba(100,45,10,.2); }
.board--3d .board-line1, .board--3d .board-line2 { text-shadow: none; }
.board-line1 { font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.08; }
.board-line2 { font-size: clamp(.9rem, 1.4vw, 1.15rem); }

.p-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.p-tag--static { position: static; background: transparent; backdrop-filter: none; }
.p-tag--plain { border-color: var(--line-2); color: var(--text); }
.p-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.p-info .lead { font-size: 1.02rem; }
.p-unit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 20px 0 6px; }
.p-unit-price { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700; color: var(--white); letter-spacing: -.02em; }
.p-unit small { color: var(--muted); }
.p-unit-save { padding: 3px 12px; border-radius: var(--r-sm); font-size: .8rem; font-weight: 600; color: var(--white); background: rgba(139,123,255,.18); border: 1px solid rgba(139,123,255,.5); }

.opt-group { border: 0; margin: 0; padding: 18px 0 0; margin-top: 18px; border-top: 1px solid var(--line); min-width: 0; }
.opt-group legend, .opt-title { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-family: var(--ff-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--white); }
.opt-group > *:not(legend) { clear: both; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-size: .9rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill:hover { border-color: rgba(139,123,255,.6); color: var(--white); }
.pill:has(input:checked) { border-color: var(--green); background: rgba(139,123,255,.14); color: var(--white); box-shadow: inset 0 0 0 1px var(--green); }
.pill:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.pill small { color: var(--muted); }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex: none; }
.hint { margin-top: 7px; font-size: .78rem; color: var(--muted); }
.opt-group .field:last-child { margin-bottom: 0; }

.extras { display: grid; gap: 10px; }
.extra { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); cursor: pointer; transition: border-color .2s, background .2s; }
.extra:hover { border-color: rgba(139,123,255,.6); }
.extra:has(input:checked) { border-color: var(--green); background: rgba(139,123,255,.12); box-shadow: inset 0 0 0 1px var(--green); }
.extra input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--bg); cursor: pointer; }
.extra input:checked { border-color: var(--green); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 10px var(--green); }
.extra-ico svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.extra-txt b { display: block; color: var(--white); font-weight: 600; font-size: .95rem; }
.extra-txt small { display: block; margin-top: 2px; font-size: .82rem; line-height: 1.5; color: var(--text); }
.extra-price { font-family: var(--ff-display); font-weight: 600; color: var(--white); text-align: right; white-space: nowrap; }
.extra-price small { display: block; font-family: var(--ff-body); font-weight: 400; font-size: .72rem; color: var(--muted); }
@media (max-width: 520px) { .extra { grid-template-columns: auto 1fr auto; } .extra-ico { display: none; } }

.tiers { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tiers th { padding: 0 12px 10px; text-align: left; font-family: var(--ff-display); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tiers td { padding: 12px; border-top: 1px solid var(--line); color: var(--text); }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers td:last-child { font-family: var(--ff-display); color: var(--white); font-weight: 500; }
.tiers tr.is-active td { background: rgba(139,123,255,.12); color: var(--white); }
.tiers tr.is-active td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.p-info .specs { margin-top: 0; clear: both; }
.prose-block p { font-size: .96rem; }

/* Riquadro d'acquisto */
.buybox { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.buy-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.buy-total-lab { font-family: var(--ff-display); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.buy-total-num { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.buy-lines { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.buy-lines li { display: flex; justify-content: space-between; gap: 12px; }
.buy-lines li span:last-child { color: var(--white); white-space: nowrap; }
.buy-lines li.is-save span:last-child { color: var(--green-hi); }
.buy-eta { display: flex; gap: 12px; align-items: flex-start; }
.buy-eta svg { width: 22px; height: 22px; margin-top: 2px; stroke: var(--green); fill: none; stroke-width: 1.6; flex: none; }
.buy-eta span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.buy-eta b { display: block; font-family: var(--ff-display); font-size: 1.05rem; color: var(--white); }
.buy-eta small { font-size: .8rem; color: var(--text); }
.buy-made { display: flex; gap: 10px; font-size: .86rem; }
.buy-made svg, .buy-notes svg { width: 16px; height: 16px; margin-top: 4px; stroke: var(--green); fill: none; stroke-width: 2.4; flex: none; }
.buy-made b { color: var(--white); font-weight: 600; }
.buy-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy-qty label { font-family: var(--ff-display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: rgba(255,255,255,.04); }
.qty button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--white); font-size: 1.3rem; cursor: pointer; border-radius: var(--r-sm); }
.qty button:hover { color: var(--green-hi); }
.qty input { width: 46px; height: 38px; border: 0; background: transparent; text-align: center; color: var(--white); font-family: var(--ff-display); font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-btn { width: 100%; }
.buy-notes { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.5; }
.buy-notes li { display: flex; gap: 10px; }

/* ───────── Carrello ───────── */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3vw, 40px); align-items: start; }
@media (max-width: 980px) { .cart { grid-template-columns: minmax(0, 1fr); } }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; padding: 14px; align-items: start; }
.cart-thumb img, .cart-thumb .ph { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: var(--r-md); padding: 6px; }
.cart-thumb .ph svg { width: 24px; height: 24px; }
.cart-body h2 { font-family: var(--ff-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.cart-body h2 a:hover { color: var(--green-hi); }
.cart-details { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: .86rem; }
.cart-details div { display: contents; }
.cart-details dt { color: var(--muted); }
.cart-details dd { color: var(--white); margin: 0; word-break: break-word; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 16px; }
.cart-qty { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cart-qty label { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cart-qty input { width: 64px; padding: 6px 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--white); text-align: center; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--text); font-size: .86rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--white); }
.cart-price { text-align: right; }
.cart-price b { display: block; font-family: var(--ff-display); font-size: 1.1rem; color: var(--white); white-space: nowrap; }
.cart-price small { display: block; font-size: .8rem; color: var(--muted); }
.cart-price .cart-save { color: var(--green-hi); }
@media (max-width: 620px) { .cart-item { grid-template-columns: 76px minmax(0, 1fr); } .cart-price { grid-column: 1 / -1; text-align: left; } }
.cart-summary { position: sticky; top: calc(var(--hdr-h) + 24px); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 980px) { .cart-summary { position: static; } }
.cart-summary h2 { font-size: 1.1rem; margin: 0; }
.cart-summary p { margin: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.sum-row b { color: var(--white); }
.sum-total { padding-top: 12px; border-top: 1px solid var(--line); font-family: var(--ff-display); font-size: 1.15rem; color: var(--white); }

.cart-summary .form-note { margin-top: 0; text-align: left; }

/* ───────── Installazione e messaggi ───────── */
.install-title { margin-bottom: 14px; }
.install .lead { margin-bottom: 24px; }
.form-stack { display: flex; flex-direction: column; gap: 18px; }
.form-stack fieldset { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.form-stack .field { margin-bottom: 0; }
.form-stack .btn { align-self: flex-start; }
.errors, .notice-box { margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-md); font-size: .93rem; color: var(--white); max-width: none; }
.errors { border: 1px solid #e05252; background: rgba(224,82,82,.12); }
.errors p + p { margin-top: 6px; }
.notice-box { border: 1px solid rgba(139,123,255,.5); background: rgba(139,123,255,.1); }
.connected { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-bottom: 20px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.connected strong { color: var(--white); }
.db-option { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 54px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg-2); cursor: pointer; }
.db-option:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.db-option input, .check input { width: 20px; height: 20px; accent-color: var(--green); flex: none; }
.db-name { font-weight: 600; color: var(--white); word-break: break-all; }
.db-meta { font-size: .84rem; color: var(--muted); }
.badge { padding: 2px 10px; border-radius: var(--r-sm); border: 1px solid currentColor; font-size: .76rem; font-weight: 600; }
.badge-vuoto { color: #6fe0a0; } .badge-meco { color: var(--green-hi); } .badge-occupato { color: #f0a3a3; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .93rem; }
.check input { margin-top: 3px; }
code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); color: var(--white); font-size: .92em; }
textarea.code, .debug { width: 100%; margin-top: 16px; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--white); font: .9rem/1.5 ui-monospace, 'Courier New', monospace; white-space: pre-wrap; }
.ftr-grid .ftr-brand > a.logo { display: inline-flex; padding: 0; }

/* ── Tratti presi da DGM: barra sospesa in vetro, pannelli in vetro, bagliori di colore ── */
:root { --hdr-h: 78px; --glass: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); --glass-line: rgba(255, 255, 255, .11); --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .1); }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none; background:
  radial-gradient(60% 50% at 12% 0%, rgba(139, 123, 255, .16), transparent 70%),
  radial-gradient(50% 45% at 100% 30%, rgba(76, 194, 255, .1), transparent 70%),
  radial-gradient(60% 50% at 30% 100%, rgba(139, 123, 255, .08), transparent 70%); }
.hdr { top: 10px; margin-top: 10px; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; padding-inline: 12px; pointer-events: none; }
.hdr-in, .menu { pointer-events: auto; }
.hdr-in { height: 58px; padding-inline: 10px 10px; border-radius: 18px; background: rgba(20, 20, 30, .66); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi), 0 14px 34px -14px rgba(0, 0, 0, .8); }
.hdr-nav a { border-radius: 10px; }
.hdr-nav a.is-active { box-shadow: none; border-radius: 10px; background: rgba(255, 255, 255, .07); }
.hdr-nav a.is-main { background: linear-gradient(135deg, var(--accent), #6f8bff); box-shadow: 0 6px 18px -8px rgba(139, 123, 255, .9); }
.hdr-nav a.is-main:hover { background: linear-gradient(135deg, var(--accent-hi), #8fa6ff); }
.hdr-search input, .hdr-cart, .hdr-burger { border-radius: 10px; }
.menu { max-width: 1200px; margin: 8px auto 0; padding: 12px 0 8px; border-radius: 18px; border: 1px solid var(--glass-line); background: rgba(20, 20, 30, .94); box-shadow: var(--glass-hi), 0 18px 40px -14px rgba(0, 0, 0, .85); max-height: calc(100vh - 96px); }
.menu .container { padding-inline: 14px; }
.dept-nav { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn--primary { background: linear-gradient(135deg, var(--accent), #6f8bff); box-shadow: 0 8px 20px -10px rgba(139, 123, 255, .9); }
.btn--primary:hover { background: linear-gradient(135deg, var(--accent-hi), #8fa6ff); }
.card, .form-panel, .service, .contact, .hero-media, .hdr-suggest { background: var(--glass), rgba(16, 16, 24, .82); border-color: var(--glass-line); box-shadow: var(--glass-hi); border-radius: 18px; }
.p-card { background: none; box-shadow: none; }
.hdr-suggest { border-radius: 14px; box-shadow: var(--glass-hi), 0 18px 40px -12px rgba(0, 0, 0, .8); }
.cta { border-radius: 18px; background: linear-gradient(120deg, rgba(139, 123, 255, .16), rgba(76, 194, 255, .08)); box-shadow: var(--glass-hi); }
.service { position: relative; overflow: hidden; }
.service::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 123, 255, .22), transparent); pointer-events: none; }
.service--3d::after { background: radial-gradient(closest-side, rgba(76, 194, 255, .2), transparent); }
.row-head h2, .two-col h2 { position: relative; padding-top: 14px; }
.row-head h2::before, .two-col h2::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--blu3d)); }
.form-panel h2 { padding-top: 0; } .form-panel h2::before { display: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--blu3d)); }
.hero h1 { background: linear-gradient(100deg, #fff 55%, var(--accent-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--alt { background: rgba(255, 255, 255, .022); }
.hdr { position: sticky; }
.menu { position: absolute; left: 12px; right: 12px; top: 100%; }
.menu { background: #15151e; }

/* ── Catalogo, prodotto, carrello: etichette in minuscolo e misure compatte ── */
.filters-box summary, .filter-group legend, .p-preview-tag, .tiers th, .buy-total-lab, .buy-eta span, .buy-qty label, .cart-qty label { font-family: var(--ff-body); font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.filters-box summary { font-size: .92rem; font-weight: 600; color: var(--white); }
.filter-group legend { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.page-hero .kicker { display: none; }
.p-preview-tag { padding: 3px 9px; font-size: .74rem; }
.p-preview-note { margin: 8px 2px 4px; font-size: .8rem; color: var(--muted); }
.font-custom { margin: 12px 0 0; }
.extras { gap: 8px; }
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 4px; padding: 0 6px 0 0; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: default; box-shadow: none; }
.extra:has(input:checked) { border-color: var(--accent); background: rgba(139, 123, 255, .1); box-shadow: none; }
.extra-main { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 6px 10px 12px; cursor: pointer; }
.extra-main b { color: var(--white); font-weight: 600; font-size: .9rem; }
.extra input { width: 18px; height: 18px; border-radius: 5px; }
.extra input:checked { box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 9px var(--accent); }
.extra-ico svg { width: 18px; height: 18px; }
.extra-price { font-size: .92rem; }
.info-btn { width: 32px; height: 32px; display: grid; place-content: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.info-btn:hover, .info-btn[aria-expanded="true"] { color: var(--accent-hi); background: rgba(139, 123, 255, .12); }
.extra-info { grid-column: 1 / -1; margin: 0; padding: 0 14px 12px 12px; font-size: .84rem; line-height: 1.55; color: var(--text); }
.buy-eta svg, .buy-made svg { width: 18px; height: 18px; stroke-width: 1.8; margin-top: 3px; }
.buy-eta b { font-size: .98rem; }
.buy-eta small { display: block; margin-top: 2px; line-height: 1.5; }
.buy-made { font-size: .84rem; line-height: 1.5; }
.buy-btn { width: 100%; }

/* ── Ordine ── */
.co-steps { display: grid; gap: 16px; align-content: start; min-width: 0; }
.co-box { margin: 0; min-width: 0; }
.co-box legend, .co-box > h2 { float: left; width: 100%; margin-bottom: 14px; padding: 0; font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.co-box legend + * { clear: both; }
.co-type { margin-bottom: 16px; }
.co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.co-grid[hidden] { display: none; }
.co-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.co-choices { display: grid; gap: 8px; margin-bottom: 14px; }
.co-choice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; }
.co-choice[hidden] { display: none; }
.co-choice:has(input:checked) { border-color: var(--accent); background: rgba(139, 123, 255, .1); }
.co-choice input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); }
.co-choice input:checked { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--bg), inset 0 0 0 9px var(--accent); }
.co-choice b { display: block; color: var(--white); font-weight: 600; font-size: .93rem; }
.co-choice small { display: block; font-size: .82rem; line-height: 1.45; color: var(--text); }
.co-choice .ico { color: var(--muted); }
.co-alert { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid rgba(239, 107, 107, .6); background: rgba(239, 107, 107, .1); color: var(--white); font-size: .9rem; }
.co-alert .ico { color: var(--danger); }
.field.has-error input { border-color: var(--danger); }
.field-err { margin-top: 6px; font-size: .82rem; color: #ff9a9a; }
.co-items { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .88rem; }
.co-items li { display: flex; justify-content: space-between; gap: 12px; }
.co-items b { color: var(--white); font-weight: 600; white-space: nowrap; }
.co-terms { display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: .84rem; line-height: 1.5; cursor: pointer; }
.co-terms input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.co-terms.has-error span { color: #ff9a9a; }
.co-summary .btn { width: 100%; }
.order-n { font-family: var(--ff-display); color: var(--white); letter-spacing: .02em; }
.cart-item--plain { grid-template-columns: minmax(0, 1fr) auto; }
.co-box > h2 { float: none; width: auto; }
.co-box .num-list { margin-bottom: 0; }

/* ── Account ── */
.hdr-user span { font-size: .88rem; font-weight: 500; max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1080px) { .hdr-user span { display: none; } }
@media (max-width: 900px) { .hdr-user { display: none; } }
.auth { display: grid; justify-content: center; grid-template-columns: minmax(0, 440px); }
.auth-box h1 { font-size: 1.6rem; margin-bottom: 14px; }
.auth-lead { margin-bottom: 16px; }
.auth-btn { width: 100%; margin-top: 6px; }
.auth-alt { margin: 14px 0 0; font-size: .9rem; text-align: center; }
.auth-alt a, .co-login a { color: var(--accent-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.auth-box .co-alert { margin-bottom: 14px; }
.auth-box .co-terms { margin-bottom: 10px; }
.co-login { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); font-size: .9rem; }
.co-login .ico { color: var(--accent-hi); margin-top: 3px; }
.co-save { margin-top: 2px; }
.co-save[hidden], .field[hidden] { display: none; }
.acc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; }
.acc-nav { display: grid; gap: 2px; position: sticky; top: calc(var(--hdr-h) + 12px); }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; font-size: .92rem; font-weight: 500; color: var(--text); cursor: pointer; text-align: left; }
.acc-nav a:hover, .acc-nav button:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.acc-nav a.is-active { color: var(--white); background: rgba(139, 123, 255, .14); }
.acc-nav .ico { width: 16px; height: 16px; color: var(--accent-hi); }
.acc-nav form { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  .acc { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .acc-nav { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .acc-nav form { margin: 0; padding: 0; border: 0; }
}
.acc-main { display: grid; gap: 16px; min-width: 0; }
.acc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.order-list { display: grid; margin-bottom: 12px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.order-list li:last-child .order-row { border-bottom: 0; }
.order-row:hover b:first-child { color: var(--accent-hi); }
.order-row b { color: var(--white); font-weight: 600; }
.order-row small { display: block; font-size: .8rem; color: var(--muted); }
.order-row .ico { width: 14px; height: 14px; color: var(--muted); }
@media (max-width: 560px) { .order-row { grid-template-columns: minmax(0, 1fr) auto; } .order-row .ico { display: none; } .order-row .status { grid-row: 2; justify-self: start; } }
.status { display: inline-block; padding: 2px 9px; border-radius: 100px; border: 1px solid var(--line-2); font-family: var(--ff-body); font-size: .74rem; font-weight: 600; color: var(--white); white-space: nowrap; vertical-align: middle; }
.status--pagato, .status--completato, .status--pronto, .status--spedito { border-color: rgba(92, 214, 150, .6); color: #8ee6b8; }
.status--in_lavorazione { border-color: rgba(76, 194, 255, .6); color: var(--blu3d); }
.status--in_attesa_pagamento { border-color: rgba(240, 190, 90, .6); color: #f3cf85; }
.status--annullato { color: var(--muted); }
.order-items { display: grid; margin: 12px 0; border-top: 1px solid var(--line); }
.order-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-items b { color: var(--white); font-weight: 600; white-space: nowrap; }
.order-items div b { white-space: normal; }
.order-items small { display: block; font-size: .82rem; color: var(--muted); }
.acc-main .sum-row { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 6px; }
.acc-main .co-box .btn { margin-top: 6px; }
.addr-list { display: grid; gap: 10px; }
.addr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 16px 18px; }
.addr b { color: var(--white); }
.addr p { margin: 4px 0 0; font-size: .9rem; }
.addr-actions { display: flex; gap: 16px; align-items: center; }
.acc-danger summary { cursor: pointer; font-weight: 600; color: var(--white); }
.acc-danger p { margin: 12px 0; font-size: .9rem; }
.btn--danger { border-color: rgba(239, 107, 107, .6); color: #ff9a9a; }
.btn--danger:hover { background: rgba(239, 107, 107, .12); border-color: var(--danger); }

/* ── Codice sconto e gestione ── */
.co-coupon { margin: 0; }
.co-coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.co-coupon-row .btn { width: auto; min-height: 38px; }
.field-err[hidden] { display: none; }
.sum-discount b, .sum-discount span { color: #8ee6b8; }
.adm-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 10px; font-size: .86rem; }
.adm-stats b { display: block; font-family: var(--ff-display); font-size: 1.3rem; color: var(--white); }
.adm-filter { margin-bottom: 8px; }
.adm-filter a.is-on { border-color: var(--accent); color: var(--white); background: rgba(139, 123, 255, .14); }
.adm-h { margin-top: 22px; }
.adm-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 110px; gap: 0 12px; }
.adm-zone + .adm-zone label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) { .adm-zone { grid-template-columns: minmax(0, 1fr); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid var(--line); } .adm-zone + .adm-zone label { position: static; width: auto; height: auto; clip: auto; } }
.adm-sheet .cart-details { margin-top: 6px; }
.adm-sheet .specs { margin: 14px 0; }
li.order-row form { margin: 0; }
@media print {
  body { background: #fff; color: #000; }
  .bg, .hdr, .ftr, .acc-nav, .page-hero, .adm-noprint, .flash, body::before { display: none !important; }
  .adm-sheet { border: 0; background: none; box-shadow: none; padding: 0; }
  .adm-sheet *, .adm-sheet .status { color: #000 !important; border-color: #999 !important; }
  .acc { display: block; }
}

/* ── Buoni regalo, credito, foto ── */
.co-digital { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.co-digital .ico { color: var(--accent-hi); margin-top: 3px; }
.co-digital b { color: var(--white); }
.co-digital[hidden], .co-choices[hidden], .form-note[hidden] { display: none; }
.co-credit { margin: 2px 0; }
.credit-big { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: var(--white); margin: 0 0 6px; }
.order-items b.plus { color: #8ee6b8; }
.adm-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 16px; }
.adm-photos li { display: grid; gap: 4px; justify-items: start; }
.adm-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line-2); }
.adm-photos form { margin: 0; }
.adm-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.adm-upload .field { margin: 0; }
.adm-upload input[type=file] { padding: 7px 10px; }
.co-coupon-row .field { margin: 0; }
.co-coupon-row { align-items: end; }

.gift-card { aspect-ratio: 16 / 10; display: grid; align-content: center; justify-items: center; gap: 6px; border-radius: 18px; border: 1px solid rgba(139, 123, 255, .45); background: linear-gradient(135deg, rgba(139, 123, 255, .28), rgba(76, 194, 255, .14)), var(--surface); color: var(--white); }
.gift-card .ico { width: 34px; height: 34px; color: var(--accent-hi); }
.gift-card b { font-family: var(--ff-display); font-size: 1.3rem; }
.gift-card span { font-size: .78rem; letter-spacing: .3em; color: var(--text); }

/* Correzioni: i riquadri dell'ordine vanno sempre sotto il titolo; le righe nascoste restano nascoste */
.co-box legend ~ * { clear: both; }
.sum-row[hidden], .co-terms[hidden], [data-gift-login][hidden] { display: none !important; }
[data-gift-login] a { color: var(--accent-hi); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.extra input:disabled { opacity: .7; }

/* ── Pannello: varianti, campi, categorie, extra ── */
.adm-group { margin: 14px 0; padding: 12px; border-radius: var(--r-md); border: 1px solid var(--line); }
.adm-group-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.adm-group-head b { color: var(--white); }
.adm-group-head form, .adm-row { margin: 0; }
.adm-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto auto 64px; gap: 8px; align-items: center; padding: 4px 0; }
.adm-row--field { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 64px auto auto 64px; }
.adm-row--cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto 84px auto; }
.adm-row--new { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.adm-row input:not([type=checkbox]):not([type=color]):not([type=radio]) { width: 100%; min-width: 0; height: 36px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--white); font-size: .9rem; }
.adm-row input:focus { outline: none; border-color: var(--accent); }
.adm-row input[readonly] { opacity: .5; }
.adm-row small { font-size: .78rem; color: var(--muted); }
.adm-swatch { display: inline-flex; align-items: center; gap: 6px; }
.adm-swatch input[type=color] { width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: 6px; background: none; }
.adm-check { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; white-space: nowrap; cursor: pointer; }
.adm-check input, .adm-swatch input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); }
.adm-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-top: 12px; }
.adm-inline .field { margin: 0; flex: 1 1 160px; }
.adm-extra { padding: 14px 0; border-bottom: 1px solid var(--line); }
.adm-extra:last-of-type { border-bottom: 0; }
.adm-extra-foot { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.adm-extra-foot .btn { margin-left: auto; margin-top: 0 !important; }
@media (max-width: 700px) {
  .adm-row, .adm-row--field, .adm-row--cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 8px 0; border-bottom: 1px solid var(--line); }
  .adm-row > input:first-of-type { grid-column: 1 / -1; }
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.opt-fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.opt-fieldset legend { margin-bottom: 6px; padding: 0; font-size: .82rem; font-weight: 500; color: var(--text); }
.field input[type=file] { padding: 7px 10px; }
.adm-msg { margin: 14px 0; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--white); }
.adm-sheet .specs a { color: var(--accent-hi); }

.prose h2 { margin: 26px 0 8px; font-size: 1.15rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 10px; max-width: 70ch; }
.prose ul { margin: 0 0 12px 18px; list-style: disc; }
.co-terms a { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ── Preferiti e recensioni ── */
.stars { color: #f3c969; letter-spacing: 1px; font-size: .95em; white-space: nowrap; }
.stars span { color: rgba(255, 255, 255, .18); }
.p-card-stars { font-size: .82rem; }
.p-card-stars small { color: var(--muted); }
.p-rating { margin: -4px 0 10px; font-size: .9rem; }
.p-rating a:hover { color: var(--white); }
.wish-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 36px; border: 0; background: none; color: var(--text); font-size: .88rem; cursor: pointer; border-radius: var(--r-sm); }
.wish-btn:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.wish-btn .ico { width: 16px; height: 16px; }
.wish-btn.is-on { color: #ff8fa3; }
.wish-btn.is-on .ico { fill: currentColor; }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
@media (max-width: 800px) { .rev-grid { grid-template-columns: minmax(0, 1fr); } }
.rev-list { display: grid; gap: 0; }
.rev-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rev-list li:first-child { padding-top: 0; }
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 6px; }
.rev-head b { color: var(--white); }
.rev-head small { color: var(--muted); font-size: .8rem; }
.rev-head small a { text-decoration: underline; }
.rev .form-panel h3 { margin-bottom: 10px; }
.rate { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; border: 0; padding: 0; margin: 0 0 12px; position: relative; padding-top: 24px; }
.rate legend { position: absolute; top: 0; left: 0; font-size: .82rem; color: var(--text); }
.rate input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate label { font-size: 1.7rem; line-height: 1; color: rgba(255, 255, 255, .2); cursor: pointer; padding: 2px; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: #f3c969; }
.rate input:focus-visible + label { outline: 2px solid var(--accent-hi); border-radius: 4px; }
.acc-main .p-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }


/* ═════════ Stile 0.19 — barra piena, superfici piatte, titoli in Archivo, pulsanti con il bordo sotto ═════════ */
:root {
  --bg: #101113; --bg-2: #0a0b0d; --surface: #141418; --surface-2: #1c1d20;
  --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --white: #fff; --text: #b8bcc6; --muted: #8b8d94;
  --accent: #7c5cff; --accent-hi: #a897ff; --accent-dk: #4a31b8; --accent-rgb: 124, 92, 255;
  --ff-display: 'Archivo', system-ui, sans-serif;
  --r-sm: 8px; --r-md: 10px; --r-lg: 12px; --hdr-h: 80px;
  --glass: none; --glass-line: rgba(255, 255, 255, .09); --glass-hi: none;
}
body { font-size: 15px; line-height: 1.6; background: var(--bg); }
body::before { display: none; }
::selection { color: #fff; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.035em; }
h1 { font-weight: 900; letter-spacing: -.04em; }
h3 { letter-spacing: -.02em; }
.container { max-width: 1216px; }

/* Barra in alto */
.hdr { top: 0; margin-top: 0; padding-inline: 0; pointer-events: auto; background: rgba(10, 11, 13, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { max-width: 1344px; height: var(--hdr-h); padding-inline: var(--gutter); gap: 14px; border-radius: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.logo img { width: 38px; height: 38px; border: 0; }
.logo span { font-weight: 900; font-size: 1.6rem; letter-spacing: .02em; }
.hdr-nav { gap: 2px; margin-left: 10px; }
.hdr-nav a { position: relative; height: 38px; padding: 0 9px; gap: 6px; border-radius: 8px; font-size: .94rem; color: #a1a1aa; }
.hdr-nav a .ico { width: 17px; height: 17px; color: #71717a; transition: color .15s; }
.hdr-nav a:hover { background: none; color: #fff; }
.hdr-nav a:hover .ico { color: var(--accent-hi); }
.hdr-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.hdr-nav a:hover::after, .hdr-nav a.is-active::after { transform: scaleX(1); }
.hdr-nav a.is-active { color: #fff; background: none; box-shadow: none; border-radius: 8px; }
.hdr-nav a.is-active .ico { color: #fff; }
@media (max-width: 1340px) { .hdr-nav a .ico { display: none; } }
.hdr-search { width: 40px; transition: width .25s; }
.hdr-search:focus-within { width: 220px; }
.hdr-search > .ico { left: 11px; width: 18px; height: 18px; color: #e4e4e7; }
.hdr-search input { height: 40px; padding: 0 0 0 38px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.hdr-search input::placeholder { color: transparent; }
.hdr-search:focus-within input { padding-right: 12px; cursor: text; }
.hdr-search:focus-within input::placeholder { color: var(--muted); }
.hdr-suggest { left: auto; right: 0; border-radius: 12px; background: var(--surface); box-shadow: 0 18px 40px -12px #000; }
.hdr-cart { height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.hdr-cart:hover { border-color: rgba(var(--accent-rgb), .6); }
.hdr-cart.hdr-user { order: 3; border: 0; background: #1c1d22; padding: 0 16px; font-size: .9rem; font-weight: 600; }
.hdr-cart.hdr-user:hover { background: #26272e; }
.hdr-burger { order: 4; width: 40px; height: 40px; border-radius: 8px; border-color: var(--line); background: var(--surface); }
.cart-n { color: #fff; }
.hdr-cart .cart-n[data-zero] { display: none; }
.menu { position: absolute; left: 0; right: 0; top: 100%; max-width: none; margin: 0; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: #0a0b0d; box-shadow: 0 24px 40px -20px #000; max-height: calc(100vh - var(--hdr-h)); }
.menu .container { padding-inline: var(--gutter); }
@media (max-width: 1180px) { .hdr-cart.hdr-user { display: none; } .logo span { font-size: 1.4rem; } }

/* Pulsanti */
.btn { min-height: 42px; padding: 0 18px; border-radius: 8px; font-weight: 700; transition: background .2s, transform .2s, border-color .2s; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 3px var(--accent-dk); }
.btn--primary:hover { background: #8e72ff; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 1px var(--accent-dk); }
.btn--ghost { background: rgba(16, 17, 19, .5); border-color: rgba(255, 255, 255, .19); }
.btn--ghost:hover { background: #202127; border-color: rgba(255, 255, 255, .3); }
.arrow-link { color: #e4e4e7; font-weight: 500; }
.arrow-link:hover { color: var(--accent-hi); }

/* Superfici */
.card, .form-panel, .service, .contact, .hero-media, .hdr-suggest { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
.cta { border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(255, 255, 255, .07); box-shadow: none; }
.section--alt { background: none; border: 0; }
.service::after { display: none; }
.kicker { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--accent-hi); }
.kicker::before { display: none; }
.row-head { align-items: flex-end; margin-bottom: 30px; }
.row-head h2, .two-col h2 { padding-top: 0; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; }
.row-head h2::before, .two-col h2::before { display: none; }
.row-head h2 em, .sec-title em { font-style: normal; color: var(--accent-hi); }
.tags li { border-color: rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); color: #d4d4d8; font-size: 13px; padding: 5px 12px; }

/* Scheda prodotto nelle griglie */
.p-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .3s, border-color .3s; }
.p-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .4); }
.p-card-media { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; background: #1b1c21; }
.p-card:hover .p-card-media { transform: none; border-color: rgba(255, 255, 255, .06); }
.p-card-media img, .p-card-media .ph { aspect-ratio: 4 / 3; transition: transform .5s; }
.p-card:hover .p-card-media img { transform: scale(1.04); }
.p-tag { display: none; }
.p-card-body { gap: 0; padding: 16px 18px 18px; flex: 1; }
.p-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .06); color: #d4d4d8; }
.chip--a { background: rgba(var(--accent-rgb), .16); color: var(--accent-hi); }
.chip--b { background: rgba(56, 189, 248, .12); color: #7dd3fc; }
.chip--g { background: rgba(34, 197, 94, .12); color: #4ade80; }
.p-card h3 { font-family: var(--ff-display); font-size: 1.06rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1.2; }
.p-card p { margin-top: 8px; font-size: .88rem; line-height: 1.55; color: #7b7d86; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card-stars { margin-top: 8px; }
.p-card-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.p-price { font-size: 1.25rem; font-weight: 800; }
.p-card .arrow-link { display: inline-flex; font-size: .8rem; color: #8b8d94; }
.p-card:hover .arrow-link { color: var(--accent-hi); }
.p-row { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; padding: 0; }
@media (max-width: 1000px) { .p-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .p-row { gap: 12px; grid-auto-columns: auto; } .p-card-body { padding: 12px; } .p-card .arrow-link, .p-card p { display: none; } .p-card h3 { font-size: .92rem; } .p-price { font-size: 1.05rem; } }

/* Apertura della home */
.world { position: relative; isolation: isolate; min-height: 660px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.world-scene { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
div.world-scene { inset: -60px; width: auto; height: auto; filter: blur(9px); background:
  radial-gradient(60px 60px at 52% 46%, #fff 0, #b9a9ff 30%, transparent 70%),
  radial-gradient(260px 180px at 52% 46%, rgba(150, 130, 255, .55), transparent 70%),
  linear-gradient(8deg, transparent 46%, #2b2d33 46% 50%, transparent 50%),
  repeating-linear-gradient(92deg, rgba(90, 50, 15, .35) 0 3px, transparent 3px 22px) 8% 70% / 46% 52% no-repeat,
  linear-gradient(170deg, #e2bd85, #b98850) 8% 70% / 46% 52% no-repeat,
  repeating-linear-gradient(88deg, rgba(30, 12, 2, .4) 0 3px, transparent 3px 18px) 96% 30% / 40% 58% no-repeat,
  linear-gradient(170deg, #8a5a34, #4d2c17) 96% 30% / 40% 58% no-repeat,
  linear-gradient(170deg, #d9b27a, #a87a45) 60% 108% / 34% 40% no-repeat,
  linear-gradient(#3a3d45, #1a1b1f); }
.world-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(rgba(10, 12, 14, .4), rgba(10, 12, 14, .6) 48%, var(--bg) 100%); }
.world-in { width: 100%; max-width: 760px; padding: 46px 20px 84px; }
.world-in > * { animation: world-in .9s cubic-bezier(.16, 1, .3, 1) both; }
.world-in > :nth-child(2) { animation-delay: .12s; } .world-in > :nth-child(3) { animation-delay: .24s; } .world-in > :nth-child(4) { animation-delay: .32s; } .world-in > :nth-child(5) { animation-delay: .4s; } .world-in > :nth-child(6) { animation-delay: .48s; }
@keyframes world-in { from { opacity: 0; transform: translateY(18px); } }
.world-ed { font-family: var(--ff-display); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #f4f4f5; text-shadow: 0 1px 10px #000; }
.world-logo { width: min(210px, 50vw); height: auto; aspect-ratio: 1; border-radius: 50%; margin: 22px auto 20px; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)); }
.world h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.world-intro { max-width: 520px; margin: 12px auto 26px; font-size: 16px; line-height: 1.6; color: #d5d6da; }
.world-acts { display: flex; justify-content: center; align-items: stretch; gap: 14px; }
.play { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 15px 22px; border-radius: 8px; text-align: left; color: #fff; background: var(--accent); box-shadow: 0 4px var(--accent-dk); transition: background .2s, transform .2s; }
.play:hover { background: #8e72ff; transform: translateY(-2px); }
.play::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); }
.play:hover::after { transform: translateX(120%); transition: transform .7s; }
.play small { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; }
.play strong { font-family: var(--ff-display); font-size: 20px; font-weight: 800; }
.play .ico { width: 22px; height: 22px; }
.play-alt { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-radius: 8px; text-align: left; font-size: 12px; color: #c4c5ca; background: rgba(16, 17, 19, .5); border: 1px solid rgba(255, 255, 255, .19); transition: background .2s; }
.play-alt:hover { background: #202127; }
.play-alt strong { display: block; font-size: 14px; color: #fff; }
.play-alt .ico { width: 24px; height: 24px; }
.world-live { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; font-size: 13px; color: #bfc4c5; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }
.world-more { position: absolute; bottom: 24px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #b4b7bd; }
.world-more .ico { width: 15px; height: 15px; transform: rotate(90deg); }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.quick a { display: flex; align-items: center; gap: 12px; padding: 24px; border-left: 1px solid var(--line); font-family: var(--ff-display); font-size: 15px; font-weight: 700; color: #fff; transition: background .2s; }
.quick a:first-child { border-left: 0; }
.quick a:hover { background: rgba(255, 255, 255, .03); }
.quick a .ico:first-child { width: 20px; height: 20px; color: var(--accent-hi); }
.quick a .ico:last-child { margin-left: auto; color: #d4d4d8; transition: transform .2s; }
.quick a:hover .ico:last-child { transform: translateX(4px); }
.home-sec { padding-top: clamp(52px, 6vw, 76px); }
.sec-title { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.045em; }
.join { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 40px; margin-top: 30px; padding: 36px; border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(255, 255, 255, .07); }
.join::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0, rgba(var(--accent-rgb), .14), transparent 45%); }
.join > * { position: relative; min-width: 0; }
.join-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.join-tab { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border-radius: 10px; text-align: left; color: #8b8d94; background: rgba(255, 255, 255, .02); border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.join-tab .ico { width: 22px; height: 22px; }
.join-tab strong { display: block; font-family: var(--ff-display); font-size: 15px; font-weight: 800; color: #f4f4f5; }
.join-tab small { display: block; font-size: 11px; line-height: 1.35; }
.join-tab:hover { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .15); }
.join-tab[aria-selected="true"] { color: #c9bfff; background: linear-gradient(rgba(var(--accent-rgb), .16), rgba(var(--accent-rgb), .05)); border-color: rgba(var(--accent-rgb), .55); box-shadow: 0 12px 30px -18px var(--accent); }
.join-tab[aria-selected="true"] .ico { color: var(--accent-hi); }
.join-intro { margin-top: 18px; font-size: 14px; line-height: 1.65; color: #aeb1b9; }
.join-steps { display: grid; gap: 12px; margin-top: 18px; color: #e4e4e7; }
.join-steps li { display: flex; gap: 12px; }
.join-n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; background: var(--accent); color: #fff; font-family: var(--ff-display); font-size: 14px; font-weight: 800; box-shadow: inset 0 -3px rgba(0, 0, 0, .25); }
.join-go { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 12px 12px 18px; border-radius: 12px; background: linear-gradient(90deg, rgba(var(--accent-rgb), .1), rgba(var(--accent-rgb), .02)); border: 1px solid rgba(var(--accent-rgb), .25); }
.join-go small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); }
.join-go b { font-family: var(--ff-display); font-size: clamp(17px, 2vw, 21px); font-weight: 800; color: #fff; }
.join-go .btn { margin-left: auto; box-shadow: inset 0 -3px rgba(0, 0, 0, .22); }
.try { padding: 20px; border-radius: 12px; background: #0c0d0f; border: 1px solid rgba(255, 255, 255, .11); }
.try label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #d8dbe3; }
.try input { width: 100%; padding: 12px 14px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, .13); background: var(--bg); color: #e5e7eb; font-size: 14px; }
.try input:focus { outline: 1px solid var(--accent-hi); border-color: var(--accent-hi); }
.try-woods { display: flex; gap: 8px; margin: 14px 0 16px; }
.try-woods button { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); color: #d4d4d8; font-size: 13px; cursor: pointer; }
.try-woods button[aria-pressed="true"] { border-color: rgba(var(--accent-rgb), .55); background: rgba(var(--accent-rgb), .14); color: #fff; }
.try-board { aspect-ratio: 2; display: grid; place-items: center; padding: 0 16px; border-radius: 8px; overflow: hidden; text-align: center; font-family: var(--ff-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.1; color: #56300f; overflow-wrap: anywhere; background: repeating-linear-gradient(91deg, rgba(110, 62, 18, .14) 0 2px, transparent 2px 10px), linear-gradient(165deg, #edd0a2, #cfa268); }
.try-board[data-wood="noce"] { color: #f2d9b3; background: repeating-linear-gradient(91deg, rgba(30, 12, 2, .3) 0 2px, transparent 2px 9px), linear-gradient(165deg, #8d5d36, #57321a); }
.sumis { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(255, 255, 255, .07); }
.sumis::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0 100%, rgba(var(--accent-rgb), .14), transparent 45%); }
.sumis-copy { position: relative; padding: 44px; }
.sumis-copy p:not(.kicker) { max-width: 46ch; margin-top: 14px; line-height: 1.65; color: #b8bcc6; }
.sumis-copy p b { color: #fff; }
.sumis-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.sumis-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .025); font-size: 13px; color: #d4d4d8; }
.sumis-perks .ico { width: 15px; height: 15px; color: var(--accent-hi); }
.sumis-copy .btn { margin-top: 26px; min-height: 50px; padding: 0 28px; box-shadow: 0 4px var(--accent-dk); }
.sumis-art { position: relative; min-height: 340px; display: grid; place-items: center; background: linear-gradient(90deg, var(--surface-2), transparent 40%), radial-gradient(circle at 60% 50%, #3b3a7a, #15161a 70%); }
.sumis-art span { width: 150px; height: 190px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .19) 0 1px, transparent 1px 5px), linear-gradient(100deg, #5cc6ff, #7c5cff); box-shadow: inset 12px 0 20px rgba(255, 255, 255, .25); clip-path: polygon(0 100%, 100% 100%, 100% 22%, 74% 22%, 74% 0, 26% 0, 26% 22%, 0 22%); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.sumis:hover .sumis-art span { transform: scale(1.06); }
@media (max-width: 860px) {
  .world { min-height: 590px; } .world-in { padding: 40px 18px 76px; }
  .world-acts { flex-direction: column; max-width: 340px; margin-inline: auto; } .play-alt { justify-content: center; }
  .quick { grid-template-columns: 1fr 1fr; } .quick a { padding: 18px 12px; font-size: 13px; } .quick a:nth-child(3) { border-left: 0; } .quick a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .join { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px; }
  .join-tab { flex-direction: column; gap: 6px; padding: 10px 6px; text-align: center; } .join-tab small { display: none; }
  .sumis { grid-template-columns: minmax(0, 1fr); } .sumis-copy { padding: 28px; } .sumis-art { min-height: 220px; }
}

/* Piè di pagina */
.ftr { margin-top: clamp(60px, 8vw, 90px); padding: 0; background: #0a0b0d; border-top: 1px solid rgba(var(--accent-rgb), .45); }
.ftr-grid { max-width: 1344px; display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 30px; }
.ftr-brand p { max-width: 42ch; margin-top: 14px; font-size: 14px; line-height: 1.6; color: #a1a1aa; }
.ftr h2 { margin-bottom: 16px; font-family: var(--ff-body); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #d4d4d8; }
.ftr-grid nav a, .ftr-grid div:not(.ftr-brand) a { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; padding: 0; font-size: 14px; color: #a1a1aa; overflow-wrap: anywhere; }
.ftr-grid a:hover { color: #fff; }
.ftr-grid a .ico { width: 15px; height: 15px; color: var(--accent-hi); }
.ftr-bottom { max-width: 1344px; padding-block: 24px 34px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 12px; color: #71717a; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px; } .ftr-brand { grid-column: 1 / -1; } }
.hdr-user span { max-width: 16ch; font-size: .9rem; font-weight: 600; }
.hdr-nav a:nth-child(5) .ico * { animation-delay: .4s; } .hdr-nav a:nth-child(6) .ico * { animation-delay: .5s; }
.p-price { white-space: nowrap; }
.p-card-foot { flex-wrap: wrap; }
.p-grid .p-card .arrow-link { display: none; }

/* Barra d'acquisto fissa (telefono) e pagina "Segui il tuo ordine" */
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; align-items: center; gap: 14px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 11, 13, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.buy-bar[hidden] { display: none; }
.buy-bar p { margin: 0; line-height: 1.2; }
.buy-bar p span { display: block; font-size: 12px; color: var(--muted); }
.buy-bar p b { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 800; color: #fff; }
.buy-bar .btn { margin-left: auto; min-height: 46px; padding: 0 22px; }
body.has-buybar { padding-bottom: 76px; }
.auth-lead { margin-bottom: 16px; color: var(--text); }

/* Pannello: frecce per l'ordine, clienti, esportazioni */
.adm-sort { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.adm-sort form, form.adm-sort { display: flex; gap: 4px; margin: 0; }
.adm-sort button { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--surface-2); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.adm-sort button:hover:not(:disabled) { border-color: var(--accent); background: rgba(var(--accent-rgb), .16); }
.adm-sort button:disabled { opacity: .3; cursor: default; }
form.adm-sort--cat { align-items: center; margin: 16px 0 6px; }
form.adm-sort--cat b { margin-left: 6px; color: #fff; }
.adm-export { margin-top: 16px; }
div.order-row { cursor: default; }
div.order-row small a { text-decoration: underline; text-underline-offset: 3px; }

/* Recensioni: riepilogo a barre, foto, pagina dal link, biglietto con il QR */
.rev-sum { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 32px; align-items: center; margin-bottom: 22px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.rev-avg { display: grid; gap: 2px; justify-items: start; }
.rev-avg b { font-family: var(--ff-display); font-size: 2.6rem; line-height: 1; color: #fff; }
.rev-avg small { color: var(--muted); font-size: .82rem; }
.rev-bars { display: grid; gap: 5px; max-width: 360px; }
.rev-bars li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 24px; align-items: center; gap: 10px; font-size: .8rem; color: var(--text); }
.rev-bars i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rev-bars i b { display: block; height: 100%; border-radius: 99px; background: #f3c969; }
.rev-bars li span:last-child { text-align: right; color: var(--muted); }
.rev-by { margin: -2px 0 6px; font-size: .8rem; color: var(--muted); }
.rev-by span { color: #4ade80; }
.rev-photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.rev-photos li { padding: 0 !important; border: 0 !important; display: grid; gap: 2px; justify-items: center; }
.rev-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.rev-photos form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font-size: .78rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) { .rev-sum { grid-template-columns: minmax(0, 1fr); } }
.rv { max-width: 760px; display: grid; gap: 18px; }
.rv-item { display: grid; gap: 4px; }
.rv-prod { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.rv-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.rv-prod h2 { font-size: 1.2rem; }
.rv-item .btn { justify-self: start; margin-top: 6px; }
.rate--big label { font-size: 2.3rem; }
.adm-qr { display: flex; align-items: center; gap: 16px; margin: 18px 0; padding: 14px; border-radius: 10px; border: 1px dashed var(--line-2); }
.adm-qr > div { flex: none; width: 112px; height: 112px; padding: 6px; border-radius: 8px; background: #fff; }
.adm-qr svg { display: block; width: 100%; height: 100%; }
.adm-qr p { margin: 0; font-size: .86rem; line-height: 1.5; }
.adm-qr p b { display: block; font-family: var(--ff-display); font-size: 1.1rem; color: #fff; }
.adm-qr p span { font-size: .72rem; overflow-wrap: anywhere; }
@media print {
  .adm-qr { border: 1px solid #999 !important; break-inside: avoid; }
  .adm-qr p b { color: #000 !important; }
  body.print-qr .adm-sheet > *:not(.adm-qr) { display: none !important; }
  body.print-qr .adm-qr { border: 0 !important; margin: 0; }
  body.print-qr .adm-qr > div { width: 45mm; height: 45mm; }
}

/* Offerte a tempo, tracciamento e azioni sull'ordine */
.chip--o { background: rgba(250, 204, 21, .14); color: #facc15; }
.p-price s { margin-left: 4px; font-family: var(--ff-body); font-size: .8rem; font-weight: 500; color: var(--muted); }
.p-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 4px; padding: 10px 14px; border-radius: 10px; background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .28); font-size: .9rem; color: #e4e4e7; }
.p-offer b { color: #facc15; }
.p-offer s { color: var(--muted); }
.order-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.order-acts form { margin: 0; }
.order-track { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 4px; }
.order-track b { color: #fff; }

/* Prodotto: foto grande con miniature e ingrandimento */
.p-shot { position: relative; display: block; width: 100%; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: #1b1c21; overflow: hidden; cursor: zoom-in; }
.p-shot img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.p-shot-hint { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(10, 11, 13, .72); }
.p-shot-hint .ico { width: 14px; height: 14px; }
.p-shot:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.p-gallery .p-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.p-thumb { padding: 0; border-radius: 9px; border: 2px solid transparent; background: #1b1c21; overflow: hidden; cursor: pointer; opacity: .7; transition: opacity .15s, border-color .15s; }
.p-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; padding: 0; border-radius: 0; }
.p-thumb:hover, .p-thumb.is-on { opacity: 1; }
.p-thumb.is-on { border-color: var(--accent); }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 6, 8, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(5, 6, 8, .94); }
.lightbox img { max-width: min(94vw, 1400px); max-height: 86vh; max-height: 86dvh; object-fit: contain; border-radius: 8px; }
.lightbox-x, .lightbox-nav { position: absolute; z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(20, 20, 24, .85); color: #fff; cursor: pointer; }
.lightbox-x { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 16px; } .lightbox-prev .ico { transform: rotate(180deg); }
.lightbox-next { right: 16px; }
.lightbox-x:hover, .lightbox-nav:hover { background: var(--accent); border-color: var(--accent); }
.lightbox-n { position: absolute; bottom: 16px; left: 0; right: 0; margin: 0; text-align: center; font-size: .86rem; color: #d4d4d8; }
@media (max-width: 560px) { .lightbox-nav { width: 40px; height: 40px; } .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; } }

/* Testo del cliente sulla foto del prodotto, ed editor del riquadro nel pannello */
.p-engrave { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .08em; overflow: hidden; pointer-events: none; text-align: center; line-height: 1.05; font-family: 'Archivo', system-ui, sans-serif; font-weight: 700; white-space: nowrap; mix-blend-mode: multiply; opacity: .88; transform-origin: 50% 50%; }
.p-engrave[hidden] { display: none; }
.p-engrave span:empty { display: none; }
.p-engrave span + span { font-size: .6em; }
.p-shot-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px; font-size: .74rem; font-weight: 600; color: #e4e4e7; background: rgba(10, 11, 13, .72); }
.p-shot-tag[hidden] { display: none; }
.p-thumb[data-live]::after { content: 'Anteprima'; position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0; font-size: .62rem; font-weight: 700; text-align: center; color: #fff; background: rgba(var(--accent-rgb), .88); }
.p-thumb { position: relative; }
.pv-stage { position: relative; display: inline-block; max-width: 100%; margin: 6px 0 14px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); line-height: 0; touch-action: none; user-select: none; }
.pv-stage img { display: block; max-width: 100%; max-height: 520px; }
.pv-box { position: absolute; display: grid; place-items: center; border: 2px dashed var(--accent-hi); background: rgba(var(--accent-rgb), .18); cursor: move; line-height: 1; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(11px, 2vw, 20px); white-space: nowrap; overflow: hidden; }
.pv-box i { position: absolute; right: -2px; bottom: -2px; width: 18px; height: 18px; border-radius: 4px 0 0 0; background: var(--accent); cursor: nwse-resize; }
.adm-row--field select { height: 36px; min-width: 0; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); color: #fff; font-size: .86rem; }
.field input[type=color] { height: 42px; padding: 4px; cursor: pointer; }
.p-engrave.has-img { mix-blend-mode: multiply; opacity: .92; }
.p-engrave.has-img [data-preview-line]:empty, .p-engrave.has-img [data-preview-line][data-placeholder]:not(.is-set) { }
.p-engrave-img { max-width: 100%; max-height: 100%; min-height: 0; flex: 1 1 auto; object-fit: contain; filter: grayscale(1) contrast(1.15); }
.p-engrave.has-img span { flex: none; font-size: .35em; }
