:root {
  --bg: #050505;
  --bg2: #0a0a0a;
  --card: #121212;
  --text: #f0f0f0;
  --muted: #888888;
  --accent: #00ffaa;
  --accentLight: rgba(0, 255, 170, 0.1);
  --accentDim: #003322;
  --line: rgba(255, 255, 255, 0.08);
  --lineHover: rgba(0, 255, 170, 0.3);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadowHover: 0 8px 30px rgba(0, 255, 170, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --max: 1100px;
  --radius: 16px;
  --radiusSm: 10px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .brand, .kicker, .price, .btn {
  font-family: 'Space Grotesk', sans-serif;
}

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(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navin { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.brand {
  font-size: 17px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent);
}
.brand span { font-weight: 400; color: var(--muted); }
.navlinks { display: flex; gap: 20px; font-size: 13px; font-weight: 500; color: var(--muted); }
.navlinks a { transition: color 0.2s; }
.navlinks a:hover { color: var(--accent); }
.navToggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 6px; }
.navToggle svg { width: 22px; height: 22px; }

/* HERO */
.hero {
  padding: 80px 0 64px;
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.heroText {
  text-align: left;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero .lead {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 28px 0;
  line-height: 1.6;
}
.heroVisual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 1px solid var(--line);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heroVisual img {
  width: 100%;
  display: block;
  opacity: 0.95;
  mix-blend-mode: lighten;
}
.price {
  display: inline-block;
  font-size: 32px;
  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: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.1, 0.9, 0.2, 1);
  border: none;
  background: var(--accent);
  color: #000;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 255, 170, 0.3); }
.btn.outline {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn.outline:hover { background: var(--accentLight); color: #fff; border-color: #fff; }
.btn.small { padding: 8px 18px; font-size: 13px; }

/* SECTIONS */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--line); }
.kicker {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); margin-bottom: 10px; font-weight: 600;
}
h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.muted { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* CATALOG GRID */
.catalogGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.productCard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: all 0.25s ease;
  box-shadow: var(--shadow);
}
.productCard:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadowHover);
}
.productCard .cardImg {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.productCard .cardImg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(0,255,170,0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.productCard:hover .cardImg::after {
  opacity: 1;
}
.productCard .cardImg img {
  width: 75%;
  height: 75%;
  opacity: 0.9;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.1, 0.9, 0.2, 1), color 0.3s ease;
}
.productCard:hover .cardImg img {
  transform: scale(1.08);
  color: var(--accent);
}
.productCard .cardBody { padding: 18px; }
.productCard .cardBody h3 {
  font-size: 15px; font-weight: 700; margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.productCard .cardBody p {
  font-size: 12px; color: var(--muted); margin-bottom: 10px;
  line-height: 1.4;
}
.productCard .cardPrice {
  font-size: 17px; font-weight: 700; color: var(--accent);
}

/* PRODUCT PAGE */
.productHero {
  padding: 56px 0 40px;
}
.productHero .backLink {
  font-size: 13px; color: var(--muted); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.productHero .backLink:hover { color: var(--accent); }
.productSplit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 20px;
}
.productVisual {
  background: #000000;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
  position: relative;
}
.productVisual::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(0,255,170,0.1) 0%, transparent 80%);
  pointer-events: none;
}
.productVisual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: var(--accent);
  filter: drop-shadow(0 0 15px rgba(0,255,170,0.2));
}
.productInfo h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.productInfo .origin {
  font-size: 14px; color: var(--accent); font-weight: 500; margin-bottom: 14px;
}
.productInfo .desc {
  color: var(--muted); line-height: 1.7; margin-bottom: 24px;
  font-size: 14px;
}
.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: var(--radiusSm);
  padding: 12px;
  background: var(--bg);
}
.metaGrid > div b {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 4px;
}
.metaGrid > div span { font-size: 13px; font-weight: 500; }

.colorSelector { margin-bottom: 18px; }
.sizeLabel {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 600;
}
.colorBtns { display: flex; gap: 10px; }
.colorBtns button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2.5px solid var(--line);
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.colorBtns button.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accentLight);
}
.colorBtns button[data-color="nero"] { background: #1a1a1a; }
.colorBtns button[data-color="bianco"] { background: #f0f0f0; border-color: #ddd; }
.colorBtns button[data-color="grigio"] { background: #8a8a8a; }

.sizeSelector { margin-bottom: 20px; }
.sizeBtns { display: flex; gap: 6px; flex-wrap: wrap; }
.sizeBtns button {
  padding: 9px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.sizeBtns button:hover { border-color: var(--accent); color: var(--accent); }
.sizeBtns button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}

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

/* INFO SECTION */
.infoSection { background: var(--bg2); border-top: 1px solid var(--line); }
.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(--radiusSm);
  padding: 22px;
  background: var(--card);
}
.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: 28px 0;
  font-size: 13px;
  color: var(--muted);
  margin-top: 40px;
}
.footerin { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .navlinks { display: none; }
  .navToggle { display: block; }
  .navlinks.show {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(250, 248, 245, 0.98);
    padding: 16px; gap: 14px;
    border-bottom: 1px solid var(--line);
  }
  .productSplit { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 32px; }
  .heroText { text-align: center; }
  .hero .lead { margin: 0 auto 24px; }
  .catalogGrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .metaGrid { grid-template-columns: 1fr; }
}
