/*
Theme Name: Moto-Koszulki
Theme URI: https://example.com
Author: Moto-Koszulki
Author URI: https://example.com
Description: Cyber-garażowy motyw sklepowy dla koszulek motoryzacyjnych. Zaprojektowany na bazie statycznej strony "Nocna zmiana". Kompatybilny z WooCommerce (opcjonalnie).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: moto-koszulki
*/

:root{
  --bg-void: #08080d;
  --bg-panel: #0f0e1a;
  --bg-panel-2: #14132399;
  --magenta: #ff2e78;
  --cyan: #00fff0;
  --acid: #d4ff2e;
  --steel: #7d8bab;
  --steel-dim: #3d4260;
  --white: #eef0ff;
}

*{margin:0;padding:0;box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  background:var(--bg-void);
  color:var(--white);
  font-family:'Rajdhani',sans-serif;
  overflow-x:hidden;
  position:relative;
}

/* ambient grid + scanlines */
body::before{
  content:"";
  position:fixed; inset:0;
  background-image:
    linear-gradient(var(--steel-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-dim) 1px, transparent 1px);
  background-size:48px 48px;
  opacity:.06;
  pointer-events:none;
  z-index:1;
}
body::after{
  content:"";
  position:fixed; inset:0;
  background:repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px, transparent 1px, transparent 3px);
  pointer-events:none;
  z-index:2;
  mix-blend-mode:overlay;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer;}

.wrap{max-width:1240px; margin:0 auto; padding:0 32px; position:relative; z-index:3;}

/* ===== NAV ===== */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(8,8,13,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--steel-dim);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px; max-width:1240px; margin:0 auto;
}
.logo{
  font-family:'Orbitron', sans-serif;
  font-weight:900; font-size:1.3rem;
  letter-spacing:.05em;
  display:flex; align-items:center; gap:10px;
}
.logo .dot{
  width:9px; height:9px; background:var(--magenta);
  box-shadow:0 0 12px var(--magenta), 0 0 24px var(--magenta);
  border-radius:1px;
  animation:blink 2.4s infinite steps(1);
}
@keyframes blink{0%,45%{opacity:1;}50%,95%{opacity:.25;}100%{opacity:1;}}
.logo span{color:var(--cyan);}

.navlinks .menu-primary{display:flex; gap:36px; list-style:none; align-items:center;}
.navlinks .menu-item{position:relative;}
.navlinks .menu-item > a{
  position:relative; color:var(--steel); transition:color .2s;
  font-size:.95rem; letter-spacing:.08em; text-transform:uppercase; font-weight:600;
  display:inline-flex; align-items:center; gap:5px;
  padding:8px 2px; /* bigger click/hover target than the bare text, closer to a real button */
  margin:-8px -2px; /* compensate visually so the row height/spacing stays the same */
}
.navlinks .menu-item-has-children > a{cursor:pointer;}
.navlinks .menu-item > a:hover{color:var(--white);}
.navlinks .menu-item > a::after{
  content:""; position:absolute; left:0; top:-10px; width:0; height:2px;
  background:var(--cyan); box-shadow:0 0 8px var(--cyan);
  transition:width .25s;
}
.navlinks .menu-item > a:hover::after{width:100%;}

.menu-caret{
  font-size:.65em;
  transition:transform .2s ease;
  display:inline-block;
  color:var(--steel-dim);
}
.navlinks .menu-item > a:hover .menu-caret{color:var(--cyan);}

/* --- Dropdown (desktop: hover / keyboard focus) --- */
.navlinks .sub-menu{
  list-style:none;
  position:absolute;
  top:100%;
  left:50%;
  transform:translateX(-50%);
  min-width:200px;
  background:var(--bg-panel);
  border:1px solid var(--steel-dim);
  padding:8px;
  margin-top:14px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, visibility .18s ease;
  z-index:70;
}
/* Niewidoczny "mostek" nad dropdownem, dokładnie na wysokość marginesu
   powyżej (margin-top:14px). Bez niego kursor traci hover w tej przerwie
   podczas zjazdu z linku "Kolekcje" w stronę listy, więc menu zamyka się,
   zanim zdążysz cokolwiek kliknąć. */
.navlinks .sub-menu::before{
  content:"";
  position:absolute;
  top:-14px;
  left:0;
  right:0;
  height:14px;
}
.navlinks .menu-item-has-children:hover > .sub-menu,
.navlinks .menu-item-has-children:focus-within > .sub-menu,
.navlinks .menu-item-has-children.desktop-open > .sub-menu{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.navlinks .menu-item-has-children:hover > a .menu-caret,
.navlinks .menu-item-has-children:focus-within > a .menu-caret,
.navlinks .menu-item-has-children.desktop-open > a .menu-caret{
  transform:rotate(180deg);
  color:var(--cyan);
}
.navlinks .sub-menu li{list-style:none;}
.navlinks .sub-menu a{
  display:block;
  padding:10px 14px;
  font-size:.78rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--steel);
  white-space:nowrap;
  transition:color .15s, background .15s;
}
.navlinks .sub-menu a::after{display:none;}
.navlinks .sub-menu a:hover{color:var(--cyan); background:rgba(0,255,240,.07);}

.cart-btn{
  border:1px solid var(--steel-dim); background:transparent; color:var(--white);
  padding:9px 18px; font-size:.85rem; letter-spacing:.1em; text-transform:uppercase;
  display:flex; align-items:center; gap:8px; transition:all .2s;
  white-space:nowrap;
}
.cart-btn:hover{border-color:var(--magenta); color:var(--magenta); box-shadow:0 0 14px rgba(255,46,120,.35) inset;}

