/* =========================================================
   DESIGN SYSTEM — sneaker reseller ecommerce (prototipo)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* base */
  --black: #0a0a0a;
  --black-soft: #141414;
  --white: #f8f8f4;
  --paper: #ffffff;

  /* accents */
  --volt: #ff4d2e;
  --volt-dark: #cc3016;
  --flame: #ff4d2e;
  --pink: #ff2e93;
  --badge-new: #d4ff3f;

  /* neutrals */
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #d4d4d0;
  --gray-100: #eeeeea;

  /* type */
  --font-display: 'Anton', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* layout */
  --container: 1320px;
  --radius: 14px;
  --radius-sm: 8px;

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-700);
}

/* =========== buttons =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn-volt { background: var(--volt); color: var(--white); }
.btn-volt:hover { background: var(--black); color: var(--volt); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--flame); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline.light { color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline.light:hover { background: var(--white); color: var(--black); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1fb558; transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--black); }
.btn-blue { background: #2D9CDB; color: var(--white); }
.btn-blue:hover { background: #1C7FB8; transform: translateY(-2px); }
.btn-sm { width: 230px; padding: 12px 10px; font-size: 12.5px; }
.btn-light:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; }

/* =========== top bar + header =========== */
.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
  text-transform: uppercase;
}
.topbar span { color: var(--volt); }

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--black);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo .dot { color: var(--flame); }
.header-logo-mark { width: 32px; height: 32px; border-radius: 50%; margin-right: 8px; }
nav.main-links { display: flex; gap: 32px; }
nav.main-links a {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .03em;
  position: relative;
  padding-bottom: 4px;
}
nav.main-links a.active,
nav.main-links a:hover { color: var(--flame); }
nav.main-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 3px;
  background: var(--volt);
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s ease;
  position: relative;
}
.icon-btn:hover { background: var(--gray-100); }
.icon-btn svg { width: 21px; height: 21px; }
.burger { display: none; }

.search-box { position: relative; }
.search-flyout {
  display: none;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border: 2px solid var(--black); border-radius: 999px;
  padding: 4px; z-index: 110;
}
.search-flyout.open { display: flex; }
.search-flyout input {
  border: none; outline: none; background: transparent;
  padding: 10px 16px; font-weight: 600; font-size: 14px;
  width: 220px;
}

