/* =========================================================
   EGOMANIA — Design System (storefront pubblico)
   Basato sul mock Claude Design consegnato dall'agenzia.
   Convive con Tailwind: scopo — sezioni/componenti della home.
   ========================================================= */

:root {
  --blue-950: #0f1e4d;
  --blue-900: #1e3a8a;
  --blue-800: #253f99;
  --blue-700: #2c4bb3;
  --blue-600: #3b5bdb;
  --blue-100: #e4ecff;
  --blue-50: #f4f7ff;

  --accent: #ff6b35;
  --accent-dark: #e55420;
  --accent-light: #ffe3d6;

  --ink-900: #0b1433;
  --ink-700: #2a3362;
  --ink-500: #5d6596;
  --ink-300: #a9afd0;
  --ink-200: #d7dbed;
  --ink-100: #ebedf5;

  --paper: #ffffff;
  --cream: #fbf9f5;
  --cream-2: #f5f1e8;

  --font-display: "Fraunces", ui-serif, Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(15, 30, 77, 0.06), 0 1px 3px rgba(15, 30, 77, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 30, 77, 0.08), 0 2px 4px rgba(15, 30, 77, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(15, 30, 77, 0.2), 0 8px 16px -8px rgba(15, 30, 77, 0.1);
  --shadow-xl: 0 30px 60px -20px rgba(15, 30, 77, 0.3);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;
}

.ego-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .ego-container { padding: 0 20px; }
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: "SOFT" 50, "opsz" 144;
}

/* Announcement */
.announce {
  background: var(--blue-950);
  color: #fff;
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.announce strong { color: var(--accent); font-weight: 600; margin-right: 6px; }

/* Nav */
.site-nav {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--ink-100);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.nav-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 18px 0;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 46px; width: auto; }
.nav-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink-100);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  max-width: 440px;
  transition: all .2s;
}
.nav-search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--blue-900); }
.nav-search input {
  border: none; background: transparent; outline: none; font: inherit;
  font-size: 14px; width: 100%; color: var(--ink-900);
}
.nav-search input::placeholder { color: var(--ink-500); }
.nav-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  border: none; background: transparent;
  display: grid; place-items: center;
  color: var(--ink-700); transition: background .15s;
  position: relative;
}
.icon-btn:hover { background: var(--ink-100); }
.icon-btn-whatsapp { color: #25D366; }
.icon-btn-whatsapp:hover { background: rgba(37,211,102,0.12); color: #1DA851; }

/* WhatsApp icon: PNG multicolor nell'header */
.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.15s, background 0.15s;
}
.wa-icon:hover { background: rgba(37,211,102,0.1); transform: translateY(-1px); }
.wa-icon img { display: block; width: 28px; height: 28px; }
.icon-btn .pip {
  position: absolute; top: 8px; right: 8px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: var(--radius-full);
  display: grid; place-items: center;
}
.icon-btn .pip-warning {
  background: #d97706;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(217, 119, 6, 0.3);
}

/* Icona ordini in sospeso — separata dall'avatar per chiarezza */
.pending-btn {
  color: #d97706;
}
.pending-btn:hover {
  background: rgba(217, 119, 6, 0.1);
  color: #b45309;
}
.pending-btn .pip-warning {
  /* Posizione leggermente shiftata per non sovrapporsi all'orologio */
  top: 4px; right: 4px;
}

/* Avatar utente loggato (social) — sostituisce l'icona generica */
.user-btn { padding: 0; }
.user-avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--ink-100);
  display: block;
}
.user-btn:hover .user-avatar { border-color: var(--blue-900); }
.user-initials {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  display: grid; place-items: center;
  background: var(--blue-900);
  color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.02em;
}

/* Variante grande per le pagine profilo (header) */
.user-initials-lg {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  display: grid; place-items: center;
  background: var(--blue-900);
  color: #fff;
  font-size: 26px; font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.user-avatar-lg {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--ink-100);
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.nav-cats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--ink-100);
  padding: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-cats a {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  text-decoration: none;
  transition: color .15s;
}
.nav-cats a:hover { color: var(--blue-900); }
.nav-cats a.active { color: var(--blue-900); }
.nav-cats a.active::after {
  content:""; position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 2px; background: var(--accent);
}

