/* Home Willy B2B — layer grafico isolato, nessuna logica applicativa */
.home-willy-v2 {
  --wy: #f9d701;
  --wp: #ff3d8b;
  --wb: #4fb8ff;
  --wm: #7fe7c8;
  --wo: #f7f7f5;
  --wl: #e8e8e4;
  --wx: #000;
  --wt: #151515;
  --wg: #626262;
  --ws: 0 14px 40px rgba(0, 0, 0, .07);
  background: #fff;
  color: var(--wt);
  overflow-x: clip;
}

.home-willy-v2 .wrap {
  width: min(100%, 1480px);
  padding-inline: 40px;
}

.home-willy-v2 .sec-title,
.home-willy-v2 .home-section-head h2,
.home-willy-v2 .home-smart-copy h2,
.home-willy-v2 .home-final-cta h2 {
  font-family: "Anton", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: .98;
  text-transform: uppercase;
}

.home-willy-v2 .sec-title { font-size: clamp(38px, 4vw, 58px); }
.home-willy-v2 .sec-sub {
  max-width: 760px;
  color: var(--wg);
  font-size: 16px;
  line-height: 1.65;
}

.home-willy-v2 .btn {
  min-height: 46px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 800;
}
.home-willy-v2 .btn:hover { transform: translateY(-2px); }
.home-willy-v2 .btn-pri {
  border-color: var(--wy);
  background: var(--wy);
  color: #000;
}
.home-willy-v2 .btn-nero {
  border-color: #000;
  background: #000;
  color: #fff;
}
.home-willy-v2 .home-quantity-discount {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 14px;
  padding: 10px 11px;
  border: 2px solid #000;
  border-radius: 10px;
  background: var(--wy);
  color: #1b1b1b;
  box-shadow: 3px 3px 0 #000;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}
.home-willy-v2 .home-quantity-discount b { color: #000; font-size: 15px; }
.home-willy-v2 .home-quantity-discount i { color: #000; font-size: 14px; font-style: normal; }
.home-willy-v2 .home-quantity-label {
  padding: 3px 6px;
  border-radius: 5px;
  background: #000;
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.home-willy-v2 .home-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Header */
.home-willy-v2 .home-topbar {
  border: 0;
  background: var(--wy);
  color: #000;
  font-size: 11px;
  text-transform: uppercase;
}
.home-willy-v2 .home-topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 34px;
}
.home-willy-v2 .home-topbar b {
  padding: 0;
  background: none;
  font-size: inherit;
}

.home-willy-v2 .home-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border: 0;
  background: #000;
  color: #fff;
}
/* [2026-08-03] Colonna logo AUTO, non piu' larghezza fissa: il logo (immagine
   176px + badge B2B) sforava il track da 225/190px e finiva SOTTO la pillola
   bianca della ricerca — a 1100px il badge "B2B" si vedeva tagliato a meta'.
   Ricerca in minmax(0,1fr): il track deve poter scendere sotto il min-content
   dell'input (regola 5 di b2b/CLAUDE.md), altrimenti restringendo la finestra
   e' il logo a cedere. */
.home-willy-v2 .home-header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: 78px;
}
.home-willy-v2 .home-header .logo-img {
  height: 36px;
  max-width: 176px;
  filter: brightness(0) invert(1);
}
.home-willy-v2 .home-header .logo .b2b {
  min-height: 28px;
  border-radius: 8px;
  background: var(--wy);
  color: #000;
  font-size: 11px;
}
.home-willy-v2 .home-header-actions { display: flex; gap: 9px; }
.home-willy-v2 .home-header .btn-ghost {
  border-color: #666;
  background: transparent;
  color: #fff;
}
.home-willy-v2 .home-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 46px;
  padding: 0 7px 0 14px;
  border-radius: 13px;
  background: #fff;
}
.home-willy-v2 .home-search svg {
  width: 19px;
  fill: none;
  stroke: #666;
  stroke-width: 1.8;
}
.home-willy-v2 .home-search input {
  height: 42px;
  min-width: 0;   /* senza questo l'input tiene la sua larghezza di default (~180px) e allarga la barra */
  padding: 0;
  border: 0;
  box-shadow: none;
  text-overflow: ellipsis;
}
.home-willy-v2 .home-search button {
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 9px;
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.home-willy-v2 .home-nav-row { border-top: 1px solid #272727; }
.home-willy-v2 .home-nav-row > .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}
.home-willy-v2 .home-nav-row nav { justify-content: flex-start; }
.home-willy-v2 .home-nav-row nav a {
  color: #ddd;
  font-size: 11px;
  text-transform: uppercase;
}
.home-willy-v2 .home-nav-highlight {
  color: var(--wy);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}
.home-willy-v2 .promo-strip {
  border: 0;
  background: var(--wp);
  color: #fff;
}

/* Vantaggi iniziali: più compatti, così la hero entra prima nello schermo */
.home-willy-v2 .home-benefits {
  padding: 0;
  border-bottom: 1px solid var(--wl);
}
.home-willy-v2 .home-benefits > .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home-willy-v2 .home-benefits article {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 10px 21px;
  border-right: 1px solid var(--wl);
}
.home-willy-v2 .home-benefits article:last-child { border: 0; }
.home-willy-v2 .home-benefit-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 2px solid #000;
  border-radius: 11px;
}
.home-willy-v2 .home-benefit-icon svg {
  width: 20px;
  fill: none;
  stroke: #000;
  stroke-width: 1.7;
}
.home-willy-v2 .home-benefits b {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
}
.home-willy-v2 .home-benefits small {
  color: var(--wg);
  font-size: 11px;
}

