/* Cozelia storefront (home, categorie, hub paesi). Chiaro, caldo, direct-response di alta fattura. */
:root {
  --paper: #F6F2EA;
  --paper-2: #EEE7DA;
  --paper-3: #E5DCCB;
  --card: #FFFFFF;
  --ink: #17140F;
  --ink-2: #463F35;
  --muted: #6F665A;
  --line: rgba(23, 20, 15, 0.1);
  --line-2: rgba(23, 20, 15, 0.16);
  --brand: #1E4B3B;
  --brand-2: #2C6A53;
  --brand-soft: #DDEBE3;
  --accent: #F08A24;
  --accent-2: #FFA54F;
  --accent-ink: #1C0E02;
  --sale: #C9302A;
  --gold: #B5873A;
  --radius: 22px;
  --radius-s: 14px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(23, 20, 15, 0.05), 0 8px 24px rgba(23, 20, 15, 0.06);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 6px rgba(23, 20, 15, 0.06), 0 22px 50px rgba(23, 20, 15, 0.12);
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --wrap: 1320px;
  --pad: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.sfp {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* grana leggera su tutta la pagina */
body.sfp::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0 0.06 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.sfp > * { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.flag { width: 24px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(23, 20, 15, 0.12); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ticker */
.ticker { background: var(--brand); color: #EAF3EE; overflow: hidden; font: 600 12.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; white-space: nowrap; }
.ticker .ico { width: 15px; height: 15px; color: var(--accent-2); stroke-width: 2.4; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* header */
.sh { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 234, 0.86); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-bottom: 1px solid var(--line); }
.sh-row { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); flex: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-word { font: 800 25px/1 var(--display); letter-spacing: -0.035em; color: var(--ink); }
.brand--light .brand-word { color: #fff; }
.brand--light { color: var(--accent); }
.brand--light .brand-mark rect { fill: var(--brand-2); }
.sh-burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; }
.sh-search { position: relative; flex: 1; display: flex; align-items: center; max-width: 560px; margin-left: auto; }
.sh-search > .ico { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.sh-search input { width: 100%; height: 46px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-1); outline: none; font-size: 15px; }
.sh-search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(44, 106, 83, 0.14); }
.sh-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-2); padding: 8px; max-height: 70vh; overflow: auto; }
.sh-results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; }
.sh-results a:hover, .sh-results a:focus-visible { background: var(--paper); }
.sh-results img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; background: var(--paper-2); }
.sh-results strong { display: block; font-size: 14.5px; line-height: 1.3; }
.sh-results small { color: var(--muted); font-size: 12.5px; }
.sh-results b { font: 700 14px var(--mono); color: var(--brand); white-space: nowrap; }
.sh-results p { margin: 10px; color: var(--muted); }
.mk { position: relative; flex: none; }
.mk-btn { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--shadow-1); cursor: pointer; }
.mk-label { display: grid; line-height: 1.05; text-align: left; }
.mk-lang { font-weight: 700; font-size: 14px; }
.mk-cur { font: 600 11px var(--mono); color: var(--muted); letter-spacing: 0.08em; }
.mk-chev { width: 16px; height: 16px; transition: transform 0.2s; }
.mk-btn[aria-expanded="true"] .mk-chev { transform: rotate(180deg); }
.mk-pop { position: absolute; right: 0; top: calc(100% + 10px); width: min(360px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-2); padding: 10px; z-index: 60; }
.mk-title { display: flex; align-items: center; gap: 8px; margin: 6px 10px 10px; font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.mk-title .ico { width: 16px; height: 16px; }
.mk-pop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mk-pop a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; min-height: 52px; }
.mk-pop a:hover, .mk-pop a:focus-visible { background: var(--paper); }
.mk-pop a[aria-current="true"] { background: var(--brand-soft); }
.mk-pop strong { display: block; font-size: 15px; }
.mk-pop small { color: var(--muted); font-size: 12.5px; }
.cn { border-top: 1px solid var(--line); }
.cn-list { list-style: none; margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.cn-list::-webkit-scrollbar { display: none; }
.cn-list a { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; white-space: nowrap; font-weight: 600; font-size: 14.5px; color: var(--ink-2); border-bottom: 2.5px solid transparent; scroll-snap-align: start; }
.cn-list a .ico { width: 18px; height: 18px; color: var(--brand-2); }
.cn-list a em { font: 600 11px var(--mono); font-style: normal; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 3px 7px; }
.cn-list a:hover { color: var(--ink); }
.cn-list a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* drawer mobile */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(23, 20, 15, 0.42); }
.drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(380px, 88vw); background: var(--paper); padding: 18px; overflow: auto; box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; gap: 18px; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-x { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; cursor: pointer; }
.drawer-nav { display: grid; gap: 6px; }
.drawer-nav a { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; padding: 13px 14px; background: var(--card); border-radius: 14px; border: 1px solid var(--line); font-weight: 700; }
.drawer-nav a .ico { color: var(--brand-2); grid-row: span 2; }
.drawer-nav a em { font: 500 12px var(--mono); font-style: normal; color: var(--muted); }
.drawer-links { display: grid; gap: 4px; margin-top: auto; }
.drawer-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); }