/* Wrapper per scroll orizzontale categorie con frecce e sfumature.
   Vive come elemento separato (sibling di <header>) così su mobile
   resta sticky a top:0 mentre il resto dell'header scrolla via. */
.nav-cats-wrap {
  position: sticky;
  top: 82px; /* Desktop: sotto il site-nav (sticky a top:0, alto ~82px) */
  z-index: 49;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--ink-100);
}
.nav-cats-inner {
  position: relative; /* contesto per le frecce in absolute */
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .nav-cats-inner { padding: 0 20px; }
}
.nav-cats-wrap .nav-cats {
  border-top: none;
}
.nav-cats-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ink-100);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 1px 4px rgba(15, 30, 77, 0.08);
  padding: 0;
  transition: opacity .15s, background .15s, color .15s;
}
.nav-cats-arrow:hover { background: #fff; color: var(--blue-900); }
.nav-cats-arrow[hidden] { display: none; }
.nav-cats-arrow-left { left: 4px; }
.nav-cats-arrow-right { right: 4px; }
/* Fade gradient ai bordi quando le frecce sono visibili — segnale che c'è altro.
   Posizionati sull'inner così seguono il padding del container. */
.nav-cats-wrap.has-overflow .nav-cats-inner::before,
.nav-cats-wrap.has-overflow .nav-cats-inner::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 36px;
  pointer-events: none;
  z-index: 3;
}
.nav-cats-wrap.has-overflow .nav-cats-inner::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0));
  opacity: var(--fade-left, 0);
}
.nav-cats-wrap.has-overflow .nav-cats-inner::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95), rgba(255,255,255,0));
  opacity: var(--fade-right, 1);
}

/* Header responsive */
@media (max-width: 768px) {
  /* Header su 2 righe: logo+icone in alto, search a tutta larghezza sotto.
     Più aria, niente troncamento del placeholder, icone più cliccabili. */
  .nav-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
    padding: 12px 0 10px;
  }
  .nav-brand { grid-column: 1; grid-row: 1; }
  .nav-brand img { height: 36px; }
  .nav-actions {
    grid-column: 2; grid-row: 1;
    justify-self: end;
    gap: 2px;
  }
  .nav-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    padding: 9px 14px;
    gap: 8px;
  }
  .nav-search input { font-size: 13px; }
  .icon-btn { width: 36px; height: 36px; }
  .wa-icon { width: 36px; height: 36px; }
  .wa-icon img { width: 22px; height: 22px; }

  /* Categories nav: scroll orizzontale invece che wrap multi-riga */
  .nav-cats {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav-cats::-webkit-scrollbar { display: none; }
  .nav-cats a {
    padding: 12px 16px;
    flex-shrink: 0;
    font-size: 12px;
    white-space: nowrap;
  }
  .nav-cats a.active::after { left: 16px; right: 16px; }

  /* Su mobile l'intero header NON è sticky: scrolla via lasciando
     solo la barra categorie incollata in alto. */
  .site-nav {
    position: static;
    backdrop-filter: none;
  }
  .nav-cats-wrap {
    top: 0; /* override del desktop top:82px */
  }
}

/* Buttons */
.ego-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: var(--radius-full);
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: transform .1s ease, box-shadow .15s, background .15s;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.ego-btn:active { transform: translateY(1px); }
.ego-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(255, 107, 53, 0.55);
}
.ego-btn-primary:hover { background: var(--accent-dark); }
.ego-btn-dark { background: var(--blue-900); color: #fff; }
.ego-btn-dark:hover { background: var(--blue-800); }
.ego-btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.ego-btn-ghost:hover { background: rgba(255,255,255,0.1); }
.ego-btn-outline {
  background: #fff; color: var(--blue-900);
  border: 1.5px solid var(--ink-200);
}
.ego-btn-outline:hover { border-color: var(--blue-900); }
.ego-btn-lg { padding: 18px 32px; font-size: 16px; }

/* HERO slideshow */
.hero {
  position: relative;
  background: var(--blue-900);
  overflow: hidden;
  color: #fff;
}
.hero-stage { position: relative; min-height: 560px; display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 460px);
  align-items: center;
  gap: 40px;
  padding: 70px 0 90px;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: ego-pulse 2s infinite;
}
@keyframes ego-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.hero-sub {
  font-size: 18px; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1;
  place-self: center end;
}
.hero-visual-card {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--cream);
}
.hero-visual-card img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-visual-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.15));
  pointer-events: none;
}

