/*
Theme Name: AutoLanka (WPVibe Draft)
Theme URI: https://drivex.lk
Author: DriveX Platform
Description: Sri Lanka's Premier Vehicle Marketplace — Buy, Sell, Rent, Auction
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 8.0
License: Private
Text Domain: autolanka
*/

/* =============================================
   DRIVEX — DESIGN SYSTEM & GLOBAL STYLES
   Sri Lanka's Premier Vehicle Marketplace
============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* --- CSS Variables --- */
:root {
  --bg: #0a0c0f;
  --bg2: #111318;
  --bg3: #1a1d24;
  --bg4: #22262f;
  --accent: #e8b84b;
  --accent2: #f0c96a;
  --accent-dark: #c49a2e;
  --red: #e85252;
  --green: #3dd68c;
  --blue: #4a9eff;
  --purple: #9b6dff;
  --text: #f0f2f5;
  --text2: #9aa0ad;
  --text3: #5a6070;
  --border: #2a2e38;
  --border2: #343844;
  --card: #13161e;
  --card2: #1c1f28;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --transition: all 0.18s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--font-body); }
ul { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 99px; }

/* --- Container --- */
.al-container { max-width: 1320px; margin: 0 auto; padding: 0 24px; width: 100%; }
.al-container-wide { max-width: 1600px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* =============================================
   NAVIGATION
============================================= */
.al-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,12,15,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 68px;
  display: flex;
  align-items: center;
}
.al-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}
.al-logo {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.al-logo span { color: var(--accent); }
.al-logo sup {
  font-size: 9px;
  font-weight: 600;
  color: var(--text3);
  letter-spacing: 1px;
  vertical-align: super;
  margin-left: 2px;
}
.al-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin: 0 20px;
}
.al-nav-link {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.al-nav-link:hover, .al-nav-link.active {
  color: var(--text);
  background: var(--bg3);
}
.al-nav-link.auction-link {
  color: var(--purple);
  border: 1px solid rgba(155,109,255,0.25);
  display: flex;
  align-items: center;
  gap: 5px;
}
.al-nav-link.auction-link:hover { background: rgba(155,109,255,0.1); }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 1.2s infinite;
  display: inline-block;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.al-nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.al-lang-switcher {
  display: flex;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
}
.al-lang-btn {
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text3);
  background: transparent;
  border: none;
  transition: var(--transition);
}
.al-lang-btn.active, .al-lang-btn:hover {
  background: var(--accent);
  color: #0a0c0f;
}

