
/* ══════════════════════════════════
   RESET TOTALE OVERLAY E ACCOUNT
   Nessun elemento fuori posto
   ══════════════════════════════════ */

/* Nasconde TUTTO finché non è aperto */
#apexSearchOverlay {
  display: none !important;
  visibility: hidden !important;
}
#apexSearchOverlay.open {
  display: flex !important;
  visibility: visible !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: rgba(5,5,5,.97) !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 80px !important;
  margin: 0 !important;
  overflow-y: auto !important;
}

/* Account dropdown — nascosto finché non aperto */
#apexAccountDropdown {
  display: none !important;
  visibility: hidden !important;
}
#apexAccountDropdown.open {
  display: block !important;
  visibility: visible !important;
  position: fixed !important;
  top: 58px !important;
  right: 12px !important;
  width: 240px !important;
  background: #111111 !important;
  border: 1px solid #2a2a2a !important;
  z-index: 99998 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.9) !important;
}

/* Nasconde qualsiasi testo che appare fuori dagli overlay */
.apex-search-overlay:not(.open) *,
#apexAccountDropdown:not(.open) * {
  display: none !important;
}

/* ═══════════════════════════════════════════
   APEX ARMWRESTLING — components.css v8
   Design: minimal, bold, Steve Jobs style
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@300;400;500&display=swap');

:root {
  --acid:   #AAFF00;
  --black:  #141414;
  --g1:     #111111;
  --g2:     #1A1A1A;
  --g3:     #262626;
  --white:  #FFFFFF;
  --muted:  #666666;
  --it-green: #009246;
  --it-red:   #CE2B37;
  --radius: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow Condensed', sans-serif; background: #141414; color: var(--white); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAVBAR ── */
.apex-nav {
  background: var(--black);
  border-bottom: 1px solid #1a1a1a;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
/* Su mobile solo la navbar rimane sticky — tutto il resto scorre */
@media (max-width: 768px) {
  .apex-nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }
}
.apex-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.apex-logo img {
  max-height: 44px !important;
  max-width: 200px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* Nasconde testo fallback se c'è l'immagine */
.apex-logo img ~ .apex-logo-fallback,
.apex-logo img ~ span { display: none !important; }
.apex-logo em { color: var(--acid); font-style: normal; }
.apex-logo span {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
}
.apex-nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.apex-nav-link, .apex-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0 1.25rem;
  height: 58px;
  display: flex;
  align-items: center;
  transition: color .15s;
  border-bottom: 2px solid transparent;
}
.apex-nav-link:hover, .apex-menu a:hover { color: var(--white); }
.apex-nav-link.apex-current, .apex-menu .current-menu-item a {
  color: var(--white);
  border-bottom-color: var(--acid);
}
.apex-nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.apex-cart-btn {
  background: var(--acid);
  color: var(--black);
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: .15s;
}
.apex-cart-btn:hover { background: #bfff33; }

/* HAMBURGER */
.apex-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.apex-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  transition: .2s;
}
.apex-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.apex-hamburger.open span:nth-child(2) { opacity: 0; }
.apex-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── TICKER ── */
.apex-ticker-wrap {
  background: var(--acid);
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 58px;
  z-index: 999;
  flex-shrink: 0;
}
/* Mobile — ticker scorre con la pagina, NON sticky */
@media (max-width: 768px) {
  .apex-ticker-wrap {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
  }
  .apex-motto-bar {
    position: relative !important;
    top: auto !important;
  }
}
.apex-ticker-track {
  display: inline-flex;
  align-items: center;
  animation: apexTkScroll 20s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.apex-ticker-track:hover { animation-play-state: paused; }
.apex-ticker-item {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 2.5rem;
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-right: 1px solid rgba(0,0,0,.15);
}
.apex-ticker-item::before { content: '▶'; margin-right: 10px; font-size: 8px; opacity: .5; }
@keyframes apexTkScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── MOTTO BAR ── */
.apex-motto-bar {
  background: var(--g1);
  border-bottom: 1px solid #1a1a1a;
  padding: .75rem 2rem;
  text-align: center;
}
.apex-motto {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--muted);
}

/* ── HERO ── */
.apex-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.apex-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  z-index: 0;
}
.apex-hero-bg-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 0;
  background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
}
.apex-hero-bg-placeholder svg { opacity: .06; }
.apex-hero-bg-placeholder span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2a2a2a;
}
.apex-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,.6) 40%, rgba(8,8,8,.1) 100%);
  pointer-events: none;
  z-index: 1;
}
.apex-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem 5rem;
  width: 100%;
  max-width: 900px;
}
.apex-hero-tag {
  display: inline-block;
  background: var(--acid);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 1.5rem;
}
.apex-hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.apex-hero-title em { color: var(--acid); font-style: normal; }
.apex-hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 2rem;
  font-weight: 300;
}
.apex-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.apex-btn-primary {
  background: var(--acid);
  color: var(--black);
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: .15s;
}
.apex-btn-primary:hover { background: #bfff33; color: var(--black); }
.apex-btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: .15s;
}
.apex-btn-secondary:hover { border-color: var(--acid); color: var(--acid); }

/* ── SECTIONS ── */
.apex-sec { padding: 5rem 2rem; border-bottom: 1px solid #1a1a1a; }
.apex-sec-dark { background: var(--g1); }
.apex-sec:nth-child(odd) { background: var(--black); }
.apex-sec:nth-child(even):not(.apex-sec-dark) { background: var(--g1); }
.apex-sec-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.apex-sec-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--acid);
  font-weight: 700;
}
.apex-sec-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.5px;
}
.apex-sec-more {
  margin-left: auto;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: .15s;
}
.apex-sec-more:hover { color: var(--acid); }

/* ── PREAMBOLO ── */
.apex-preambolo { background: var(--g1); }
.apex-preambolo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.apex-preambolo-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-top: 1rem;
  font-weight: 300;
}
.apex-preambolo-desc p { margin-bottom: 1rem; }
.apex-preambolo-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #1a1a1a;
}
.apex-pillar {
  background: var(--g1);
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: .2s;
  border-left: 2px solid transparent;
}
.apex-pillar:hover { background: var(--g2); border-left-color: var(--acid); }
.apex-pillar-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}
.apex-pillar-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 300;
}
.apex-pillar-arrow { font-size: 18px; color: var(--acid); margin-top: auto; }