.nav-actions{display:flex; align-items:center; gap:14px;}

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:42px; height:42px;
  flex:0 0 auto;
  border:1px solid var(--steel-dim);
  background:transparent;
  padding:0;
}
.nav-toggle span{
  display:block; width:20px; height:2px; background:var(--white);
  transition:transform .25s, opacity .2s, background .2s;
}
.nav-toggle:hover span{background:var(--cyan);}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media(max-width:860px){
  .nav-toggle{display:flex;}

  .navlinks{
    position:absolute;
    top:100%; left:0; right:0;
    background:rgba(8,8,13,.97);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--steel-dim);
    padding:0 32px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .3s ease, opacity .25s ease, padding .3s ease;
  }
  .navlinks.is-open{
    max-height:80vh;
    overflow-y:auto;
    opacity:1;
    padding:8px 32px 22px;
  }
  .navlinks .menu-primary{
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }
  .navlinks .menu-item > a{
    display:flex;
    justify-content:space-between;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--steel-dim);
  }
  .navlinks .menu-item:last-child > a{border-bottom:none;}
  .navlinks .menu-item > a::after{display:none;}

  /* Sub-menu becomes an inline accordion, toggled via the caret */
  .navlinks .sub-menu{
    position:static;
    transform:none;
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    border:none;
    background:transparent;
    padding:0;
    margin:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .3s ease;
  }
  .navlinks .menu-item.submenu-open > .sub-menu{max-height:600px;}
  .navlinks .menu-item.submenu-open > a .menu-caret{transform:rotate(180deg); color:var(--cyan);}
  .navlinks .sub-menu a{
    padding:12px 0 12px 16px;
    border-bottom:1px solid var(--steel-dim);
    color:var(--steel);
  }
  .navlinks .sub-menu li:last-child a{border-bottom:none;}
}

@media(max-width:480px){
  .nav{padding:14px 20px;}
  .logo{font-size:1.05rem; gap:6px;}
  .cart-btn{padding:8px 12px; font-size:.72rem; gap:5px;}
}

/* ===== HERO ===== */
.hero{
  position:relative;
  min-height:70vh;
  display:flex; align-items:center;
  padding:52px 0 48px;
  border-bottom:1px solid var(--steel-dim);
  overflow:hidden;
}
.hero-content{position:relative; z-index:3; width:100%;}

.eyebrow{
  font-family:'Share Tech Mono', monospace;
  color:var(--acid); font-size:.85rem; letter-spacing:.25em; text-transform:uppercase;
  display:flex; align-items:center; gap:12px; margin-bottom:22px;
}
.eyebrow::before{content:"[ "; color:var(--steel);}
.eyebrow::after{content:" ]"; color:var(--steel);}

.hero h1{
  font-family:'Orbitron', sans-serif;
  font-weight:900;
  font-size:clamp(2.6rem, 7vw, 5.4rem);
  line-height:1.02;
  letter-spacing:-.01em;
  text-transform:uppercase;
  margin-bottom:26px;
  position:relative;
}
.glitch-word{
  color:var(--white);
  position:relative;
  display:inline-block;
}
.glitch-word.hot{
  color:var(--magenta);
  text-shadow: 0 0 18px rgba(255,46,120,.6), 0 0 40px rgba(255,46,120,.25);
}
.glitch-word::before, .glitch-word::after{
  content:attr(data-text);
  position:absolute; left:0; top:0; width:100%; height:100%;
  overflow:hidden; background:var(--bg-void);
}
.glitch-word::before{
  color:var(--cyan); left:2px; text-shadow:-1px 0 var(--cyan);
  animation:glitch1 4.5s infinite linear alternate-reverse;
}
.glitch-word::after{
  color:var(--magenta); left:-2px; text-shadow:1px 0 var(--magenta);
  animation:glitch2 3.8s infinite linear alternate-reverse;
}
@keyframes glitch1{
  0%,92%,100%{clip-path:inset(0 0 100% 0); opacity:0;}
  93%{clip-path:inset(10% 0 60% 0); opacity:.7;}
  95%{clip-path:inset(70% 0 5% 0); opacity:.7;}
  97%{clip-path:inset(30% 0 40% 0); opacity:.7;}
}
@keyframes glitch2{
  0%,88%,100%{clip-path:inset(0 0 100% 0); opacity:0;}
  89%{clip-path:inset(60% 0 10% 0); opacity:.6;}
  91%{clip-path:inset(15% 0 65% 0); opacity:.6;}
  94%{clip-path:inset(45% 0 25% 0); opacity:.6;}
}

.hero p.lead{
  font-size:1.15rem; color:var(--steel); max-width:520px; margin-bottom:38px; line-height:1.6;
}
.hero-ctas{display:flex; gap:18px; flex-wrap:wrap; align-items:center;}

.btn-primary{
  background:var(--magenta); color:var(--bg-void); font-weight:700;
  padding:16px 36px; font-size:.95rem; letter-spacing:.1em; text-transform:uppercase;
  border:none; clip-path:polygon(0 0,calc(100% - 14px) 0,100% 100%,14px 100%);
  transition:transform .18s, box-shadow .18s;
  box-shadow:0 0 0 rgba(255,46,120,0);
  display:inline-block;
}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 6px 26px rgba(255,46,120,.45);}

.btn-ghost{
  border:1px solid var(--cyan); color:var(--cyan);
  padding:15px 34px; font-size:.95rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  transition:all .2s;
  display:inline-block;
}
.btn-ghost:hover{background:var(--cyan); color:var(--bg-void); box-shadow:0 0 24px rgba(0,255,240,.5);}