/* Buttons */
.al-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.al-btn-primary { background: var(--accent); color: #0a0c0f; }
.al-btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.al-btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border2);
}
.al-btn-ghost:hover { color: var(--text); border-color: var(--text3); background: var(--bg3); }
.al-btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.al-btn-outline:hover { background: rgba(232,184,75,0.1); }
.al-btn-purple { background: var(--purple); color: #fff; }
.al-btn-purple:hover { background: #8a5dee; }
.al-btn-blue { background: var(--blue); color: #fff; }
.al-btn-green { background: var(--green); color: #0a0c0f; }
.al-btn-whatsapp { background: #25D366; color: #fff; }
.al-btn-whatsapp:hover { background: #1fbd5c; }
.al-btn-sm { padding: 6px 13px; font-size: 12px; }
.al-btn-lg { padding: 13px 28px; font-size: 15px; }
.al-btn-full { width: 100%; }

/* =============================================
   HERO SECTION
============================================= */
.al-hero {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.al-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,184,75,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.al-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,184,75,0.1);
  border: 1px solid rgba(232,184,75,0.25);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 22px;
}
.al-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  color: var(--text);
}
.al-hero h1 .highlight { color: var(--accent); }
.al-hero-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.al-hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.al-stat-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.al-stat-label {
  font-size: 12px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 500;
}

/* =============================================
   SEARCH BOX
============================================= */
.al-search-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 0;
}
.al-search-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.al-search-tabs::-webkit-scrollbar { display: none; }
.al-search-tab {
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text3);
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.al-search-tab:hover { color: var(--text); background: var(--bg3); }
.al-search-tab.active { background: var(--accent); color: #0a0c0f; border-color: var(--accent); }
.al-search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.al-field label {
  display: block;
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  margin-bottom: 6px;
}
.al-field select, .al-field input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.al-field select:focus, .al-field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.1);
}
.al-field input { background-image: none; padding-right: 14px; }

/* =============================================
   TRUST BAR
============================================= */
.al-trust-bar {
  background: var(--card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  margin: 0 0 52px;
}
.al-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.al-trust-item { display: flex; align-items: center; gap: 12px; }
.al-trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232,184,75,0.1);
  border: 1px solid rgba(232,184,75,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}
.al-trust-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.al-trust-text span { font-size: 11.5px; color: var(--text3); }

/* =============================================
   SECTION HEADERS
============================================= */
.al-section { padding: 0 0 56px; }
.al-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 12px;
}
.al-section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.al-section-title span { color: var(--accent); }
.al-section-sub {
  font-size: 13px;
  color: var(--text3);
  margin-top: 3px;
}
.al-see-all {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.al-see-all:hover { gap: 8px; }

/* =============================================
   CATEGORY PILLS
============================================= */
.al-cat-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.al-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
}
.al-cat-pill:hover, .al-cat-pill.active {
  background: rgba(232,184,75,0.1);
  border-color: rgba(232,184,75,0.4);
  color: var(--accent);
}
.al-cat-pill .pill-icon { font-size: 16px; }
.al-cat-pill .pill-count {
  font-size: 10px;
  color: var(--text3);
  font-weight: 400;
  background: var(--bg3);
  padding: 1px 6px;
  border-radius: 99px;
}

/* =============================================
   VEHICLE CARDS
============================================= */
.al-vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.al-vcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.al-vcard:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.al-vcard-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-vcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.al-vcard:hover .al-vcard-img img { transform: scale(1.05); }
.al-vcard-img-icon { font-size: 52px; color: var(--text3); }
.al-vcard-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.al-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.al-badge-featured { background: var(--accent); color: #0a0c0f; }
.al-badge-urgent { background: var(--red); color: #fff; }
.al-badge-auction { background: var(--purple); color: #fff; }
.al-badge-rent { background: var(--blue); color: #fff; }
.al-badge-ev { background: var(--green); color: #0a0c0f; }
.al-badge-sold { background: var(--text3); color: #fff; }
.al-fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  color: var(--text2);
  font-size: 16px;
  transition: var(--transition);
}
.al-fav-btn:hover, .al-fav-btn.active { color: var(--red); background: rgba(232,82,82,0.2); }
.al-vcard-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.al-vcard-make { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.al-vcard-name { font-family: var(--font-head); font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); line-height: 1.25; }
.al-vcard-price { font-size: 19px; font-weight: 700; color: var(--accent); margin-bottom: 10px; line-height: 1; }
.al-vcard-price .price-note { font-size: 11px; color: var(--text3); font-weight: 400; font-family: var(--font-body); }
.al-vcard-specs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.al-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text3);
  background: var(--bg3);
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--border);
}
.al-vcard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.al-vcard-loc { display: flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text3); }
.al-vcard-time { font-size: 10.5px; color: var(--text3); }
.al-verified-badge {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  color: var(--green);
  font-weight: 500;
}

/* =============================================
   LIVE AUCTION CARDS
============================================= */
.al-auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.al-auction-card {
  background: var(--card);
  border: 1px solid rgba(155,109,255,0.25);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.al-auction-card:hover { border-color: rgba(155,109,255,0.5); transform: translateY(-2px); }
.al-auction-img {
  height: 180px;
  background: var(--bg3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  color: var(--text3);
  overflow: hidden;
}
.al-auction-img img { width: 100%; height: 100%; object-fit: cover; }
.al-live-badge {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(155,109,255,0.9);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.al-auction-body { padding: 16px; }
.al-auction-bids-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}
.al-current-bid-label { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.al-current-bid { font-size: 20px; font-weight: 700; color: var(--purple); font-family: var(--font-head); }
.al-bidder-count { text-align: right; font-size: 12px; color: var(--text3); }
.al-bidder-count strong { display: block; font-size: 18px; color: var(--text); font-family: var(--font-head); }
.al-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(155,109,255,0.08);
  border: 1px solid rgba(155,109,255,0.15);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 12px;
}
.al-countdown-unit { text-align: center; }
.al-countdown-num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  display: block;
  min-width: 44px;
}
.al-countdown-label { font-size: 9px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; display: block; }
.al-countdown-sep { font-size: 22px; font-weight: 700; color: var(--text3); padding-bottom: 14px; }
.al-bid-row { display: flex; gap: 8px; }
.al-bid-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}
.al-bid-input:focus { border-color: var(--purple); }

/* =============================================
   RENTAL CARDS
============================================= */
.al-rental-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.al-rental-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.al-rental-img {
  height: 160px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text3);
  position: relative;
  overflow: hidden;
}
.al-rental-img img { width: 100%; height: 100%; object-fit: cover; }
.al-rental-body { padding: 16px; }
.al-rental-type-row { display: flex; gap: 5px; margin-bottom: 12px; flex-wrap: wrap; }
.al-rental-type-btn {
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text3);
  background: transparent;
  transition: var(--transition);
}
.al-rental-type-btn:hover { border-color: var(--blue); color: var(--blue); }
.al-rental-type-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.al-price-units { display: flex; gap: 8px; margin-bottom: 10px; }
.al-price-unit {
  text-align: center;
  padding: 8px 12px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.al-price-unit .pu-amount { font-size: 15px; font-weight: 700; color: var(--blue); line-height: 1; }
.al-price-unit .pu-label { font-size: 9px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.al-avail-header { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.al-avail-calendar { display: flex; gap: 3px; flex-wrap: wrap; }
.al-avail-day {
  width: 22px; height: 22px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.al-avail-day.free { background: rgba(61,214,140,0.15); color: var(--green); }
.al-avail-day.booked { background: rgba(232,82,82,0.15); color: var(--red); }

/* =============================================
   DEALER CARDS
============================================= */
.al-dealers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.al-dealer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.al-dealer-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.al-dealer-header { display: flex; align-items: center; gap: 12px; }
.al-dealer-logo {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.al-dealer-logo img { width: 100%; height: 100%; object-fit: cover; }
.al-dealer-name { font-weight: 700; font-size: 14.5px; color: var(--text); margin-bottom: 3px; }
.al-dealer-sub {
  font-size: 11.5px;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 4px;
}
.al-dealer-verified { color: var(--blue); }
.al-dealer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.al-d-stat {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 9px 6px;
  text-align: center;
  border: 1px solid var(--border);
}
.al-d-stat-num { font-weight: 700; font-size: 15px; color: var(--text); }
.al-d-stat-label { font-size: 10px; color: var(--text3); }

/* =============================================
   LISTING DETAIL PAGE
============================================= */
.al-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}
.al-detail-gallery {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.al-gallery-main {
  height: 380px;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  color: var(--text3);
  position: relative;
  overflow: hidden;
}
.al-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.al-gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: var(--bg2);
  overflow-x: auto;
}
.al-gallery-thumbs::-webkit-scrollbar { display: none; }
.al-thumb {
  width: 72px; height: 56px;
  background: var(--bg3);
  border-radius: 6px;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text3);
  overflow: hidden;
  transition: var(--transition);
}
.al-thumb img { width: 100%; height: 100%; object-fit: cover; }
.al-thumb.active, .al-thumb:hover { border-color: var(--accent); }
.al-detail-price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 84px;
}
.al-detail-price { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.al-price-note-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.al-negotiable { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--green); font-weight: 500; }
.al-contact-actions { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.al-seller-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.al-seller-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.al-seller-avatar img { width: 100%; height: 100%; object-fit: cover; }
.al-ai-price-box {
  background: rgba(155,109,255,0.07);
  border: 1px solid rgba(155,109,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}
.al-ai-price-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.al-ai-price-bar { height: 4px; background: var(--bg3); border-radius: 99px; margin-top: 8px; overflow: hidden; }
.al-ai-price-fill { height: 100%; background: linear-gradient(90deg, var(--purple), var(--blue)); border-radius: 99px; }
.al-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.al-spec-item { background: var(--bg3); border-radius: var(--radius-sm); padding: 11px 14px; border: 1px solid var(--border); }
.al-spec-key { font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.al-spec-val { font-size: 14px; font-weight: 600; color: var(--text); }

/* =============================================
   POST AD FORM
============================================= */
.al-post-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.al-form-section { padding: 24px; border-bottom: 1px solid var(--border); }
.al-form-section:last-child { border-bottom: none; }
.al-form-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}
.al-form-section-title .section-icon { color: var(--accent); font-size: 18px; }
.al-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.al-form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.al-form-field { display: flex; flex-direction: column; gap: 6px; }
.al-form-field label { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.al-form-field input, .al-form-field select, .al-form-field textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.al-form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.al-form-field textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.al-form-field input:focus, .al-form-field select:focus, .al-form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.08);
}
.al-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.al-toggle-row:last-child { border-bottom: none; }
.al-toggle-label { font-size: 13.5px; color: var(--text); font-weight: 500; }
.al-toggle-sub { font-size: 11.5px; color: var(--text3); margin-top: 2px; }
.al-toggle {
  width: 42px; height: 24px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.al-toggle.on { background: var(--accent); border-color: var(--accent); }
.al-toggle-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 2px;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.al-toggle.on .al-toggle-thumb { left: 20px; }
.al-img-upload-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.al-img-slot {
  aspect-ratio: 1;
  background: var(--bg3);
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text3);
  cursor: pointer;
  transition: var(--transition);
  gap: 4px;
}
.al-img-slot:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,184,75,0.04); }
.al-img-slot span { font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.al-img-slot.filled { border-style: solid; border-color: var(--border); position: relative; overflow: hidden; }
.al-img-slot.filled img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.al-ai-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(155,109,255,0.1);
  border: 1px solid rgba(155,109,255,0.3);
  border-radius: var(--radius-sm);
  color: var(--purple);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.al-ai-generate-btn:hover { background: rgba(155,109,255,0.18); }
.al-ownership-entry {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 10px;
}
.al-ownership-label { font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.al-add-owner-btn {
  width: 100%;
  background: transparent;
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text3);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}
.al-add-owner-btn:hover { border-color: var(--accent); color: var(--accent); }
.al-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  gap: 12px;
}
.al-ai-price-suggestion {
  background: rgba(155,109,255,0.07);
  border: 1px solid rgba(155,109,255,0.2);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 12px;
}
.al-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(155,109,255,0.1);
  border: 1px solid rgba(155,109,255,0.25);
  border-radius: 99px;
  padding: 2px 9px;
  font-size: 10px;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: 0.3px;
}