/* tipografia */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); font: 600 12px/1.2 var(--mono); letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); }
.eyebrow .ico { width: 17px; height: 17px; }
.h1 { margin: 0; font: 800 clamp(38px, 5.1vw, 72px)/0.95 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.h1 em { display: block; font-style: normal; color: var(--brand); background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 55%, var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.h2 { margin: 0; font: 800 clamp(30px, 3.6vw, 50px)/1 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.h2--s { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 20px; }
.lead { margin: 22px 0 0; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 56ch; }
.kicker { margin: 0 0 10px; font: 700 12px var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); }
.sec-lead { margin: 12px 0 0; color: var(--muted); font-size: 16.5px; max-width: 60ch; }

/* bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; }
.btn .ico { transition: transform 0.18s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 10px 26px rgba(240, 138, 36, 0.38); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 16px 34px rgba(240, 138, 36, 0.45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { background: var(--card); }

/* hero */
.hero { position: relative; padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 6vw, 88px); overflow: hidden; }
.hero-glow { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; background: radial-gradient(42% 46% at 82% 30%, rgba(240, 138, 36, 0.2), transparent 70%), radial-gradient(38% 40% at 10% 10%, rgba(44, 106, 83, 0.16), transparent 70%), radial-gradient(30% 30% at 60% 100%, rgba(181, 135, 58, 0.14), transparent 70%); }
.hero-grid { position: relative; display: grid; gap: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 34px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; max-width: 560px; }
.facts div { background: rgba(255, 255, 255, 0.72); padding: 14px 16px; display: flex; flex-direction: column-reverse; gap: 2px; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font: 700 22px/1.1 var(--mono); letter-spacing: -0.02em; color: var(--brand); }
.stage { position: relative; aspect-ratio: 4 / 4.4; border-radius: 30px; overflow: hidden; background: var(--paper-3); box-shadow: 0 40px 80px -30px rgba(23, 20, 15, 0.45), 0 0 0 1px rgba(23, 20, 15, 0.08); isolation: isolate; }
.stage-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.stage-slide.is-on { opacity: 1; z-index: 1; }
.stage-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.stage-slide.is-on img { transform: scale(1); }
.stage-slide img.is-product { object-fit: contain; padding: 10%; background: radial-gradient(circle at 50% 45%, #fff, var(--paper-2)); }
.stage-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15, 12, 8, 0.72)); pointer-events: none; }
.stage-card { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 8px; padding: 18px; border-radius: 20px; color: #fff; background: rgba(20, 16, 11, 0.42); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255, 255, 255, 0.18); border-top-color: rgba(255, 255, 255, 0.34); }
.stage-tag { display: inline-flex; align-items: center; gap: 7px; font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #FFD9B0; }
.stage-tag .ico { width: 15px; height: 15px; }
.stage-card strong { font: 800 clamp(20px, 2.1vw, 27px)/1.08 var(--display); letter-spacing: -0.02em; }
.stage-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stage-price b { font: 700 24px var(--mono); letter-spacing: -0.03em; }
.stage-price s { color: rgba(255, 255, 255, 0.66); font: 500 15px var(--mono); }
.stage-price i { font-style: normal; font: 700 13px var(--mono); background: var(--sale); color: #fff; padding: 4px 8px; border-radius: 8px; }
.stage-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-2); }
.stage-dots { position: absolute; top: 16px; left: 16px; z-index: 3; display: flex; gap: 6px; }
.stage-dots button { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 9px; background: rgba(255, 255, 255, 0.45); cursor: pointer; position: relative; overflow: hidden; }
.stage-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: dot 5.5s linear forwards; }
@keyframes dot { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stage-dots button::before { content: ""; position: absolute; inset: -12px -2px; }
.stage-stamp { position: absolute; top: 14px; right: 14px; z-index: 3; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--accent); color: var(--accent-ink); font: 800 12px/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; padding: 12px; box-shadow: 0 10px 30px rgba(240, 138, 36, 0.45); transform: rotate(-9deg); }