/* ── NEWS GRID ── */
.apex-news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1px;
  background: #1a1a1a;
}
.apex-news-main { background: var(--black); }
.apex-news-main-img { height: 260px; overflow: hidden; }
.apex-news-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.apex-news-main:hover .apex-news-main-img img { transform: scale(1.03); }
.apex-news-main-body { padding: 1.5rem; }
.apex-news-side { background: var(--black); display: flex; flex-direction: column; gap: 1px; }
.apex-news-small {
  background: var(--black);
  padding: 1.25rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #1a1a1a;
  transition: .15s;
  cursor: pointer;
}
.apex-news-small:last-child { border-bottom: none; }
.apex-news-small:hover { background: var(--g2); }
.apex-ns-img { width: 80px; height: 60px; overflow: hidden; flex-shrink: 0; background: var(--g3); }
.apex-ns-img img { width: 100%; height: 100%; object-fit: cover; }
.apex-ntag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: .5rem;
  color: #fff;
}
.apex-nh {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: .5rem;
}
.apex-nh a { color: inherit; text-decoration: none; transition: .15s; }
.apex-nh a:hover { color: var(--acid); }
.apex-nhsm {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
}
.apex-nhsm a { color: inherit; text-decoration: none; }
.apex-nhsm a:hover { color: var(--acid); }
.apex-np { font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--muted); line-height: 1.6; font-weight: 300; }
.apex-nmeta { font-size: 10px; color: #444; letter-spacing: 2px; text-transform: uppercase; margin-top: .75rem; }
.apex-empty { font-family: 'Barlow', sans-serif; color: var(--muted); font-size: 14px; font-weight: 300; }

/* ── GUIDE ── */
.apex-guide-list { list-style: none; }
.apex-guide-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #1a1a1a;
  transition: padding-left .2s;
  cursor: pointer;
}
.apex-guide-item:last-child { border-bottom: none; }
.apex-guide-item:hover { padding-left: 8px; }
.apex-guide-num { font-size: 11px; color: var(--acid); font-weight: 700; min-width: 28px; letter-spacing: 2px; }
.apex-guide-title { font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.apex-guide-title a { color: inherit; text-decoration: none; }
.apex-guide-title a:hover { color: var(--acid); }
.apex-guide-desc { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 300; }
.apex-guide-arrow { margin-left: auto; font-size: 22px; color: #2a2a2a; transition: .15s; }
.apex-guide-item:hover .apex-guide-arrow { color: var(--acid); }

/* ── SHOP GRID ── */
.apex-shop-cats {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1px;
  background: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  scrollbar-width: none;
}
.apex-shop-cats::-webkit-scrollbar { display: none; }
.apex-shop-cat-card {
  background: var(--black);
  padding: 1rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  transition: .15s;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.apex-shop-cat-card:hover { background: var(--g2); }
.apex-shop-cat-card.active { background: var(--g2); border-bottom-color: var(--acid); }
.apex-shop-cat-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  white-space: nowrap;
  transition: .15s;
}
.apex-shop-cat-card:hover .apex-shop-cat-name,
.apex-shop-cat-card.active .apex-shop-cat-name { color: var(--white); }
.apex-shop-cat-card.active .apex-shop-cat-name { color: var(--acid); }
.apex-shop-cat-count { font-family: 'Barlow', sans-serif; font-size: 10px; color: #333; letter-spacing: 1px; }
.apex-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: #1a1a1a;
}
.apex-prod { background: var(--black); transition: .15s; }
.apex-prod:hover { background: var(--g2); }
.apex-prod-img { height: 220px; overflow: hidden; background: var(--g3); position: relative; }
.apex-prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.apex-prod:hover .apex-prod-img img { transform: scale(1.04); }
.apex-prod-img-ph { display: flex; align-items: center; justify-content: center; height: 220px; background: var(--g3); }
.apex-prod-body { padding: 1.25rem; }
.apex-pcat { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.apex-pname { font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-bottom: .5rem; line-height: 1.2; }
.apex-pname a { color: inherit; text-decoration: none; }
.apex-pname a:hover { color: var(--acid); }
.apex-pprice { font-size: 22px; font-weight: 900; color: var(--acid); margin-bottom: .75rem; }
.apex-sale-badge {
  position: absolute; top: 10px; right: 10px;
  background: #FF3B00; color: #fff;
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px; z-index: 2;
}
.apex-partner-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--acid); color: var(--black);
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 9px; z-index: 2;
}
.apex-add-cart {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--muted);
  padding: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: .15s;
}
.apex-add-cart:hover { background: var(--acid); color: var(--black); border-color: var(--acid); }
.apex-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 10px;
}
.woocommerce-result-count { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); margin: 0; }
.woocommerce-ordering select {
  background: var(--g1);
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 8px 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  outline: none;
  cursor: pointer;
}

/* ── GYM FINDER ── */
.apex-gym-finder { background: var(--g2); padding: 2rem; }
.apex-gym-finder p { font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--muted); margin-bottom: 1.25rem; font-weight: 300; }
.apex-gym-search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.apex-gym-search-row input {
  flex: 1;
  min-width: 200px;
  background: var(--black);
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  outline: none;
  transition: .15s;
}
.apex-gym-search-row input:focus { border-color: var(--acid); }
.apex-gym-status { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--acid); margin-top: 12px; min-height: 18px; }
.apex-gym-results { margin-top: 1.25rem; }
.apex-gym-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: .875rem 0;
  border-bottom: 1px solid #1a1a1a;
}
.apex-gym-row:last-child { border-bottom: none; }
.apex-gym-dot { width: 6px; height: 6px; background: var(--acid); flex-shrink: 0; }
.apex-gym-name { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.apex-gym-info { font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--muted); font-weight: 300; }
.apex-gym-dist { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--acid); white-space: nowrap; }
.apex-gmap { width: 100%; height: 400px; background: var(--g2); margin-bottom: 1.5rem; }
.apex-gmap-placeholder {
  width: 100%;
  height: 200px;
  background: var(--g2);
  border: 1px dashed #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.apex-gmap-ph-inner { text-align: center; }
.apex-gmap-ph-inner p { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--white); margin: .5rem 0; }
.apex-gmap-ph-inner small { font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--muted); }

/* ── CITY/GYM CARDS ── */
.apex-city-group { margin-bottom: 2rem; }
.apex-city-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--acid);
  padding: .5rem 0;
  border-bottom: 1px solid #1a1a1a;
  margin-bottom: 8px;
}
.apex-gym-card { background: var(--g1); padding: 1.25rem; margin-bottom: 1px; transition: .15s; }
.apex-gym-card:hover { background: var(--g2); }
.apex-gym-card-head { display: flex; align-items: flex-start; gap: 12px; }
.apex-gym-card-dot { width: 6px; height: 6px; background: var(--acid); flex-shrink: 0; margin-top: 6px; }
.apex-gym-card-name { font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.apex-gym-card-addr { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 300; }
.apex-gym-maps-btn {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--acid);
  text-decoration: none;
  border: 1px solid rgba(170,255,0,.3);
  padding: 5px 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: .15s;
}
.apex-gym-maps-btn:hover { background: var(--acid); color: var(--black); }
.apex-gym-card-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #1a1a1a;
}
.apex-gym-detail { font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--muted); text-decoration: none; transition: .15s; }
.apex-gym-detail:hover { color: var(--acid); }

