/* ============================================================
   Juhama Enterprises – Main Design System
   Colors: #000000 | #FFFFFF | #F4C62F
   Fonts: Inter (body) + Outfit (headings)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* ── CSS VARIABLES ──────────────────────────────────────── */
:root {
  --black:   #000000;
  --white:   #ffffff;
  --gold:    rgb(160, 160, 160);
  --gold-dk: rgb(130, 130, 130);
  --gold-lt: rgb(240, 240, 240);
  --gold-grad: linear-gradient(360deg, rgb(175, 175, 175) 0%, rgb(247, 247, 247) 85%);
  --gold-grad-hover: linear-gradient(360deg, rgb(150, 150, 150) 0%, rgb(220, 220, 220) 85%);
  --gray-50: #f9f9f9;
  --gray-100:#f2f2f2;
  --gray-200:#e5e5e5;
  --gray-300:#cccccc;
  --gray-500:#888888;
  --gray-700:#444444;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── NAVBAR ──────────────────────────────────────────────── */
.jh-navbar {
  display: none !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 3px solid var(--gold);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.jh-navbar .logo img { height: 52px; width: auto; object-fit: contain; }
.jh-nav-links { display: flex; align-items: center; gap: 8px; }
.jh-nav-links a {
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .3px;
  transition: background var(--transition), color var(--transition);
}
.jh-nav-links a:hover,
.jh-nav-links a.active {
  background: var(--gold-grad);
  color: var(--black);
}
.jh-nav-links .btn-inquiry {
  background: var(--gold-grad);
  color: var(--black);
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--radius-sm);
}
.jh-nav-links .btn-inquiry:hover { background: var(--gold-grad-hover); }

/* hamburger */
.jh-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.jh-hamburger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.jh-mobile-menu {
  display: none !important;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--black);
  border-top: 2px solid var(--gold);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.jh-mobile-menu.open { display: none !important; }
.jh-mobile-menu a {
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--transition);
}
.jh-mobile-menu a:hover { background: rgba(160, 160, 160,.15); color: var(--gold); }

/* ── HERO / PAGE BANNER ──────────────────────────────────── */
.jh-hero {
  background: var(--black);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.jh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(160, 160, 160,.08) 0%, transparent 60%);
}
.jh-hero-content { position: relative; z-index: 1; padding: 40px 24px; }
.jh-hero h1 {
  color: var(--white);
  font-size: clamp(28px,5vw,48px);
  font-weight: 800;
  margin-bottom: 8px;
}
.jh-hero h1 span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.jh-hero p {
  color: var(--gray-300);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 24px;
}

/* ── SEARCH BAR ──────────────────────────────────────────── */
.jh-search-bar {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.jh-search-bar .sb-group { flex: 1 1 160px; }
.jh-search-bar label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.jh-search-bar select,
.jh-search-bar input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.jh-search-bar select:focus,
.jh-search-bar input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(160, 160, 160,.2);
}
.jh-search-bar .btn-search {
  background: var(--gold-grad);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 28px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.jh-search-bar .btn-search:hover { background: var(--gold-grad-hover); transform: translateY(-1px); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.jh-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.jh-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 40px 0; }

/* ── FILTER SIDEBAR ──────────────────────────────────────── */
.jh-sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
}
.jh-filter-box {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.jh-filter-box h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.jh-filter-group { margin-bottom: 18px; }
.jh-filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.jh-filter-group select,
.jh-filter-group input[type="number"],
.jh-filter-group input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.jh-filter-group select:focus,
.jh-filter-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(160, 160, 160,.2);
}
.jh-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jh-price-range input { padding-right: 12px; background-image: none; }