/* =============================================
   ADMIN DASHBOARD
============================================= */
.al-admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 68px);
}
.al-admin-sidebar {
  background: var(--bg2);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}
.al-admin-logo {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  padding: 0 10px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.al-admin-menu-section {
  font-size: 9px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 10px 10px 6px;
}
.al-admin-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text3);
  transition: var(--transition);
  margin-bottom: 1px;
  text-decoration: none;
}
.al-admin-menu-item:hover { background: rgba(232,184,75,0.08); color: var(--text); }
.al-admin-menu-item.active { background: rgba(232,184,75,0.12); color: var(--accent); }
.al-admin-menu-item .menu-icon { font-size: 17px; flex-shrink: 0; }
.al-admin-badge {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
}
.al-admin-content { padding: 24px; background: var(--bg); overflow-y: auto; }
.al-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.al-metric-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.al-metric-label { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-weight: 600; }
.al-metric-num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); margin-bottom: 5px; line-height: 1; }
.al-metric-change { font-size: 11.5px; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.al-metric-change.up { color: var(--green); }
.al-metric-change.down { color: var(--red); }
.al-admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.al-admin-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.al-admin-card-title { font-size: 13.5px; font-weight: 700; color: var(--text); }
.al-admin-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.al-admin-table th {
  text-align: left;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text3);
  font-weight: 600;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg2);
}
.al-admin-table td { padding: 10px 18px; border-bottom: 1px solid var(--border); color: var(--text2); vertical-align: middle; }
.al-admin-table tr:last-child td { border-bottom: none; }
.al-admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.al-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
}
.al-status-active { background: rgba(61,214,140,0.12); color: var(--green); }
.al-status-pending { background: rgba(232,184,75,0.12); color: var(--accent); }
.al-status-rejected { background: rgba(232,82,82,0.12); color: var(--red); }
.al-status-draft { background: rgba(90,96,112,0.15); color: var(--text3); }
.al-action-btns { display: flex; gap: 5px; align-items: center; }
.al-action-btn {
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.al-action-approve { background: rgba(61,214,140,0.12); color: var(--green); }
.al-action-approve:hover { background: rgba(61,214,140,0.22); }
.al-action-reject { background: rgba(232,82,82,0.12); color: var(--red); }
.al-action-reject:hover { background: rgba(232,82,82,0.22); }
.al-action-view { background: rgba(74,158,255,0.12); color: var(--blue); }
.al-action-view:hover { background: rgba(74,158,255,0.22); }

/* =============================================
   DEALER PORTAL
============================================= */
.al-portal-header {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.al-portal-dealer-info { display: flex; gap: 16px; align-items: center; }
.al-portal-logo {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.al-portal-logo img { width: 100%; height: 100%; object-fit: cover; }
.al-portal-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 8px; }
.al-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(232,184,75,0.1);
  border: 1px solid rgba(232,184,75,0.25);
  border-radius: 99px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 5px;
}
.al-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.al-analytics-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.al-analytics-label { font-size: 11px; color: var(--text3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.al-analytics-num { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 5px; }
.al-analytics-trend { font-size: 11.5px; font-weight: 600; }
.al-trend-up { color: var(--green); }
.al-trend-down { color: var(--red); }

/* =============================================
   OTP MODAL
============================================= */
.al-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.al-modal-overlay.open { opacity: 1; visibility: visible; }
.al-modal {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.2s ease;
  box-shadow: var(--shadow);
}
.al-modal-overlay.open .al-modal { transform: translateY(0); }
.al-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text3);
  font-size: 16px;
  transition: var(--transition);
}
.al-modal-close:hover { color: var(--text); background: var(--bg4); }
.al-modal-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.al-modal-sub { color: var(--text2); font-size: 13.5px; margin-bottom: 22px; line-height: 1.5; }
.al-phone-row { display: flex; gap: 8px; margin-bottom: 14px; }
.al-country-code {
  width: 72px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  color: var(--text);
  font-size: 13px;
  text-align: center;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.al-phone-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition);
}
.al-phone-input:focus, .al-country-code:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,184,75,0.08);
}
.al-otp-inputs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.al-otp-input {
  width: 48px; height: 54px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  outline: none;
  font-family: var(--font-head);
  transition: var(--transition);
  caret-color: var(--accent);
}
.al-otp-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232,184,75,0.1); }
.al-otp-resend { text-align: center; font-size: 12.5px; color: var(--text3); margin-top: 12px; }
.al-otp-resend a { color: var(--accent); cursor: pointer; font-weight: 600; }

