:root{--red:#f1242d;--black:#090b0c;--ink:#171a1c;--muted:#6f7478;--line:#e7e8ea;--bg:#f6f7f8}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#111;background:#fff}a{text-decoration:none;color:inherit}.top{background:#1d2226;color:#fff;font-size:12px;padding:10px 4vw;display:flex;justify-content:space-between;gap:18px}.nav{height:82px;background:#090b0c;color:#fff;display:flex;align-items:center;gap:32px;padding:0 4vw;position:sticky;top:0;z-index:20}.logo{font-weight:900;font-size:28px;letter-spacing:-2px}.logo i{color:var(--red);font-style:normal}.navlinks{display:flex;gap:24px;align-items:center;flex:1}.navlinks a:hover{color:var(--red)}.search{background:#fff;color:#777;padding:12px 16px;border-radius:4px;min-width:240px}.hero{min-height:560px;color:#fff;display:flex;align-items:center;padding:70px 5vw;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.15)),url('assets/demo-home.png') center 18%/cover no-repeat}.hero .inner{max-width:650px}.eyebrow{letter-spacing:4px;text-transform:uppercase;font-size:12px}.hero h1,.pagehero h1{font-size:64px;line-height:.95;margin:18px 0;text-transform:uppercase}.hero p{font-size:20px;line-height:1.5;max-width:560px}.btn{display:inline-block;background:var(--red);color:#fff;padding:15px 22px;font-weight:800;margin-top:14px;border-radius:3px}.btn.dark{background:#111}.wrap{max-width:1280px;margin:auto;padding:64px 28px}.sectiontitle{font-size:38px;margin:0 0 12px}.lead{color:var(--muted);font-size:18px;line-height:1.6;max-width:800px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}.card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}.visual{height:230px;background:linear-gradient(135deg,#171a1c,#3c4449);display:flex;align-items:center;justify-content:center;color:#fff;font-size:54px;font-weight:900}.visual.red{background:linear-gradient(135deg,#7c0c12,#f1242d)}.visual.light{background:linear-gradient(135deg,#dfe4e7,#8e9aa0);color:#111}.card .pad{padding:22px}.card h3{margin:0 0 8px;font-size:24px}.strip{background:#0e1113;color:#fff}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.feature{padding:26px;border:1px solid #333;border-radius:6px}.feature b{display:block;font-size:18px;margin-bottom:8px}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product{border:1px solid var(--line);padding:18px;border-radius:8px}.bike{height:160px;border-radius:6px;background:#f3f4f5;display:flex;align-items:center;justify-content:center;font-size:56px}.product small{color:#777}.product h3{font-size:17px;min-height:42px}.price{font-size:22px;font-weight:900}.banner{background:#111;color:#fff;padding:60px 5vw;display:flex;justify-content:space-between;align-items:center;gap:30px}.pagehero{padding:90px 5vw;background:#111;color:#fff}.twocol{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:start}.timeline{border-left:3px solid var(--red);padding-left:24px}.timeline div{margin:0 0 28px}.service{padding:26px;border:1px solid var(--line);border-radius:8px}.contactbox{background:#f4f5f6;padding:28px;border-radius:8px}.contactbox input,.contactbox textarea{width:100%;padding:13px;margin:7px 0;border:1px solid #ccc;border-radius:4px}.contactbox textarea{height:130px}.footer{background:#090b0c;color:#d8d8d8;padding:55px 5vw 25px}.footgrid{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:40px}.footer h4{color:#fff}.footer a{display:block;margin:8px 0;color:#c5c5c5}.copy{border-top:1px solid #292d30;margin-top:35px;padding-top:20px;font-size:12px;display:flex;justify-content:space-between}.whatsapp{position:fixed;right:22px;bottom:22px;background:#25D366;color:#fff;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900;box-shadow:0 6px 20px #0004;z-index:50}@media(max-width:900px){.navlinks,.search{display:none}.hero h1,.pagehero h1{font-size:44px}.grid,.products,.features,.footgrid,.twocol{grid-template-columns:1fr 1fr}.hero{min-height:500px}}@media(max-width:620px){.top{display:none}.grid,.products,.features,.footgrid,.twocol{grid-template-columns:1fr}.hero{padding:50px 24px}.hero h1,.pagehero h1{font-size:38px}.banner{display:block}.nav{height:68px}}

/* Empty shop workspace for Impossible AI */
.shop-empty{min-height:55vh;background:#fff;}

/* Home v2 - Carreri */
.brand-logo{display:flex;align-items:center;flex:0 0 auto}.brand-logo img{width:175px;max-height:62px;object-fit:contain;display:block}.footer-logo{width:180px;max-width:100%;display:block;margin-bottom:18px}.hero{min-height:540px;background:linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.45) 38%,rgba(0,0,0,.08) 72%),url('assets/hero-clean.jpg') center/cover no-repeat}.category-showcase{background:#0a0c0d;padding:18px 1.5vw 24px}.category-grid{max-width:1500px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.cat{min-height:132px;border:1px solid #596066;border-radius:5px;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(145deg,#252b2f,#090b0c);color:#fff;transition:.2s}.cat:hover{transform:translateY(-2px);border-color:#fff}.cat span{font-size:20px;font-weight:900}.cat small{margin-top:5px;color:#ddd;font-size:13px}.brand-ticker{overflow:hidden;background:#fff;border-bottom:1px solid #e5e5e5;padding:24px 0;white-space:nowrap}.ticker-track{display:inline-flex;align-items:center;gap:62px;min-width:max-content;animation:carreriTicker 26s linear infinite;padding-left:30px}.ticker-track span{font-size:22px;font-weight:900;font-style:italic;letter-spacing:-1px;color:#111}.brand-ticker:hover .ticker-track{animation-play-state:paused}@keyframes carreriTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}.mobile-category{display:none}
@media(max-width:900px){.brand-logo img{width:145px}.category-grid{grid-template-columns:repeat(2,1fr)}.nav{justify-content:space-between}.hero{background-position:58% center}}
@media(max-width:620px){.category-grid{display:none}.category-showcase{padding:12px 16px}.mobile-category{display:block;position:relative}.mobile-category button{width:100%;height:50px;border:1px solid #555;background:#111;color:#fff;border-radius:5px;padding:0 16px;font-size:16px;font-weight:800;display:flex;align-items:center;justify-content:space-between}.mobile-category-menu{display:none;background:#111;border:1px solid #444;border-top:0;border-radius:0 0 6px 6px;overflow:hidden}.mobile-category-menu.open{display:block}.mobile-category-menu .cat{min-height:0;border:0;border-bottom:1px solid #303438;border-radius:0;padding:14px 16px;background:#111;display:block}.mobile-category-menu .cat span{font-size:15px}.mobile-category-menu .cat small{display:none}.hero{min-height:470px;background-position:61% center}.hero .inner{max-width:88%}.hero p{font-size:16px}.ticker-track{gap:40px;animation-duration:20s}.ticker-track span{font-size:18px}}

/* The official footer is always the end of the rendered page. */
footer.footer ~ *:not(script){display:none!important}


/* Mobile navigation + WhatsApp icon */
.menu-toggle{display:none;background:transparent;border:0;padding:10px 4px;cursor:pointer;flex-direction:column;gap:5px;align-items:center;justify-content:center}
.menu-toggle span{display:block;width:26px;height:2px;background:#fff;border-radius:2px;transition:.2s}
.whatsapp svg{width:31px;height:31px;display:block}
@media(max-width:900px){
  .nav{height:auto;min-height:72px;padding:10px 18px;flex-wrap:wrap;gap:10px 18px}
  .brand-logo{margin-right:auto}.brand-logo img{width:145px;max-height:54px}
  .menu-toggle{display:flex;order:2}
  .search{display:none!important}
  .navlinks{display:none!important;order:4;flex:0 0 calc(100% + 36px);margin:0 -18px -10px;padding:8px 18px 16px;background:#090b0c;border-top:1px solid #24282b;flex-direction:column;align-items:stretch;gap:0}
  .navlinks.open{display:flex!important}
  .navlinks a{padding:14px 4px;border-bottom:1px solid #22272a;font-size:16px}
  .navlinks a:last-child{border-bottom:0}
  .menu-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-toggle.open span:nth-child(2){opacity:0}
  .menu-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
}
@media(max-width:620px){
  .nav{min-height:66px;padding:8px 16px}.brand-logo img{width:132px}.navlinks{flex-basis:calc(100% + 32px);margin-left:-16px;margin-right:-16px;margin-bottom:-8px;padding-left:16px;padding-right:16px}
  .whatsapp{width:56px;height:56px;right:16px;bottom:16px}.whatsapp svg{width:30px;height:30px}
}

/* V6: keep WhatsApp clear of footer credit */
.whatsapp{bottom:96px}
@media(max-width:620px){.whatsapp{bottom:92px}}

/* V7: WhatsApp never overlaps footer credits */
.whatsapp{bottom:28px;transition:bottom .18s ease}
@media(max-width:620px){.whatsapp{bottom:24px}}

/* V8: WhatsApp sempre visibile e separato dalla firma Created by Impossible */
.whatsapp{bottom:118px !important;right:24px !important;transform:none !important;}
@media(max-width:620px){.whatsapp{bottom:104px !important;right:16px !important;width:56px;height:56px;}}

/* Carreri V10 — griglia categorie coerente */
.category-showcase{padding:23px 22px 26px}.category-showcase-inner{max-width:1250px;margin:0 auto}.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-width:none}.category-grid .cat{min-height:104px;padding:16px;border:1px solid #343d45;border-radius:9px;background:linear-gradient(145deg,#252a2e,#0d1012)}.category-grid .cat span{font-size:15px;letter-spacing:.01em}.category-grid .cat small{font-size:11px;color:#b8c0c6}
@media(min-width:1000px){.category-grid .cat:nth-child(-n+5){grid-column:span 1}.category-grid .cat:nth-child(6){grid-column:1}}
@media(max-width:850px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid .cat{min-height:88px;padding:12px}.category-grid .cat span{font-size:13px}}
.cc-social-contacts{display:flex;gap:12px;flex-wrap:wrap;max-width:1200px;margin:18px auto 30px;padding:0 24px}.cc-social-contacts a{background:#151b21;color:#fff;padding:12px 18px;border-radius:8px;font-weight:700}.cc-social-contacts a:hover{background:#b7202b}

#carreri-live.cc-featured .cc-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#carreri-live.cc-shop .cc-products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:900px){#carreri-live.cc-featured .cc-products,#carreri-live.cc-shop .cc-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){#carreri-live.cc-featured .cc-products{grid-template-columns:1fr!important}#carreri-live.cc-shop .cc-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

.carreri-legal{max-width:980px}.carreri-legal section{padding:18px 0;border-bottom:1px solid #e4e6e9}.carreri-legal h2{font-size:22px}.carreri-legal p{font-size:15px;line-height:1.72;color:#333e46}.carreri-legal a{color:#bb1b2a;text-decoration:underline}.cc-legal-note{background:#f5f5f6;border-left:3px solid #d51f31;padding:15px}

/* V10: 5 categorie nella prima riga, 6 nella seconda */
@media(min-width:851px){.category-showcase .category-grid{grid-template-columns:repeat(30,minmax(0,1fr));gap:12px}.category-showcase .category-grid .cat:nth-child(-n+5){grid-column:span 6;grid-row:1}.category-showcase .category-grid .cat:nth-child(n+6){grid-column:span 5;grid-row:2}}
@media(max-width:850px){.category-showcase .category-grid .cat{grid-column:auto!important;grid-row:auto!important}}

/* V11 — Home: 10 categorie tutte della stessa larghezza, 5 per riga */
@media (min-width:851px) {
  .category-showcase .category-grid {
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    grid-template-rows:repeat(2,minmax(132px,auto));
    gap:14px !important;
    align-items:stretch;
  }
  .category-showcase .category-grid .cat {
    grid-column:auto !important;
    grid-row:auto !important;
    min-width:0;
    width:100%;
    min-height:132px;
  }
}
.category-showcase .category-grid .cat {
  justify-content:flex-end;
  border-radius:12px;
  padding:20px;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.category-showcase .category-grid .cat:hover {
  box-shadow:0 8px 25px rgba(0,0,0,.25);
}
@media (min-width:621px) and (max-width:850px) {
  .category-showcase .category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .category-showcase .category-grid .cat {
    min-height:116px;
    grid-column:auto !important;
    grid-row:auto !important;
  }
}
@media (max-width:620px) {
  .category-showcase .category-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px;
  }
  .category-showcase .category-grid .cat {
    width:100%;
    min-height:104px;
    padding:14px;
  }
}
/* V11 — prodotti in evidenza, max 3 per riga, immagine ampia */
@media (min-width:901px) {
  #carreri-live.cc-featured .cc-products {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:22px;
  }
}
#carreri-live.cc-featured .cc-card {
  flex-direction:column !important;
  min-height:0;
  border-radius:15px;
  overflow:hidden;
}
#carreri-live.cc-featured .cc-photo-area {
  flex:initial !important;
  width:100%;
  height:270px !important;
  min-height:0 !important;
  padding:12px !important;
  background:#f6f7f8;
}
#carreri-live.cc-featured .cc-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
#carreri-live.cc-featured .cc-details {
  padding:18px 20px 20px;
  min-height:185px;
  justify-content:flex-start;
}
#carreri-live.cc-featured .cc-name {
  font-size:18px;
  line-height:1.3;
  margin:7px 0 12px;
}
#carreri-live.cc-featured .cc-price {font-size:23px}
#carreri-live.cc-featured .cc-prices {margin-top:auto}
#carreri-live.cc-featured .cc-buy-actions {margin-top:5px}
@media (max-width:900px) {
  #carreri-live.cc-featured .cc-photo-area {height:225px !important}
}
@media (max-width:520px) {
  #carreri-live.cc-featured .cc-photo-area {height:250px !important}
  #carreri-live.cc-featured .cc-details {min-height:0}
}
