/* =========================
   1) GLOBAL RESET
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  margin:0;
  padding:0;
  overflow-x:hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background:#fff;
}

/* =========================
   2) WRAPPER / CONTAINER
========================= */
.sz-wrap{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding-left:40px;
  padding-right:40px;
}

/* =========================
   3) TOP BAR
========================= */
.sz-topbar{
  width:100%;
  background:#f2f2f2;
  border-bottom:1px solid #e6e6e6;
  font-size:14px;
  position:sticky;
  top:0;
  z-index:1100;
}

.sz-topbar .container-fluid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:38px;
}

.sz-top-left,
.sz-top-right{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.sz-topbar a{
  color:#111827;
  text-decoration:none;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:6px;
  transition:.25s ease;
}
.sz-topbar a:hover{ color:#0b63a8; }

.sz-top-sep{
  width:1px;
  height:16px;
  background:#cfcfcf;
  display:inline-block;
}

/* Phone */
.phone-box{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}
.phone-number{
  display:none;
  align-items:center;
  font-size:13px;
  font-weight:600;
  color:#111827;
  background:#fff;
  border:1px solid #e6e6e6;
  padding:4px 10px;
  border-radius:9px;
  line-height:1;
}

/* WhatsApp */
.sz-whatsapp{
  color:#25D366 !important;
  font-weight:900;
}
.sz-whatsapp:hover{ color:#128C7E !important; }

/* =========================
   4) NAVBAR (STICKY)
========================= */
.sz-navbar{
  width:100%;
  background:#fff;
  border-bottom:1px solid #e8e8e8;
  padding:8px 0 !important;
  margin:0 !important;
  position:sticky;
  top:38px;
  z-index:1090;
}

.sz-navbar .container-fluid.sz-wrap{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:22px;
}

.sz-left-logo img,
.sz-right-logo img{
  height:40px;
  width:auto;
  object-fit:contain;
  display:block;
}
.sz-right-logo img{ max-width:200px; }

/* Nav Links */
.sz-nav .nav-link{
  color:#0f172a !important;
  font-weight:800;
  font-size:15px;
  text-transform:uppercase;
  white-space:nowrap;
  padding:10px 16px !important;
  letter-spacing:.3px;
  transition:.25s ease;
}
.sz-nav .nav-link:hover{ color:#0b63a8 !important; }

.sz-active{
  color:#0b63a8 !important;
  font-weight:900 !important;
}

/* Dropdown */
.sz-navbar .dropdown-menu{
  border-radius:10px;
  border:1px solid #eee;
  padding:10px;
  min-width:240px;
  box-shadow:0 18px 45px rgba(0,0,0,0.10);
}
.sz-navbar .dropdown-item{
  font-weight:800;
  padding:10px 12px;
  border-radius:8px;
  text-transform:uppercase;
  font-size:14px;
}
.sz-navbar .dropdown-item:hover{
  background:#f3f7ff;
  color:#0b63a8;
}

/* =========================
   5) USED CARS IMAGE SLIDER (FINAL FIX)
   Desktop: banner cover
   Mobile: less white space (ratio)
========================= */
.sz-used-slider{
  background:#f6f8fb;
  padding:18px 0;
}

#usedCarsSlider{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #eef2f6;
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
  background:#fff;
}

/* Desktop height */
#usedCarsSlider .carousel-inner,
#usedCarsSlider .carousel-item{
  height:420px;
}

#usedCarsSlider .carousel-item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* Controls */
#usedCarsSlider .carousel-control-prev,
#usedCarsSlider .carousel-control-next{
  width:8%;
}

#usedCarsSlider .carousel-control-prev-icon,
#usedCarsSlider .carousel-control-next-icon{
  filter:drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}

/* Indicators */
#usedCarsSlider .carousel-indicators{
  margin-bottom:10px;
}
#usedCarsSlider .carousel-indicators [data-bs-target]{
  width:10px;
  height:10px;
  border-radius:50%;
}

/* =========================
   6) USED CARS TABLE SECTION
========================= */
.sz-used-section{
  background:#f6f8fb;
  padding:24px 0 48px;
}

.sz-used-head h2{
  margin:0 0 6px;
  font-weight:800;
  color:#0b63a8;
  text-align: center;
}