/* HUD stat strip */
.hud-strip{
  display:flex; gap:0; margin-top:44px; border-top:1px solid var(--steel-dim); padding-top:0;
  flex-wrap:wrap;
}
.hud-item{
  flex:1; min-width:150px; padding:20px 24px 0; border-left:1px solid var(--steel-dim);
  font-family:'Share Tech Mono', monospace;
}
.hud-item:first-child{border-left:none; padding-left:0;}
.hud-num{font-size:1.7rem; color:var(--cyan); font-weight:700;}
.hud-label{font-size:.72rem; color:var(--steel); letter-spacing:.15em; text-transform:uppercase; margin-top:4px;}

/* ===== BANNER SLIDER (full-bleed) ===== */
.banner-slider-section{
  padding:0;
  border-bottom:1px solid var(--steel-dim);
  position:relative;
}

.banner-slider{position:relative; overflow:hidden;}

.banner-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  touch-action:pan-x pan-y;
}
.banner-viewport::-webkit-scrollbar{display:none;}
.banner-track{display:flex;}

.banner-slide{
  flex:0 0 100%;
  scroll-snap-align:start;
  position:relative;
  min-height:56vh;
  display:flex;
  align-items:center;
  background-size:cover;
  background-position:center;
  background-color:var(--bg-panel);
}
.banner-slide::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(8,8,13,.94) 0%, rgba(8,8,13,.68) 42%, rgba(8,8,13,.22) 100%);
}
.banner-slide::after{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--steel-dim) 1px, transparent 1px),
    linear-gradient(90deg, var(--steel-dim) 1px, transparent 1px);
  background-size:44px 44px;
  opacity:.08;
  mix-blend-mode:screen;
}
.banner-slide .wrap{position:relative; z-index:2; width:100%;}

.banner-slide-content{max-width:560px; padding:60px 0;}
.banner-eyebrow{
  font-family:'Share Tech Mono', monospace;
  color:var(--acid); font-size:.8rem; letter-spacing:.25em; text-transform:uppercase;
  display:flex; align-items:center; gap:12px; margin-bottom:18px;
}
.banner-eyebrow::before{content:"[ "; color:var(--steel);}
.banner-eyebrow::after{content:" ]"; color:var(--steel);}

.banner-slide h2{
  font-family:'Orbitron', sans-serif;
  font-weight:800;
  font-size:clamp(1.9rem, 4.6vw, 3.2rem);
  text-transform:uppercase;
  line-height:1.08;
  margin-bottom:18px;
  color:var(--white);
}
.banner-slide p{
  color:var(--steel);
  font-size:1.02rem;
  line-height:1.6;
  max-width:440px;
  margin-bottom:30px;
}

.banner-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:48px; height:48px; border-radius:50%;
  border:1px solid rgba(238,240,255,.25);
  background:rgba(8,8,13,.55);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-size:1.5rem;
  backdrop-filter:blur(6px);
  transition:all .2s;
}
.banner-arrow:hover{border-color:var(--cyan); color:var(--cyan); box-shadow:0 0 18px rgba(0,255,240,.4);}
.banner-arrow.prev{left:24px;}
.banner-arrow.next{right:24px;}

.banner-dots{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%); z-index:3;
  display:flex; gap:10px;
}
.banner-dot{
  width:9px; height:9px; border-radius:50%; padding:0;
  border:1px solid var(--steel); background:transparent;
  transition:all .2s;
}
.banner-dot.is-active{
  background:var(--cyan); border-color:var(--cyan);
  box-shadow:0 0 10px var(--cyan);
  width:22px; border-radius:5px;
}

@media(max-width:700px){
  .banner-slide{min-height:0; padding:74px 0 64px;}
  .banner-slide-content{padding:0;}
  .banner-arrow{width:38px; height:38px; font-size:1.2rem;}
  .banner-arrow.prev{left:12px;}
  .banner-arrow.next{right:12px;}
}

/* ===== SECTION HEADERS ===== */
.section{padding:110px 0; border-bottom:1px solid var(--steel-dim); position:relative;}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:56px; flex-wrap:wrap; gap:20px;}
.section-tag{
  font-family:'Share Tech Mono', monospace; color:var(--magenta); font-size:.8rem;
  letter-spacing:.2em; text-transform:uppercase; margin-bottom:14px; display:block;
}
.section-head h2{
  font-family:'Orbitron', sans-serif; font-weight:700; font-size:clamp(1.8rem,3.4vw,2.6rem);
  text-transform:uppercase; letter-spacing:-.01em;
}
.section-head p{color:var(--steel); max-width:360px; font-size:.98rem; line-height:1.55;}

