/* LionX — stile del negozio */
@font-face { font-family: 'Anton'; src: url('/assets/fonts/anton-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #0A0A0A;
  --panel: #161616;
  --line: #262626;
  --text: #F2EFE8;
  --muted: #A3A3A3;
  --soft: #D4D4D4;
  --gold: #D4AF37;
  --display: 'Anton', Impact, sans-serif;
  --body: 'Archivo', system-ui, sans-serif;
  --wrap: 1360px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; margin: 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }

/* Barra annuncio + header */
.announce { background: var(--gold); color: #0A0A0A; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-align: center; padding: 10px 16px; text-transform: uppercase; }
.site-header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,10,10,.94); backdrop-filter: blur(8px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-size: 32px; letter-spacing: .04em; }
.brand img { width: 50px; height: 46px; object-fit: contain; }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.nav a { text-decoration: none; }
.icons { display: flex; gap: 4px; align-items: center; }
.icon-btn { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: none; border: 0; cursor: pointer; text-decoration: none; font-weight: 700; font-size: 14px; }
.cart-count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: #0A0A0A; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .marquee { font-size: 28px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
  .brand { font-size: 26px; }
  .brand img { width: 40px; height: 37px; }
}

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 0 24px; font-weight: 700; letter-spacing: .12em; font-size: 15px; text-transform: uppercase; text-decoration: none; border: 1px solid var(--text); background: transparent; cursor: pointer; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #0A0A0A; }
.btn-gold:hover { color: #0A0A0A; background: #E4C25A; }
.btn-light { background: var(--text); color: #0A0A0A; border-color: var(--text); }
.btn-light:hover { color: #0A0A0A; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; }

/* Sezioni */
section { border-bottom: 1px solid var(--line); }
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(48px, 7vw, 72px); }

/* Hero */
.hero { padding-top: 48px; padding-bottom: 56px; }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(64px, 16vw, 280px); overflow-wrap: anywhere; line-height: .86; margin-bottom: 32px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 24px; }
.hero-media { flex: 999 1 560px; min-width: 0; aspect-ratio: 16 / 10; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-side { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero-side p { margin: 0; font-size: 20px; color: var(--soft); }
.hero-side .btns { display: flex; flex-direction: column; gap: 12px; }
.placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #5c5c5c; }
.placeholder img, .gallery .placeholder img, .card-media .placeholder img, .line-img .placeholder img, .hero-media .placeholder img, .about-media .placeholder img { width: 30%; max-width: 180px; height: auto; object-fit: contain; opacity: .25; transform: none; }

.marquee { overflow: hidden; white-space: nowrap; padding: 18px 0; font-family: var(--display); font-size: 40px; letter-spacing: .04em; border-bottom: 1px solid var(--line); }
.marquee-track { display: inline-block; animation: scroll 30s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Griglia prodotti */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--text); color: #0A0A0A; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 6px 10px; text-transform: uppercase; }
.badge.out { background: #3a3a3a; color: var(--text); }
.card-info { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.card-info strong { text-transform: uppercase; letter-spacing: .04em; }
.empty { padding: 48px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* Categorie */
.cat { position: relative; aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none; overflow: hidden; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.cat > span { position: relative; }
.cat .name { font-family: var(--display); font-size: 48px; line-height: 1; text-transform: uppercase; }
.cat.soon { pointer-events: none; }

/* Chi siamo */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-media { flex: 1 1 420px; aspect-ratio: 4 / 5; max-height: 560px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 24px; }
.about-text h2 { font-size: clamp(44px, 6vw, 64px); line-height: .95; }
.about-text p { margin: 0; font-size: 18px; color: var(--soft); line-height: 1.6; white-space: pre-line; }

/* Newsletter */
.news { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.news form { flex: 1 1 420px; display: flex; flex-wrap: wrap; }
.news input { flex: 1 1 240px; min-width: 0; height: 60px; padding: 0 20px; background: transparent; border: 1px solid var(--text); }
.news button { height: 60px; }
.form-msg { width: 100%; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* Footer */
.site-footer .wrap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 16px; font-family: var(--display); font-size: 56px; }
.foot-brand img { width: 96px; height: 90px; object-fit: contain; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols a { text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 24px; }

/* Pagina prodotto */
.crumbs { font-size: 13px; color: var(--muted); padding: 24px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.pdp { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 80px; }
.gallery { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); aspect-ratio: 4 / 5; overflow: hidden; }
.gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.buy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 100px; }
.buy h1 { font-size: clamp(44px, 5vw, 64px); }
.price { font-size: 24px; font-weight: 700; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.size { height: 52px; border: 1px solid #404040; background: transparent; font-weight: 700; cursor: pointer; }
.size[aria-pressed="true"] { background: var(--text); color: #0A0A0A; border-color: var(--text); }
.size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.details { border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary { padding: 18px 0; font-weight: 700; letter-spacing: .08em; font-size: 14px; text-transform: uppercase; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.details summary::after { content: '+'; }
.details details[open] summary::after { content: '–'; }
.details .body { padding: 0 0 18px; color: var(--soft); white-space: pre-line; }
.related { padding: 72px 0; border-top: 1px solid var(--line); }

/* Carrello */
.cart { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding: 32px 0 80px; }
.cart-lines { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img { width: 96px; aspect-ratio: 4 / 5; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; border: 1px solid #404040; margin-top: 10px; }
.qty button { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; font-size: 18px; }
.qty span { min-width: 32px; display: inline-flex; align-items: center; justify-content: center; }
.remove { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 8px 0; font-size: 13px; }
.summary { flex: 1 1 340px; border: 1px solid var(--line); background: #111; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-total { font-size: 20px; font-weight: 700; border-top: 1px solid var(--line); padding-top: 16px; }
.code-row { display: flex; }
.code-row input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; background: transparent; border: 1px solid #404040; text-transform: uppercase; }
.code-row button { height: 48px; padding: 0 16px; background: var(--text); color: #0A0A0A; border: 0; font-weight: 700; cursor: pointer; }
.err { color: #FF8A80; font-size: 14px; }
.ok { color: #7EE2A3; font-size: 14px; }
.note { font-size: 13px; color: var(--muted); }

/* Pagine di testo */
.prose { max-width: 820px; padding: 48px 0 96px; }
.prose h1 { font-size: clamp(44px, 6vw, 64px); margin-bottom: 32px; }
.prose h2 { font-size: 20px; letter-spacing: .04em; margin: 36px 0 12px; }
.prose p, .prose li { color: var(--soft); line-height: 1.7; }
.prose .updated { color: var(--muted); font-size: 14px; }

.shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { min-height: 44px; padding: 0 18px; border: 1px solid #404040; background: transparent; font-weight: 700; letter-spacing: .1em; font-size: 13px; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.chip[aria-current="true"] { background: var(--text); color: #0A0A0A; border-color: var(--text); }