.sz-used-head p{
  margin:0 0 16px;
  color:#556;
  font-weight:650;
  text-align: center;
}

/* Toolbar */
.sz-used-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:14px 0 14px;
  flex-wrap:wrap;
}

.sz-used-search{
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid #e6edf5;
  border-radius:14px;
  padding:10px 12px;
  min-width:320px;
  box-shadow:0 8px 22px rgba(0,0,0,0.06);
}

.sz-used-search i{ color:#0b63a8; }

.sz-used-search input{
  border:none;
  outline:none;
  width:100%;
  font-weight:750;
  color:#0f172a;
  font-size:14px;
}

.sz-used-add{
  background:#0b63a8;
  color:#fff;
  text-decoration:none;
  font-weight:950;
  padding:10px 14px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:.25s ease;
}
.sz-used-add:hover{
  background:#094d83;
  color:#fff;
  transform:translateY(-1px);
}

/* Table Wrapper */
.sz-table-wrap{
  background:#fff;
  border:1px solid #eef2f6;
  border-radius:16px;
  overflow:auto;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
}

/* Table */
.sz-used-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:860px;
}

.sz-used-table thead th{
  background:#0b63a8;
  color:#fff;
  padding:14px 12px;
  font-weight:950;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.4px;
  white-space:nowrap;
}
.sz-used-table thead th:first-child{ border-top-left-radius:16px; }
.sz-used-table thead th:last-child{ border-top-right-radius:16px; }

.sz-used-table tbody td{
  padding:14px 12px;
  border-top:1px solid #eef2f6;
  font-weight:750;
  color:#0f172a;
  vertical-align:middle;
  white-space:nowrap;
}
.sz-used-table tbody tr:hover{ background:#f3f7ff; }

/* Car info (no image) */
.sz-car-name{
  font-weight:950;
  color:#0f172a;
}
.sz-car-sub{
  font-size:12px;
  color:#64748b;
  font-weight:700;
  margin-top:2px;
  white-space:normal;
}

.sz-price{
  font-weight:950;
  color:#0b63a8;
}

/* Actions */
.sz-act{
  width:40px;
  height:40px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:16px;
  margin-left:8px;
  transition:.25s ease;
}

.sz-act.call{
  background:#eef6ff;
  color:#0b63a8;
  border:1px solid #dbeeff;
}
.sz-act.call:hover{
  background:#0b63a8;
  color:#fff;
  transform:translateY(-1px);
}

.sz-act.wa{
  background:rgba(37,211,102,0.12);
  color:#128C7E;
  border:1px solid rgba(37,211,102,0.22);
}
.sz-act.wa:hover{
  background:#25D366;
  color:#fff;
  transform:translateY(-1px);
}

/* Note */
.sz-used-note{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#556;
}
.sz-used-note i{ color:#0b63a8; }

/* =========================
   7) FOOTER + MAP
========================= */
.sz-footer{
  margin-top:40px;
  background:#083a55;
  color:#eaf2f7;
}

.sz-footer-top{ padding:55px 0 40px; }

.sz-footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:30px;
  align-items:start;
  margin-bottom:30px;
}

.sz-f-logo{
  height:50px;
  width:auto;
  object-fit:contain;
  display:block;
  margin-bottom:12px;
}

.sz-f-text{
  margin:0 0 18px;
  font-size:14px;
  color:#cfe3ee;
  line-height:1.6;
}

.sz-f-title{
  font-size:18px;
  font-weight:500;
  margin:0 0 14px;
  color:#fff;
  position:relative;
  padding-bottom:10px;
}

.sz-f-title::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:55px;
  height:3px;
  background:#0b63a8;
  border-radius:10px;
}

.sz-f-links{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sz-f-links a{
  color:#cfe3ee;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:10px;
  transition:.25s ease;
}

.sz-f-links a i{
  color:#7fd4ff;
  font-size:13px;
}

.sz-f-links a:hover{
  color:#fff;
  transform:translateX(4px);
}

.sz-f-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sz-f-social a{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.12);
  color:#fff;
  text-decoration:none;
  transition:.25s ease;
}
.sz-f-social a:hover{
  background:#0b63a8;
  transform:translateY(-2px);
}