/* ===== PRODUCT GRID ===== */
.grid-products{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--steel-dim);
  border:1px solid var(--steel-dim);
}
@media(max-width:960px){.grid-products{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.grid-products{grid-template-columns:1fr;}}

.card{
  background:var(--bg-panel); position:relative; overflow:hidden;
  display:flex; flex-direction:column;
  transition:background .25s;
}
.card:hover{background:#171628;}
.card-visual{
  aspect-ratio:1/1.05; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background:
    linear-gradient(160deg, #1a1830 0%, #0c0b17 100%);
  border-bottom:1px solid var(--steel-dim);
}
.card-visual img,
.card-visual .tee-silhouette{
  width:90%; opacity:.94; filter:drop-shadow(0 0 20px rgba(0,255,240,.12));
  transition:transform .3s;
  object-fit:contain;
}
.card:hover .tee-silhouette,
.card:hover .card-visual img{transform:scale(1.05) rotate(-1deg);}
.card-visual .scan{
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity:0; top:0;
}
.card:hover .scan{animation:scan 1.3s linear infinite;}
@keyframes scan{0%{top:0; opacity:.9;}100%{top:100%; opacity:0;}}

.tag-corner{
  position:absolute; top:10px; left:10px;
  font-family:'Share Tech Mono', monospace; font-size:.68rem; color:var(--acid);
  border:1px solid var(--acid); padding:2px 8px; letter-spacing:.08em;
}
.card-body{padding:20px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1;}
.card-body h3{font-family:'Orbitron',sans-serif; font-size:1.02rem; text-transform:uppercase; letter-spacing:.02em;}
.card-body .vin{font-family:'Share Tech Mono', monospace; font-size:.72rem; color:var(--steel); letter-spacing:.1em;}
.card-body .desc{font-size:.88rem; color:var(--steel); line-height:1.5;}
.card-footer{display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:14px;}
.price{font-family:'Share Tech Mono', monospace; color:var(--cyan); font-size:1.1rem; font-weight:700;}
.add-btn{
  width:38px; height:38px; border:1px solid var(--steel-dim); background:transparent; color:var(--white);
  font-size:1.1rem; display:flex; align-items:center; justify-content:center; transition:all .18s;
}
.add-btn:hover{border-color:var(--magenta); background:var(--magenta); color:var(--bg-void); box-shadow:0 0 16px rgba(255,46,120,.5);}
.add-btn .icon-cart{width:18px; height:18px; display:block; color:currentColor;}

/* ===== CATEGORY / DYSTRYKTY ===== */
.districts{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media(max-width:860px){.districts{grid-template-columns:1fr;}}
.district{
  border:1px solid var(--steel-dim); padding:34px 28px; position:relative;
  transition:border-color .2s, transform .2s;
  background:linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}
.district:hover{border-color:var(--cyan); transform:translateY(-4px);}
.district .num{font-family:'Share Tech Mono', monospace; color:var(--steel-dim); font-size:.8rem; letter-spacing:.15em;}
.district h3{font-family:'Orbitron',sans-serif; font-size:1.3rem; text-transform:uppercase; margin:14px 0 12px;}
.district p{color:var(--steel); font-size:.92rem; line-height:1.6; margin-bottom:18px;}
.district a{font-size:.82rem; letter-spacing:.12em; text-transform:uppercase; color:var(--magenta); font-weight:600;}
.district a::after{content:" →"; }

/* ===== MANIFESTO / SIGNATURE STRIP ===== */
.manifesto{
  padding:100px 0; text-align:center; position:relative; border-bottom:1px solid var(--steel-dim);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255,46,120,.07), transparent 70%);
}
.manifesto .eyebrow{justify-content:center;}
.manifesto h2{
  font-family:'Orbitron',sans-serif; font-weight:700;
  font-size:clamp(1.6rem,4vw,2.7rem); max-width:820px; margin:0 auto 20px;
  text-transform:uppercase; line-height:1.25;
}
.manifesto h2 em{font-style:normal; color:var(--cyan);}
.manifesto p{color:var(--steel); max-width:560px; margin:0 auto;}

/* ===== NEWSLETTER / SIGNAL ===== */
.signal{
  display:flex; justify-content:space-between; align-items:center; gap:40px;
  padding:80px 0; flex-wrap:wrap;
}
.signal h2{font-family:'Orbitron',sans-serif; font-size:1.9rem; text-transform:uppercase; max-width:420px; line-height:1.2;}
.signal-form{display:flex; gap:0; flex:1; min-width:280px; max-width:440px;}
.signal-form input{
  flex:1; background:transparent; border:1px solid var(--steel-dim); border-right:none;
  padding:16px 18px; color:var(--white); font-family:'Share Tech Mono', monospace; font-size:.85rem;
}
.signal-form input::placeholder{color:var(--steel);}
.signal-form input:focus{outline:none; border-color:var(--cyan);}
.signal-form button{
  background:var(--cyan); border:none; color:var(--bg-void); font-weight:700; padding:0 24px;
  letter-spacing:.1em; text-transform:uppercase; font-size:.82rem;
}
.signal-form button:hover{background:var(--acid);}
.signal-msg{font-family:'Share Tech Mono', monospace; font-size:.8rem; color:var(--acid); margin-top:10px; display:none;}

/* ===== FOOTER ===== */
footer{padding:50px 0 40px;}
.foot-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:36px; margin-bottom:40px;}
.foot-brand .logo{margin-bottom:14px;}
.foot-brand p{color:var(--steel); font-size:.85rem; max-width:280px; line-height:1.6;}
.foot-col h4{font-size:.78rem; letter-spacing:.15em; text-transform:uppercase; color:var(--steel); margin-bottom:14px;}
.foot-col a{display:block; font-size:.9rem; color:var(--white); opacity:.85; margin-bottom:10px; transition:opacity .2s, color .2s;}
.foot-col a:hover{opacity:1; color:var(--cyan);}
.foot-bottom{
  border-top:1px solid var(--steel-dim); padding-top:24px; display:flex; justify-content:space-between;
  font-family:'Share Tech Mono', monospace; font-size:.75rem; color:var(--steel); flex-wrap:wrap; gap:10px;
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--cyan); outline-offset:3px;
}

/* ===== PRODUCT SLIDER ===== */
.moto-slider-section{padding:110px 0; border-bottom:1px solid var(--steel-dim); position:relative;}
.moto-slider-section .section-head{margin-bottom:40px;}

.slider{position:relative;}