/* ── ARCHIVE HERO ── */
.apex-archive-hero {
  background: var(--g1);
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
}
.apex-archive-hero::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60%;
  background: var(--acid);
}
.apex-archive-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: .95;
  margin: .5rem 0 1rem;
  letter-spacing: -1px;
}
.apex-archive-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.6;
  font-weight: 300;
}

/* ── ARCHIVE GRID ── */
.apex-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: #1a1a1a;
}
.apex-archive-card { background: var(--black); transition: .15s; }
.apex-archive-card:hover { background: var(--g2); }
.apex-archive-card-img { display: block; height: 220px; overflow: hidden; }
.apex-archive-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.apex-archive-card:hover .apex-archive-card-img img { transform: scale(1.04); }
.apex-archive-card-body { padding: 1.5rem; }
.apex-archive-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.apex-read-more {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acid);
  text-decoration: none;
}
.apex-read-more:hover { text-decoration: underline; }

/* ── FILTER BAR ── */
.apex-filter-bar {
  padding: .875rem 2rem;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid #1a1a1a;
  background: var(--g1);
}
.apex-filter-btn {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--muted);
  padding: 6px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: .15s;
}
.apex-filter-btn:hover, .apex-filter-btn.active {
  border-color: var(--acid);
  color: var(--acid);
}
.apex-filter-btn.active { background: var(--acid); color: var(--black); }

/* ── PAGINATION ── */
.apex-pagination {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.apex-pagination .page-numbers {
  background: transparent;
  border: 1px solid #2a2a2a;
  color: var(--muted);
  padding: 10px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: .15s;
}
.apex-pagination .page-numbers:hover,
.apex-pagination .page-numbers.current { border-color: var(--acid); color: var(--acid); }
.apex-pagination .page-numbers.current { background: var(--acid); color: var(--black); }

/* ── ARTICLE / SINGLE ── */
.apex-article-hero { position: relative; height: 500px; overflow: hidden; background: var(--g2); display: flex; align-items: flex-end; }
.apex-article-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.apex-article-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.apex-article-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,.3) 60%, transparent 100%); z-index: 1; pointer-events: none; }
.apex-article-hero-content { position: relative; z-index: 2; padding: 0 2rem 2.5rem; width: 100%; }
.apex-article-title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1; text-transform: uppercase; color: var(--white); margin: .5rem 0; letter-spacing: -1px; }
.apex-article-meta { font-family: 'Barlow', sans-serif; font-size: 12px; color: rgba(255,255,255,.4); display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }
.apex-article-body { max-width: 780px; margin: 0 auto; padding: 4rem 2rem; }
.apex-article-content { font-family: 'Barlow', sans-serif; font-size: 17px; line-height: 1.85; color: rgba(255,255,255,.7); font-weight: 300; }
.apex-article-content h2, .apex-article-content h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; text-transform: uppercase; color: var(--white); margin: 2.5rem 0 .875rem; }
.apex-article-content h2 { font-size: 32px; }
.apex-article-content h3 { font-size: 24px; }
.apex-article-content p { margin-bottom: 1.5rem; }
.apex-article-content img { max-width: 100%; margin: 2rem 0; }
.apex-article-content a { color: var(--acid); }
.apex-article-content blockquote { border-left: 3px solid var(--acid); padding: 1.5rem 2rem; background: var(--g1); margin: 2rem 0; font-style: italic; }
.apex-article-content strong { color: var(--white); font-weight: 700; }
.apex-article-share { display: flex; align-items: center; gap: 12px; padding: 2rem 0; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; margin: 2rem 0; flex-wrap: wrap; }
.apex-share-label { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.apex-share-btn { padding: 8px 18px; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; font-family: 'Barlow Condensed', sans-serif; transition: .15s; }
.apex-share-fb { background: #1877F2; color: #fff; }
.apex-share-tw { background: #000; color: #fff; border: 1px solid #333; }
.apex-share-wa { background: #25D366; color: #fff; }
.apex-related { margin-top: 4rem; }
.apex-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: #1a1a1a; margin-top: 1.5rem; }
.apex-related-card { background: var(--black); text-decoration: none; display: block; transition: .15s; }
.apex-related-card:hover { background: var(--g2); }
.apex-related-img { height: 130px; overflow: hidden; }
.apex-related-img img { width: 100%; height: 100%; object-fit: cover; }
.apex-related-body { padding: 1rem; }
.apex-related-title { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--white); margin-top: .4rem; line-height: 1.2; }

/* ── CHI SIAMO ── */
.apex-chi-siamo-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.apex-chi-pillars { display: flex; flex-direction: column; gap: 1px; }
.apex-value-card { background: var(--g1); border-left: 2px solid var(--acid); padding: 1.25rem 1.5rem; }
.apex-value-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--acid); margin-bottom: .4rem; }
.apex-value-desc { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; }
.apex-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: #1a1a1a; }
.apex-stat { background: var(--g1); padding: 3rem 1.5rem; text-align: center; }
.apex-stat-num { font-size: 52px; font-weight: 900; color: var(--acid); line-height: 1; }
.apex-stat-label { font-family: 'Barlow', sans-serif; font-size: 11px; color: var(--muted); margin-top: .5rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 300; }

/* ── GUIDE LIVELLI ── */
.apex-level-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #1a1a1a; }
.apex-level-card { background: var(--black); padding: 2rem 1.5rem; text-decoration: none; display: flex; flex-direction: column; gap: .75rem; transition: .2s; border-bottom: 2px solid transparent; }
.apex-level-card:hover { background: var(--g2); border-bottom-color: var(--acid); }
.apex-level-badge { font-size: 10px; font-weight: 700; letter-spacing: 4px; color: var(--acid); }
.apex-level-title { font-size: 26px; font-weight: 900; text-transform: uppercase; color: var(--white); }
.apex-level-desc { font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; font-weight: 300; }
.apex-level-cta { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); }

