:root {
    --navy: #21306F;
    --navy-dark: #18245A;
    --navy-light: #EEF2FF;
    --orange: #F26522;
    --orange-light: #FF7A35;
    --orange-deep: #B64C1A;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --text: #1a1a2e;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Barlow', sans-serif; color: var(--text); background: white; overflow-x: hidden; }
  a { color: inherit; }

  /* ── BARRA SUPERIORE ── */
  .topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 101; height: 42px; background: #142052;
    display: flex; align-items: center; justify-content: space-between; padding: 0 5%; gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08); transition: transform .3s ease; }
  .topbar.hidden { transform: translateY(-100%); }
  .topbar-info { display: flex; align-items: center; gap: 26px; min-width: 0; }
  .topbar-info span { font-size: 12.5px; color: rgba(255,255,255,0.72); white-space: nowrap; }
  .topbar-actions { display: flex; align-items: center; gap: 8px; }
  .topbar-call { display: inline-flex; align-items: center; gap: 8px; padding: 5px 15px; border-radius: 20px;
    background: var(--orange); color: white; text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
    font-size: 13px; letter-spacing: 1.2px; white-space: nowrap; }
  .topbar-call:hover { background: var(--orange-light); }
  .topbar-social { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center;
    justify-content: center; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
  .topbar-social:hover { background: var(--orange); color: white; }
  nav { transition: top .3s ease; }
  nav.scrolled { top: 0; }
  @media (max-width: 900px) {
    .topbar { height: 34px; padding: 0 4%; }
    .topbar-info span { font-size: 11.5px; }
    .topbar-info span:nth-child(n+2) { display: none; }
    .topbar-call { font-size: 12px; padding: 4px 11px; }
    nav:not(.scrolled) { top: 34px; }
  }

  nav {
    position: fixed; top: 42px; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; height: 72px;
    background: rgba(24, 36, 90, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--orange);
    box-shadow: 0 4px 24px rgba(24,36,90,0.20);
  }
  .nav-logo { display: flex; align-items: center; text-decoration: none; }
  .nav-logo-wrap { background: white; border-radius: 7px; padding: 3px 8px; line-height: 0; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
  .nav-logo-wrap img { height: 44px; width: auto; display: block; }

  .page-hero {
    position: relative; min-height: 440px; padding: 180px 5% 82px;
    background: #f7f8fb; overflow: hidden;
  }
  .page-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(90deg, rgba(33,48,111,.76), rgba(33,48,111,.36)),
      url('../img/clothing-collection.webp');
    background-size: cover; background-position: center;
  }
  .page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: repeating-linear-gradient(90deg, var(--orange) 0px, var(--orange) 20px, transparent 20px, transparent 30px);
    opacity: .7;
  }
  /* Il catalogo gadget ha la sua foto di apertura: quella dei capi da lavoro
     non c'entra nulla con borse, penne e borracce. */
  .page-hero-gadget::before {
    background-image:
      linear-gradient(90deg, rgba(33,48,111,.76), rgba(33,48,111,.36)),
      url('../img/gadget.webp');
  }
  .page-hero-inner { position: relative; max-width: 1200px; margin: 0 auto; }
  .page-label {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 18px;
  }
  .page-title {
    max-width: 780px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: clamp(52px, 9vw, 96px); line-height: .9; color: white; text-transform: uppercase;
  }
  .page-title span { color: var(--orange); text-shadow: 0 0 30px rgba(242,101,34,.5); }
  .page-desc { max-width: 600px; margin-top: 24px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.75; }
  /* Rimando fra i due cataloghi: chi arriva sulla pagina sbagliata trova
     subito la strada per l'altra, senza tornare al menu. */
  .page-switch { max-width: 640px; margin-top: 18px; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.7; }
  .page-switch a { color: var(--orange); font-weight: 600; text-decoration: none; }
  .page-switch a:hover { text-decoration: underline; }

  section { padding: 82px 5%; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
  .section-label {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px;
    letter-spacing: 4px; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 12px;
  }
  .section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(38px, 6vw, 62px); line-height: .95; color: var(--navy); text-transform: uppercase; }
  .section-title span { color: var(--orange); }
  .section-copy { max-width: 420px; color: var(--gray); font-size: 15px; line-height: 1.7; }

  .catalog-search { background: white; padding: 54px 5% 38px; scroll-margin-top: 96px; }
  .catalog-search .section-head { margin-bottom: 24px; }
  .catalog-search-shell {
    background: var(--off-white); padding: 24px; border-top: 4px solid var(--orange);
    box-shadow: 0 18px 46px rgba(17,28,78,.08);
  }
  .search-row { display: grid; grid-template-columns: minmax(240px, 1fr); gap: 14px; align-items: end; }
  .search-field input { padding: 18px 20px; font-size: 19px; }
  .filter-panel { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
  .catalog-status {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: 20px; color: var(--gray); font-size: 15px;
  }
  .quick-filters { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
  .quick-filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
  .quick-filter-sub { padding-top: 12px; border-top: 1px solid var(--gray-light); }
  .quick-filter {
    min-height: 44px; display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 12px; border: 1px solid var(--gray-light); background: white;
    color: var(--navy); cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px;
    letter-spacing: 1px; text-transform: uppercase;
  }
  .quick-filter:hover, .quick-filter.active { border-color: var(--orange); color: var(--orange-deep); box-shadow: 0 8px 18px rgba(24,36,90,.08); }
  .quick-filter.active { background: var(--navy-light); }
  .quick-filter em {
    min-width: 26px; padding: 3px 7px; border-radius: 20px; background: var(--off-white);
    color: var(--gray); font-style: normal; font-family: 'Barlow', sans-serif;
    font-size: 11px; letter-spacing: 0; text-align: center;
  }
  #result-count {
    display: inline-flex; align-items: center; min-height: 34px; padding: 8px 13px;
    background: var(--navy); color: white; font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  }
  .active-filters { display: flex; gap: 8px; flex-wrap: wrap; }
  .filter-chip {
    display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(242,101,34,.28);
    background: white; color: var(--navy); padding: 7px 10px;
    font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 1.2px;
    font-weight: 800; text-transform: uppercase;
  }
  .clear-filters {
    border: 1px solid rgba(242,101,34,.35); background: white; color: var(--orange-deep); cursor: pointer;
    padding: 9px 12px;
    font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 1.6px;
    font-weight: 800; text-transform: uppercase;
  }
  .clear-filters[hidden] { display: none; }
  .showcase { padding-top: 58px; }
  .showcase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .showcase-card {
    min-height: 420px; position: relative; display: flex; align-items: flex-end; overflow: hidden;
    text-decoration: none; background: white; color: white;
  }
  .showcase-card:first-child { grid-column: span 2; }
  .showcase-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: white; transition: transform .55s ease; }
  .showcase-card:hover img { transform: scale(1.06); }
  .showcase-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,28,78,.72), rgba(17,28,78,.16) 34%, rgba(17,28,78,0) 58%); }
  .showcase-content { position: relative; z-index: 1; padding: 28px; }
  .tag {
    display: inline-flex; margin-bottom: 12px; color: var(--orange);
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 11px;
    letter-spacing: 3px; text-transform: uppercase;
  }
  .showcase-name { font-family: 'Barlow Condensed', sans-serif; font-size: 34px; font-weight: 900; line-height: .98; text-transform: uppercase; margin-bottom: 10px; }
  .showcase-desc { color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.6; }
  .showcase-price {
    display: inline-flex; align-items: baseline; gap: 8px;
    margin-top: 14px; padding: 9px 14px;
    background: var(--orange); color: white;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
    font-size: 26px; line-height: 1; letter-spacing: .5px; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(242,101,34,.38);
  }
  .showcase-price span { font-size: 11px; letter-spacing: 2px; opacity: .85; }

  .catalog { background: white; padding-top: 58px; scroll-margin-top: 90px; }
  .toolbar {
    display: grid; grid-template-columns: minmax(220px, 1fr) 220px 220px; gap: 14px;
    background: var(--off-white); padding: 18px; margin-bottom: 28px;
    border-top: 3px solid var(--orange);
  }
  .field label {
    display: block; margin-bottom: 7px; font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray);
  }
  input, select {
    width: 100%; min-height: 58px; padding: 15px 16px; border: 2px solid var(--gray-light);
    background: white; font: 17px 'Barlow', sans-serif; color: var(--text); outline: none;
  }
  input:focus, select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,101,34,.12); }

  .catalog-meta {
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    margin-bottom: 20px; color: var(--gray); font-size: 14px;
  }
  .results-summary {
    display: none; margin-bottom: 26px; padding: 22px 24px; background: var(--off-white);
    border-left: 5px solid var(--orange); box-shadow: 0 14px 34px rgba(17,28,78,.07);
  }
  .results-summary.visible { display: block; }
  .results-kicker {
    font-family: 'Barlow Condensed', sans-serif; color: var(--orange-deep); font-size: 12px;
    font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 8px;
  }
  .results-title {
    font-family: 'Barlow Condensed', sans-serif; color: var(--navy); font-size: 32px;
    line-height: 1; font-weight: 900; text-transform: uppercase;
  }
  .results-title span { color: var(--orange); }
  .results-desc { margin-top: 10px; color: var(--gray); font-size: 15px; line-height: 1.6; }
  .showcase.is-hidden { display: none; }
  .catalog.has-active-filters { padding-top: 34px; }
  .products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .product-card {
    display: flex; flex-direction: column; min-height: 100%; background: var(--white);
    border: 1px solid var(--gray-light); text-decoration: none; overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .product-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(17,28,78,.12); border-color: rgba(242,101,34,.42); }
  .product-img { aspect-ratio: 4 / 3; overflow: hidden; background: white; }
  .product-img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .45s ease; }
  .product-card:hover .product-img img { transform: scale(1.05); }
  .product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
  .product-brand { font-family: 'Barlow Condensed', sans-serif; color: var(--orange-deep); font-weight: 800; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
  .product-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
  .product-desc { color: var(--gray); font-size: 14px; line-height: 1.55; margin-bottom: 18px; }
  .product-specs { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--gray-light); color: var(--text); font-size: 13px; line-height: 1.55; }
  .product-action {
    margin-top: 16px; display: inline-flex; justify-content: center; padding: 11px 16px;
    background: var(--orange); color: white; font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; letter-spacing: 2px; font-weight: 800; text-transform: uppercase;
    clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
  }
  .empty-state { display: none; padding: 40px 32px; background: var(--off-white); border-radius: 14px; color: var(--gray); text-align: center; font-size: 16px; }
  .empty-state strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
  .empty-state em { display: block; font-style: normal; margin-bottom: 18px; line-height: 1.6; }
  .empty-cta { display: inline-flex; padding: 12px 22px; border-radius: 10px; background: var(--orange); color: white; text-decoration: none; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; }
  .empty-cta:hover { background: var(--orange-light); }
  .empty-state.visible { display: block; }
  .load-more-wrap { display: flex; justify-content: center; margin-top: 34px; }
  .load-more-btn {
    border: 0; cursor: pointer; padding: 14px 30px;
    background: var(--navy); color: white; font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; letter-spacing: 2px; font-weight: 800; text-transform: uppercase;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: background .2s, transform .2s, box-shadow .2s;
  }
  .load-more-btn:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(17,28,78,.16); }
  .load-more-btn[hidden] { display: none; }
  .floating-search-btn {
    position: fixed; right: 18px; bottom: 22px; z-index: 80;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: 0; cursor: pointer; padding: 14px 18px;
    background: var(--orange); color: white; font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; letter-spacing: 2px; font-weight: 800; text-transform: uppercase;
    box-shadow: 0 16px 34px rgba(17,28,78,.22);
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    opacity: 0; pointer-events: none; transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
  }
  .floating-search-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .floating-search-btn:hover { background: var(--orange-light); }
  .floating-search-icon {
    position: relative; width: 15px; height: 15px; border: 2px solid currentColor;
    border-radius: 50%; flex: 0 0 auto;
  }
  .floating-search-icon::after {
    content: ''; position: absolute; width: 8px; height: 2px; right: -6px; bottom: -3px;
    background: currentColor; transform: rotate(45deg); transform-origin: center;
  }

  footer { background: var(--navy-dark); padding: 38px 5%; color: rgba(255,255,255,.55); font-size: 12px; }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

  @media (max-width: 1050px) {
    .showcase-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
    .toolbar, .filter-panel { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 720px) {
    nav { height: 64px; }
    .nav-logo-wrap img { height: 40px; }
    .nav-links { display: none; }
    .page-hero { min-height: 360px; padding-top: 116px; }
    section { padding: 56px 5%; }
    .catalog-search { padding: 42px 5% 28px; scroll-margin-top: 78px; }
    .catalog-search-shell { padding: 18px; }
    .section-head { display: block; }
    .section-copy { margin-top: 16px; }
    .search-row, .showcase-grid, .products-grid, .toolbar, .filter-panel { grid-template-columns: 1fr; }
    .search-field input { font-size: 16px; padding: 15px 16px; }
    .catalog-status { align-items: flex-start; flex-direction: column; gap: 10px; }
    .results-title { font-size: 27px; }
    .showcase-card, .showcase-card:first-child { grid-column: auto; min-height: 360px; }
    .floating-search-btn { right: 14px; bottom: 18px; padding: 13px 16px; }
  }

  /* ── WHATSAPP FLOTTANTE ── */
  .whatsapp-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 150;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform .2s, box-shadow .2s;
  }
  .whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0,0,0,0.32); }
  @media (max-width: 720px) {
    .whatsapp-float { width: 50px; height: 50px; left: 14px; bottom: 14px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
    /* Evita che i pulsanti fissi (WhatsApp, ricerca) coprano il testo del footer */
    footer { padding-bottom: 74px; }
  }

  /* ── MENU (uguale a tutte le altre pagine) ── */
  .nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
  .nav-links a {
    font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 14px;
    letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.82); text-decoration: none;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--orange); }
  .nav-cta { background: var(--orange); color: #fff !important; padding: 9px 20px; border-radius: 8px; }
  .nav-drop { position: relative; }
  .nav-hot { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; background: rgba(242,101,34,.16); border: 1px solid rgba(242,101,34,.5); color: #fff !important; }
  .nav-hot:hover { background: var(--orange); }
  .hot-badge { padding: 2px 7px; border-radius: 9px; background: var(--orange); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
  .nav-hot:hover .hot-badge { background: var(--navy-dark); }
  .nav-menu {
    position: absolute; top: calc(100% + 12px); left: 0; z-index: 120; min-width: 318px; padding: 10px;
    background: #fff; box-shadow: 0 24px 60px rgba(9,14,36,.34); border-top: 3px solid var(--orange);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-menu::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; }
  .nav-menu a { display: block; padding: 11px 14px; text-decoration: none; letter-spacing: 0 !important; text-transform: none !important; }
  .nav-menu a:hover { background: var(--off-white); }
  .nav-menu strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 16px; text-transform: uppercase; color: var(--navy); letter-spacing: .6px; }
  .nav-menu span { display: block; margin-top: 2px; color: var(--gray); font-size: 12.5px; line-height: 1.45; }
  .nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
  .nav-hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile {
    display: none; position: fixed; top: 114px; left: 0; right: 0; z-index: 99; flex-direction: column; gap: 2px;
    padding: 14px 5% 20px; background: rgba(17,28,78,.98); backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--orange); transform: translateY(-20px); opacity: 0; transition: transform .3s, opacity .3s;
  }
  .nav-mobile.open { transform: translateY(0); opacity: 1; }
  .nav-mobile a {
    padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.85); text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: 1.6px; text-transform: uppercase;
  }
  .nav-mobile a:last-child { border-bottom: 0; }
  .nav-mobile a:hover { color: var(--orange); }
  .nav-mobile .mobile-hot { color: var(--orange); }
  .nav-mobile .mobile-cta { margin-top: 12px; text-align: center; border-radius: 10px; background: var(--orange); color: #fff; }
  @media (max-width: 1080px) { .nav-links { display: none; } .nav-hamburger { display: flex; } .nav-mobile { display: flex; } }
  @media (max-width: 900px) { .nav-mobile { top: 110px; } }

  /* ── RICERCA SEMPRE PRESENTE ── */
  .topbar-search {
    display: flex; align-items: center; gap: 8px; flex: 1; max-width: 430px; min-width: 0;
    height: 26px; padding: 0 6px 0 12px; border-radius: 20px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55);
  }
  .topbar-search:focus-within { border-color: var(--orange); background: rgba(255,255,255,.16); }
  .topbar-search svg { flex: none; }
  .topbar-search input {
    flex: 1; min-width: 0; width: auto; padding: 0; border: 0; background: none; outline: none;
    color: #fff; font: 13px 'Barlow', sans-serif;
  }
  .topbar-search input::placeholder { color: rgba(255,255,255,.5); }
  .topbar-search button {
    flex: none; border: 0; cursor: pointer; padding: 3px 12px; border-radius: 20px;
    background: var(--orange); color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 11px;
    letter-spacing: 1.4px; text-transform: uppercase;
  }
  .topbar-search button:hover { background: var(--orange-light); }
  .mobile-search { display: flex; gap: 8px; margin-bottom: 10px; }
  .mobile-search input {
    flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08);
    color: #fff; font: 15px 'Barlow', sans-serif; outline: none;
  }
  .mobile-search input::placeholder { color: rgba(255,255,255,.5); }
  .mobile-search button {
    border: 0; cursor: pointer; padding: 0 18px; border-radius: 10px; background: var(--orange); color: #fff;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px;
    letter-spacing: 1.6px; text-transform: uppercase;
  }
  @media (max-width: 900px) { .topbar-search { display: none; } }

  /* Rimando all'altra sezione del catalogo quando la ricerca trova roba anche li'. */
  .results-cross {
    margin-top: 10px; padding: 11px 14px; border-radius: 10px;
    background: rgba(242,101,34,.08); border: 1px solid rgba(242,101,34,.28);
    color: var(--text); font-size: 14.5px; line-height: 1.6;
  }
  .results-cross[hidden] { display: none; }
  .results-cross a { color: var(--orange-deep); font-weight: 700; text-decoration: none; white-space: nowrap; }
  .results-cross a:hover { text-decoration: underline; }

  /* ── LEGGIBILITÀ DEI TASTI ──
     Il bianco sull'arancione acceso (#F26522) dà 3,15:1 di contrasto, sotto la
     soglia di 4,5:1 richiesta per il testo normale. Sui tasti pieni con scritta
     bianca usiamo un arancione più profondo (4,6:1); l'arancione acceso resta
     dov'è colore del testo, bordo o elemento grafico, e torna sui passaggi del
     mouse. Per tornare indietro basta cancellare questo blocco. */
  :root { --orange-btn: #C8500F; }
  .topbar-call,
  .topbar-search button,
  .mobile-search button,
  .nav-cta,
  .hot-badge,
  .nav-mobile .mobile-cta,
  .btn-primary,
  .featured-price,
  .kits-badge,
  .kit-btn,
  .kit-flag,
  .custom-tag,
  .about-img-badge,
  .stats-bar,
  .empty-cta,
  .product-action,
  .submit-btn,
  .cta-primary,
  a.cta-primary,
  .page-link.current,
  .product-category { background: var(--orange-btn); }
  .topbar-call:hover,
  .topbar-search button:hover,
  .mobile-search button:hover,
  .nav-cta:hover,
  .btn-primary:hover,
  .kit-btn:hover,
  .empty-cta:hover,
  .product-action:hover,
  .submit-btn:hover,
  .cta-primary:hover,
  a.cta-primary:hover { background: var(--orange); }

  /* Stessa correzione per gli elementi propri del catalogo. */
  .showcase-price, .floating-search-btn, .load-more { background: var(--orange-btn); }
  .floating-search-btn:hover, .load-more:hover { background: var(--orange); }
  /* L'arancione acceso su fondo chiaro sfiora la soglia anche nei titoli:
     su bianco usiamo la versione profonda, sui fondi scuri resta acceso. */
  .section-title span, .page-title span { color: var(--orange-btn); }
  .page-hero .page-title span { color: var(--orange); }
  .tag { color: var(--orange-deep); }

  /* Menu mobile chiuso: non deve intercettare tap/click mentre e' invisibile. */
  .nav-mobile { pointer-events: none; visibility: hidden; }
  .nav-mobile.open { pointer-events: auto; visibility: visible; }