/* sezioni */
.sec { padding: clamp(48px, 7vw, 104px) 0; }
.sec--tight { padding-top: 24px; }
.sec--soft { background: var(--paper-2); border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }

/* bento categorie */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bento-cell { position: relative; display: block; min-height: 230px; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); color: #fff; isolation: isolate; box-shadow: var(--shadow-1); }
.bento-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); z-index: -2; }
.bento-cell--light { background: radial-gradient(circle at 75% 40%, #fff, var(--paper-2) 70%); color: var(--ink); border: 1px solid var(--line); }
.bento-cell--light img { left: auto; width: 58%; object-fit: contain; padding: 8% 6% 8% 0; mix-blend-mode: multiply; }
.bento-cell--light .bento-shade { background: linear-gradient(90deg, rgba(246, 242, 234, 0.96) 30%, rgba(246, 242, 234, 0) 70%); }
.bento-cell--light .bento-idx { color: var(--muted); }
.bento-cell--light .bento-ico { color: var(--brand-2); }
.bento-cell--light .bento-meta em { background: var(--card); border-color: var(--line-2); color: var(--ink-2); }
.bento-cell--light .bento-lead { color: var(--ink-2); }
.bento-cell--light .bento-body { right: 44%; }
.bento-cell:hover img { transform: scale(1.05); }
.bento-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 12, 8, 0.05) 20%, rgba(15, 12, 8, 0.82)); }
.bento-idx { position: absolute; top: 16px; left: 18px; font: 700 13px var(--mono); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.85); }
.bento-body { position: absolute; left: 18px; right: 70px; bottom: 18px; display: grid; gap: 6px; }
.bento-ico { width: 26px; height: 26px; color: var(--accent-2); }
.bento-body strong { font: 800 clamp(22px, 2.3vw, 32px)/1.02 var(--display); letter-spacing: -0.03em; }
.bento-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.bento-meta em { font: 600 11.5px var(--mono); font-style: normal; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(6px); }
.bento-lead { font-size: 14px; color: rgba(255, 255, 255, 0.82); max-width: 46ch; display: none; }
.bento-go { position: absolute; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform 0.25s; }
.bento-cell:hover .bento-go { transform: rotate(-35deg) scale(1.06); }

/* card prodotto */
.pc { min-width: 0; }
.pc-link { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.pc-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(44, 106, 83, 0.32); }
.pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, var(--paper-2)); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.pc--product .pc-media img { object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.pc-link:hover .pc-media img { transform: scale(1.05); }
.pc-badge { position: absolute; top: 12px; left: 12px; font: 700 14px var(--mono); color: #fff; background: var(--sale); padding: 5px 9px; border-radius: 9px; box-shadow: 0 6px 16px rgba(201, 48, 42, 0.35); }
.pc-cod { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); padding: 6px 9px; border-radius: 999px; border: 1px solid rgba(30, 75, 59, 0.16); }
.pc-cod .ico { width: 14px; height: 14px; }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pc-cat { display: flex; align-items: center; gap: 6px; margin: 0; font: 600 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pc-cat .ico { width: 14px; height: 14px; color: var(--brand-2); }
.pc-name { margin: 0; font: 700 18px/1.22 var(--display); letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.44em; }
.pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 2px 0 0; }
.pc-price strong { font: 700 23px var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.pc-price s { font: 500 14px var(--mono); color: var(--muted); }
.pc-save { margin: 0; font-size: 13px; font-weight: 700; color: var(--sale); min-height: 1.3em; }
.pc-meta { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--ink-2); }
.pc-meta li { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta .ico { width: 15px; height: 15px; color: var(--brand-2); }
.pc-cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 16px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; transition: background 0.2s; }
.pc-link:hover .pc-cta { background: var(--accent); color: var(--accent-ink); }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding-bottom: 12px; scrollbar-width: thin; }
.rail .pc { scroll-snap-align: start; }
.rail-nav { display: none; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); }
.rail-nav button:hover { background: var(--ink); color: #fff; }

/* come funziona */
.how { background: var(--brand); color: #EEF5F1; position: relative; overflow: hidden; }
.how::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 90% 10%, rgba(240, 138, 36, 0.22), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(255, 255, 255, 0.08), transparent 70%); }
.how .kicker { color: var(--accent-2); }
.how .sec-lead { color: rgba(238, 245, 241, 0.75); }
.how-grid { position: relative; display: grid; gap: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 24px 22px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-top-color: rgba(255, 255, 255, 0.24); }
.steps .ico { width: 30px; height: 30px; color: var(--accent-2); }
.step-n { position: absolute; top: 18px; right: 20px; font: 800 44px/1 var(--display); color: rgba(255, 255, 255, 0.12); }
.steps h3 { margin: 14px 0 6px; font: 800 22px/1.1 var(--display); letter-spacing: -0.02em; color: #fff; }
.steps p { margin: 0; color: rgba(238, 245, 241, 0.78); }

/* confronto */
.cmp-grid { display: grid; gap: 24px; }
.cmp { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-1); }
.cmp-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 16px 14px; font-size: 14.5px; }
.cmp-row--head > span { font: 700 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cmp-row [role="rowheader"] { font-weight: 700; }
.cmp-us { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand); font-weight: 700; height: 100%; }
.cmp-us .ico { color: var(--brand-2); stroke-width: 2.4; }
.cmp-us .brand-mark { width: 22px; height: 22px; color: var(--brand); }
.cmp-other { color: var(--muted); }