/* ── CONTATTI ── */
.apex-contatti-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 4rem; align-items: start; }
.apex-tipo-btns { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.apex-tipo-btn { display: flex; align-items: center; gap: 12px; background: var(--g2); border: 1px solid #2a2a2a; padding: .875rem 1rem; cursor: pointer; transition: .15s; }
.apex-tipo-btn input[type=radio] { accent-color: var(--acid); }
.apex-tipo-btn span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); }
.apex-tipo-btn:has(input:checked) { border-color: var(--acid); }
.apex-tipo-btn:has(input:checked) span { color: var(--acid); }
.apex-contatti-info-col { display: flex; flex-direction: column; gap: 1px; }
.apex-contact-info-block { background: var(--g1); padding: 1.5rem; border-left: 2px solid #1a1a1a; transition: .15s; }
.apex-contact-info-block:hover { border-left-color: var(--acid); }
.apex-contact-info-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--acid); margin-bottom: .5rem; font-weight: 700; }
.apex-contact-info-email { font-size: 15px; font-weight: 700; color: var(--white); text-decoration: none; display: block; margin-bottom: .4rem; }
.apex-contact-info-email:hover { color: var(--acid); }
.apex-contact-info-desc { font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--muted); line-height: 1.5; font-weight: 300; }
.apex-contact-form { max-width: 620px; }
.apex-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.apex-field-wrap { margin-bottom: 16px; }
.apex-field-wrap label { display: block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.apex-field-wrap input, .apex-field-wrap textarea {
  width: 100%;
  background: var(--g2);
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  transition: .15s;
}
.apex-field-wrap input:focus, .apex-field-wrap textarea:focus { border-color: var(--acid); }
.apex-field-wrap textarea { min-height: 140px; resize: vertical; }
.apex-contact-success {
  background: rgba(170,255,0,.08);
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
}

/* ── FOOTER ── */
.apex-footer { background: #040404; border-top: 1px solid #1a1a1a; padding: 4rem 2rem 2rem; }
.apex-footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1a1a1a;
}
.apex-footer-logo img { max-height: 36px; width: auto; opacity: .6; }
.apex-footer-desc { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); margin-top: .75rem; line-height: 1.6; max-width: 240px; font-weight: 300; }
.apex-footer-nav { display: flex; flex-direction: column; gap: 4px; }
.apex-footer-nav-title, .apex-footer-social-title { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: #333; margin-bottom: .75rem; }
.apex-footer-menu a, .apex-footer-nav a {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #444;
  text-decoration: none;
  padding: 6px 0;
  margin-bottom: 4px;
  transition: .15s;
  border-bottom: 1px solid #1a1a1a;
}
.apex-footer-menu ul, .apex-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.apex-footer-menu li, .apex-footer-nav li {
  display: block;
  width: 100%;
}
.apex-footer-menu a:hover, .apex-footer-nav a:hover { color: var(--acid); }
.apex-footer-social { display: flex; flex-direction: column; }
.apex-social-icon {
  color: #444;
  transition: .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #1a1a1a;
  margin-bottom: 4px;
}
.apex-social-icon:hover { color: var(--acid); border-color: var(--acid); }
.apex-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.apex-footer-copy { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #2a2a2a; }

/* ── NEWSLETTER ── */
.apex-newsletter-sec { background: var(--acid); padding: 4rem 2rem; }
.apex-newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.apex-newsletter-text .apex-sec-label { color: var(--black); }
.apex-newsletter-text .apex-sec-title { color: var(--black); }
.apex-newsletter-text p { font-family: 'Barlow', sans-serif; font-size: 14px; color: rgba(0,0,0,.6); margin-top: .5rem; font-weight: 300; }
.apex-nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.apex-nl-input {
  flex: 1;
  min-width: 220px;
  background: rgba(0,0,0,.15);
  border: 1px solid rgba(0,0,0,.2);
  color: var(--black);
  padding: 12px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  outline: none;
}
.apex-nl-input::placeholder { color: rgba(0,0,0,.4); }
.apex-nl-input:focus { border-color: var(--black); }

/* ── EVENTI ── */
.apex-events-list { list-style: none; }
.apex-event-item { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid #1a1a1a; }
.apex-event-item:last-child { border-bottom: none; }
.apex-event-date { background: var(--acid); color: var(--black); font-size: 11px; font-weight: 900; text-transform: uppercase; padding: .75rem; text-align: center; line-height: 1.1; min-width: 52px; }
.apex-event-title { font-size: 15px; font-weight: 700; text-transform: uppercase; color: var(--white); }
.apex-event-loc { font-family: 'Barlow', sans-serif; font-size: 12px; color: var(--muted); margin-top: 2px; font-weight: 300; }
.apex-event-btn { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); text-decoration: none; border: 1px solid rgba(170,255,0,.3); padding: 6px 14px; white-space: nowrap; transition: .15s; }
.apex-event-btn:hover { background: var(--acid); color: var(--black); }

/* ── PARTNER ── */
.apex-partner-badge { position: absolute; top: 10px; left: 10px; background: var(--acid); color: var(--black); font-size: 9px; font-weight: 700; padding: 4px 9px; letter-spacing: 1.5px; text-transform: uppercase; z-index: 2; }
.apex-partner-brand { margin-bottom: 4rem; }
.apex-partner-brand-head { padding: 0 0 2rem; }

/* ── SEARCH ── */
.apex-search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.apex-search-input { flex: 1; min-width: 220px; background: var(--g1); border: 1px solid #2a2a2a; color: var(--white); padding: 12px 16px; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: 1px; outline: none; transition: .15s; }
.apex-search-input:focus { border-color: var(--acid); }
.apex-search-count { font-family: 'Barlow', sans-serif; font-size: 13px; color: var(--muted); margin-bottom: 2rem; }

/* ── 404 ── */
.apex-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; text-align: center; }
.apex-404-inner { position: relative; }
.apex-404-num { font-size: 180px; font-weight: 900; color: var(--acid); opacity: .06; line-height: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); white-space: nowrap; }
.apex-404-title { font-size: 42px; font-weight: 900; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; position: relative; }
.apex-404-desc { font-family: 'Barlow', sans-serif; font-size: 15px; color: var(--muted); margin-bottom: 2rem; position: relative; font-weight: 300; }

/* ── EMPTY STATE ── */
.apex-empty-state { text-align: center; padding: 4rem 2rem; background: var(--g1); border: 1px dashed #2a2a2a; }
.apex-empty-state p { font-family: 'Barlow', sans-serif; font-size: 14px; color: var(--muted); font-weight: 300; }

/* ── BANNER ── */
.apex-banner { border-bottom: 1px solid #1a1a1a; overflow: hidden; position: relative; }
.apex-banner-link { display: block; position: relative; }
.apex-banner-link img { width: 100%; max-height: 200px; object-fit: cover; display: block; opacity: .7; transition: .3s; }
.apex-banner-link:hover img { opacity: .9; }
.apex-banner-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 24px; font-weight: 900; letter-spacing: 5px; text-transform: uppercase; color: var(--white); text-align: center; pointer-events: none; text-shadow: 0 2px 10px rgba(0,0,0,.9); }

/* ── CLUB FORM ── */
.apex-register-club { max-width: 700px; }
.apex-register-club > p { font-family: 'Barlow', sans-serif; font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 2rem; line-height: 1.7; font-weight: 300; }
.apex-club-form {}
.apex-club-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── LANG SWITCH ── */
.apex-lang-switch { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.apex-lang-list, .apex-lang-switch ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.apex-lang-list li a, .apex-lang-switch li a { color: var(--muted); text-decoration: none; transition: .15s; }
.apex-lang-list li a:hover { color: var(--acid); }
.apex-lang-list li.current-lang a { color: var(--acid); }

/* ── WOOCOMMERCE ── */
.woocommerce-loop-product__title { font-family: 'Barlow Condensed', sans-serif !important; font-weight: 700 !important; text-transform: uppercase !important; }
.woocommerce span.onsale { background: #FF3B00 !important; border-radius: 0 !important; font-family: 'Barlow Condensed', sans-serif !important; font-weight: 700 !important; letter-spacing: 1px !important; }
.woocommerce .price { color: var(--acid) !important; font-weight: 900 !important; }
.woocommerce-notices-wrapper .woocommerce-message { background: var(--g1) !important; border-top: 3px solid var(--acid) !important; color: var(--white) !important; }

/* ── NOTICE TOAST ── */
.apex-notice { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--g1); border-left: 3px solid var(--acid); color: var(--white); padding: .875rem 1.5rem; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; z-index: 99999; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; pointer-events: none; }
.apex-notice-show { opacity: 1; transform: translateY(0); }
.apex-notice-error { border-color: #FF3B00; }
.apex-notice-info { border-color: #00CFFF; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .apex-preambolo-inner { grid-template-columns: 1fr; }
  .apex-chi-siamo-grid { grid-template-columns: 1fr; }
  .apex-contatti-grid { grid-template-columns: 1fr; }
  .apex-footer-inner { grid-template-columns: 1fr 1fr; }
  .apex-stats-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .apex-hamburger { display: flex; }
  .apex-nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--black); border-bottom: 1px solid #1a1a1a; flex-direction: column; z-index: 999; padding: .5rem 0; }
  .apex-nav-links.open { display: flex; }
  .apex-nav-link, .apex-menu a { height: auto; padding: 1rem 2rem; border-bottom: 1px solid #1a1a1a; border-left: none; width: 100%; }
  .apex-nav { position: relative; }
  .apex-sec { padding: 3rem 1.25rem; }
  .apex-hero-content { padding: 0 1.25rem 3rem; }
  .apex-news-grid { grid-template-columns: 1fr; }
  .apex-level-grid { grid-template-columns: 1fr; }
  .apex-archive-grid { grid-template-columns: 1fr; }
  .apex-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .apex-newsletter-inner { grid-template-columns: 1fr; }
  .apex-contact-grid { grid-template-columns: 1fr; }
  .apex-club-grid { grid-template-columns: 1fr; }
  .apex-stats-grid { grid-template-columns: repeat(2,1fr); }
  .apex-stat { padding: 2rem 1rem; }
  .apex-archive-hero { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .apex-hero-title { font-size: 42px; }
  .apex-archive-title { font-size: 36px; }
  .apex-shop-grid { grid-template-columns: repeat(2,1fr); }
}

/* ── SEARCH OVERLAY v12 — scuro, elegante, NO bianco ── */
.apex-search-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(5,5,5,.97) !important;
  z-index: 99999 !important;
  align-items: center !important;
  justify-content: center !important;
}
.apex-search-overlay.open { display: flex !important; }
.apex-search-box { width: 100%; max-width: 700px; padding: 0 2rem; }
.apex-search-label {
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--acid);
  margin-bottom: 2rem;
  font-weight: 700;
  display: block;
}
.apex-search-input-wrap {
  position: relative;
  border-bottom: 2px solid var(--acid);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}
.apex-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: clamp(28px,5vw,52px);
  font-weight: 900;
  letter-spacing: -1px;
  padding: 14px 0;
  outline: none;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  caret-color: var(--acid);
}
.apex-search-input-wrap input::placeholder { color: rgba(255,255,255,.1); }
.apex-search-close {
  background: none;
  border: 1px solid rgba(255,255,255,.15);
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 12px;
  line-height: 1;
  transition: .15s;
  flex-shrink: 0;
}
.apex-search-close:hover { border-color: var(--acid); color: var(--acid); }
.apex-search-results { display: flex; flex-direction: column; gap: 1px; }
.apex-search-result {
  background: rgba(255,255,255,.03);
  padding: .875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: .15s;
  border-left: 2px solid transparent;
}
.apex-search-result:hover { background: rgba(255,255,255,.06); border-left-color: var(--acid); }
.apex-search-result-type {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--acid);
  min-width: 60px;
  flex-shrink: 0;
}
.apex-search-result-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  flex: 1;
}
.apex-search-hint {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.12);
  margin-top: 1.5rem;
  text-align: center;
}