/* =========== marquee =========== */
.marquee {
  background: var(--black);
  color: var(--volt);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  border-bottom: 3px solid var(--black);
}
.marquee-track {
  display: inline-flex;
  animation: scroll-left 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after { content: '✦'; color: var(--flame); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========== hero =========== */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--white);
}
.word-cyan { color: #1DFEDE; }
.word-blue { color: #2D9CDB; }
.word-pink { color: #FE016B; }
.hero p.lead {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  max-width: 480px;
  margin: 22px 0 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: linear-gradient(rgba(0,0,0,.1), rgba(0,0,0,.4)), url('../img/sfondo-ufficiale.jpg');
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease;
}
.hero-visual:hover { transform: scale(1.01); }
.hero-visual .shoe-icon { width: 62%; opacity: .95; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
.hero-visual img.product-photo { width: 94%; height: 94%; object-fit: contain; }
.hero-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--volt); color: var(--black);
  font-weight: 800; font-size: 12px; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  z-index: 2;
}
.hero-visual-seal { flex-direction: column; gap: 18px; }
.seal-svg { width: 64%; }
.seal-spin { transform-origin: 200px 200px; animation: seal-rotate 26s linear infinite; }
@keyframes seal-rotate { to { transform: rotate(360deg); } }
.seal-caption {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(20px, 2.4vw, 30px);
  text-align: center;
  line-height: 1.05;
  letter-spacing: .01em;
}
.hero-stats {
  display: flex; gap: 36px;
  margin-top: 46px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 26px;
}
.hero-stats div strong {
  font-family: var(--font-display);
  font-size: 30px;
  display: block;
  color: var(--volt);
}
.hero-stats div span { font-size: 12px; color: var(--gray-300); text-transform: uppercase; letter-spacing: .04em; }

/* =========== sections =========== */
section { padding: 72px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  gap: 20px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); }
.section-head .see-all { font-weight: 800; text-transform: uppercase; font-size: 13px; border-bottom: 3px solid var(--volt); padding-bottom: 3px; }

.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.instagram-item {
  position: relative; display: block; aspect-ratio: 1/1; border-radius: var(--radius-sm);
  overflow: hidden; background: var(--gray-100);
}
.instagram-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.instagram-item:hover img { transform: scale(1.06); }
.instagram-play {
  position: absolute; bottom: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(10,10,10,.65); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.instagram-play svg { width: 14px; height: 14px; }
@media (max-width: 980px) { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* =========== product grid & card =========== */
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card-product {
  background: var(--paper);
  border-radius: var(--radius);
  border: 2px solid var(--black);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card-product:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 8px 10px 0 var(--black);
}
.card-media {
  aspect-ratio: 1/0.82;
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-media .shoe-icon { width: 70%; transition: transform .35s ease; }
.card-product:hover .card-media .shoe-icon { transform: scale(1.08) rotate(-3deg); }
/* foto prodotto reali: sostituiranno il placeholder cw-* + shoe-icon con <img class="product-photo"> */
.card-media img.product-photo { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-product:hover .card-media img.product-photo { transform: scale(1.06); }
.card-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  color: var(--black);
  z-index: 2;
}
.card-badge.new { background: var(--badge-new); }
.card-badge.sale { background: var(--flame); color: var(--white); }
.card-badge.hot { background: var(--pink); color: var(--white); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-brand { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); }
.card-name { font-weight: 700; font-size: 15px; line-height: 1.3; min-height: 39px; }
.card-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; }
.card-price { font-family: var(--font-display); font-size: 20px; }
.card-price-old { font-size: 13px; color: var(--gray-500); text-decoration: line-through; }
.card-stock { font-size: 11px; font-weight: 700; color: var(--flame); text-transform: uppercase; }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: -50px;
  background: var(--black); color: var(--white);
  padding: 11px; border-radius: 999px; text-align: center;
  font-weight: 800; font-size: 12px; text-transform: uppercase;
  transition: bottom .22s ease;
  z-index: 2;
}
.card-media:hover .quick-add,
.card-product:hover .quick-add { bottom: 12px; }

/* colorway placeholder gradients (used instead of real photos) */
.cw-silver   { background: linear-gradient(135deg,#e9e9ea,#b9bcc3); }
.cw-chicago  { background: linear-gradient(135deg,#c8102e,#0a0a0a 70%); }
.cw-zebra    { background: linear-gradient(135deg,#f2f2f2,#1a1a1a 55%); }
.cw-grey     { background: linear-gradient(135deg,#cfd2d6,#8b8f96); }
.cw-panda    { background: linear-gradient(135deg,#ffffff,#111 60%); }
.cw-cream    { background: linear-gradient(135deg,#f2e6cf,#3a352c); }
.cw-bred     { background: linear-gradient(135deg,#c8102e,#111 65%); }
.cw-white    { background: linear-gradient(135deg,#ffffff,#dcdcdc); }
.cw-black    { background: linear-gradient(135deg,#2b2b2b,#000); }
.cw-ochre    { background: linear-gradient(135deg,#d9a441,#7a5321); }
.cw-elephant { background: linear-gradient(135deg,#d7d2c4,#8f8a78); }
.cw-green    { background: linear-gradient(135deg,#8bd17c,#1f5c3a); }
.cw-cement   { background: linear-gradient(135deg,#e7e2d6,#b7a98f); }
.cw-beige    { background: linear-gradient(135deg,#eadfc9,#a9967a); }
.cw-bone     { background: linear-gradient(135deg,#efe6d8,#b7ab95); }
.cw-multicolor { background: linear-gradient(135deg,#ff4d2e,#d4ff3f 40%,#ff2e93 100%); }
.cw-kentucky { background: linear-gradient(135deg,#0057b8,#0a0a0a 70%); }
.cw-cloud    { background: linear-gradient(135deg,#dbe7ef,#95a9b8); }
.cw-unc      { background: linear-gradient(135deg,#7bafd4,#0a0a0a 70%); }
.cw-infrared { background: linear-gradient(135deg,#ff2e2e,#111 65%); }
.cw-wave     { background: linear-gradient(135deg,#7ec8e3,#2e4d8a); }

/* anteprima "foto da studio": sfondo nero + rete metallica, come le foto prodotto reali
   (le foto vere arriveranno gia' con questo tipo di sfondo incorporato nello scatto) */
.cw-studio {
  position: relative;
  background: radial-gradient(ellipse at 50% 32%, #262626 0%, #0a0a0a 65%, #000 100%);
  overflow: hidden;
}
.cw-studio::before {
  content: '';
  position: absolute;
  left: -10%; right: -10%;
  bottom: 30%;
  height: 16%;
  background-image:
    repeating-linear-gradient(45deg, rgba(210,210,210,0.55) 0 1.5px, transparent 1.5px 16px),
    repeating-linear-gradient(-45deg, rgba(210,210,210,0.55) 0 1.5px, transparent 1.5px 16px);
  background-size: 32px 32px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18), 0 -1px 0 rgba(255,255,255,0.08);
  opacity: 0.85;
}
.cw-studio .shoe-icon { position: relative; z-index: 1; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.8)); }
.cw-studio .shoe-icon path:first-of-type { fill: #d8d8d8; }
.cw-studio .shoe-icon path:nth-of-type(2) { stroke: rgba(255,255,255,0.85); }

/* =========== brand strip neon =========== */
.neon-marquee {
  background: var(--black);
  overflow: hidden;
  white-space: nowrap;
  padding: 36px 0;
  border-top: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
}
.neon-track {
  display: inline-flex;
  animation: scroll-left 15s linear infinite;
  will-change: transform;
}
.neon-track a {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 54px);
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.neon-track a:hover { transform: scale(1.08); filter: brightness(1.3); }
.neon-track a::after { content: '✦'; font-size: 16px; opacity: .5; color: #444; }

.glow-cyan  { color: #1DFEDE; text-shadow: 0 0 8px #1DFEDE99; animation: flicker 3.4s ease-in-out infinite; }
.glow-pink  { color: #FE016B; text-shadow: 0 0 8px #FE016B99; animation: flicker 3.8s ease-in-out infinite; }
.glow-blue  { color: #2D9CDB; text-shadow: 0 0 8px #2D9CDB99; animation: flicker 4.2s ease-in-out infinite; }
.glow-flame { color: #ff4d2e; text-shadow: 0 0 8px #ff4d2e99; animation: flicker 3.6s ease-in-out infinite; }
.glow-lime  { color: #d4ff3f; text-shadow: 0 0 8px #d4ff3f99; animation: flicker 4s ease-in-out infinite; }

@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .92; }
}

/* =========== trust / features =========== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.trust-card > svg { width: 30px; height: 30px; color: var(--volt); margin-bottom: 14px; }
.trust-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 800; text-transform: none; margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--gray-300); margin: 0; }

/* =========== newsletter =========== */
.newsletter {
  background: var(--volt);
  border-radius: var(--radius);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter h2 { font-size: clamp(28px, 4vw, 42px); max-width: 480px; color: var(--white); }
.newsletter p { color: var(--white); }
.newsletter .btn-dark { box-shadow: inset 0 0 0 2px var(--white); }
.newsletter .btn-outline { color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.newsletter .btn-outline:hover { background: var(--white); color: var(--black); }
.newsletter form { display: flex; gap: 10px; flex: 1; min-width: 300px; max-width: 460px; }
.newsletter input {
  flex: 1; padding: 15px 18px; border-radius: 999px;
  border: 2px solid var(--black); font-weight: 600;
}
.newsletter input::placeholder { color: var(--gray-700); }

/* =========== footer =========== */
footer.site {
  background: var(--black);
  color: var(--gray-300);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid .logo { color: var(--white); margin-bottom: 0; }
.footer-grid > div:first-child { text-align: center; }
.footer-brand-mark { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 12px; }
.footer-brand-text { text-align: center; }
.footer-grid > div:first-child .socials { justify-content: center; }
.footer-logo-mark { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.footer-grid p { font-size: 14px; max-width: 280px; }
.footer-tagline { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; max-width: none; margin: 2px 0 0; }
.footer-col h4 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: var(--volt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; flex-wrap: wrap; gap: 12px;
}
.footer-legal-badges {
  display: flex; justify-content: center; align-items: center;
  gap: 18px; flex-wrap: wrap;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.socials { display: flex; gap: 18px; }
.socials a {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: color .15s ease, transform .15s ease;
}
.socials a svg { width: 26px; height: 26px; display: block; }
.socials a:hover { transform: scale(1.1); }
.socials a[title="Instagram"] { color: #F77737; }
.socials a[title="Facebook"] { color: #1877F2; }
.socials a[title="TikTok"] { color: var(--white); }
.socials a[title="WhatsApp"] { color: #25D366; }

/* =========== whatsapp floating cta =========== */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 200;
  background: #25D366; color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* =========== breadcrumb / page header =========== */
.page-header {
  background: var(--black);
  color: var(--white);
  padding: 46px 0;
}
.page-header .eyebrow { color: var(--volt); }
.page-header h1 { font-size: clamp(32px, 5vw, 56px); margin-top: 6px; }

/* =========== shop layout =========== */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}
.filters {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 100px;
}
.filters h3 { font-family: var(--font-body); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 14px; }
.filter-group { margin-bottom: 26px; }
.filter-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; margin-bottom: 10px; cursor: pointer;
}
.filter-group input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--flame); }
.brand-filter-extra { display: flex; flex-direction: column; }
.brand-filter-extra[hidden] { display: none; }
.brand-filter-toggle {
  font-size: 13px; font-weight: 800; color: var(--flame);
  text-transform: uppercase; letter-spacing: .03em;
  padding: 4px 0; margin-top: 2px;
}
.brand-filter-toggle:hover { text-decoration: underline; }
.price-range { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.price-range input[type="range"] { width: 100%; accent-color: var(--flame); }
.shop-toolbar {
  display: flex; justify-content: flex-end; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.shop-toolbar select {
  border: 2px solid var(--black); border-radius: 999px;
  padding: 9px 16px; font-weight: 700; font-size: 13px;
}
.result-count { font-weight: 700; font-size: 14px; }
.result-count span { color: var(--flame); }

/* =========== product detail =========== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.product-detail > div { min-width: 0; }
.gallery-main-wrap { position: relative; }
.gallery-logo-mark {
  position: absolute; bottom: 24px; right: 14px; width: 48px; height: 48px;
  border-radius: 50%; box-shadow: 0 6px 16px rgba(10,10,10,0.35);
  z-index: 2;
}
.gallery-main {
  aspect-ratio: 1/0.9; border-radius: var(--radius); border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  margin-bottom: 14px;
}
.gallery-main .shoe-icon { width: 62%; }
.gallery-main img.product-photo { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs img.product-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumbs button {
  width: 76px; height: 76px; min-width: 0; flex-shrink: 1; border-radius: var(--radius-sm);
  border: 2px solid var(--black); display: flex; align-items: center; justify-content: center;
  opacity: .55; transition: opacity .15s ease;
}
.gallery-thumbs button.active,
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs .shoe-icon { width: 65%; }
.pd-brand { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--flame); font-size: 13px; }
.pd-title { font-size: clamp(30px, 3.4vw, 44px); margin: 8px 0 16px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.pd-price { font-family: var(--font-display); font-size: 34px; }
.pd-price-old { font-size: 18px; color: var(--gray-500); text-decoration: line-through; }
.pd-desc { color: var(--gray-700); margin-bottom: 26px; line-height: 1.7; }
.size-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 13px; margin-bottom: 10px; text-transform: uppercase; }
.size-label a { color: var(--flame); text-decoration: underline; font-weight: 600; text-transform: none; }
.size-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 10px; }
.size-pill {
  border: 2px solid var(--black); border-radius: var(--radius-sm);
  padding: 11px 0; text-align: center; font-weight: 700; font-size: 13px;
  transition: background .15s ease, color .15s ease;
}
.size-pill.selected { background: var(--black); color: var(--volt); }
.size-pill:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.size-note { font-size: 12px; color: var(--gray-500); line-height: 1.6; margin: 0 0 22px; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 30px; }
.pd-actions-stack { flex-direction: column; }
.size-selected-hint { font-size: 12px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; margin: -10px 0 14px; }
.btn.btn-disabled { opacity: .35; pointer-events: none; }
.pd-meta { border-top: 1px solid var(--gray-300); padding-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.pd-meta div { display: flex; gap: 10px; font-size: 14px; align-items: center; }
.pd-meta svg { width: 18px; height: 18px; color: var(--flame); flex-shrink: 0; }
.stock-line { font-weight: 700; color: var(--flame); font-size: 13px; text-transform: uppercase; margin-bottom: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--gray-700); }
.field input, .field select {
  border: 2px solid var(--black); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 14px; font-weight: 600;
}

/* =========== generic content pages =========== */
.content-page { max-width: 820px; }
.content-page h2 { font-size: 30px; margin: 48px 0 16px; padding-top: 24px; border-top: 2px solid var(--black); }
.content-page h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.content-page h3 { font-size: 18px; margin: 28px 0 10px; }
.content-page p { color: var(--gray-700); line-height: 1.75; margin-bottom: 16px; }
.content-page ul { list-style: disc; margin: 0 0 20px; padding-left: 22px; color: var(--gray-700); }
.content-page ul li { margin-bottom: 8px; line-height: 1.65; }
.content-page ul li::marker { color: var(--flame); }

.accordion-item { border-bottom: 2px solid var(--black); }
.accordion-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-weight: 800; font-size: 16px; text-align: left;
}
.accordion-head .plus { font-family: var(--font-display); font-size: 22px; transition: transform .2s ease; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-item.open .accordion-body { max-height: 900px; }
.accordion-body p { padding-bottom: 20px; color: var(--gray-700); margin: 0; line-height: 1.7; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-card { border: 2px solid var(--black); border-radius: var(--radius); padding: 26px; margin-bottom: 16px; }
.contact-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.contact-card span { color: var(--gray-700); font-size: 14px; }

.team-strip { display: flex; gap: 40px; margin: 40px 0; flex-wrap: wrap; }
.stat-block strong { font-family: var(--font-display); font-size: 40px; display: block; color: var(--flame); }
.stat-block span { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-700); }

.about-logo-mark { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 20px; }
.founder-block { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 40px; align-items: stretch; }
.founder-photo {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 16px 32px rgba(10,10,10,0.18);
}
@media (max-width: 700px) {
  .founder-block { grid-template-columns: 1fr; }
  .founder-photo { height: auto; aspect-ratio: 3 / 4; width: 100%; max-width: 420px; margin: 0 auto 8px; }
}

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========== responsive =========== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  nav.main-links { display: none; }
  nav.main-links.open-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--black);
    padding: 8px 24px 18px;
    z-index: 99;
  }
  nav.main-links.open-mobile a { padding: 12px 0; border-bottom: 1px solid var(--gray-300); }
  nav.main-links.open-mobile a:last-child { border-bottom: none; }
  .burger { display: flex; }
}
@media (max-width: 620px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card-name { min-height: unset; }
  .page-title-tight { font-size: 22px !important; white-space: nowrap; }
  section { padding: 52px 0; }
  .newsletter { flex-direction: column; align-items: flex-start; padding: 34px 24px; }
  .hero-cta { justify-content: center; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .seal-svg { width: 82%; }
  .seal-svg text { font-size: 16px !important; }
  .nav-actions { gap: 10px; }
  .nav-actions a[title="Scrivici su WhatsApp"] { display: none; }
  .wa-float { bottom: 18px; left: 18px; width: 52px; height: 52px; }
  .wa-float svg { width: 25px; height: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid p { font-size: 15px; max-width: none; }
  .footer-col h4 { font-size: 14px; }
  .footer-col a { font-size: 15px; }
}