/* Hero: ridotta e riequilibrata dopo il controllo sul sito live */
.home-willy-v2 .home-hero-shell { padding: 22px 0 20px; }
.home-willy-v2 .hero.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 0;
  min-height: 445px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--wl);
  border-radius: 22px;
  background: var(--wo);
}
.home-willy-v2 .home-hero-copy {
  align-self: center;
  padding: 42px 34px 42px 48px;
}
.home-willy-v2 .hero .eyebrow {
  padding: 7px 11px;
  border-radius: 999px;
  background: #000;
  color: #fff;
}
.home-willy-v2 .hero .eyebrow::after { display: none; }
.home-willy-v2 .hero h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(50px, 4.7vw, 74px);
  font-weight: 400;
  line-height: .95;
  text-transform: uppercase;
}
.home-willy-v2 .hero h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 .08em .035em;
  background: var(--wy);
  color: #000;
  font-style: normal;
}
.home-willy-v2 .hero h1 em::before {
  content: none;
}
.home-willy-v2 .hero .sub {
  margin-top: 17px;
  color: #4d4d4d;
  font-size: 15.5px;
  line-height: 1.55;
}
.home-willy-v2 .hero-cta { gap: 9px; }
.home-willy-v2 .hero .hero-cta .btn-pri {
  border-color: #000;
  background: #000;
  color: #fff;
}
.home-willy-v2 .hero .btn-ghost {
  border-color: #ccc;
  background: #fff;
  color: #000;
}
.home-willy-v2 .home-hero-news { position: relative; }
.home-willy-v2 .home-hero-news::after {
  content: "NEW";
  position: absolute;
  right: -7px;
  top: -9px;
  padding: 3px 5px;
  border-radius: 5px;
  background: var(--wp);
  color: #fff;
  font-size: 8px;
}
.home-willy-v2 .home-proof { margin-top: 13px; }
.home-willy-v2 .home-welcome {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #fff4c7;
  font-weight: 600;
}
.home-willy-v2 .hero-img.home-hero-media {
  position: relative;
  align-self: stretch;
  min-height: 445px;
  aspect-ratio: auto;
}
.home-willy-v2 .hero-img.home-hero-media picture {
  display: block;
  height: 100%;
}
.home-willy-v2 .hero-img.home-hero-media img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}
.home-willy-v2 .home-sticker {
  position: absolute;
  right: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 102px;
  height: 102px;
  border-radius: 50%;
  background: var(--wp);
  color: #fff;
  box-shadow: var(--ws);
  font-family: "Anton", Impact, sans-serif;
  font-size: 19px;
  line-height: 1;
  text-align: center;
  transform: rotate(6deg);
}
.home-willy-v2 .hero .chip-float {
  right: 18px;
  top: auto;
  bottom: 18px;
}
.home-willy-v2 .home-doodle {
  position: absolute;
  z-index: 3;
  fill: none;
  stroke: #000;
  stroke-width: 3;
  pointer-events: none;
}
.home-willy-v2 .home-doodle-star {
  left: 48.5%;
  top: 18px;
  width: 36px;
}
/* La freccia decorativa non guidava verso un’azione: eliminata. */
.home-willy-v2 .home-doodle-arrow { display: none; }

/* Fascia numeri */
.home-willy-v2 .nums.home-numbers {
  border: 0;
  background: #000;
}

/* [2026-08-03 Jacopo] Banner franchising sulla home: a tutta larghezza, pulito.
   Il componente base .richiamo-franchising esce da un .wrap con margini negativi
   (serve sulla scheda prodotto); sulla home sta gia' full-width, quindi azzero i
   margini negativi (desktop -40px, largo -80px, mobile -16px) cosi' non sfora
   l'orizzontale. I gutter restano dal padding del componente. */
.home-willy-v2 .richiamo-franchising{margin-inline:0}