/* ── NAV SOCIALS ── */
.apex-nav-socials { display: flex; align-items: center; gap: 4px; }
.apex-nav-social {
  color: var(--muted);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
  text-decoration: none;
}
.apex-nav-social:hover { color: var(--acid); }

/* ── PULSANTE CONTATTI NAVBAR ── */
.apex-contact-btn {
  padding: 8px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: .15s;
  white-space: nowrap;
  display: inline-block;
}
.apex-contact-btn--primary { background: var(--acid); color: var(--black); }
.apex-contact-btn--primary:hover { background: #bfff33; }
.apex-contact-btn--secondary { border: 1px solid rgba(255,255,255,.25); color: var(--white); }
.apex-contact-btn--secondary:hover { border-color: var(--acid); color: var(--acid); }
.apex-contact-btn--outline { border: 1px solid var(--acid); color: var(--acid); }
.apex-contact-btn--outline:hover { background: var(--acid); color: var(--black); }

/* ── BELOW NAV SOCIAL ── */
.apex-below-nav {
  background: var(--g1);
  border-bottom: 1px solid var(--g2);
  padding: 6px 2rem;
  display: flex;
  align-items: center;
  gap: 16px;
}
.apex-below-nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: .15s;
}
.apex-below-nav-social:hover { color: var(--acid); }

/* ── ELEMENTOR COMPATIBILITY ── */
.elementor-section { width: 100%; }
.e-con { width: 100%; }

/* ══════════════════════════════════
   V13 — SEARCH OVERLAY DEFINITIVO
   ══════════════════════════════════ */