.sz-f-cta{
  margin-top:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sz-f-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 14px;
  border-radius:10px;
  background:#25D366;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  transition:.25s ease;
}
.sz-f-btn:hover{ filter:brightness(0.95); }

.sz-f-btn-outline{
  background:transparent;
  border:2px solid rgba(255,255,255,0.35);
}
.sz-f-btn-outline:hover{ border-color:#fff; }

/* Map */
.sz-f-map{ margin-top:10px; }

.sz-map-wrapper{
  width:100%;
  height:260px;
  border-radius:14px;
  overflow:hidden;
  border:2px solid rgba(255,255,255,0.15);
}
.sz-map-wrapper iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

/* Bottom */
.sz-footer-bottom{
  border-top:1px solid rgba(255,255,255,0.12);
  padding:14px 0;
  background:#062c41;
}

.sz-f-bottom-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
}

.sz-f-copy{
  margin:0;
  font-size:13px;
  color:#cfe3ee;
}

.sz-f-mini-links{
  display:flex;
  align-items:center;
  gap:10px;
}
.sz-f-mini-links a{
  color:#cfe3ee;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}
.sz-f-mini-links a:hover{ color:#fff; }

.sz-f-dot{ color:#87a9bc; }

/* =========================
   8) RESPONSIVE
========================= */
@media (max-width:1200px){
  .sz-wrap{ padding-left:25px; padding-right:25px; }
}

@media (max-width:991px){
  .sz-topbar .container-fluid{
    flex-direction:column;
    gap:6px;
    padding:6px 0;
  }
  .sz-top-left, .sz-top-right{ justify-content:center; }
  .sz-top-sep{ display:none; }

  .sz-navbar{ top:76px; }
  .sz-navbar .container-fluid.sz-wrap{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    row-gap:8px;
  }

  /* Slider tablet height */
  #usedCarsSlider .carousel-inner,
  #usedCarsSlider .carousel-item{
    height:320px;
  }
}

/* =========================
   MOBILE FIX (TOPBAR + NAV + SLIDER + TABLE)
========================= */
@media (max-width:600px){

  .sz-wrap{ padding-left:14px; padding-right:14px; }

  /* TOPBAR one line */
  .sz-topbar .container-fluid{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    padding:8px 12px !important;
    min-height:36px !important;
  }

  .sz-top-left,
  .sz-top-right{
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
    gap:10px !important;
  }

  .sz-top-left{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .sz-top-left::-webkit-scrollbar{ display:none; }

  .sz-top-sep{
    display:inline-block !important;
    width:1px !important;
    height:14px !important;
    background:#cfcfcf !important;
  }

  .phone-number{ display:none !important; }
  .sz-topbar a{ font-size:13px !important; }

  /* NAVBAR */
  .sz-left-logo{ display:none !important; }
  .sz-navbar{ top:36px !important; }

  .sz-navbar .container-fluid.sz-wrap{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    flex-wrap:wrap !important;
  }

  .navbar-toggler{
    order:1 !important;
    margin:0 !important;
  }

  .sz-right-logo{
    order:2 !important;
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
  }
  .sz-right-logo img{
    height:32px !important;
    max-width:140px !important;
  }

  .navbar-collapse{
    order:3 !important;
    width:100% !important;
    flex-basis:100% !important;
  }

  /* SLIDER mobile: ratio based (no big white space) */
  /* ===== MOBILE SLIDER (NO CUT FINAL) ===== */
#usedCarsSlider .carousel-inner,
#usedCarsSlider .carousel-item{
  height:auto !important;
  background:#fff;
}

#usedCarsSlider .carousel-item{
  #usedCarsSlider .carousel-item{ aspect-ratio: 16 / 7; }
}

#usedCarsSlider .carousel-item img{
  width:100%;
  height:100%;
  object-fit:contain;   /* ✅ no cut */
  object-position:center;
  background:#fff;
  display:block;
}
  /* TABLE toolbar full width */
  .sz-used-search{ min-width:100%; }
  .sz-used-add{ width:100%; justify-content:center; }

  /* Footer */
  .sz-footer-grid{ grid-template-columns:1fr; }
  .sz-f-bottom-wrap{ justify-content:center; text-align:center; }
}