/* faq */
.faq-grid { display: grid; gap: 24px; }
.faq-list { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: var(--radius-s); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 16.5px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.2s; color: var(--brand-2); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }

/* testata categoria */
.ch { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--paper) 30%, rgba(246, 242, 234, 0.75) 60%, rgba(246, 242, 234, 0.2)); }
.ch-media { position: absolute; inset: 0 0 0 auto; width: 100%; z-index: -1; opacity: 0.2; }
.ch-media img { width: 100%; height: 100%; object-fit: cover; }
.ch-media img.is-product { object-fit: contain; }
.crumbs { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; font: 600 12.5px var(--mono); color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.h1--cat { font-size: clamp(40px, 6vw, 80px); }
.ch-trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ch-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.ch-trust .ico { width: 16px; height: 16px; color: var(--brand-2); stroke-width: 2.4; }

/* strumenti di filtro */
.tools { display: grid; gap: 14px; margin-bottom: 22px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-weight: 600; font-size: 14px; cursor: pointer; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tools-right { display: grid; grid-template-columns: 1fr; gap: 10px; }
.filter-search { position: relative; display: flex; align-items: center; }
.filter-search .ico { position: absolute; left: 14px; color: var(--muted); }
.filter-search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); padding: 0 16px 0 42px; outline: none; }
.filter-search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(44, 106, 83, 0.14); }
.sort { position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); }
.sort span { font: 600 11.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sort select { appearance: none; border: 0; background: transparent; font-weight: 700; flex: 1; padding-right: 22px; cursor: pointer; outline: none; }
.sort .ico { position: absolute; right: 12px; width: 16px; height: 16px; pointer-events: none; }
.count { margin: 0; font: 600 13px var(--mono); color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.empty { padding: 30px 0; color: var(--muted); }
.other-cats { display: grid; gap: 10px; }
.other-cats a { display: grid; grid-template-columns: 24px 1fr auto 20px; gap: 12px; align-items: center; padding: 16px 18px; border-radius: var(--radius-s); background: var(--card); border: 1px solid var(--line); font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; }
.other-cats a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.other-cats .ico { color: var(--brand-2); }
.other-cats em { font: 500 12.5px var(--mono); font-style: normal; color: var(--muted); }

/* card su schermi stretti: compatte */
@media (max-width: 599px) {
  .grid .pc-body { padding: 12px 12px 14px; gap: 6px; }
  .grid .pc-name { font-size: 15px; }
  .grid .pc-price strong { font-size: 18px; }
  .grid .pc-meta { display: none; }
  .grid .pc-cod { display: none; }
  .grid .pc-cta { min-height: 44px; padding: 0 10px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; justify-content: center; display: block; line-height: 44px; text-align: center; }
  .grid .pc-cta .ico { display: none; }
  .grid .pc-save { font-size: 12px; }
  .sh-search { display: none; }
  .sh-row { gap: 10px; }
  .brand-word { font-size: 22px; }
  .mk-lang { display: none; }
  .stage-stamp { width: 76px; height: 76px; font-size: 10.5px; }
}

/* footer */
.sf { background: #14120E; color: #CFC6B8; padding: 64px 0 24px; margin-top: 0; }
.sf h2 { margin: 0 0 14px; font: 700 12px var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.sf ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sf a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: #CFC6B8; }
.sf a:hover { color: #fff; }
.sf-grid { display: grid; gap: 36px; }
.sf-brand p { max-width: 42ch; margin: 16px 0 20px; }
.sf-trust { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 1px !important; background: rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden; max-width: 380px; }
.sf-trust li { background: #1B1813; padding: 12px 14px; display: grid; }
.sf-trust strong { font: 700 18px var(--mono); color: var(--accent-2); }
.sf-trust span { font-size: 12.5px; }
.sf-contact .ico { width: 17px; height: 17px; color: var(--accent-2); }
.sf-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: #9C9384; }
.sf-legal p { margin: 0 0 6px; }
.sf-legal strong { color: #E4DCCE; font-weight: 600; }
.sf-legal a { min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 2px; }

/* hub paesi */
.hub { min-height: 100vh; display: flex; flex-direction: column; }
.hub-main { position: relative; flex: 1; overflow: hidden; padding: clamp(40px, 8vw, 110px) 0; }
.hub-inner { position: relative; max-width: 1180px; }
.brand--big .brand-mark { width: 52px; height: 52px; }
.brand--big .brand-word { font-size: 38px; }
.hub-h1 { margin-top: 40px; }
.hub-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 10px; }
.hub-list a { display: block; border-radius: 20px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.hub-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, var(--paper-2)); }
.hub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.hub-img img.is-product { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.hub-list a:hover .hub-img img { transform: scale(1.05); }
.hub-row { display: grid; grid-template-columns: 34px 1fr auto 22px; gap: 14px; align-items: center; padding: 14px 18px; }
.hub-trust { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-trust li { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.hub-trust .ico { width: 17px; height: 17px; color: var(--brand-2); }
.hub-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: rgba(44, 106, 83, 0.35); }
.hub-list .flag { width: 34px; height: 23px; }
.hub-list strong { display: block; font: 800 20px/1.1 var(--display); letter-spacing: -0.02em; }
.hub-list small { color: var(--muted); }
.hub-list em { white-space: nowrap; font: 600 12.5px var(--mono); font-style: normal; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 5px 10px; }
.hub-search { max-width: 420px; margin-top: 28px; }
.sf--hub { padding: 28px 0; }
.sf--hub .sf-legal { margin: 0; border: 0; padding: 0; }

/* tablet */
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .rail { grid-auto-columns: 46%; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell--xl, .bento-cell--w { grid-column: span 2; min-height: 300px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tools-right { grid-template-columns: 1fr auto; }
  .other-cats { grid-template-columns: repeat(2, 1fr); }
  .hub-list { grid-template-columns: repeat(2, 1fr); }
  .sf-grid { grid-template-columns: repeat(2, 1fr); }
}

/* desktop */
@media (min-width: 1024px) {
  .sh-burger { display: none; }
  .sh-row { height: 76px; gap: 24px; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 56px; }
  .stage { aspect-ratio: 4 / 4.6; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; }
  .bento-cell { min-height: 0; }
  .bento { grid-auto-flow: dense; }
  .bento-cell--xl { grid-column: span 2; grid-row: span 2; }
  .bento-cell--w { grid-column: span 2; }
  .bento-cell--w .bento-lead { display: block; }
  .bento-cell--xl .bento-lead { display: block; }
  .bento-cell--xl .bento-body strong { font-size: 40px; }
  .rail { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; }
  .rail-nav { display: flex; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .how-grid { grid-template-columns: 4fr 8fr; align-items: start; gap: 48px; }
  .cmp-grid, .faq-grid { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
  .cmp-row > span { padding: 20px 22px; font-size: 16px; }
  .tools { grid-template-columns: 1fr auto; align-items: center; }
  .tools-right { grid-template-columns: 280px 260px; }
  .count { grid-column: 1 / -1; }
  .other-cats { grid-template-columns: repeat(4, 1fr); }
  .sf-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .ch { padding: 64px 0 56px; }
  .ch-media { width: 58%; opacity: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
  .hub-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
