:root {
  --bg: #111;
  --bg2: #1a1a1a;
  --card: #1e1e1e;
  --text: #f0f0f0;
  --muted: #999;
  --accent: #e0c068;
  --accentDim: rgba(224, 192, 104, 0.15);
  --line: rgba(255,255,255,0.08);
  --max: 1100px;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(17,17,17,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.navin { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-size: 16px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--accent);
}
.navlinks { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.navlinks a:hover { color: var(--text); }
.navToggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }
.navToggle svg { width: 22px; height: 22px; }

/* HERO */
.hero {
  text-align: center;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero .lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}
.price {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
}
.price small { font-size: 14px; color: var(--muted); font-weight: 400; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.2s ease;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(224,192,104,0.3); }
.btn.outline {
  background: transparent; color: var(--accent);
}
.btn.outline:hover { background: var(--accentDim); }
.btn.small { padding: 8px 16px; font-size: 12px; }

/* SECTIONS */
.section { padding: 60px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 12px;
}
h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.muted { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* CATALOG GRID */
.catalogGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.productCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: all 0.25s ease;
}
.productCard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.productCard .cardImg {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}
.productCard .cardImg svg {
  width: 75%;
  height: 75%;
  color: var(--accent);
  opacity: 0.85;
}
.productCard .cardBody { padding: 16px; }
.productCard .cardBody h3 {
  font-size: 15px; font-weight: 700; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.productCard .cardBody p {
  font-size: 12px; color: var(--muted); margin-bottom: 10px;
}
.productCard .cardPrice {
  font-size: 18px; font-weight: 800; color: var(--accent);
}

/* PRODUCT PAGE */
.productHero {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line);
}
.productHero .backLink {
  font-size: 13px; color: var(--muted); margin-bottom: 20px; display: inline-block;
}
.productHero .backLink:hover { color: var(--accent); }
.productSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}
.productVisual {
  background: #0a0a0a;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.productVisual svg {
  width: 80%;
  height: 80%;
  color: var(--accent);
}
.productInfo h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.productInfo .origin {
  font-size: 14px; color: var(--accent); margin-bottom: 16px;
}
.productInfo .desc {
  color: var(--muted); line-height: 1.7; margin-bottom: 24px;
}
.productInfo .desc p + p { margin-top: 12px; }

.metaGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.metaGrid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--bg2);
}
.metaGrid > div b {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 4px;
}
.metaGrid > div span { font-size: 14px; }

.sizeSelector { margin-bottom: 20px; }
.sizeLabel {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 8px;
}
.sizeBtns { display: flex; gap: 6px; flex-wrap: wrap; }
.sizeBtns button {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.sizeBtns button:hover { border-color: var(--accent); }
.sizeBtns button.active {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
  font-weight: 700;
}

.buyBtn {
  display: block;
  text-align: center;
  padding: 16px;
  font-size: 16px;
  width: 100%;
  margin-top: 20px;
}
.buyNote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* COLOR SELECTOR */
.colorSelector { margin-bottom: 20px; }
.colorBtns { display: flex; gap: 8px; }
.colorBtns button {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.colorBtns button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.colorBtns button[data-color="nero"] { background: #111; }
.colorBtns button[data-color="bianco"] { background: #f0f0f0; }
.colorBtns button[data-color="grigio"] { background: #888; }

/* INFO SECTION */
.infoSection { background: var(--bg2); }
.infoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.infoCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255,255,255,0.02);
}
.infoCard h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 8px;
  color: var(--accent);
}
.infoCard p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 12px;
  color: var(--muted);
}
.footerin { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(16px); transition: all 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navlinks { display: none; }
  .navToggle { display: block; }
  .navlinks.show {
    display: flex; flex-direction: column;
    position: absolute; top: 56px; left: 0; right: 0;
    background: rgba(17,17,17,0.96);
    padding: 16px; gap: 12px;
    border-bottom: 1px solid var(--line);
  }
  .productSplit { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .catalogGrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .metaGrid { grid-template-columns: 1fr; }
}
