/* ==========================================================================
   SPR Industries — Stylesheet
   ========================================================================== */

:root{
  --red: #fe0000;
  --red-dark: #cc0000;
  --red-light: #ffe5e5;
  --navy: #cc0000;
  --navy-2: #4f0d0d;
  --navy-3: #5e1212;
  --teal: #cc0000;
  --ink: #202b36;
  --gray-700: #000000;
  --gray-500: #000000;
  --gray-200: #e6e9ee;
  --gray-100: #f3f5f8;
  --off-white: #f8f9fb;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(62,9,9,.10), 0 1px 2px rgba(62,9,9,.07);
  --shadow-md: 0 8px 24px rgba(62,9,9,.13);
  --shadow-lg: 0 18px 44px rgba(62,9,9,.20);
  --container: 1200px;
  --font-head: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  --font-logo: 'Oswald', 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-head); line-height:1.2; margin:0 0 .5em; font-weight:600; color: var(--navy); }
p{ margin:0 0 1em; color: var(--gray-700); }
.container{ width:100%; max-width: var(--container); margin:0 auto; padding:0 24px; }
section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
@media (max-width: 780px){
  section{ padding: 56px 0; }
}

/* ---------- utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-head); font-weight:600; font-size:.78rem;
  letter-spacing:.14em; text-transform:uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background: var(--red); display:inline-block; }
.section-head{ max-width: 680px; margin-bottom: 44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.section-head p{ font-size:1.05rem; }
.text-center{ text-align:center; }
.mt-0{margin-top:0;}
.bg-alt{ background: var(--off-white); }
.bg-navy{ background: var(--navy); color:#e6c9c7; }
.bg-navy h2, .bg-navy h3{ color:#fff; }
.bg-navy p{ color:#cda5a3; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-head); font-weight:600; font-size:.95rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor:pointer; transition: all .2s ease; white-space:nowrap;
}
.btn-primary{ background: var(--red); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-navy{ background: var(--navy); color:#fff; }
.btn-navy:hover{ background: var(--navy-3); transform: translateY(-2px); }
.btn-light{ background:#fff; color: var(--navy); }
.btn-light:hover{ background: var(--gray-100); transform: translateY(-2px); }
.btn-outline-red{ background: transparent; border-color: var(--red); color: var(--red); }
.btn-outline-red:hover{ background: var(--red); color:#fff; }
.btn-sm{ padding: 10px 20px; font-size:.85rem; }
.btn-block{ width:100%; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--red-light); color: var(--red-dark);
  font-weight:600; font-size:.78rem; letter-spacing:.03em;
  padding: 7px 14px; border-radius:999px;
}

.icon{ width:1em; height:1em; display:inline-block; vertical-align:-.125em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* ---------- top strip ---------- */
.top-strip{
  background: var(--navy); color:#fff; font-size:.82rem;
}
.top-strip .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:8px; padding-bottom:8px; gap: 16px; flex-wrap:wrap;
}
.top-strip a{ color:#fff; }
.top-strip a:hover{ color:#ffe5e5; }
.top-strip-left, .top-strip-right{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.top-strip-left span, .top-strip-right a{ display:inline-flex; align-items:center; gap:7px; color:#fff; }
.top-strip .tagline{ color:#fff; font-style:italic; }

/* ---------- header ---------- */
header.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(255,255,255,.98);
  border-bottom:1px solid var(--gray-200);
  backdrop-filter: blur(6px);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:54px; width:auto; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{
  font-family: var(--font-logo); font-weight:700; font-size:1.5rem;
  letter-spacing:.01em; text-transform:uppercase; white-space:nowrap;
}
.brand-text strong .bt-spr{ color: var(--red-dark); letter-spacing:.03em; }
.brand-text strong .bt-ind{ color: var(--navy-2); font-weight:500; font-size:.86em; letter-spacing:.04em; margin-left:.15em; }
.brand-text > span{ font-size:.72rem; color: var(--red); font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin-top:3px; font-family: var(--font-logo); }

nav.main-nav{ display:flex; align-items:center; gap:2px; }
nav.main-nav > ul{ display:flex; align-items:center; gap:2px; }
nav.main-nav > ul > li{ position:relative; }
nav.main-nav > ul > li > a{
  display:flex; align-items:center; gap:6px;
  padding: 12px 16px; font-family: var(--font-head); font-weight:500; font-size:.94rem;
  color: var(--navy); border-radius:8px; transition: color .15s ease, background .15s ease;
}
nav.main-nav > ul > li > a:hover, nav.main-nav > ul > li.active > a{ color: var(--red); background: var(--red-light); }
nav.main-nav .caret{ width:9px; height:9px; margin-top:-2px; }

.dropdown{
  position:absolute; top: calc(100% + 8px); left:0; min-width:290px;
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border:1px solid var(--gray-200);
  padding: 10px; opacity:0; visibility:hidden; transform: translateY(8px);
  transition: all .18s ease;
}
nav.main-nav > ul > li:hover .dropdown,
nav.main-nav > ul > li.dropdown-open .dropdown{
  opacity:1; visibility:visible; transform: translateY(0);
}
.dropdown a{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px; border-radius:8px; font-size:.92rem; color: var(--gray-700); font-weight:500;
}
.dropdown a:hover{ background: var(--off-white); color: var(--red); }
.dropdown a .dot{ width:6px; height:6px; border-radius:50%; background: var(--red); opacity:.55; flex:none; }

.dropdown-mega{ min-width:460px; }
.dd-groups{ display:flex; gap:6px; }
.dd-group{ flex:1; min-width:0; padding:0 6px; }
.dd-group + .dd-group{ border-left:1px solid var(--gray-200); }
.dd-group-title{
  font-family: var(--font-head); font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color: var(--red); padding: 8px 12px 4px;
}
.dd-viewall{
  display:flex; border-top:1px solid var(--gray-200); margin-top:6px; padding-top:12px;
  color: var(--red); font-weight:700;
}
.dd-subheading{
  font-family: var(--font-head); font-size:.7rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  color: var(--gray-500); padding: 10px 12px 2px; border-top: 1px dashed var(--gray-200); margin-top: 4px;
}
.dd-group .dd-subheading:first-child{ border-top:none; margin-top:0; }
.dd-cluster{ display:flex; flex-direction:column; }
.dd-children{ display:flex; flex-direction:column; margin: 0 0 4px; }
.dd-child{
  padding: 6px 12px 6px 30px !important; font-size:.84rem !important; color: var(--gray-500) !important;
  font-weight:500 !important; position:relative;
}
.dd-child::before{
  content:""; position:absolute; left:16px; top:50%; transform:translateY(-50%);
  width:5px; height:1px; background: var(--gray-200);
}
.dd-child:hover{ color: var(--red) !important; background: var(--off-white); }
.dropdown-mega .dd-group{
  max-height: 66vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--gray-200) transparent;
}
.dropdown-mega .dd-group::-webkit-scrollbar{ width:6px; }
.dropdown-mega .dd-group::-webkit-scrollbar-thumb{ background: var(--gray-200); border-radius:6px; }
.dropdown-mega .dd-group::-webkit-scrollbar-track{ background:transparent; }
@media (max-width: 960px){
  .dropdown-mega{ min-width:0; }
  .dd-groups{ flex-direction:column; gap:0; }
  .dd-group + .dd-group{ border-left:none; border-top:1px solid var(--gray-200); margin-top:6px; padding-top:6px; }
  .dropdown-mega .dd-group{ max-height:none; overflow-y:visible; }
}

.header-cta{ display:flex; align-items:center; gap:12px; }
.header-cta .phone{ display:flex; flex-direction:column; text-align:right; }
.header-cta .phone small{ font-size:.72rem; color: var(--gray-500); }
.header-cta .phone strong{ font-family: var(--font-head); color: var(--navy); font-size:.98rem; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:26px; height:2.5px; background: var(--navy); border-radius:2px; transition: all .2s ease; }

@media (max-width: 1080px){
  .header-cta .phone{ display:none; }
}
@media (max-width: 960px){
  .nav-toggle{ display:flex; }
  nav.main-nav{
    position:fixed; inset:0 0 0 auto; top:0; height:100vh; width:min(340px,88vw);
    background:#fff; flex-direction:column; align-items:stretch; padding: 90px 20px 30px;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg);
    overflow-y:auto;
  }
  body.nav-open nav.main-nav{ transform: translateX(0); }
  nav.main-nav > ul{ flex-direction:column; align-items:stretch; gap:0; }
  nav.main-nav > ul > li > a{ padding:14px 10px; justify-content:space-between; }
  .dropdown{ position:static; box-shadow:none; border:none; opacity:1; visibility:visible; transform:none; display:none; margin:0 0 6px; background: var(--off-white); }
  li.dropdown-open .dropdown{ display:block; }
  .nav-scrim{ position:fixed; inset:0; background:rgba(62,9,9,.58); opacity:0; visibility:hidden; transition:.2s ease; z-index:90; }
  body.nav-open .nav-scrim{ opacity:1; visibility:visible; }
  .header-cta .btn{ display:none; }
}

/* ---------- breadcrumb ---------- */
.breadcrumb-bar{ background: var(--navy); padding: 30px 0; }
.breadcrumb-bar h1{ color:#fff; margin-bottom:8px; font-size: clamp(1.5rem,3vw,2.1rem); }
.crumbs{ display:flex; gap:8px; align-items:center; color:#cda5a3; font-size:.88rem; }
.crumbs a{ color:#cda5a3; }
.crumbs a:hover{ color:#fff; }

/* ---------- hero (full-width rotating banner) ---------- */
.hero-full{
  position:relative; overflow:hidden;
  min-height: 600px;
  display:flex; align-items:center;
  color:#fff; background: #cc0000;
}
.hero-slides{ position:absolute; inset:0; z-index:0; }
.hero-slides .slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition: opacity 1.2s ease;
}
.hero-slides .slide.active{ opacity:1; visibility:visible; }
.hero-slides .slide img{ width:100%; height:100%; object-fit:cover; }
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(100deg, rgba(15,0,0,.86) 0%, rgba(30,0,0,.68) 38%, rgba(40,0,0,.38) 65%, rgba(40,0,0,.2) 100%),
    linear-gradient(0deg, rgba(0,0,0,.35) 0%, transparent 30%);
}
.hero-inner{ position:relative; z-index:2; padding: 72px 0 96px; }
.hero-copy{ max-width:640px; transition: opacity .5s ease; }
#heroSlider .hero-copy.is-hidden{ opacity:0; pointer-events:none; }
.hero-copy .pill{ background: rgba(255,255,255,.14); color:#fff; margin-bottom:20px; }
.hero-copy .pill svg{ color: #ffd166; }
.hero-full h1{ color:#fff; font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom:18px; }
.hero-full h1 span{ color: #ff4d4d; }
.hero-full p.lead{ color:#f1dcdb; font-size:1.12rem; max-width:560px; margin-bottom:30px; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 40px;}
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--font-head); font-size:1.7rem; color:#fff; }
.hero-stats div span{ font-size:.82rem; color:#f1dcdb; }

.hero-slide-labels{ position:absolute; left:24px; bottom:26px; z-index:2; }
.hero-slide-labels .slide-label{
  display:none; font-family: var(--font-head); font-weight:600; font-size:.82rem;
  letter-spacing:.06em; text-transform:uppercase; color:#fff;
  background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3);
  padding:7px 16px; border-radius:999px;
}
.hero-slide-labels .slide-label.active{ display:inline-block; }

.slider-dots{ position:absolute; right:24px; bottom:28px; z-index:2; display:flex; gap:8px; }
.slider-dots .dot{
  width:9px; height:9px; border-radius:50%; border:none; padding:0; cursor:pointer;
  background: rgba(255,255,255,.5); transition: all .2s ease;
}
.slider-dots .dot.active{ background:#fff; width:24px; border-radius:5px; }

@media (max-width: 980px){
  .hero-full{ min-height:520px; }
  .hero-inner{ padding: 56px 0 76px; }
}
@media (max-width: 620px){
  .hero-full{ min-height:460px; }
  .hero-overlay{ background: linear-gradient(180deg, rgba(15,0,0,.78) 0%, rgba(15,0,0,.88) 45%, rgba(15,0,0,.94) 100%); }
  .hero-stats{ gap:20px; }
  .hero-slide-labels{ left:16px; bottom:18px; }
  .slider-dots{ right:16px; bottom:20px; }
}

/* ---------- page hero (simpler banner for inner pages) ---------- */
.page-banner{
  background: linear-gradient(120deg, var(--navy), var(--navy-3));
  padding: 54px 0 60px; color:#fff; position:relative; overflow:hidden;
}
.page-banner::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 90% 10%, rgba(254,0,0,.20), transparent 45%);
}
.page-banner .container{ position:relative; }
.page-banner h1{ color:#fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom:10px; }
.page-banner p{ color:#e6c9c7; max-width:640px; font-size:1.05rem; margin-bottom:0;}
.page-banner .crumbs{ margin-bottom:16px; }

/* ---------- marquee strip ---------- */
.trust-strip{ background: var(--off-white); border-top:1px solid var(--gray-200); border-bottom:1px solid var(--gray-200); padding: 26px 0; }
.trust-strip .container{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:12px; color: var(--navy); font-family:var(--font-head); font-weight:600; font-size:.92rem; }
.trust-item .ic{ width:38px; height:38px; border-radius:10px; background:#fff; box-shadow: var(--shadow-sm); color: var(--red); display:flex; align-items:center; justify-content:center; flex:none; }
.trust-item small{ display:block; font-weight:400; color: var(--gray-500); font-family: var(--font-body); font-size:.78rem; }

/* ---------- grid cards ---------- */
.grid{ display:grid; gap: 28px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
.grid-5{ grid-template-columns: repeat(5,1fr); }
@media (max-width: 1080px){ .grid-4{ grid-template-columns: repeat(2,1fr);} .grid-5{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 780px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr 1fr; } .grid-5{grid-template-columns: 1fr 1fr;} }
@media (max-width: 560px){ .grid-2,.grid-3,.grid-4,.grid-5{ grid-template-columns: 1fr; } }

.product-card{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--radius-lg);
  overflow:hidden; transition: all .22s ease; display:flex; flex-direction:column; height:100%;
}
.product-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.product-card .thumb{ aspect-ratio: 4/3; overflow:hidden; background: var(--gray-100); position:relative; }
.product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.product-card:hover .thumb img{ transform: scale(1.06); }
.product-card .thumb .tag{ position:absolute; top:12px; left:12px; background:#fff; color:var(--red); font-family:var(--font-head); font-weight:600; font-size:.72rem; padding:5px 10px; border-radius:999px; box-shadow: var(--shadow-sm); }
.product-card .body{ padding: 22px 22px 24px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-card h3{ font-size:1.1rem; margin-bottom:0; }
.product-card p{ font-size:.92rem; margin-bottom:0; flex:1; }
.more{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-head); font-weight:600; color: var(--red); font-size:.88rem; margin-top:6px; }
.more svg{ transition: transform .2s ease; }
.product-card:hover .more svg, .feature-card:hover .more svg{ transform: translateX(4px); }

/* icon-based product thumbnail (Motors, no product photo yet) */
.product-card .thumb.thumb-icon{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
}
.thumb-icon .thumb-ic{ color:#fff; opacity:.92; }
.thumb-icon .thumb-ic svg{ width:64px; height:64px; }

/* ---------- simple card: image + name only (categories, and the
   Category Page product panels) ---------- */
.simple-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow:hidden; transition: all .22s ease; height:100%;
}
.simple-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.simple-card .thumb{ aspect-ratio: 4/3; overflow:hidden; background: var(--gray-100); position:relative; }
.simple-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.simple-card:hover .thumb img{ transform: scale(1.06); }
.simple-card .thumb.thumb-icon{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
}
.simple-card h3{
  margin:0; padding: 14px 16px; font-size:1rem; text-align:center;
  color: var(--navy); font-family: var(--font-head);
}

/* ---------- category-page product card: image + name + "View Details"
   button (products.php right-hand panel) ---------- */
.cat-product-card{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--gray-200);
  border-radius: var(--radius-lg); overflow:hidden; transition: all .22s ease; height:100%;
}
.cat-product-card:hover{ box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.cat-product-card .thumb{ display:block; aspect-ratio: 4/3; overflow:hidden; background: var(--gray-100); position:relative; }
.cat-product-card .thumb img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.cat-product-card:hover .thumb img{ transform: scale(1.06); }
.cat-product-card .thumb.thumb-icon{
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
}
.cat-product-card .body{ padding: 16px 16px 20px; display:flex; flex-direction:column; align-items:center; gap:14px; flex:1; text-align:center; }
.cat-product-card h3{ margin:0; font-size:1rem; color: var(--navy); font-family: var(--font-head); }
.cat-product-card .body .btn{ margin-top:auto; }

/* ---------- Category Page (products.php) two-column browser ---------- */
.cat-layout{ display:grid; grid-template-columns: 270px 1fr; gap:32px; align-items:start; }
.cat-nav{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding:10px; box-shadow: var(--shadow-sm);
  position:sticky; top:90px; max-height: calc(100vh - 110px); overflow-y:auto;
}
.cat-nav-group + .cat-nav-group{ margin-top:6px; padding-top:6px; border-top:1px solid var(--gray-200); }
.cat-nav-heading{
  font-family:var(--font-head); font-size:.72rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--red); padding:10px 14px 6px;
}
.cat-nav-item{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  width:100%; text-align:left; background:none; border:none;
  padding:10px 14px; border-radius:8px; font-family:var(--font-head); font-weight:500;
  font-size:.92rem; color:var(--gray-700); cursor:pointer; transition: all .15s ease;
}
.cat-nav-item:hover{ background: var(--off-white); color: var(--red); }
.cat-nav-item.active{ background: var(--red); color:#fff; }
.cat-nav-count{
  flex:none; font-size:.72rem; font-weight:700; color: var(--gray-500);
  background: var(--off-white); border-radius:999px; padding:2px 8px; line-height:1.5;
}
.cat-nav-item:hover .cat-nav-count{ color: var(--red); }
.cat-nav-item.active .cat-nav-count{ background: rgba(255,255,255,.22); color:#fff; }

.cat-panels{ min-width:0; }
.cat-panel{ display:none; }
.cat-panel.active{ display:block; }
.cat-panel h2{ margin-bottom:22px; }
.cat-empty{
  background: var(--off-white); border:1px dashed var(--gray-200); border-radius: var(--radius-lg);
  padding: 36px 24px; text-align:center; color: var(--gray-700);
}
.cat-empty .btn{ margin-top:14px; }

@media (max-width: 860px){
  .cat-layout{ grid-template-columns: 1fr; gap:18px; }
  .cat-nav{
    position:static; max-height:none; display:flex; overflow-x:auto; gap:4px; padding:10px;
    -webkit-overflow-scrolling:touch; scrollbar-width:thin;
  }
  .cat-nav-group{ display:flex; align-items:center; gap:4px; flex:none; }
  .cat-nav-group + .cat-nav-group{ margin-top:0; padding-top:0; border-top:none; border-left:1px solid var(--gray-200); padding-left:10px; margin-left:6px; }
  .cat-nav-heading{ display:none; }
  .cat-nav-item{ white-space:nowrap; width:auto; }
}

.feature-card{
  background:#fff; border:1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px;
  transition: box-shadow .2s ease, transform .2s ease;
  display:flex; flex-direction:column;
}
.feature-card:hover{ box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .ic{ width:52px; height:52px; border-radius:14px; background: var(--red-light); color: var(--red); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.feature-card .ic svg{ width:26px; height:26px; }
.feature-card h3{ font-size:1.05rem; }
.feature-card p{ font-size:.92rem; margin-bottom:0; flex:1; }

.value-card{ text-align:center; padding: 20px 14px; }
.value-card .ic{ width:64px; height:64px; border-radius:50%; background: var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.value-card .ic svg{ width:28px; height:28px; }

/* ---------- about / split sections ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; align-items:center; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; gap:32px; } }
.split .media{ position:relative; }
.split .media img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width:100%; height:420px; object-fit:cover; }
.split .media.stacked{ display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; }
.split .media.stacked img{ height:100%; }
.split .media.stacked .tall{ height:420px; }
.split .media.stacked .short{ height:200px; align-self:end; }
.check-list li{ display:flex; gap:12px; padding: 9px 0; color: var(--gray-700); }
.check-list li svg{ flex:none; width:20px; height:20px; color: var(--red); margin-top:2px; }

/* ---------- stats band ---------- */
.stats-band{ background: var(--navy); padding: 46px 0; }
.stats-band .grid{ text-align:center; }
.stats-band strong{ display:block; font-family: var(--font-head); font-size:2rem; color:#fff; }
.stats-band span{ color:#cda5a3; font-size:.86rem; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg); padding: 46px 44px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2{ color:#fff; margin-bottom:6px; font-size:1.6rem; }
.cta-banner p{ color:#ffd6d6; margin-bottom:0; }
.cta-banner .actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* ---------- product detail page ---------- */
.pd-layout{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 940px){ .pd-layout{ grid-template-columns: 1fr; } }
.pd-gallery .main-img{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); background: var(--gray-100); aspect-ratio: 4/3.2;}
.pd-gallery .main-img img{ width:100%; height:100%; object-fit:cover; }
.pd-gallery .thumbs{ display:flex; flex-wrap:wrap; gap:12px; margin-top:14px; }
.pd-gallery .thumbs button{ padding:0; border:2px solid var(--gray-200); border-radius:10px; overflow:hidden; width:88px; height:70px; cursor:pointer; background:none; flex:none; }
@media (max-width: 420px){
  .pd-gallery .thumbs button{ width: calc(25% - 9px); }
}
.pd-gallery .thumbs button.active{ border-color: var(--red); }
.pd-gallery .thumbs img{ width:100%; height:100%; object-fit:cover; }
.pd-icon-hero{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.2;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; color:#fff;
}
.pd-icon-hero-ic svg{ width:96px; height:96px; opacity:.95; }
.pd-icon-hero-cap{ font-family: var(--font-head); font-weight:600; font-size:1.05rem; text-align:center; padding:0 24px; opacity:.9; }

/* category-row icon panel (Motors, no product photo yet) */
.cat-icon-panel{
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); height:300px; width:100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%);
  display:flex; align-items:center; justify-content:center;
}
.cat-icon-ic{ color:#fff; opacity:.95; }
.cat-icon-ic svg{ width:84px; height:84px; }

.spec-table{ width:100%; border-collapse:collapse; margin: 18px 0 6px; font-size:.94rem; border:1px solid var(--gray-200); border-radius:10px; overflow:hidden; }
.spec-table thead th{
  background: var(--red-light); color: var(--red-dark); text-align:left; padding:12px 14px;
  font-family: var(--font-head); font-size:.78rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
}
.spec-table tr{ border-bottom:1px solid var(--gray-200); }
.spec-table tbody tr:last-child{ border-bottom:none; }
.spec-table tbody tr:nth-child(even){ background: var(--off-white); }
.spec-table td{ padding:12px 14px; color: var(--gray-700); }
.spec-table td:first-child{ color: var(--navy); font-weight:600; width:46%; font-family: var(--font-head); font-size:.86rem; }

.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 18px 0; }
.tag-row span{ background: var(--off-white); border:1px solid var(--gray-200); color: var(--navy); font-size:.8rem; font-weight:600; padding:6px 12px; border-radius:999px; }

.app-list{ display:grid; grid-template-columns: repeat(2,1fr); gap: 10px 20px; margin-top:14px;}
@media (max-width: 560px){ .app-list{grid-template-columns: 1fr;} }
.app-list li{ display:flex; gap:10px; align-items:flex-start; color: var(--gray-700); font-size:.94rem; }
.app-list li svg{ color: var(--teal); width:18px; height:18px; margin-top:3px; flex:none; }

.note-box{ background: var(--off-white); border-left:4px solid var(--red); border-radius: 8px; padding: 16px 18px; font-size:.88rem; color: var(--gray-700); margin-top: 24px; }

.related-strip{ margin-top:70px; }

/* ---------- categories list (products page) ---------- */
.category-row{
  display:grid; grid-template-columns: .8fr 1.2fr; gap:40px; align-items:center;
  padding: 44px 0; border-bottom:1px solid var(--gray-200);
}
.category-row:last-child{ border-bottom:none; }
.category-row.reverse{ direction: rtl; }
.category-row.reverse > *{ direction: ltr; }
.category-row img{ border-radius: var(--radius-lg); box-shadow: var(--shadow-md); height:300px; width:100%; object-fit:cover; }
@media (max-width: 860px){ .category-row, .category-row.reverse{ grid-template-columns: 1fr; direction:ltr; } }

/* ---------- gallery ---------- */
.masonry{ columns: 3 240px; column-gap: 18px; }
.masonry figure{ margin:0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); cursor:zoom-in; position:relative; }
.masonry img{ width:100%; display:block; transition: transform .35s ease; }
.masonry figure:hover img{ transform: scale(1.05); }
.masonry figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:12px 14px 10px;
  background: linear-gradient(0deg, rgba(62,9,9,.85), transparent);
  color:#fff; font-size:.82rem; font-weight:600; opacity:0; transform: translateY(6px);
  transition: all .2s ease;
}
.masonry figure:hover figcaption{ opacity:1; transform:none; }
@media (max-width: 700px){ .masonry{ columns: 2 180px; } }

.lightbox{
  position:fixed; inset:0; background: rgba(20,8,8,.92); z-index:200;
  display:flex; align-items:center; justify-content:center; padding: 40px;
  opacity:0; visibility:hidden; transition: opacity .2s ease;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{ max-width: 100%; max-height: 84vh; border-radius:8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap{ position:absolute; bottom:28px; left:0; right:0; text-align:center; color:#e6e9ee; font-size:.9rem; }
.lightbox .lb-close{ position:absolute; top:22px; right:26px; width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25); font-size:1.4rem; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.lightbox .lb-close:hover{ background: rgba(255,255,255,.2); }

/* ---------- team / values grid on about ---------- */
.timeline{ position:relative; padding-left: 28px; border-left:2px solid var(--gray-200); }
.timeline .step{ position:relative; padding-bottom:30px; }
.timeline .step:last-child{ padding-bottom:0; }
.timeline .step::before{ content:""; position:absolute; left:-34px; top:2px; width:14px; height:14px; border-radius:50%; background: var(--red); border:3px solid var(--red-light); }
.timeline h4{ margin-bottom:4px; font-size:1rem; }
.timeline p{ margin-bottom:0; font-size:.92rem; }

/* ---------- contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns:1fr; } }
.contact-info-card{ background: var(--navy); color:#fff; border-radius: var(--radius-lg); padding: 36px 32px; }
.contact-info-card h3{ color:#fff; }
.contact-info-card .row{ display:flex; gap:16px; padding: 16px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.contact-info-card .row:last-of-type{ border-bottom:none; }
.contact-info-card .row .ic{ width:44px; height:44px; border-radius:12px; background: rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; flex:none; color:#FFF; }
.contact-info-card .row strong{ display:block; font-family: var(--font-head); font-size:.92rem; margin-bottom:3px; }
.contact-info-card .row span, .contact-info-card .row a{ color:#cda5a3; font-size:.9rem; }
.contact-info-card .row a:hover{ color:#fff; }
.contact-info-card .social{ display:flex; gap:10px; margin-top:22px; }
.contact-info-card .social a{ width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; }
.contact-info-card .social a:hover{ background: var(--red); }

/* ---------- social links (footer + contact card) ---------- */
.social-links{ display:flex; gap:10px; margin-top:18px; }
.social-links a{
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; color:#fff; flex:none;
  transition: background .2s ease, transform .2s ease;
}
.social-links a svg{ width:18px; height:18px; }
.social-links a:hover{ background: var(--red); transform: translateY(-2px); }

.form-card{ background:#fff; border:1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:18px; }
.field.full{ grid-column: 1/-1; }
.field label{ font-size:.84rem; font-weight:600; color: var(--navy); font-family: var(--font-head); }
.field input, .field select, .field textarea{
  border:1.5px solid var(--gray-200); border-radius:8px; padding:12px 14px; font-family: var(--font-body);
  font-size:.95rem; color: var(--ink); background: var(--off-white); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--red); background:#fff; }
.field textarea{ resize:vertical; min-height:120px; }
.form-msg{ margin-top:14px; padding:12px 14px; border-radius:8px; background:#e8f7ee; color:#1c6b3c; font-size:.9rem; display:none; }
.form-msg.show{ display:block; }

.map-frame{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); border:1px solid var(--gray-200); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }

/* ---------- footer ---------- */
footer.site-footer{ background: var(--navy); color:#fff; padding-top: 64px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap:40px; padding-bottom: 44px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-logo-badge{
  display:inline-flex; align-items:center; justify-content:center;
  background:#fff; border-radius:14px; padding:10px 16px; margin-bottom:16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.footer-brand img{ height:52px; width:auto; display:block; }
.footer-brand p{ color:#fff; font-size:.92rem; }
.footer-col h4{ color:#fff; font-family: var(--font-head); font-size:.95rem; margin-bottom:18px; letter-spacing:.02em; }
.footer-col ul li{ margin-bottom:11px; }
.footer-col ul li a{ color:#fff; font-size:.9rem; transition: color .15s ease; opacity:.92; }
.footer-col ul li a:hover{ color:#fff; opacity:1; text-decoration:underline; }
.footer-col .row{ display:flex; gap:10px; margin-bottom:14px; font-size:.9rem; color:#fff; }
.footer-col .row a{ color:#fff; }
.footer-col .row svg{ flex:none; width:18px; height:18px; margin-top:2px; color: #FFF; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background: var(--red); }
.footer-bottom{ padding: 22px 0; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; font-size:.82rem; color:#fff; }
.footer-bottom a{ color:#fff; }
.footer-bottom a:hover{ text-decoration:underline; }

/* ---------- back to top ---------- */
.to-top{
  position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:50%;
  background: var(--red); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); opacity:0; visibility:hidden; transform: translateY(10px);
  transition: all .2s ease; z-index:80; border:none; cursor:pointer; font-size:22px;
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }

/* ---------- whatsapp float ---------- */
.whatsapp-float{
  position:fixed; left:22px; bottom:22px; width:54px; height:54px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg); z-index:80; font-size:28px; transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: translateY(-3px) scale(1.05); }
@media (max-width: 560px){
  .whatsapp-float{ width:48px; height:48px; font-size:24px; left:16px; bottom:16px; }
  .to-top{ right:16px; bottom:16px; }
}

/* reveal animation */
.reveal{ opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- product video block ---------- */
.video-block{ max-width:760px; margin:0 auto; text-align:center; background: var(--off-white); border:1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 40px 28px; }
.video-block-ic{ width:72px; height:72px; border-radius:50%; background: linear-gradient(135deg, var(--navy) 0%, var(--red-dark) 100%); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; color:#fff; box-shadow: var(--shadow-sm); }
.video-block-ic svg{ width:28px; height:28px; }
.video-block h3{ margin-bottom:8px; }
.video-block p{ color: var(--gray-700); margin-bottom:20px; }
.video-block .actions{ display:flex; gap:12px; flex-wrap:wrap; justify-content:center; }
.video-embed{ position:relative; width:100%; padding-top:56.25%; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); background: var(--gray-100); }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
@media (max-width: 560px){
  .video-block{ padding: 32px 18px; }
}