.slider-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  -ms-overflow-style:none;
  cursor:grab;
  touch-action:pan-x pan-y;
  border:1px solid var(--steel-dim);
  background:var(--steel-dim);
}
.slider-viewport::-webkit-scrollbar{display:none;}
.slider-viewport.is-dragging{cursor:grabbing; scroll-snap-type:none;}

.slider-track{
  display:flex;
  gap:1px;
}

.slider-slide{
  flex:0 0 auto;
  width:280px;
  scroll-snap-align:start;
}
@media(max-width:560px){.slider-slide{width:78vw;}}

.slider-slide .card{height:100%;}

.slider-nav{
  display:flex; align-items:center; gap:18px;
  margin-top:28px;
}
.slider-btn{
  width:46px; height:46px; flex:0 0 auto;
  border:1px solid var(--steel-dim); background:transparent; color:var(--white);
  font-size:1.4rem; line-height:1;
  display:flex; align-items:center; justify-content:center;
  border-radius:50%;
  transition:all .2s;
}
.slider-btn:hover{border-color:var(--cyan); color:var(--cyan); box-shadow:0 0 16px rgba(0,255,240,.35);}
.slider-btn:disabled{opacity:.3; cursor:not-allowed; box-shadow:none; border-color:var(--steel-dim); color:var(--white);}

.slider-progress{
  flex:1; height:2px; background:var(--steel-dim); position:relative; overflow:hidden;
}
.slider-progress-bar{
  position:absolute; left:0; top:0; height:100%; width:20%;
  background:linear-gradient(90deg, var(--magenta), var(--cyan));
  box-shadow:0 0 8px rgba(0,255,240,.5);
  transition:width .2s ease-out, transform .2s ease-out;
}

.slider-slide .card-visual img{width:90%; margin:0 auto;}
.slider-slide .add-btn[href]{
  text-decoration:none;
}
.slider-slide .add-btn.loading{opacity:.5; pointer-events:none;}
.slider-slide .add-btn.added::after{content:"✓"; margin-left:2px;}

/* ===== WOOCOMMERCE COMPATIBILITY ===== */
.woocommerce-page-section{padding-top:70px;}
.archive-description{color:var(--steel); font-size:.95rem; max-width:520px; margin-top:8px;}

/* --- Toolbar: result count + sorting dropdown --- */
.woocommerce-notices-wrapper{margin-bottom:20px;}
.woocommerce .woocommerce-result-count,
.woocommerce-result-count{
  color:var(--steel);
  font-family:'Share Tech Mono', monospace;
  font-size:.8rem;
  letter-spacing:.05em;
  margin:0 0 24px;
  float:left;
}

form.woocommerce-ordering{
  display:inline-flex;
  float:right;
  margin:0 0 24px;
}
.woocommerce-ordering{
  display:inline-flex;
}
@media(max-width:700px){
  .woocommerce-result-count, form.woocommerce-ordering{float:none; width:100%;}
  form.woocommerce-ordering{justify-content:flex-start;}
}

.woocommerce-ordering select,
select#orderby{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-color:var(--bg-panel);
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2300fff0' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:14px;
  border:1px solid var(--steel-dim);
  color:var(--white);
  font-family:'Share Tech Mono', monospace;
  font-size:.8rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:12px 40px 12px 16px;
  min-width:220px;
  cursor:pointer;
  transition:border-color .2s, box-shadow .2s;
}
.woocommerce-ordering select:hover,
select#orderby:hover{border-color:var(--cyan);}
.woocommerce-ordering select:focus,
select#orderby:focus{
  outline:none;
  border-color:var(--cyan);
  box-shadow:0 0 0 1px var(--cyan), 0 0 16px rgba(0,255,240,.25);
}
.woocommerce-ordering select option{
  background:var(--bg-panel);
  color:var(--white);
}

/* --- Product grid (WooCommerce loop renders the theme's own .card markup —
   see inc/shop-grid.php — so it reuses all the .card / .card-visual /
   .card-body / .add-btn styling already defined above). We only need the
   grid container itself, plus a few !important overrides to make sure
   WooCommerce's own legacy width/float rules on li.product can't leak in
   regardless of stylesheet load order. --- */
.woocommerce ul.products{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--steel-dim);
  border:1px solid var(--steel-dim);
  list-style:none;
  margin:0 0 50px !important;
  padding:0;
  clear:both; /* contains the floated result-count / ordering row above it */
}
/* Belt-and-suspenders alongside disabling WooCommerce's default stylesheets
   in functions.php: neutralise any float-clearfix pseudo-elements a plugin
   might still add to the grid container. In a normal float layout these are
   invisible, but inside a CSS Grid a generated :before/:after becomes a real
   (empty) grid item and lands in the very first cell. */
