:root{
  --blue:#005baa;
  --blue-dark:#00467f;
  --blue-light:#eaf4fc;
  --navy:#101820;
  --dark:#151b22;
  --text:#252b32;
  --muted:#707983;
  --line:#e7eaee;
  --white:#fff;
  --radius:14px;
  --shadow:0 8px 30px rgba(15,31,47,.08);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:'Montserrat',Arial,sans-serif;
  font-size:14px;
  overflow-x:hidden;
}

a{text-decoration:none;color:inherit}

img{
  max-width:100%;
  display:block;
}

/* TOPBAR */
.topbar{
  height:36px;
  background:var(--blue);
  color:#fff;
  font-size:11px;
}

.topbar-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-left:34px;
  padding-right:34px;
}

.topbar-message,
.topbar-links{
  display:flex;
  align-items:center;
  gap:9px;
}

.topbar-links{gap:10px}
.topbar a{color:#fff;opacity:.95}
.topbar a:hover{text-decoration:underline}

/* HEADER */
.main-header{
  background:#fff;
  border-bottom:1px solid #eceff2;
  position:sticky;
  top:0;
  z-index:1000;
}

.header-inner{
  min-height:82px;
  display:flex;
  align-items:center;
  gap:24px;
  padding:0 34px;
}

.brand-logo{
  flex:0 0 auto;
  width:172px;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.brand-logo img{
  max-width:165px;
  max-height:52px;
  object-fit:contain;
}

.logo-placeholder{
  display:none;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.05;
  font-size:13px;
  font-weight:800;
  color:var(--blue);
}

.desktop-nav{
  display:flex;
  align-items:center;
  gap:20px;
  flex:1;
}

.desktop-nav a{
  position:relative;
  padding:31px 0;
  color:#303841;
  font-size:12px;
  font-weight:600;
  white-space:nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active{color:var(--blue)}

.desktop-nav a.active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--blue);
}

.header-search{
  width:min(285px,24vw);
  height:40px;
  display:flex;
  border:1px solid #dce1e6;
  border-radius:6px;
  overflow:hidden;
  flex:0 0 auto;
}

.header-search input{
  width:100%;
  border:0;
  outline:0;
  padding:0 12px;
  font-family:inherit;
  font-size:11px;
}

.header-search button{
  width:43px;
  border:0;
  background:var(--blue);
  color:#fff;
  cursor:pointer;
}

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

.header-action{
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  color:#3e464e;
  font-size:9px;
  cursor:pointer;
  padding:4px;
  white-space:nowrap;
}

.header-action i{font-size:19px}
.header-action:hover{color:var(--blue)}

.cart-action{
  width:37px;
  height:37px;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#313a42;
  font-size:22px;
}

.cart-count{
  position:absolute;
  right:-2px;
  top:-3px;
  min-width:15px;
  height:15px;
  padding:0 4px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue);
  color:#fff;
  font-size:8px;
  font-weight:700;
}

.mobile-menu-btn{
  display:none;
  border:0;
  background:transparent;
  font-size:29px;
  color:var(--navy);
}

.mobile-nav{
  display:none;
  background:#fff;
  border-top:1px solid var(--line);
  padding:10px 20px 18px;
}

.mobile-nav.open{display:flex;flex-direction:column}
.mobile-nav a{padding:13px 0;border-bottom:1px solid var(--line);font-weight:600}

/* VEHICLE STRIP */
.vehicle-strip{
  background:var(--dark);
  color:#fff;
}

.vehicle-strip-inner{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.vehicle-strip strong{
  display:block;
  font-size:13px;
  font-weight:700;
}

.vehicle-strip span{
  color:#b8c0c9;
  font-size:10px;
}

.vehicle-selector-btn{
  min-width:245px;
  height:39px;
  padding:0 15px;
  border:1px solid #58616b;
  border-radius:4px;
  background:#232b34;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-family:inherit;
  font-size:11px;
  cursor:pointer;
}

.vehicle-selector-btn:hover{background:#2d3741}

/* HERO */
.hero-section{
  width:100%;
  background:#edf1f5;
}

.hero-slider{
  position:relative;
  width:100%;
  aspect-ratio:4000 / 570;
  min-height:280px;
  overflow:hidden;
}

.hero-slide{
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .35s ease;
}

.hero-slide.active{
  opacity:1;
  visibility:visible;
}

.hero-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-fallback{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  background:linear-gradient(135deg,#e7edf3,#cbd6e0);
  color:#34404c;
  text-align:center;
  z-index:-1;
}

.hero-fallback span{
  font-size:26px;
  font-weight:800;
}

.hero-fallback small{margin-top:8px}

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.35);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:4;
}

.hero-arrow:hover{background:rgba(0,0,0,.55)}
.hero-prev{left:22px}
.hero-next{right:22px}

.hero-dots{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  display:flex;
  gap:7px;
}

.hero-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#fff;
  opacity:.55;
}