/* =============================================
   DISTRICT GRID
============================================= */
.al-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 7px;
}
.al-district-item {
  padding: 8px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text2);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  display: block;
}
.al-district-item:hover { border-color: var(--accent); color: var(--accent); background: rgba(232,184,75,0.04); }

/* =============================================
   WHATSAPP FLOAT BUTTON
============================================= */
.al-wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  z-index: 500;
  border: none;
  font-size: 26px;
  color: #fff;
  transition: var(--transition);
  text-decoration: none;
}
.al-wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* =============================================
   FOOTER
============================================= */
.al-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 56px;
}
.al-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.al-footer-brand { max-width: 280px; }
.al-footer-logo { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.al-footer-logo span { color: var(--accent); }
.al-footer-desc { font-size: 13px; color: var(--text3); line-height: 1.65; margin-bottom: 16px; }
.al-footer-socials { display: flex; gap: 8px; }
.al-social-btn {
  width: 36px; height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.al-social-btn:hover { color: var(--accent); border-color: rgba(232,184,75,0.4); }
.al-footer-col-title { font-weight: 700; font-size: 13px; color: var(--text); margin-bottom: 14px; letter-spacing: 0.3px; }
.al-footer-links { display: flex; flex-direction: column; gap: 8px; }
.al-footer-link { font-size: 13px; color: var(--text3); text-decoration: none; transition: var(--transition); cursor: pointer; }
.al-footer-link:hover { color: var(--accent); }
.al-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.al-footer-copy { font-size: 12px; color: var(--text3); }
.al-footer-bottom-links { display: flex; gap: 16px; }
.al-footer-bottom-link { font-size: 12px; color: var(--text3); text-decoration: none; transition: var(--transition); }
.al-footer-bottom-link:hover { color: var(--text2); }

/* =============================================
   UTILITY & HELPERS
============================================= */
.al-divider { height: 1px; background: var(--border); margin: 20px 0; }
.al-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 11.5px;
  color: var(--text2);
}
.al-glow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px var(--green);
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}
.al-section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 0 52px;
}
.al-empty-state { text-align: center; padding: 60px 24px; color: var(--text3); }
.al-empty-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.al-loading { display: flex; align-items: center; justify-content: center; padding: 40px; }
.al-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.al-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text3);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.al-breadcrumb a { color: var(--blue); text-decoration: none; transition: var(--transition); }
.al-breadcrumb a:hover { color: var(--accent); }
.al-breadcrumb-sep { color: var(--text3); font-size: 12px; }
.al-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: 13px;
  margin-bottom: 16px;
}
.al-alert-info { background: rgba(74,158,255,0.08); border-color: rgba(74,158,255,0.2); color: var(--blue); }
.al-alert-success { background: rgba(61,214,140,0.08); border-color: rgba(61,214,140,0.2); color: var(--green); }
.al-alert-warning { background: rgba(232,184,75,0.08); border-color: rgba(232,184,75,0.2); color: var(--accent); }
.al-alert-danger { background: rgba(232,82,82,0.08); border-color: rgba(232,82,82,0.2); color: var(--red); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
  .al-trust-grid { grid-template-columns: repeat(3, 1fr); }
  .al-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .al-detail-layout { grid-template-columns: 1fr; }
  .al-detail-price-card { position: static; }
  .al-footer-grid { grid-template-columns: 1fr 1fr; }
  .al-admin-layout { grid-template-columns: 180px 1fr; }
}
@media (max-width: 800px) {
  .al-nav-links { display: none; }
  .al-search-grid { grid-template-columns: 1fr 1fr; }
  .al-search-grid > :last-child { grid-column: 1 / -1; }
  .al-hero h1 { font-size: 32px; }
  .al-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .al-vehicles-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
  .al-form-grid, .al-form-grid-3 { grid-template-columns: 1fr; }
  .al-metrics-grid { grid-template-columns: 1fr 1fr; }
  .al-footer-grid { grid-template-columns: 1fr; }
  .al-admin-layout { grid-template-columns: 1fr; }
  .al-admin-sidebar { display: none; }
  .al-img-upload-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .al-container { padding: 0 16px; }
  .al-hero { padding: 36px 0 32px; }
  .al-vehicles-grid { grid-template-columns: 1fr; }
  .al-search-grid { grid-template-columns: 1fr; }
  .al-hero-stats { gap: 20px; }
  .al-metrics-grid { grid-template-columns: 1fr; }
}