.apex-search-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(5,5,5,.97) !important;
  z-index: 999999 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding-top: 80px !important;
  margin: 0 !important;
}
.apex-search-overlay.open { display: flex !important; }
.apex-search-box { width: 100%; max-width: 760px; padding: 0 2rem; }
.apex-search-top {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid var(--acid);
  padding-bottom: 12px;
  margin-bottom: 2.5rem;
}
.apex-search-top input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: clamp(24px,4vw,44px);
  font-weight: 900;
  letter-spacing: -1px;
  outline: none;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  caret-color: var(--acid);
}
.apex-search-top input::placeholder { color: rgba(255,255,255,.1); }
.apex-search-esc {
  background: none;
  border: 1px solid #333;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 6px 12px;
  transition: .15s;
  font-family: 'Barlow Condensed', sans-serif;
  flex-shrink: 0;
}
.apex-search-esc:hover { border-color: var(--acid); color: var(--acid); }
.apex-search-cols {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
}
.apex-search-col-title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 14px;
}
.apex-search-trend {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  padding: 9px 0;
  border-bottom: 1px solid #1a1a1a;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}
.apex-search-trend:hover { color: var(--acid); padding-left: 8px; }
.apex-search-recent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.apex-search-rec-item { text-decoration: none; display: block; cursor: pointer; }
.apex-search-rec-img {
  height: 100px;
  background: #1a1a1a;
  overflow: hidden;
  margin-bottom: 8px;
}
.apex-search-rec-img img { width: 100%; height: 100%; object-fit: cover; }
.apex-search-rec-img--empty { display: flex; align-items: center; justify-content: center; }
.apex-search-rec-cat { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: #444; }
.apex-search-rec-name { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #ccc; margin-top: 2px; line-height: 1.2; transition: .15s; }
.apex-search-rec-item:hover .apex-search-rec-name { color: var(--acid); }
.apex-search-rec-price { font-size: 14px; font-weight: 900; color: var(--acid); margin-top: 3px; }
.apex-search-results { margin-top: 1.5rem; }
.apex-search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: .875rem 0;
  border-bottom: 1px solid #1a1a1a;
  text-decoration: none;
  transition: .15s;
}
.apex-search-result-item:hover { padding-left: 8px; }
.apex-search-result-type { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--acid); min-width: 64px; }
.apex-search-result-title { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--white); flex: 1; }

/* ══════════════════════════════════
   V13 — ACCOUNT DROPDOWN
   ══════════════════════════════════ */