/* Hero responsive: stack verticale su mobile */
@media (max-width: 768px) {
  .hero-stage { min-height: auto; }
  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0 50px;
  }
  .hero h1 { font-size: clamp(36px, 9vw, 56px); margin-bottom: 16px; }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 11px; }
  .hero-visual {
    width: min(100%, 320px);
    place-self: center;
    aspect-ratio: 1 / 1;
  }
  .hero-ctas { gap: 10px; }
  .hero-ctas .ego-btn { padding: 12px 20px; font-size: 14px; }
}

.hero-badge {
  position: absolute;
  background: #fff;
  color: var(--ink-900);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px;
}
.hero-badge-1 { top: -14px; left: -24px; }
.hero-badge-2 { bottom: 30px; right: -20px; }
.hero-badge .em {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.hero-nav {
  position: absolute;
  bottom: 40px; right: 32px;
  display: flex; gap: 10px; z-index: 3;
}
.hero-arrow {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  transition: all .2s;
  cursor: pointer;
}
.hero-arrow:hover { background: rgba(255,255,255,0.22); }
.hero-dots {
  position: absolute;
  bottom: 55px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  z-index: 3;
  padding: 0 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-dot {
  flex: 1;
  max-width: 160px;
  height: 3px;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 12px 0;
  margin-top: -12px;
}
.hero-dot::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  height: 3px;
  width: 100%;
  background: rgba(255,255,255,0.18);
  border-radius: 2px;
}
.hero-dot .fill {
  position: absolute;
  left: 0; top: 12px;
  height: 3px; width: 0;
  background: var(--accent);
  border-radius: 2px;
  transition: width .15s linear;
}
.hero-dot .label {
  position: absolute;
  left: 0; top: 22px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);
}
.hero-dot.is-active .label { color: #fff; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-blob-1 { width: 400px; height: 400px; background: var(--blue-600); top: -120px; right: -80px; }
.hero-blob-2 { width: 300px; height: 300px; background: var(--accent); bottom: -100px; left: -60px; opacity: 0.2; }

/* COUNTDOWN */
.countdown {
  background: var(--cream-2);
  border-bottom: 1px solid var(--ink-100);
}
.countdown-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; padding: 22px 0; flex-wrap: wrap;
}
.countdown-label {
  font-size: 14px; color: var(--ink-700);
  display: flex; align-items: center; gap: 12px;
}
.countdown-label .display-em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--blue-900);
  font-weight: 500;
}
.countdown-timer { display: flex; gap: 8px; align-items: center; }
.countdown-cell {
  background: #fff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  min-width: 58px;
  text-align: center;
}
.countdown-cell strong {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 600;
  display: block;
  color: var(--blue-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-cell span {
  font-size: 10px; font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.countdown-sep { color: var(--ink-300); font-weight: 700; }

/* HOW IT WORKS */
.how { background: var(--paper); padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0 0 16px;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.section-title em { font-style: italic; color: var(--blue-900); font-weight: 500; }
.section-sub {
  font-size: 17px; color: var(--ink-500);
  max-width: 540px; margin: 0 auto;
  line-height: 1.55;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.how-steps::before {
  content: ""; position: absolute;
  top: 42px; left: 16.67%; right: 16.67%;
  height: 1px;
  background: linear-gradient(90deg, var(--ink-200) 50%, transparent 50%);
  background-size: 10px 1px;
  z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; padding: 0 12px; }
.how-num {
  width: 84px; height: 84px;
  border-radius: var(--radius-full);
  background: #fff;
  border: 2px solid var(--blue-100);
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 36px; font-weight: 500;
  display: grid; place-items: center;
  margin: 0 auto 24px;
  position: relative;
}
.how-num::before {
  content: ""; position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--blue-100);
}
.how-step h3 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 500;
  margin: 0 0 10px; color: var(--ink-900);
}
.how-step p {
  font-size: 15px; color: var(--ink-500);
  line-height: 1.6; margin: 0;
  max-width: 300px; margin-inline: auto;
}
@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; gap: 40px; }
  .how-steps::before { display: none; }
}

/* CATEGORIES */
.categories { background: var(--cream); padding: 100px 0; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  aspect-ratio: 4 / 5;
  display: flex; flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink-100);
}
.cat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.cat-card-label {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 500;
  color: var(--ink-900);
  margin: 0; line-height: 1.05;
}
.cat-card-count { font-size: 12px; font-weight: 600; color: var(--ink-500); }
.cat-card-arrow {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--blue-900);
  color: #fff;
  display: grid; place-items: center;
  position: relative; z-index: 2;
  transition: background .15s;
  flex-shrink: 0;
}
.cat-card:hover .cat-card-arrow { background: var(--accent); }
.cat-visual {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
  opacity: 0.95;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.cat-card:hover .cat-visual { transform: scale(1.05) rotate(-2deg); }
.cat-visual img {
  width: 60%; height: 60%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(15, 30, 77, 0.12));
}
/* Color variations per card (stile mock) */
.cat-card.v1 { background: linear-gradient(160deg, #ffffff, #e4ecff); }
.cat-card.v2 { background: linear-gradient(160deg, #ffffff, #ffe3d6); }
.cat-card.v3 { background: linear-gradient(160deg, #ffffff, #f5f1e8); }
.cat-card.v4 { background: linear-gradient(160deg, #ffffff, #dce8ff); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* CONFIGURATOR */
.config {
  background: var(--blue-900);
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.config::before {
  content: ""; position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.15), transparent 60%);
  top: -200px; right: -200px;
}
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.config-copy .section-eyebrow { color: var(--accent); }
.config-copy .section-title { color: #fff; }
.config-copy .section-title em { color: var(--accent); }
.config-copy p {
  color: rgba(255,255,255,0.8);
  font-size: 17px; line-height: 1.6;
  margin: 20px 0 32px;
}
.config-features { display: grid; gap: 18px; margin-bottom: 36px; }
.config-feat { display: flex; gap: 14px; align-items: flex-start; }
.config-feat-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--accent);
}
.config-feat strong { display: block; font-weight: 600; margin-bottom: 4px; }
.config-feat span { color: rgba(255,255,255,0.7); font-size: 14px; }
.config-mock {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 18px;
  color: var(--ink-900);
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  position: relative;
}
.config-mock-preview {
  background: var(--cream);
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.config-mock-preview-ctrls {
  position: absolute; top: 14px; right: 14px;
  display: flex; gap: 6px;
}
.config-mock-preview-ctrl {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
  color: var(--ink-700);
}
.config-mock-preview-views {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  background: #fff; padding: 5px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.config-mock-preview-views button {
  border: none; background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.config-mock-preview-views .active { background: var(--blue-900); color: #fff; }
.config-mock-panel { display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.config-mock-panel h4 { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.config-mock-tabs {
  display: flex; gap: 4px;
  background: var(--ink-100); padding: 3px;
  border-radius: var(--radius-sm);
}
.config-mock-tab {
  flex: 1; padding: 7px;
  font-size: 11px; font-weight: 600;
  text-align: center;
  border-radius: 5px;
  color: var(--ink-500);
}
.config-mock-tab.active { background: #fff; color: var(--blue-900); box-shadow: var(--shadow-sm); }
.config-mock-field { display: flex; flex-direction: column; gap: 6px; }
.config-mock-field label {
  font-size: 11px; font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.config-mock-input {
  padding: 8px 10px;
  background: var(--ink-100);
  border-radius: 6px;
  font-size: 12px; color: var(--ink-900);
}
.config-mock-colors { display: flex; gap: 6px; }
.config-mock-color {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--ink-200);
}
.config-mock-color.active { box-shadow: 0 0 0 2px var(--blue-900); }
.config-mock-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.config-mock-font {
  padding: 8px;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  font-size: 14px; text-align: center;
}
.config-mock-font.active { border-color: var(--blue-900); background: var(--blue-50); }
.mug-preview { width: 70%; position: relative; }
@media (max-width: 900px) {
  .config-grid { grid-template-columns: 1fr; }
  .config-mock { grid-template-columns: 1fr; }
}

/* FILTERS / PRODUCTS */
.filters { background: var(--paper); padding: 100px 0; }
.filters-grid { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.filter-panel {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky; top: 120px;
  height: fit-content;
}
.filter-panel h3 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
}
.filter-group { padding: 20px 0; border-bottom: 1px solid var(--ink-100); }
.filter-group:last-child { border-bottom: none; padding-bottom: 0; }
.filter-group-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-700);
  margin: 0 0 14px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip {
  padding: 7px 12px;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--blue-900); }
.filter-chip.active {
  background: var(--blue-900);
  color: #fff;
  border-color: var(--blue-900);
}
.filter-slider { display: flex; flex-direction: column; gap: 8px; }
.filter-range {
  width: 100%;
  margin: 4px 0 0;
  accent-color: var(--blue-900);
  cursor: pointer;
}
.filter-slider-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--ink-500);
  gap: 8px;
  align-items: center;
}
.filter-slider-labels strong {
  color: var(--ink-900);
  font-weight: 700;
}
.results-bar {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
}
.results-count { font-size: 14px; color: var(--ink-500); }
.results-count strong { color: var(--ink-900); font-weight: 600; }
.results-sort {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--ink-100);
  border-radius: var(--radius-full);
  font-size: 13px;
}
.results-sort button {
  padding: 8px 14px;
  border: none; background: transparent;
  border-radius: var(--radius-full);
  font-weight: 500; color: var(--ink-700);
  cursor: pointer;
}
.results-sort .active { background: #fff; color: var(--blue-900); box-shadow: var(--shadow-sm); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: 1px solid var(--ink-100);
  text-decoration: none;
  color: inherit;
  display: block;
}
.prod:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.prod-image {
  aspect-ratio: 1/1;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.prod-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.prod-tag {
  position: absolute; top: 12px; left: 12px;
  background: #fff; color: var(--ink-900);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600;
  z-index: 2;
}
.prod-tag.hot { background: var(--accent); color: #fff; }
.prod-tag.new { background: var(--blue-900); color: #fff; }
.prod-fav {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: #fff; border: none;
  display: grid; place-items: center;
  color: var(--ink-500);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  z-index: 2;
}
.prod-body { padding: 16px 18px 20px; }
.prod-cat {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 4px;
}
.prod-name {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink-900);
  line-height: 1.2;
}
.prod-meta { display: flex; justify-content: space-between; align-items: center; }
.prod-price { font-weight: 600; color: var(--ink-900); }
.prod-price .old {
  color: var(--ink-300);
  text-decoration: line-through;
  font-weight: 400;
  font-size: 13px;
  margin-right: 6px;
}
.prod-rating {
  font-size: 12px; color: var(--ink-500);
  display: flex; align-items: center; gap: 4px;
}
.prod-rating .stars { color: #f59e0b; }
.prod-grid-empty {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink-600);
  text-align: center;
}
@media (max-width: 900px) {
  .filters-grid { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

/* TESTIMONIAL */
.testimonial {
  background: var(--cream-2);
  padding: 90px 0;
  text-align: center;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 auto 28px;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.testimonial-slider {
  position: relative;
  min-height: 250px;
}
.testimonial-slide {
  display: none;
}
.testimonial-slide.is-active {
  display: block;
}
.testimonial-rating {
  margin-bottom: 1rem;
  color: #f59e0b;
  letter-spacing: 0.18em;
  font-size: 1rem;
}
.testimonial-cite { font-size: 14px; color: var(--ink-500); }
.testimonial-cite strong { color: var(--ink-900); font-weight: 600; }
.testimonial-product {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 600;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.2);
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.testimonial-dot.is-active {
  background: var(--blue-900);
  transform: scale(1.15);
}

/* CTA Finale */
.ego-cta { padding: 100px 0; background: var(--paper); }
.cta-card {
  background: var(--blue-900);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute;
  right: -120px; top: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,0.3), transparent 60%);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.ego-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.ego-cta h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.ego-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 16px; line-height: 1.55;
  margin: 0;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
}
@media (max-width: 768px) {
  .cta-card { grid-template-columns: 1fr; padding: 50px 30px; }
  .cta-actions { justify-content: flex-start; }
}

/* FOOTER */
.site-footer {
  background: var(--blue-950);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer .footer-brand img { height: 38px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); }
.site-footer p { font-size: 14px; line-height: 1.6; margin: 0 0 20px; max-width: 320px; }
.site-footer h4 {
  color: #fff;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer ul a { font-size: 14px; transition: color .15s; text-decoration: none; color: inherit; }
.site-footer ul a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  transition: background .15s;
  color: inherit;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-payments { display: flex; gap: 8px; opacity: 0.8; }
.footer-payments span {
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