.hero-dots button.active{opacity:1;transform:scale(1.25)}

/* BENEFITS */
.benefits-section{
  background:#fff;
  border-bottom:1px solid var(--line);
}

.benefit-item{
  min-height:93px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  border-right:1px solid var(--line);
}

.benefit-item:last-child{border-right:0}

.benefit-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-light);
  color:var(--blue);
  font-size:20px;
}

.benefit-item strong{
  display:block;
  font-size:11px;
  font-weight:700;
}

.benefit-item span{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
}

/* SECTIONS */
.catalog-section,
.vehicle-brands-section,
.parts-brands-section,
.societies-section{
  padding:72px 0;
}

.vehicle-brands-section{background:#f7f9fb}
.parts-brands-section{background:#fff}
.societies-section{background:#f7f9fb}

.section-heading{
  margin-bottom:30px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
}

.section-heading.simple{margin-bottom:27px}

.eyebrow{
  display:block;
  margin-bottom:7px;
  color:var(--blue);
  font-size:9px;
  font-weight:800;
  letter-spacing:1.1px;
}

.section-heading h2{
  margin:0;
  color:#18212a;
  font-size:25px;
  line-height:1.2;
  font-weight:800;
}

.section-arrows{
  display:flex;
  gap:7px;
}

.scroll-btn{
  width:36px;
  height:36px;
  border:1px solid #d7dce1;
  background:#fff;
  color:#313a43;
  border-radius:4px;
  cursor:pointer;
}

.scroll-btn:hover{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
}

/* HORIZONTAL TRACKS */
.horizontal-track{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-behavior:smooth;
  scrollbar-width:none;
  padding:3px 2px 10px;
}

.horizontal-track::-webkit-scrollbar{display:none}

/* CATEGORY */
.category-card{
  flex:0 0 184px;
  overflow:hidden;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid #e7ebef;
  box-shadow:0 5px 18px rgba(0,0,0,.05);
  transition:transform .2s,box-shadow .2s;
}

.category-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.card-image{
  position:relative;
  height:300px;
  overflow:hidden;
  background:#eef2f5;
}

.card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}



.card-image img:not([src=""]){position:relative;z-index:1}

.category-name{
  padding:15px 13px 16px;
  font-size:12px;
  font-weight:700;
}

/* VEHICLE BRANDS */
.vehicle-brand-card{
  flex:0 0 205px;
  height:350px;
  border:1px solid #e0e5ea;
  background:#fff;
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:13px;
  transition:.2s;
}

.vehicle-brand-card:hover{
  border-color:var(--blue);
  box-shadow:var(--shadow);
  transform:translateY(-3px);
}

.vehicle-logo{
  position:relative;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.vehicle-logo img{
  max-width:550px;
  max-height:320px;
  object-fit:contain;
  position:relative;
  z-index:1;
}


.vehicle-brand-card > span{
  font-size:11px;
  font-weight:700;
}

/* PROMOS */
.promo-section{
  padding:72px 0;
  background:#fff;
}

.promo-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  grid-template-rows:210px 210px;
  gap:14px;
}

.promo{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#e9eef2;
}

.promo-large{grid-row:1 / 3}

.promo img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}

.promo:hover img{transform:scale(1.03)}

.promo-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#66727d;
  font-size:13px;
  font-weight:800;
  background:linear-gradient(135deg,#e9eef2,#dce4eb);
  z-index:0;
}

.promo img{position:relative;z-index:1}

/* PART BRANDS */
.parts-brand{
  flex:0 0 160px;
  height:105px;
  background:#fff;
  border:1px solid #e2e7eb;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.parts-brand img{
  max-width:180px;
  max-height:180px;
  object-fit:contain;
  position:relative;
  z-index:1;
}

.parts-brand .image-placeholder{
  font-size:11px;
  background:#fff;
}

/* SOCIETIES */
.societies-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.society-card{
  position:relative;
  height:250px;
  overflow:hidden;
  border-radius:12px;
  background:#e4eaf0;
}

.society-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:relative;
  z-index:1;
}

.society-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#dfe7ed,#cdd8e1);
  color:#5f6b75;
  font-weight:800;
  font-size:12px;
}

/* NEWSLETTER */
.newsletter-section{
  background:var(--blue);
  color:#fff;
  padding:38px 0;
}

.newsletter-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.newsletter-copy{
  display:flex;
  align-items:center;
  gap:17px;
}

.newsletter-icon{
  width:55px;
  height:55px;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:25px;
}