.apex-nav-account { position: relative; }
.apex-account-dropdown {
  display: none;
  position: fixed !important;
  top: 58px !important;
  right: 16px !important;
  background: #111;
  border: 1px solid #2a2a2a;
  min-width: 220px;
  z-index: 99998 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.8);
}
.apex-account-dropdown.open { display: block; }
.apex-account-header {
  padding: 14px 16px;
  border-bottom: 1px solid #1a1a1a;
}
.apex-account-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
}
.apex-account-sub { font-family: 'Barlow', sans-serif; font-size: 11px; color: var(--muted); margin-top: 2px; }
.apex-account-btn {
  display: block;
  margin: 12px 16px;
  background: var(--acid);
  color: var(--black);
  padding: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: .15s;
}
.apex-account-btn:hover { background: #bfff33; }
.apex-account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  border-bottom: 1px solid #111;
  transition: .15s;
}
.apex-account-link:hover { color: var(--acid); background: #1a1a1a; }
.apex-account-logout { color: #444; }
.apex-account-logout:hover { color: #ff3b00; }

/* ══════════════════════════════════
   V13 — NAVBAR ICONE
   ══════════════════════════════════ */
.apex-nav-icon {
  background: none;
  border: none;
  color: var(--muted);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.apex-nav-icon:hover { color: var(--white); }

/* CARRELLO V13 */
.apex-cart-btn {
  background: var(--acid);
  color: var(--black);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  transition: .15s;
  flex-shrink: 0;
  position: relative;
}
.apex-cart-btn:hover { background: #bfff33; }
.apex-cart-count {
  font-size: 11px;
  font-weight: 700;
}

/* ══════════════════════════════════
   V13 — FOOTER 4 COLONNE
   ══════════════════════════════════ */
.apex-footer { background: #040404; border-top: 1px solid #1a1a1a; padding: 4rem 2rem 2rem; }
.apex-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #111;
  margin-bottom: 1.5rem;
}
.apex-footer-brand {}
.apex-footer-logo-img { max-height: 36px; width: auto; opacity: .6; margin-bottom: .75rem; }
.apex-footer-logo-text {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: .75rem;
}
.apex-footer-logo-text span { color: var(--acid); }
.apex-footer-desc { font-family: 'Barlow', sans-serif; font-size: 12px; color: #2a2a2a; line-height: 1.7; max-width: 220px; }
.apex-footer-col-title { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #2a2a2a; margin-bottom: 12px; font-weight: 700; }
.apex-footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #2a2a2a;
  text-decoration: none;
  padding: 5px 0;
  border-bottom: 1px solid #080808;
  transition: .15s;
  letter-spacing: .5px;
}
.apex-footer-link:hover { color: var(--acid); }
.apex-footer-link svg { flex-shrink: 0; opacity: .4; }
.apex-footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.apex-footer-copy { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #1a1a1a; }

@media(max-width:768px) {
  .apex-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .apex-search-cols { grid-template-columns: 1fr; }
  .apex-search-recent { grid-template-columns: 1fr 1fr; }
}
@media(max-width:480px) {
  .apex-footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   MOBILE FIRST — v13.1
   Ottimizzato per acquisti da smartphone
   ══════════════════════════════════════ */

/* NAVBAR MOBILE */
@media (max-width: 768px) {

  .apex-nav {
    height: 52px;
    padding: 0 14px;
    gap: 8px;
  }

  /* Logo più piccolo */
  .apex-logo img {
    max-height: 30px !important;
    max-width: 120px !important;
  }
  .apex-logo-fallback {
    font-size: 16px !important;
    letter-spacing: 1px !important;
  }

  /* Nascondi menu desktop */
  .apex-nav-links {
    display: none;
    position: fixed !important;
    top: 52px !important;
    left: 0 !important;
    right: 0 !important;
    background: #080808;
    border-bottom: 1px solid #1a1a1a;
    flex-direction: column;
    z-index: 99997;
    padding: 8px 0;
  }
  .apex-nav-links.open { display: flex; }
  .apex-nav-link {
    height: auto !important;
    padding: 14px 20px !important;
    border-bottom: 1px solid #111 !important;
    border-left: none !important;
    font-size: 12px !important;
    width: 100%;
  }
  .apex-nav-link.apex-current {
    border-left: 3px solid var(--acid) !important;
    border-bottom: 1px solid #111 !important;
  }

  /* Hamburger visibile */
  .apex-hamburger { display: flex !important; }

  /* Icone navbar più piccole */
  .apex-nav-icon { width: 34px; height: 34px; }
  .apex-cart-btn { width: 34px; height: 34px; }

  /* Search overlay su mobile */
  .apex-search-box { padding: 0 1rem !important; }
  .apex-search-top input { font-size: 22px !important; }
  .apex-search-cols { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .apex-search-recent { grid-template-columns: 1fr 1fr !important; }
  .apex-search-overlay { padding-top: 60px !important; }

  /* Account dropdown su mobile — full width */
  .apex-account-dropdown {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    top: 52px !important;
  }

  /* Hero mobile */
  .apex-hero { min-height: 70vh !important; }
  .apex-hero-title { font-size: 38px !important; }
  .apex-hero-content { padding: 0 16px 24px !important; }
  .apex-hero-btns { flex-direction: column !important; gap: 8px !important; }
  .apex-btn-primary, .apex-btn-secondary {
    width: 100% !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 12px !important;
  }

  /* Ticker mobile — scorre con la pagina */
  .apex-ticker-wrap {
    position: relative !important;
    top: auto !important;
  }
  .apex-ticker-item { font-size: 8px !important; padding: 0 16px !important; }

  /* Sezioni mobile */
  .apex-sec { padding: 2.5rem 16px !important; }
  .apex-sec-title { font-size: 22px !important; }

  /* Preambolo mobile */
  .apex-preambolo-inner { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
  .apex-preambolo-pillars { grid-template-columns: 1fr 1fr !important; }
  .apex-pillar { padding: 14px !important; }
  .apex-pillar-title { font-size: 12px !important; }

  /* News mobile — colonna unica */
  .apex-news-grid { grid-template-columns: 1fr !important; }
  .apex-news-main-img { height: 200px !important; }
  .apex-nh { font-size: 16px !important; }

  /* Shop mobile — 2 colonne */
  .apex-shop-grid { grid-template-columns: 1fr 1fr !important; }
  .apex-prod-img { height: 140px !important; }
  .apex-pname { font-size: 11px !important; }
  .apex-pprice { font-size: 18px !important; }

  /* Footer mobile */
  .apex-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }
  .apex-footer { padding: 2rem 16px 1.5rem !important; }

  /* Training mobile */
  .apex-level-grid { grid-template-columns: 1fr !important; }

  /* Breadcrumb mobile */
  .apex-breadcrumb { padding: .5rem 16px !important; font-size: 10px !important; }

  /* WooCommerce mobile */
  .woocommerce .products {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 480px) {
  /* Shop 1 colonna su schermi molto piccoli */
  .apex-shop-grid { grid-template-columns: 1fr !important; }
  .apex-preambolo-pillars { grid-template-columns: 1fr !important; }
  .apex-footer-grid { grid-template-columns: 1fr !important; }
  .apex-hero-title { font-size: 32px !important; }

  /* Bottone aggiungi al carrello più grande su mobile */
  .apex-add-cart {
    padding: 14px !important;
    font-size: 12px !important;
  }
}

/* TOUCH TARGET — pulsanti più grandi per dita */
@media (max-width: 768px) {
  .apex-btn-primary,
  .apex-btn-secondary,
  .apex-add-cart,
  .apex-account-btn {
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .apex-nav-icon,
  .apex-cart-btn {
    min-width: 40px !important;
    min-height: 40px !important;
  }
}

/* STICKY CART SU MOBILE — carrello sempre visibile in basso */
@media (max-width: 768px) {
  .apex-mobile-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #080808;
    border-top: 1px solid #1a1a1a;
    z-index: 9000;
    height: 56px;
    align-items: stretch;
  }
  .apex-mobile-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #555;
    text-decoration: none;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    gap: 3px;
    cursor: pointer;
    transition: .15s;
    border-top: 2px solid transparent;
  }
  .apex-mobile-bar-item:hover,
  .apex-mobile-bar-item.act { color: var(--acid); border-top-color: var(--acid); }
  .apex-mobile-bar-shop {
    background: var(--acid);
    color: var(--black) !important;
    border-top: none !important;
  }
  .apex-mobile-bar-shop:hover { background: #bfff33; }
  /* Spazio per la barra mobile in basso */
  body { padding-bottom: 56px; }
}
@media (min-width: 769px) {
  .apex-mobile-bar { display: none !important; }
}

/* ══════════════════════════════════
   V14 — FIX DEFINITIVO ELEMENTOR
   Impedisce a Elementor di rompere
   la navbar e gli overlay
   ══════════════════════════════════ */
.elementor-location-header .apex-nav,
.elementor-location-header .apex-search-overlay,
.elementor-location-header .apex-account-dropdown {
  display: revert !important;
}

/* Reset completo elementi fuori posto */
.apex-search-overlay *,
.apex-account-dropdown * {
  font-family: 'Barlow Condensed', sans-serif !important;
}

/* Forza sfondo scuro sull'overlay ricerca */
.apex-search-overlay,
.apex-search-overlay.open {
  background-color: rgba(5,5,5,.97) !important;
  color: #ffffff !important;
}

/* Nascondi testi bianchi che compaiono fuori dall'overlay */
body > .apex-search-overlay:not(.open) {
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ══════════════════════════════════
   V14 — STRUCTURED DATA (JSON-LD)
   Per i sitelinks su Google
   ══════════════════════════════════ */

/* ═══════════════════════════════════════
   V15.1 — FIX LOGO, CARRELLO, MAPPA, MENU
   ═══════════════════════════════════════ */

/* FIX CARRELLO — forza visibilità */
.apex-nav-right .apex-cart-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 40px;
  height: 40px;
  background: var(--acid);
  color: var(--black);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
}
.apex-nav-right .apex-cart-btn svg { display: block !important; }
.apex-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--black);
  color: var(--acid);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* FIX LOGO NAVBAR */
.apex-logo {
  display: flex !important;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.apex-logo img {
  max-height: 44px !important;
  width: auto !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* MAPPA GOOGLE MAPS — pagina club */
.apex-gmap-wrap {
  width: 100%;
  height: 380px;
  background: #111;
  border: 1px solid #1a1a1a;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}
.apex-gmap-wrap iframe,
.apex-gmap-wrap #apexGoogleMap {
  width: 100% !important;
  height: 100% !important;
  border: none;
}
.apex-gmap-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #555;
  text-align: center;
  padding: 2rem;
}
.apex-gmap-placeholder svg { opacity: 0.3; }
.apex-gmap-placeholder p { font-size: 13px; line-height: 1.6; }
.apex-gmap-placeholder a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--acid);
  color: var(--black);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* MOBILE CARRELLO */
@media (max-width: 768px) {
  .apex-nav-right .apex-cart-btn {
    width: 34px !important;
    height: 34px !important;
  }
}

/* ═══════════════════════════════════════
   V16 — MY ACCOUNT PERSONALIZZATO
   ═══════════════════════════════════════ */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #1a1a1a;
}
.woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #1a1a1a;
}
.woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  text-decoration: none;
  transition: .15s;
}
.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  color: var(--acid);
  background: #111;
}
.woocommerce-MyAccount-content {
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
}
.woocommerce-MyAccount-content h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 1rem;
}
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.woocommerce-orders-table th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  padding: 8px 12px;
  border-bottom: 1px solid #1a1a1a;
  text-align: left;
}
.woocommerce-orders-table td {
  padding: 12px;
  border-bottom: 1px solid #111;
  color: #ccc;
}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status span {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.woocommerce-orders-table .woocommerce-button {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: .15s;
}
.woocommerce-orders-table .woocommerce-button:hover {
  background: var(--acid);
  color: var(--black);
}

/* ═══════════════════════════════════════
   V16.2 — FIX CAMPI BIANCHI MY ACCOUNT
   ═══════════════════════════════════════ */

/* Nascondi campi WooCommerce standard che si sovrappongono */
.woocommerce-MyAccount-content .woocommerce-address-fields,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset,
.woocommerce-MyAccount-content p.woocommerce-form-row input[type="text"],
.woocommerce-MyAccount-content p.woocommerce-form-row input[type="email"],
.woocommerce-MyAccount-content p.woocommerce-form-row input[type="password"],
.woocommerce-MyAccount-content p.woocommerce-form-row input[type="tel"],
.woocommerce-MyAccount-content p.woocommerce-form-row select {
  background: #161616 !important;
  border: 1px solid #2a2a2a !important;
  color: #fff !important;
  border-radius: 0 !important;
  font-family: inherit !important;
  padding: 10px 12px !important;
}

.woocommerce-MyAccount-content p.woocommerce-form-row label {
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
}

.woocommerce-MyAccount-content .woocommerce-Button,
.woocommerce-MyAccount-content button[type="submit"],
.woocommerce-MyAccount-content input[type="submit"] {
  background: var(--acid) !important;
  color: var(--black) !important;
  border: none !important;
  padding: 12px 28px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  cursor: pointer !important;
  font-family: inherit !important;
  border-radius: 0 !important;
}

/* Fix sfondo pagina my account */
.woocommerce-account .woocommerce {
  background: transparent !important;
}

.woocommerce-MyAccount-content {
  background: transparent !important;
  padding: 0 !important;
}

/* ═══════════════════════════════════════
   V16.3 — ACCOUNT UTENTE + CLUB + CARRELLO
   ═══════════════════════════════════════ */

/* FIX PALLINO CARRELLO — nasconde quando vuoto */
.apex-cart-count:empty,
.apex-cart-count[data-count="0"] { display: none !important; }
.apex-cart-count { display: none; }
.apex-cart-count.has-items { display: flex !important; }

/* AREA ACCOUNT — layout generale */
.apex-account-wrap { max-width: 680px; }
.apex-account-header { display: flex; align-items: center; gap: 16px; padding: 1.25rem; background: var(--g1); border: 1px solid #1a1a1a; margin-bottom: 1.25rem; }
.apex-account-avatar { width: 52px; height: 52px; background: #1a1a00; border: 1px solid var(--acid); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--acid); flex-shrink: 0; }
.apex-account-name { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .5px; }
.apex-account-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; color: #555; }
.apex-account-badge-lv { font-size: 10px; font-weight: 700; background: #1a1a00; color: var(--acid); border: 1px solid var(--acid); padding: 2px 8px; letter-spacing: .5px; }
.apex-account-badge-ok { font-size: 10px; font-weight: 700; background: #0d1a0d; color: #4ade80; border: 1px solid #1a3a1a; padding: 2px 8px; }
.apex-account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.25rem; }
.apex-account-stat { background: var(--g1); border: 1px solid #1a1a1a; padding: 1rem; text-align: center; }
.apex-stat-val { font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.apex-stat-lbl { font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: .5px; }
.apex-account-section { margin-bottom: 1.5rem; }
.apex-account-section-title { font-size: 11px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.apex-order-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #1a1a1a; background: var(--g1); margin-bottom: 6px; }
.apex-order-num { font-size: 11px; color: #555; flex-shrink: 0; width: 75px; }
.apex-order-name { flex: 1; font-size: 13px; color: #ccc; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apex-order-price { font-size: 13px; font-weight: 700; color: var(--white); flex-shrink: 0; }
.apex-order-status { font-size: 10px; font-weight: 700; padding: 3px 8px; flex-shrink: 0; letter-spacing: .5px; }
.apex-order-status-ok { background: #0d1a0d; color: #4ade80; border: 1px solid #1a3a1a; }
.apex-order-status-pend { background: #1a1000; color: #f59e0b; border: 1px solid #3a2800; }
.apex-account-empty { font-size: 13px; color: #555; padding: 1.5rem; text-align: center; border: 1px dashed #1a1a1a; }
.apex-account-empty a { color: var(--acid); }
.apex-account-link { display: inline-block; font-size: 12px; color: #555; text-decoration: underline; margin-top: 8px; }
.apex-account-link:hover { color: var(--acid); }

/* MY ACCOUNT NAVIGATION */
.woocommerce-MyAccount-navigation { margin-bottom: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; border-bottom: 1px solid #1a1a1a; overflow-x: auto; }
.woocommerce-MyAccount-navigation ul li { border-bottom: none; }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #555; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; transition: .15s; }
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover { color: var(--acid); border-bottom-color: var(--acid); }
.woocommerce-MyAccount-content { padding-top: 1.5rem !important; background: transparent !important; }

/* ═══════════════════════════════════════
   V16.4 — FIX LAYOUT AREA ACCOUNT
   ═══════════════════════════════════════ */

/* Layout My Account - due colonne su desktop */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
}
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}

/* Card header account */
.apex-account-header {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  padding: 1.25rem !important;
  background: var(--g1) !important;
  border: 1px solid #1a1a1a !important;
  margin-bottom: 1.25rem !important;
}

/* Stats grid */
.apex-account-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  margin-bottom: 1.25rem !important;
}

/* Fix testo senza card */
.apex-account-wrap > *:not(.apex-account-header):not(.apex-account-stats):not(.apex-account-section) {
  display: none;
}

/* Rimuovi float WooCommerce */
.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
  display: none !important;
}
.woocommerce-account .woocommerce {
  display: block !important;
}

/* Download tab - nascondilo */
.woocommerce-account .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--downloads {
  display: none !important;
}