.btn-filter {
  width: 100%;
  background: var(--gold-grad);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background var(--transition);
}
.btn-filter:hover { background: var(--gold-grad-hover); }
.btn-reset {
  display: block;
  text-align: center;
  width: 100%;
  background: transparent;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-reset:hover { border-color: var(--black); color: var(--black); }

/* ── VEHICLE GRID ────────────────────────────────────────── */
.jh-listing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.jh-listing-header h2 { font-size: 20px; }
.jh-count {
  background: var(--gold-lt);
  color: var(--black);
  border: 1px solid var(--gold);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.jh-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── VEHICLE CARD ────────────────────────────────────────── */
.jh-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}
.jh-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.jh-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}
.jh-card:hover .jh-card-img { transform: scale(1.04); }
.jh-card-img-wrap { overflow: hidden; position: relative; height: 200px; background: var(--gray-100); }
.jh-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.jh-badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
}
.jh-badge-featured  { background: var(--gold);  color: var(--black); }
.jh-badge-sold      { background: #ff4444; color: var(--white); }
.jh-badge-reserved  { background: #ff8800; color: var(--white); }
.jh-badge-available { background: #22cc66; color: var(--white); }

.jh-card-body { padding: 18px; }
.jh-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jh-card-sub {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.jh-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 14px;
}
.jh-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-700);
}
.jh-spec-item i { color: var(--gold); font-size: 13px; }
.jh-card-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.jh-price-fob { font-size: 13px; color: var(--gray-500); }
.jh-price-cif {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}
.jh-price-cif span { font-size: 12px; color: var(--gray-500); font-weight: 400; }
.jh-card-footer {
  display: flex;
  gap: 8px;
}
.btn-view {
  flex: 1;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 8.5px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.btn-view:hover {
  background: var(--gold-grad-hover);
  border-color: var(--gold-dk);
}
.btn-inquiry-card {
  background: var(--gold-grad);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-inquiry-card:hover { background: var(--gold-grad-hover); }

/* no-image placeholder */
.no-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--gray-100);
  color: var(--gray-300);
}
.no-img-placeholder i { font-size: 48px; margin-bottom: 8px; }

/* ── VEHICLE DETAIL PAGE ─────────────────────────────────── */
.jh-detail-section { padding: 48px 0; }
.jh-detail-grid { display: grid; grid-template-columns: 1fr 420px; gap: 40px; }

/* Carousel */
.jh-carousel { position: relative; border-radius: var(--radius-md); overflow: hidden; background: var(--black); }
.jh-carousel-main { width: 100%; height: 440px; object-fit: cover; }
.jh-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.6);
  color: var(--white);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  z-index: 2;
}
.jh-carousel-nav:hover { background: var(--gold-grad); color: var(--black); }
.jh-carousel-nav.prev { left: 12px; }
.jh-carousel-nav.next { right: 12px; }
.jh-carousel-images { display: flex; transition: transform .4s ease; height: 440px; }
.jh-carousel-images img { min-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.jh-carousel-wrap { overflow: hidden; }
.jh-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.jh-thumb {
  width: 80px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  flex-shrink: 0;
  opacity: .7;
}
.jh-thumb.active, .jh-thumb:hover { border-color: var(--gold); opacity: 1; }

/* Detail Info Panel */
.jh-detail-info {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.jh-detail-title { font-size: 26px; font-weight: 800; margin-bottom: 4px; }
.jh-detail-sub { color: var(--gray-500); font-size: 13px; margin-bottom: 16px; }
.jh-detail-price-box {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}
.jh-detail-price-box .fob { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; }
.jh-detail-price-box .cif {
  font-size: 28px; font-weight: 800;
  font-family: 'Outfit', sans-serif;
}
.jh-detail-price-box .cif-label { font-size: 12px; color: var(--gray-500); }
.jh-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.jh-specs-table tr { border-bottom: 1px solid var(--gray-100); }
.jh-specs-table td { padding: 9px 4px; font-size: 13px; }
.jh-specs-table td:first-child { color: var(--gray-500); font-weight: 600; width: 44%; }
.jh-specs-table td:last-child { font-weight: 500; }
.jh-detail-actions { display: flex; flex-direction: column; gap: 10px; }
.btn-inquiry-big {
  width: 100%;
  background: var(--gold-grad);
  color: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-inquiry-big:hover { background: var(--gold-grad-hover); transform: translateY(-2px); }
.btn-whatsapp {
  width: 100%;
  background: #25d366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition);
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1fb856; }

/* Inquiry Modal */
.jh-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.jh-modal-overlay.open { display: flex; }
.jh-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
.jh-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--gray-500);
  transition: color var(--transition);
}
.jh-modal-close:hover { color: var(--black); }
.jh-modal h2 { font-size: 22px; margin-bottom: 4px; }
.jh-modal p { color: var(--gray-500); font-size: 13px; margin-bottom: 24px; }

/* ── FORMS ───────────────────────────────────────────────── */
.jh-form-group { margin-bottom: 16px; }
.jh-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.jh-form-group input,
.jh-form-group select,
.jh-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.jh-form-group textarea { resize: vertical; min-height: 100px; }
.jh-form-group input:focus,
.jh-form-group select:focus,
.jh-form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(160, 160, 160,.2);
}
.jh-form-group input.error,
.jh-form-group select.error,
.jh-form-group textarea.error { border-color: #ff4444; }

.btn-submit-form {
  width: 100%;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  margin-top: 4px;
}
.btn-submit-form:hover { background: #222; transform: translateY(-1px); }

/* alert messages */
.jh-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.jh-alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.jh-alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* ── SECTION HEADINGS ────────────────────────────────────── */
.jh-section-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}
.jh-section-title span {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.jh-section-subtitle { color: var(--gray-500); margin-bottom: 32px; }
.jh-divider {
  height: 4px;
  width: 48px;
  background: var(--gold);
  border-radius: 4px;
  margin: 8px 0 28px;
}

/* ── SIMILAR CARS ────────────────────────────────────────── */
.jh-similar { padding: 48px 0; background: var(--gray-50); }
.jh-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.jh-footer {
  display: none !important;
  background: var(--black);
  color: var(--white);
  padding: 60px 0 0;
}
.jh-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.jh-footer-brand .logo { margin-bottom: 16px; }
.jh-footer-brand .logo img { height: 52px; }
.jh-footer-brand p { color: var(--gray-300); font-size: 14px; line-height: 1.7; }
.jh-footer-col h4 {
  color: var(--gold);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 16px;
}
.jh-footer-col ul li { margin-bottom: 10px; }
.jh-footer-col ul li a {
  color: var(--gray-300);
  font-size: 14px;
  transition: color var(--transition);
}
.jh-footer-col ul li a:hover { color: var(--gold); }
.jh-footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--gray-300);
  font-size: 14px;
}
.jh-footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.jh-footer-bottom {
  border-top: 1px solid #222;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.jh-footer-bottom p { color: var(--gray-500); font-size: 13px; }
.jh-footer-bottom a { color: var(--gold); }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-gold  { color: var(--gold); }
.text-muted { color: var(--gray-500); }
.fw-bold    { font-weight: 700; }
.mt-4       { margin-top: 16px; }
.mt-6       { margin-top: 24px; }
.mb-6       { margin-bottom: 24px; }
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}
.no-results i { font-size: 56px; color: var(--gray-200); margin-bottom: 16px; display: block; }