.newsletter-section .eyebrow{color:#cde6fb}
.newsletter-section h2{
  margin:0;
  font-size:21px;
  font-weight:800;
}

.newsletter-section p{
  margin:5px 0 0;
  color:#d7eafb;
  font-size:10px;
}

.newsletter-form{
  min-width:min(440px,100%);
  height:45px;
  display:flex;
  background:#fff;
  border-radius:5px;
  overflow:hidden;
}

.newsletter-form input{
  flex:1;
  border:0;
  outline:0;
  padding:0 14px;
  font-family:inherit;
  font-size:11px;
}

.newsletter-form button{
  border:0;
  background:#111a23;
  color:#fff;
  padding:0 20px;
  font-family:inherit;
  font-size:10px;
  font-weight:700;
}

/* FOOTER */
.footer{
  background:#111820;
  color:#c8d0d7;
  padding:55px 0 0;
}

.footer-top{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1.4fr;
  gap:45px;
  padding-bottom:42px;
}

.footer-brand p{
  max-width:390px;
  margin:20px 0;
  color:#919ba5;
  font-size:10px;
  line-height:1.8;
}

.footer-logo{
  min-height:50px;
  display:flex;
  align-items:center;
}

.footer-logo img{
  max-width:170px;
  max-height:50px;
}

.footer-logo > span{
  display:none;
  color:#fff;
  font-size:13px;
  line-height:1.05;
  font-weight:800;
}

.socials{
  display:flex;
  gap:8px;
}

.socials a{
  width:31px;
  height:31px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #39434d;
  border-radius:50%;
  color:#fff;
  font-size:13px;
}

.socials a:hover{
  background:var(--blue);
  border-color:var(--blue);
}

.footer-column h3{
  color:#fff;
  margin:0 0 17px;
  font-size:11px;
  font-weight:800;
}

.footer-column a{
  display:block;
  margin:0 0 12px;
  color:#9da7b0;
  font-size:10px;
}

.footer-column a:hover{color:#fff}

.footer-column i{margin-right:7px;color:#6eaee0}

.footer-payment{
  border-top:1px solid #29323b;
  border-bottom:1px solid #29323b;
  padding:23px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.footer-payment strong{
  display:block;
  margin-bottom:10px;
  color:#fff;
  font-size:9px;
}

.payment-logos{
  display:flex;
  align-items:center;
  gap:9px;
}

.payment-logos img{
  width:auto;
  height:25px;
  object-fit:contain;
  background:#fff;
  border-radius:3px;
}

.logo-mini{
  height:25px;
  padding:0 8px;
  display:flex;
  align-items:center;
  background:#fff;
  color:#333;
  border-radius:3px;
  font-size:8px;
  font-weight:800;
}

.security-badge{
  display:flex;
  align-items:center;
  gap:8px;
  color:#aeb7bf;
  font-size:10px;
}

.security-badge i{font-size:18px;color:#6eaee0}

.footer-bottom{
  min-height:58px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#69747d;
  font-size:9px;
}

/* WHATSAPP */
.whatsapp-float{
  position:fixed;
  right:21px;
  bottom:20px;
  width:53px;
  height:53px;
  border-radius:50%;
  background:#25d366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:27px;
  box-shadow:0 6px 20px rgba(0,0,0,.25);
  z-index:1100;
}

.whatsapp-float:hover{
  color:#fff;
  transform:scale(1.05);
}

/* MODAL */
.vehicle-modal{border:0;border-radius:15px;overflow:hidden}

.vehicle-modal .modal-header{
  padding:24px 25px 18px;
  border-bottom:1px solid var(--line);
}

.vehicle-modal h2{
  margin:0;
  font-size:21px;
  font-weight:800;
}

.vehicle-modal .modal-body{padding:23px 25px 28px}

.vehicle-modal label{
  display:block;
  margin:15px 0 7px;
  font-size:10px;
  font-weight:700;
}

.vehicle-modal .form-select{
  height:43px;
  border-color:#dfe4e9;
  font-size:11px;
  font-family:inherit;
}

.vehicle-modal-icon{
  width:55px;
  height:55px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--blue-light);
  color:var(--blue);
  font-size:26px;
}

.btn-primary-custom{
  height:45px;
  border:0;
  border-radius:5px;
  background:var(--blue);
  color:#fff;
  font-family:inherit;
  font-size:11px;
  font-weight:700;
}

.btn-primary-custom:hover{background:var(--blue-dark)}

/* TOAST-LIKE SEARCH */
.search-message{
  position:fixed;
  left:50%;
  top:100px;
  transform:translateX(-50%);
  z-index:2000;
  background:#111820;
  color:#fff;
  border-radius:5px;
  padding:11px 18px;
  box-shadow:var(--shadow);
  font-size:11px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width:1200px){
  .header-inner{gap:15px;padding:0 22px}
  .desktop-nav{gap:12px}
  .desktop-nav a{font-size:10px}
  .header-search{width:220px}
  .header-actions{gap:8px}
  .brand-logo{width:150px}
}

@media (max-width:991px){
  .topbar-inner{padding:0 20px}
  .header-inner{min-height:70px}
  .desktop-nav{display:none}
  .header-search{flex:1;width:auto;max-width:none}
  .header-actions .header-action span{display:none}
  .header-action i{font-size:20px}
  .mobile-menu-btn{display:block}
  .vehicle-strip-inner{padding:0 20px}
  .catalog-section,
  .vehicle-brands-section,
  .parts-brands-section,
  .societies-section,
  .promo-section{padding:55px 0}
  .container{max-width:940px}
  .societies-grid{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1.5fr 1fr 1fr}
  .footer-column:last-child{grid-column:2 / 4}
  .newsletter-inner{align-items:stretch;flex-direction:column;gap:24px}
  .newsletter-form{width:100%;min-width:0}
}

@media (max-width:767px){
  body{font-size:13px}
  .topbar{height:auto;min-height:34px}
  .topbar-inner{padding:8px 15px}
  .topbar-links{display:none}
  .header-inner{padding:0 15px;min-height:66px}
  .brand-logo{width:130px}
  .brand-logo img{max-width:125px}
  .header-search{height:36px}
  .header-search input{font-size:10px}
  .header-search button{width:38px}
  .header-actions{gap:1px}
  .cart-action{font-size:20px}
  .mobile-menu-btn{font-size:27px}
  .vehicle-strip-inner{
    min-height:82px;
    padding:13px 15px;
    align-items:flex-start;
    flex-direction:column;
  }
  .vehicle-selector-btn{width:100%;height:37px}
  .hero-slider{
    aspect-ratio:55/12;
    min-height:0;
  }
  .hero-arrow{width:34px;height:34px}
  .hero-prev{left:10px}
  .hero-next{right:10px}
  .benefit-item{
    min-height:82px;
    justify-content:flex-start;
    padding:10px 13px;
  }
  .benefit-icon{width:34px;height:34px;font-size:17px;flex:0 0 auto}
  .benefit-item strong{font-size:9px}
  .benefit-item span{font-size:8px}
  .section-heading{align-items:flex-end;margin-bottom:22px}
  .section-heading h2{font-size:19px}
  .eyebrow{font-size:8px}
  .section-arrows{display:none}
  .catalog-section,
  .vehicle-brands-section,
  .parts-brands-section,
  .societies-section,
  .promo-section{padding:42px 0}
  .horizontal-track{gap:12px;padding-left:1px}
  .category-card{flex-basis:160px}
  .card-image{height:200px}

  .vehicle-brand-card{flex-basis:135px;height:180px}
  .vehicle-logo{width:86px;height:80px}
  .vehicle-logo img{max-width:170px;max-height:170px}

  .parts-brand{flex-basis:135px;height:88px}
  .parts-brand img{max-width:155px;max-height:150px}
  .promo-grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:150px 150px 150px;
    gap:10px;
  }
  .promo-large{
    grid-column:1 / 3;
    grid-row:auto;
  }
  .societies-grid{grid-template-columns:1fr 1fr;gap:10px}
  .society-card{height:100px}
  .newsletter-section{padding:30px 0}
  .newsletter-copy{align-items:flex-start}
  .newsletter-icon{width:45px;height:45px;font-size:20px;flex:0 0 auto}
  .newsletter-section h2{font-size:18px}
  .newsletter-form{height:43px}
  .footer{padding-top:40px}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px 22px}
  .footer-brand{grid-column:1 / 3}
  .footer-column:last-child{grid-column:auto}
  .footer-payment{align-items:flex-start;flex-direction:column}
  .footer-bottom{padding:15px 0;align-items:flex-start;flex-direction:column;gap:7px}
  .whatsapp-float{width:48px;height:48px;right:15px;bottom:15px;font-size:24px}
}

@media (max-width:480px){
  .brand-logo{width:105px}
  .brand-logo img{max-width:105px}
  .header-actions{display:none}
  .header-search{margin-left:auto}
  .benefit-item{padding:8px}
  .benefit-item:nth-child(odd){border-right:1px solid var(--line)}
  .benefit-item:nth-child(3),
  .benefit-item:nth-child(4){border-top:1px solid var(--line)}
  .benefit-item strong{font-size:8px}
  .benefit-item span{font-size:7px}
  .societies-grid{grid-template-columns:1fr}
  .society-card{height:145px}
  .newsletter-form{height:auto;flex-direction:column;background:transparent;gap:7px}
  .newsletter-form input,
  .newsletter-form button{height:42px;border-radius:4px}
  .newsletter-form input{background:#fff}
  .footer-top{grid-template-columns:1fr}
  .footer-brand,
  .footer-column:last-child{grid-column:auto}
}