/* =============================================
   WORDPRESS NATIVE OVERRIDES
============================================= */
.wp-block-image { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =============================================
   TOGGLE SWITCHES
============================================= */
.al-checkbox-toggle {
    width: 52px; height: 28px;
    background: var(--bg3); border: 2px solid var(--border);
    border-radius: 99px; cursor: pointer;
    position: relative; transition: background .25s ease, border-color .25s ease;
    display: inline-flex; align-items: center;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.al-checkbox-toggle .al-toggle-thumb {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--text3);
    transition: transform .25s cubic-bezier(.4,.0,.2,1), background .25s ease;
    position: absolute; left: 2px; top: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.al-checkbox-toggle.on {
    background: var(--accent); border-color: var(--accent);
}
.al-checkbox-toggle.on .al-toggle-thumb {
    background: #0a0c0f;
    transform: translateX(24px);
}

/* =============================================
   POST FORM — MOBILE FIXES
============================================= */
@media(max-width:600px){
  .al-form-grid { grid-template-columns: 1fr !important; }
  #listingTypeGrid { grid-template-columns: 1fr 1fr !important; }
  #financeGrid { grid-template-columns: 1fr !important; }
  #auctionFieldsWrap .al-form-grid { grid-template-columns: 1fr 1fr !important; }
  .al-phone-row { flex-direction: row !important; }
}

/* =============================================
   AUCTION BID PANEL — MOBILE
============================================= */
@media(max-width:768px){
  [style*="grid-template-columns:1.6fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}


/* =============================================
   MOBILE — INLINE GRID OVERRIDES
============================================= */
@media (max-width: 800px) {
  /* Category 8-column → 4-column */
  [style*="grid-template-columns:repeat(8,1fr)"] {
    grid-template-columns: repeat(4,1fr) !important;
  }
  /* 3-column features → 1-column */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Auction 3-col → 1-col */
  [style*="grid-template-columns:repeat(3,1fr)"] + * {
    grid-template-columns: 1fr !important;
  }
  /* Dealer CTA 2-col → 1-col */
  [style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  /* Browse layout */
  .al-browse-layout { grid-template-columns: 1fr !important; }
  .al-browse-sidebar { display: none; }
  #alFilterToggleBar { display: block !important; }
}
@media (max-width: 520px) {
  [style*="grid-template-columns:repeat(8,1fr)"] {
    grid-template-columns: repeat(4,1fr) !important;
    gap: 6px !important;
  }
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* =============================================
   LIVE DOT ANIMATION
============================================= */
@keyframes al-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* =============================================
   FIX: al-section-alt background
============================================= */
.al-section-alt { background: var(--bg2); }
.al-section { padding: 52px 0; }


/* =============================================
   HOMEPAGE — CATEGORY GRID
============================================= */
.al-cats-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.al-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  color: var(--text2);
}
.al-cat-card:hover {
  background: var(--bg3);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}
.al-cat-icon { font-size: 28px; line-height: 1; }
.al-cat-name { font-size: 12px; font-weight: 600; }

/* =============================================
   HOMEPAGE — AUCTION CARDS (compact)
============================================= */
.al-auctions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.al-auction-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  display: block;
}
.al-auction-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.al-auction-img {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg3);
  position: relative;
}
.al-auction-img img { width: 100%; height: 100%; object-fit: cover; }
.al-auction-body { padding: 14px; }
.al-auction-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; }

/* =============================================
   HOMEPAGE — WHY AUTOLANKA FEATURES GRID
============================================= */
.al-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.al-feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--transition);
}
.al-feature-card:hover { border-color: var(--accent); }
.al-feature-title { font-size: 15px; font-weight: 700; margin: 10px 0 6px; font-family: var(--font-head); }
.al-feature-desc { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* =============================================
   HOMEPAGE — DEALER CTA
============================================= */
.al-dealer-cta {
  background: linear-gradient(135deg, var(--card), var(--bg2));
  border: 1px solid rgba(232,184,75,.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.al-dealer-cta-title {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.al-dealer-cta-title span { color: var(--accent); }
.al-dealer-cta-sub { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.al-dealer-perks { display: flex; flex-direction: column; gap: 7px; }
.al-dealer-perk { font-size: 13px; color: var(--text2); display: flex; align-items: center; gap: 8px; }
.al-dealer-cta-btns { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
.al-btn-accent {
  background: var(--accent);
  color: #0a0c0f;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.al-btn-accent:hover { background: var(--accent2); }

/* =============================================
   TRUST BAR
============================================= */
.al-trust-bar {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.al-trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.al-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.al-trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(232,184,75,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
.al-trust-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.al-trust-text span { font-size: 11px; color: var(--text3); }

/* =============================================
   LIVE PILL & SECTION HEADERS
============================================= */
.al-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,82,82,.12);
  border: 1px solid rgba(232,82,82,.25);
  border-radius: 99px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #e85252;
  flex-shrink: 0;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #e85252;
  animation: al-blink 1.2s infinite;
  display: inline-block; flex-shrink: 0;
}
@keyframes al-blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.al-auction-link .live-dot { background: var(--accent); }

/* =============================================
   HOMEPAGE SECTIONS
============================================= */
.al-section { padding: 52px 0; }
.al-section-alt { background: var(--bg2); }
.al-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 12px;
}
.al-section-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.al-section-title span { color: var(--accent); }
.al-section-sub { font-size: 13px; color: var(--text3); margin-top: 3px; }

/* =============================================
   HERO STATS
============================================= */
.al-hero-stats { display: flex; gap: 32px; margin-bottom: 28px; flex-wrap: wrap; }
.al-stat-num { font-family: var(--font-head); font-size: 26px; font-weight: 800; line-height: 1; }
.al-stat-label { font-size: 12px; color: var(--text3); margin-top: 3px; }

/* =============================================
   EMPTY STATE
============================================= */
.al-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
}
.al-empty-icon {
  font-size: 48px;
  color: var(--border2);
  margin-bottom: 16px;
}

/* =============================================
   MOBILE RESPONSIVE — HOMEPAGE
============================================= */
@media (max-width: 1100px) {
  .al-cats-grid { grid-template-columns: repeat(4, 1fr); }
  .al-features-grid { grid-template-columns: repeat(2, 1fr); }
  .al-dealer-cta { grid-template-columns: 1fr; }
  .al-dealer-cta-btns { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 800px) {
  .al-cats-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .al-cat-card { padding: 14px 8px; }
  .al-cat-icon { font-size: 22px; }
  .al-cat-name { font-size: 11px; }
  .al-auctions-grid { grid-template-columns: 1fr; }
  .al-features-grid { grid-template-columns: 1fr; }
  .al-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .al-section { padding: 36px 0; }
  .al-dealer-cta { padding: 28px 20px; }
  .al-section-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .al-cats-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .al-cat-card { padding: 12px 6px; }
  .al-hero-stats { gap: 16px; }
  .al-trust-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

/* =============================================
   MOBILE NAV BUTTON
============================================= */
@media (max-width: 800px) {
  #alMobileMenuBtn { display: flex !important; }
  .al-nav-right .al-lang-switcher { display: none; }
}

/* =============================================
   BROWSE VEHICLES — FILTERS RESPONSIVE
============================================= */
@media (max-width: 800px) {
  .al-browse-layout { grid-template-columns: 1fr !important; }
  .al-browse-sidebar { display: none; }
  .al-browse-sidebar.open { display: block; }
}

/* =============================================
   AUCTION — CURRENT BID FIX (show 0 as ---)
============================================= */
.al-bid-zero { color: var(--text3) !important; font-size: 14px !important; font-weight: 500 !important; }

/* =============================================
   PRICE NEGOTIABLE TOGGLE FIX
============================================= */
.al-checkbox-toggle {
  width: 44px; height: 26px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  transition: .2s;
  flex-shrink: 0;
  display: inline-block;
}
.al-checkbox-toggle.on { background: var(--accent); border-color: var(--accent); }
.al-checkbox-toggle .al-toggle-thumb {
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.al-checkbox-toggle.on .al-toggle-thumb { left: 20px; }

/* =============================================
   FILTER COUNT FIX — show real count styling
============================================= */
.al-filter-count-0 { color: var(--text3); }
.al-filter-count-pos { color: var(--accent); font-weight: 600; }

/* =============================================
   BRAND BAR
============================================= */
.al-brand-bar {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 2px 0 8px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.al-brand-bar::-webkit-scrollbar { display: none; }
.al-brand-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 72px; padding: 12px 6px 10px;
    text-decoration: none; color: var(--text2); flex-shrink: 0;
}
.al-brand-item:hover .al-brand-logo,
.al-brand-item:active .al-brand-logo {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 12px rgba(232,184,75,.15);
}
.al-brand-logo {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--card); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 14px; font-weight: 800;
    color: var(--text2); letter-spacing: -.5px;
    transition: border-color .15s, color .15s, box-shadow .15s;
}
.al-brand-name {
    font-size: 10px; font-weight: 600; text-align: center;
    white-space: nowrap; color: var(--text3);
}
.al-brand-item:hover .al-brand-name { color: var(--text); }

/* =============================================
   MOBILE — HIDE HERO, START WITH SEARCH
============================================= */
@media (max-width: 768px) {
    .al-hero-desktop-only { display: none !important; }
    .al-hero { padding-top: 12px !important; padding-bottom: 12px !important; min-height: auto !important; }
    .al-search-box { margin-top: 0 !important; }
    .al-trust-bar { display: none !important; }
}

/* =============================================
   PHOTO UPLOAD — DELETE BUTTON
============================================= */
.al-img-slot-wrap {
    position: relative;
}
.al-img-delete {
    position: absolute; top: -6px; right: -6px; z-index: 2;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--red); color: #fff; border: 2px solid var(--bg);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    transition: transform .15s;
}
.al-img-delete:hover { transform: scale(1.15); }

/* POST FORM — MOBILE */
@media(max-width:600px){
  .al-form-grid { grid-template-columns: 1fr !important; }
  #listingTypeGrid { grid-template-columns: repeat(2, 1fr) !important; gap: 6px !important; }
  #listingTypeGrid .al-listing-type-card { padding: 12px 6px !important; }
  #listingTypeGrid .al-listing-type-card i { font-size: 18px !important; }
  #listingTypeGrid .al-listing-type-card div:nth-child(2) { font-size: 11px !important; }
  #listingTypeGrid .al-listing-type-card div:last-child { display: none; }
  #financeGrid { grid-template-columns: 1fr !important; }
  #auctionFieldsWrap .al-form-grid { grid-template-columns: 1fr 1fr !important; }
}
/* =============================================
   INTERACTIVE CALENDAR
============================================= */
.al-cal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.al-cal-title { font-family:var(--font-head); font-size:15px; font-weight:700; }
.al-cal-nav { background:var(--bg3); border:1px solid var(--border); border-radius:8px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; color:var(--text2); cursor:pointer; font-size:16px; }
.al-cal-nav:hover { border-color:var(--accent); color:var(--accent); }
.al-cal-days { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.al-cal-label { text-align:center; font-size:10px; font-weight:700; color:var(--text3); text-transform:uppercase; padding:4px 0; }
.al-cal-empty { }
.al-cal-day { text-align:center; padding:8px 2px; border-radius:8px; font-size:13px; font-weight:500; cursor:pointer; transition:all .15s; border:1px solid transparent; }
.al-cal-day.available { color:var(--text); background:rgba(61,214,140,.08); border-color:rgba(61,214,140,.2); }
.al-cal-day.available:hover { background:rgba(61,214,140,.2); border-color:var(--green); }
.al-cal-day.blocked { color:var(--red); background:rgba(232,82,82,.08); border-color:rgba(232,82,82,.15); text-decoration:line-through; cursor:pointer; }
.al-cal-day.selected { color:#0a0c0f; background:var(--accent); border-color:var(--accent); font-weight:700; }
.al-cal-day.past { color:var(--text3); opacity:.4; cursor:default; }
.al-cal-legend { display:flex; align-items:center; gap:14px; margin-top:10px; font-size:11px; color:var(--text3); flex-wrap:wrap; }
.al-cal-dot { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:4px; vertical-align:middle; }
.al-cal-dot.available { background:rgba(61,214,140,.3); }
.al-cal-dot.blocked { background:rgba(232,82,82,.3); }
.al-cal-dot.selected { background:var(--accent); }
.al-cal-hint { font-style:italic; }

/* =============================================
   MAKE AN OFFER
============================================= */
.al-offer-card { background:var(--card); border:1px solid var(--border); border-radius:14px; padding:20px; }
.al-offer-header { font-family:var(--font-head); font-size:15px; font-weight:700; display:flex; align-items:center; gap:8px; margin-bottom:16px; }
.al-offer-amount { font-family:var(--font-head); font-size:clamp(22px,5vw,28px); font-weight:800; text-align:center; color:var(--accent); margin-bottom:2px; white-space:nowrap; }
.al-offer-pct { text-align:center; font-size:12px; color:var(--text3); margin-bottom:16px; }
.al-offer-slider-wrap { margin-bottom:16px; }
.al-offer-slider { -webkit-appearance:none; appearance:none; width:100%; height:8px; border-radius:99px; background:linear-gradient(90deg, var(--accent) 0%, var(--bg3) 100%); outline:none; cursor:pointer; touch-action:none; }
.al-offer-slider::-webkit-slider-thumb { -webkit-appearance:none; appearance:none; width:32px; height:32px; border-radius:50%; background:var(--accent); border:4px solid var(--bg); cursor:grab; box-shadow:0 2px 12px rgba(232,184,75,.4); transition: box-shadow .15s; }
.al-offer-slider::-webkit-slider-thumb:active { box-shadow:0 2px 20px rgba(232,184,75,.6); cursor:grabbing; }
.al-offer-slider::-moz-range-thumb { width:32px; height:32px; border-radius:50%; background:var(--accent); border:4px solid var(--bg); cursor:grab; box-shadow:0 2px 12px rgba(232,184,75,.4); }
.al-offer-slider::-moz-range-track { height:8px; border-radius:99px; background:var(--bg3); }
.al-offer-range { display:flex; justify-content:space-between; font-size:11px; color:var(--text3); margin-top:6px; }
.al-offer-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; background:#25D366; color:#fff; border:none; border-radius:10px; padding:13px; font-weight:700; font-size:14px; cursor:pointer; transition:opacity .15s; }
.al-offer-btn:hover { opacity:.9; }
.al-offer-note { text-align:center; font-size:11px; color:var(--text3); margin-top:10px; }

/* =============================================
   BRAND BAR
============================================= */
.al-brand-bar {
    display: flex; gap: 10px; overflow-x: auto;
    padding: 2px 0 8px; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.al-brand-bar::-webkit-scrollbar { display: none; }
.al-brand-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 72px; padding: 12px 6px 10px;
    text-decoration: none; color: var(--text2); flex-shrink: 0;
    transition: all .15s;
}
.al-brand-item:hover .al-brand-logo,
.al-brand-item:active .al-brand-logo {
    border-color: var(--accent); color: var(--accent);
    box-shadow: 0 0 12px rgba(232,184,75,.15);
}
.al-brand-logo {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--card); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-head); font-size: 14px; font-weight: 800;
    color: var(--text2); letter-spacing: -.5px;
    transition: border-color .15s, color .15s, box-shadow .15s;
}
.al-brand-name {
    font-size: 10px; font-weight: 600; text-align: center;
    white-space: nowrap; color: var(--text3);
}
.al-brand-item:hover .al-brand-name { color: var(--text); }

/* =============================================
   MOBILE — HIDE HERO TEXT, START WITH SEARCH
============================================= */
@media (max-width: 768px) {
    .al-hero-text-block { display: none !important; }
    .al-hero-stats { display: none !important; }
    .al-hero { padding-top: 16px !important; padding-bottom: 16px !important; }
    .al-search-box { margin-top: 0 !important; }
}

/* =============================================
   TAXI GRID — MOBILE HORIZONTAL SCROLL
============================================= */
@media(max-width:768px) {
  .al-taxi-grid {
    display: flex !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .al-taxi-grid::-webkit-scrollbar { display: none; }
  .al-taxi-grid > a, .al-taxi-grid > div {
    min-width: 220px !important;
    flex-shrink: 0 !important;
    scroll-snap-align: start;
  }
  /* Fix date input on mobile */
  input[type="date"], input[type="time"] {
    -webkit-appearance: none;
    min-height: 42px;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
  /* Fix search grid on mobile for taxi tab */
  #alSearchTaxi .al-search-grid {
    grid-template-columns: 1fr !important;
  }
}

/* VEHICLE/AUCTION DETAIL — MOBILE */
@media(max-width:768px){
  [style*="grid-template-columns:1.6fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