/* Fade-in animation for cards */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.jh-card { animation: fadeUp .4s ease both; }
.jh-card:nth-child(2) { animation-delay: .05s; }
.jh-card:nth-child(3) { animation-delay: .10s; }
.jh-card:nth-child(4) { animation-delay: .15s; }
.jh-card:nth-child(5) { animation-delay: .20s; }
.jh-card:nth-child(6) { animation-delay: .25s; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .jh-layout { grid-template-columns: 240px 1fr; gap: 24px; }
  .jh-detail-grid { grid-template-columns: 1fr; }
  .jh-detail-info { max-width: 600px; }
  .jh-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .jh-nav-links { display: none; }
  .jh-hamburger { display: flex; }
  .jh-layout { grid-template-columns: 1fr; }
  .jh-sidebar { position: static; }
  .jh-filter-box { display: none; }
  .jh-filter-box.mobile-open { display: block; }
  .btn-mobile-filter {
    display: flex !important;
    align-items: center;
    gap: 8px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
  }
  .jh-vehicle-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .jh-carousel-main, .jh-carousel-images { height: 280px; }
  .jh-footer-grid { grid-template-columns: 1fr; }
  .jh-search-bar { padding: 16px; }
  .jh-search-bar .sb-group { flex: 1 1 100%; }
}
@media (max-width: 480px) {
  .jh-vehicle-grid { grid-template-columns: 1fr; }
  .jh-container { padding: 0 16px; }
  .jh-hero h1 { font-size: 26px; }
  .jh-card-img-wrap { height: 180px; }
}
.btn-mobile-filter { display: none; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
#jh-back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  background: var(--gold-grad);
  color: var(--black);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(160, 160, 160,.4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
#jh-back-top.visible { opacity: 1; pointer-events: auto; }
#jh-back-top:hover { transform: translateY(-4px); }

/* ── PAGINATION ──────────────────────────────────────────── */
.jh-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.jh-pagination a, .jh-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  color: var(--black);
  transition: all var(--transition);
}
.jh-pagination a:hover { border-color: var(--gold); color: var(--gold); }
.jh-pagination .active { background: var(--gold-grad); border-color: var(--gold); color: var(--black); }

/* ── VEHICLE DETAILS RESPONSIVENESS IMPROVEMENTS ────────── */
@media (max-width: 768px) {
  .jh-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
@media (max-width: 480px) {
  .jh-detail-section {
    padding: 24px 0 !important;
  }
  .jh-carousel-images {
    height: 220px !important;
  }
  .jh-detail-info {
    padding: 16px !important;
    border-radius: var(--radius-sm) !important;
  }
  .jh-detail-title {
    font-size: 20px !important;
  }
  .jh-specs-table td {
    font-size: 12px !important;
    padding: 8px 4px !important;
    word-break: break-word !important;
  }
  .jh-modal {
    padding: 20px !important;
  }
  .jh-thumbs img {
    width: 60px !important;
    height: 42px !important;
  }
}

/* Custom premium scrollbar for thumbnails */
.jh-thumbs::-webkit-scrollbar {
  height: 4px;
}
.jh-thumbs::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.jh-thumbs::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 2px;
}