.woocommerce ul.products::before,
.woocommerce ul.products::after{content:none !important; display:none !important;}
@media(max-width:960px){.woocommerce ul.products{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.woocommerce ul.products{grid-template-columns:1fr;}}

/* --- Shop / category / tag archives: category filter sidebar ---
   Only these three archive types get the sidebar (see
   moto_koszulki_show_shop_filters() in inc/shop-filters.php) — single
   product, cart, checkout and account pages are untouched. The product
   grid loses one column here since a chunk of the row now belongs to the
   filters, so cards keep roughly the same width as everywhere else on
   the site instead of getting cramped. On phones the catalog keeps 2
   columns rather than dropping to the site-wide 1-column fallback above —
   requested explicitly, and it's also simply narrower to start with once
   the sidebar has stacked on top of it. */
.shop-layout{
  display:grid;
  grid-template-columns:240px 1fr;
  align-items:start;
  gap:40px;
}
.shop-main .woocommerce ul.products{grid-template-columns:repeat(3,1fr);}
@media(max-width:960px){.shop-main .woocommerce ul.products{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.shop-main .woocommerce ul.products{grid-template-columns:repeat(2,1fr); gap:1px;}}
@media(max-width:400px){
  .shop-main .card-body{padding:12px 12px 14px;}
  .shop-main .card-body h3{font-size:.95rem;}
  .shop-main .desc{display:none;}
}

.shop-sidebar{position:sticky; top:100px;}
.filter-panel{
  background:var(--bg-panel);
  border:1px solid var(--steel-dim);
  padding:24px 22px;
}
.filter-panel .section-tag{margin-bottom:18px;}

.cat-filter-list, .cat-filter-children{list-style:none;}
.cat-filter-children{margin:2px 0 2px 14px; padding-left:12px; border-left:1px dashed var(--steel-dim);}
.cat-filter-item > a{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:9px 2px;
  font-family:'Share Tech Mono', monospace; font-size:.82rem; letter-spacing:.03em;
  color:var(--steel);
  border-bottom:1px solid var(--steel-dim);
  transition:color .2s, padding-left .2s;
}
.cat-filter-children .cat-filter-item > a{font-size:.78rem; padding-top:8px; padding-bottom:8px;}
.cat-filter-list > .cat-filter-item:last-child > a,
.cat-filter-children .cat-filter-item:last-child > a{border-bottom:none;}
.cat-filter-item > a:hover{color:var(--cyan); padding-left:6px;}
.cat-filter-item.is-current > a{color:var(--cyan);}
.cat-filter-item.is-current > a span:first-child{position:relative;}
.cat-filter-item.is-current > a span:first-child::before{
  content:"▸"; position:absolute; left:-14px; color:var(--magenta);
}
.cat-count{
  color:var(--steel-dim); font-size:.72rem; flex:0 0 auto;
}
.cat-filter-item.is-current .cat-count{color:var(--steel);}

@media(max-width:960px){
  .shop-layout{grid-template-columns:1fr; gap:28px;}
  .shop-sidebar{position:static;}
  .filter-panel{padding:20px 18px;}
  .cat-filter-list{display:flex; flex-wrap:wrap; gap:0 18px;}
  .cat-filter-list > .cat-filter-item{flex:1 1 auto; min-width:140px;}
  .cat-filter-children{flex-basis:100%; margin-left:0; border-left:none; padding-left:0 0 0 10px;}
}

.woocommerce ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none;
}
.woocommerce ul.products li.product .star-rating{margin:6px 22px 0; color:var(--acid);}
.woocommerce ul.products li.product .price del{color:var(--steel); opacity:.7; margin-right:8px;}
.woocommerce ul.products li.product .price ins{text-decoration:none;}

.woocommerce ul.products li.product a.added_to_cart{
  position:absolute; bottom:-22px; right:0; left:0; text-align:center;
  font-family:'Share Tech Mono', monospace; font-size:.68rem; color:var(--acid);
}

.woocommerce nav.woocommerce-pagination{margin-top:20px;}
.woocommerce nav.woocommerce-pagination ul{
  display:flex;
  flex-wrap:wrap;
  list-style:none;
  margin:0;
  padding:0;
  width:fit-content;
  border:1px solid var(--steel-dim);
  background:none;
}
.woocommerce nav.woocommerce-pagination ul li{
  list-style:none;
  border-right:1px solid var(--steel-dim);
}
.woocommerce nav.woocommerce-pagination ul li:last-child{border-right:none;}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:44px;
  padding:0 12px;
  color:var(--white);
  background:var(--bg-panel);
  font-family:'Share Tech Mono', monospace;
  font-size:.85rem;
  transition:background .2s, color .2s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--magenta); color:var(--bg-void);
}

/* --- Single product --- */
.woocommerce div.product{
  display:flex; flex-direction:row; flex-wrap:wrap; align-items:flex-start; gap:50px;
}
.woocommerce div.product .woocommerce-product-gallery{
  flex:1 1 480px; max-width:calc(50% - 25px);
  border:1px solid var(--steel-dim); position:relative;
}
.woocommerce div.product .summary.entry-summary{flex:1 1 380px; max-width:calc(50% - 25px);}
@media(max-width:860px){
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary.entry-summary{max-width:100%; flex-basis:100%;}
}
.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0; padding:0; list-style:none;}
.woocommerce div.product .woocommerce-product-gallery__image{margin:0; text-align:center; background:var(--bg-panel);}
.woocommerce div.product .woocommerce-product-gallery__image img{width:100%; max-height:640px; height:auto; object-fit:contain; display:block; margin:0 auto;}
.woocommerce div.product .flex-control-thumbs{
  display:flex; flex-wrap:wrap; list-style:none; margin:10px 0 0; padding:0; gap:8px;
}
.woocommerce div.product .flex-control-thumbs li{
  width:84px; height:84px; flex:0 0 auto; list-style:none;
  border:1px solid var(--steel-dim); overflow:hidden;
}
.woocommerce div.product .flex-control-thumbs li img{
  width:100%; height:100%; object-fit:cover; display:block; cursor:pointer;
  opacity:.55; transition:opacity .2s;
  background:var(--bg-panel);
}
.woocommerce div.product .flex-control-thumbs li img.flex-active,
.woocommerce div.product .flex-control-thumbs li img:hover{opacity:1;}
.woocommerce span.onsale{
  position:absolute; top:14px; left:14px; z-index:2;
  background:var(--magenta); color:var(--bg-void);
  font-family:'Share Tech Mono', monospace; font-size:.7rem; font-weight:700;
  text-transform:uppercase; padding:6px 12px; letter-spacing:.05em;
}
.woocommerce div.product .summary .product_title{
  font-family:'Orbitron',sans-serif; text-transform:uppercase; margin-bottom:14px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price{
  color:var(--cyan); font-family:'Share Tech Mono', monospace;
}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--steel); margin-bottom:20px;}
.woocommerce div.product form.cart{margin-bottom:24px;}
.woocommerce div.product form.cart .variations{margin-bottom:18px; width:100%;}
.woocommerce div.product form.cart .variations td, .woocommerce div.product form.cart .variations th{
  border:none; padding:6px 0; vertical-align:middle;
}
.woocommerce div.product form.cart .variations label{
  font-family:'Share Tech Mono', monospace; font-size:.75rem; text-transform:uppercase; color:var(--steel);
}
.woocommerce div.product form.cart div.quantity{margin-right:12px; vertical-align:middle;}
.woocommerce div.product form.cart .button{vertical-align:middle;}

.woocommerce div.product form.cart .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit{
  background:var(--magenta); color:var(--bg-void); font-weight:700; border:none;
  padding:14px 30px; font-size:.9rem; letter-spacing:.1em; text-transform:uppercase;
  border-radius:0; transition:transform .18s, box-shadow .18s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit:hover{
  background:var(--magenta); transform:translateY(-2px); box-shadow:0 6px 26px rgba(255,46,120,.45);
}

/* Quantity stepper (used on the product page and in the cart table) */
.woocommerce .quantity{display:inline-flex; align-items:stretch; border:1px solid var(--steel-dim);}
.woocommerce .quantity .qty{
  width:52px; border:none; text-align:center; -moz-appearance:textfield;
  background:transparent; color:var(--white); padding:10px 4px; font-family:'Share Tech Mono', monospace;
}
.woocommerce .quantity .qty::-webkit-outer-spin-button,
.woocommerce .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none; margin:0;}
.woocommerce .quantity .qty:focus{outline:none;}
.woocommerce .quantity .plus, .woocommerce .quantity .minus{
  width:34px; border:none; background:var(--bg-panel); color:var(--steel);
  font-size:1rem; cursor:pointer; transition:background .2s, color .2s;
}
.woocommerce .quantity .plus:hover, .woocommerce .quantity .minus:hover{background:var(--steel-dim); color:var(--white);}

/* Tabs (Opis / Dodatkowe informacje / Opinie) */
.woocommerce div.product .woocommerce-tabs{margin-top:60px;}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  display:flex; flex-wrap:wrap; list-style:none; margin:0; padding:0;
  border-bottom:1px solid var(--steel-dim);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{list-style:none; margin:0;}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block; padding:14px 22px; margin-bottom:-1px;
  color:var(--steel); font-family:'Share Tech Mono', monospace;
  text-transform:uppercase; font-size:.8rem; letter-spacing:.05em;
  border-bottom:2px solid transparent;
  transition:color .2s, border-color .2s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--white);}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--cyan); border-bottom-color:var(--cyan);}
.woocommerce div.product .woocommerce-tabs .panel{padding:32px 0; color:var(--steel); line-height:1.7;}
.woocommerce div.product .woocommerce-tabs .panel h2{
  font-family:'Orbitron',sans-serif; text-transform:uppercase; font-size:1.2rem; margin-bottom:16px; color:var(--white);
}

/* Star rating — plain Unicode stars clipped by WooCommerce's own inline
   width:X% on the inner <span>, so no dependency on WC's bundled icon font. */
.star-rating{
  overflow:hidden; position:relative;
  height:1em; line-height:1em; width:5.4em; font-size:1rem; letter-spacing:.15em;
}
.star-rating::before{content:"★★★★★"; position:absolute; top:0; left:0; color:var(--steel-dim);}
.star-rating span{overflow:hidden; position:absolute; top:0; left:0; height:100%;}
.star-rating span::before{content:"★★★★★"; position:absolute; top:0; left:0; color:var(--acid);}

/* Breadcrumb trail */
.woocommerce-breadcrumb{
  font-family:'Share Tech Mono', monospace; font-size:.78rem; letter-spacing:.04em;
  color:var(--steel); margin-bottom:24px;
}
.woocommerce-breadcrumb a{color:var(--steel); border-bottom:1px solid transparent; transition:color .2s, border-color .2s;}
.woocommerce-breadcrumb a:hover{color:var(--cyan); border-color:var(--cyan);}

/* Related / upsell product headings under the tabs */
.woocommerce div.product .related.products > h2,
.woocommerce div.product .upsells.products > h2{
  font-family:'Orbitron',sans-serif; text-transform:uppercase; font-size:1.4rem;
  margin:50px 0 24px;
}

/* --- Forms, inputs, tables, notices (cart/checkout/account) --- */
.woocommerce table.shop_table{
  width:100%; border-collapse:collapse;
  border:1px solid var(--steel-dim); color:var(--white);
  margin-bottom:30px;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{padding:14px 16px; text-align:left; border-bottom:1px solid var(--steel-dim);}
.woocommerce table.shop_table th{
  font-family:'Share Tech Mono', monospace; text-transform:uppercase; font-size:.75rem; color:var(--steel);
}
.woocommerce table.shop_table tfoot th, .woocommerce table.shop_table tfoot td{border-top:1px solid var(--steel-dim);}
.woocommerce table.shop_table td.product-thumbnail img{width:64px; height:auto; display:block;}
.woocommerce table.shop_table td.product-remove a.remove{
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; border-radius:50%;
  background:var(--steel-dim); color:var(--white) !important;
  font-size:1.1rem; line-height:1; text-decoration:none;
}
.woocommerce table.shop_table td.product-remove a.remove:hover{background:var(--magenta); color:var(--bg-void) !important;}
.woocommerce table.shop_table td.actions .coupon{display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
.woocommerce table.shop_table td.actions .coupon input#coupon_code{width:auto; min-width:160px;}
.woocommerce table.shop_table td.actions .input-text{margin:0;}

/* Cart totals box + checkout two-column layout */
/* Cart page: product table (left) + order summary (right), side by side
   and filling the full width — scoped to body.woocommerce-cart specifically
   so it can't affect the shop, checkout or single-product layouts, which
   each have their own rules. */
body.woocommerce-cart .woocommerce{overflow:hidden;} /* contains the floats below */
body.woocommerce-cart .woocommerce-cart-form{float:left; width:60%;}
body.woocommerce-cart .cart-collaterals{float:right; width:36%; margin-top:0;}
.cart_totals{max-width:100%; margin-left:0; background:var(--bg-panel); border:1px solid var(--steel-dim); padding:24px;}
.cart_totals table{width:100%; border:none; margin:0;}
.cart_totals table td, .cart_totals table th{border:none; border-bottom:1px solid var(--steel-dim);}
@media(max-width:860px){
  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals{float:none; width:100%;}
}
.wc-proceed-to-checkout{margin-top:20px;}
.wc-proceed-to-checkout a.checkout-button{width:100%; text-align:center; display:block;}

.woocommerce-checkout .col2-set{display:flex; flex-wrap:wrap; gap:40px;}
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2{flex:1 1 320px;}

/* WooCommerce Checkout BLOCK (React-rendered — different markup/classes
   entirely from the classic checkout above, so none of the classic
   .woocommerce input/select rules ever reached it). Its inputs render with
   a light background and light gray text/floating labels by default,
   which is unreadable against — and inconsistent with — this dark theme.
   Targeting by tag rather than its internal class names so this keeps
   working even if those class names change between WooCommerce versions. */
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout select,
body.woocommerce-checkout textarea{
  color:var(--bg-void) !important;
  font-weight:600 !important;
}
/* Scoped to the floating label that sits ON TOP of a white text-input box
   specifically (WooCommerce's own .wc-block-components-text-input wrapper) —
   NOT a blanket rule for every <label> in the checkout, since shipping and
   payment method labels sit on the page's own dark background and need to
   stay light, not dark-on-dark. */
body.woocommerce-checkout .wc-block-components-text-input label{
  color:var(--bg-void) !important;
  font-weight:600 !important;
}
.woocommerce form .form-row{margin-bottom:16px;}
.woocommerce form .form-row label{display:block; margin-bottom:6px; font-size:.85rem; color:var(--steel);}
.woocommerce form .form-row .required{color:var(--magenta); text-decoration:none;}

.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"],
.woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce textarea, .woocommerce select{
  background:transparent; border:1px solid var(--steel-dim); color:var(--white);
  padding:12px 14px; font-family:'Rajdhani',sans-serif; width:100%;
}
.woocommerce input[type="text"]:focus, .woocommerce input[type="email"]:focus,
.woocommerce textarea:focus, .woocommerce select:focus{outline:none; border-color:var(--cyan);}
.woocommerce select option{background:var(--bg-panel); color:var(--magenta);}
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews{
  background:var(--bg-panel); border-top:3px solid var(--cyan); color:var(--white);
  padding:16px 20px; margin:0 0 24px; list-style:none;
  clear:both; /* in case a category has no products, contains the floated result-count / ordering row above it */
}
.woocommerce-error li, .woocommerce-message li{list-style:none;}
.woocommerce-message a.button, .woocommerce-error a.button{background:var(--cyan); color:var(--bg-void);}

/* ===== RESPONSIVE / MOBILE FIXES ===== */
@media(max-width:700px){
  .wrap{padding:0 20px;}

  .section{padding:60px 0;}
  .moto-slider-section{padding:60px 0;}
  .manifesto{padding:60px 0;}
  .signal{padding:52px 0; flex-direction:column; align-items:flex-start;}
  .signal-form{max-width:100%;}
  .woocommerce-page-section{padding-top:40px;}

  .section-head{margin-bottom:36px;}
  .moto-slider-section .section-head{margin-bottom:28px;}

  footer{padding:40px 0 30px;}
  .foot-grid{flex-direction:column; gap:30px; margin-bottom:30px;}
  .foot-brand p{max-width:100%;}
  .foot-bottom{flex-direction:column; align-items:flex-start;}

  .slider-nav{gap:12px;}
  .slider-btn{width:40px; height:40px;}
}

@media(max-width:480px){
  .hero-ctas{flex-direction:column; align-items:stretch;}
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost{text-align:center;}

  .hud-strip{flex-direction:column;}
  .hud-item{
    min-width:100%;
    border-left:none !important;
    border-top:1px solid var(--steel-dim);
    padding:14px 0 0;
  }
  .hud-item:first-child{border-top:none; padding-top:0;}

  .district{padding:26px 20px;}
  .card-body{padding:16px 18px 20px;}
  .banner-slide-content{max-width:100%;}
}

/* ===== WordPress core alignment helpers ===== */
.alignwide{max-width:1100px; margin-left:auto; margin-right:auto;}
.alignfull{max-width:none;}
.screen-reader-text{
  border:0; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); height:1px; margin:-1px;
  overflow:hidden; padding:0; position:absolute; width:1px; word-wrap:normal;
}
