/*
Theme Name: RAOUF SHOWROOM
Theme URI: https://example.com/
Author: Raouf
Description: Car dealership showroom theme (French / Arabic, RTL-ready), built to be edited with Elementor. Vehicles custom post type with an "Ask for details" WhatsApp CTA on every car card, the shop page and the car page.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: raouf-showroom
Tags: custom-logo, rtl-language-support, translation-ready, featured-images, e-commerce
*/

/* ============================================================
   RAOUF SHOWROOM — Design system
   Dark automotive palette · mobile-first · RTL-ready (logical props)
   ============================================================ */
:root {
  --bg: #0b0d10;
  --bg-2: #12151a;
  --bg-3: #191d24;
  --surface: #161a20;
  --surface-2: #1e232b;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f3f4f6;
  --text-2: #b4bac4;
  --text-3: #7d8590;
  --accent: #e8a33c;          /* warm amber-gold */
  --accent-2: #f5c26b;
  --accent-ink: #14100a;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5a;
  --success: #3ccf7a;
  --danger: #ef5a5a;
  --warning: #f1b34c;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --container: 1200px;
  --header-h: 68px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-ar: 'Cairo', 'Tajawal', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.lang-ar { font-family: var(--font-ar); letter-spacing: 0; }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 { letter-spacing: 0; }
body.menu-open, body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
body.lang-ar .eyebrow { letter-spacing: 0; font-size: 13px; }
.section-title { font-size: clamp(28px, 4.2vw, 42px); }
.section-sub { color: var(--text-2); font-size: clamp(15px, 1.6vw, 18px); max-width: 620px; margin-top: 12px; }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin-inline: auto; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.muted { color: var(--text-2); }
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap; line-height: 1.2; min-height: 48px;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(232, 163, 60, .25); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 10px 30px rgba(232, 163, 60, .35); transform: translateY(-1px); }
.btn-whatsapp { background: var(--whatsapp); color: #062b14; box-shadow: 0 8px 24px rgba(37, 211, 102, .22); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-dark:hover { border-color: var(--border-2); }
.btn-danger { background: rgba(239, 90, 90, .12); color: #ff8a8a; border-color: rgba(239, 90, 90, .3); }
.btn-danger:hover { background: rgba(239, 90, 90, .22); }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 17px 30px; font-size: 16px; min-height: 56px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.btn i { font-size: 1.05em; }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(3px); }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 13, 16, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(11, 13, 16, .9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #c47f1c); color: var(--accent-ink); display: grid; place-items: center; font-size: 17px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font); }
.brand-name { font-weight: 800; letter-spacing: .08em; font-size: 16px; }
.brand-sub { font-weight: 500; letter-spacing: .22em; font-size: 9.5px; color: var(--text-2); margin-top: 3px; }
.main-nav { display: none; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 999px; color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-link.active { color: var(--text); background: rgba(255, 255, 255, .07); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-wa, .header-cta { display: none; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid var(--border-2); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.lang-btn { background: transparent; border: 0; color: var(--text-2); font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 999px; transition: all .2s; min-height: 32px; }
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--accent); color: var(--accent-ink); }
.lang-sep { color: var(--text-3); font-size: 12px; }
.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); background: transparent; padding: 0 12px; }
.menu-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px 20px 40px; overflow-y: auto; z-index: 99; animation: fadeUp .25s var(--ease); }
.mobile-nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav .nav-link { font-size: 20px; padding: 14px 16px; font-weight: 600; border-radius: 12px; }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; }
.mobile-lang { display: flex; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.mobile-lang .lang-btn { flex: 1; border: 1px solid var(--border-2); padding: 12px; font-size: 15px; }
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .header-wa, .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 13, 16, .35) 0%, rgba(11, 13, 16, .55) 40%, rgba(11, 13, 16, .95) 100%),
  linear-gradient(90deg, rgba(11, 13, 16, .85) 0%, rgba(11, 13, 16, .3) 60%, rgba(11, 13, 16, .1) 100%); }
[dir="rtl"] .hero-bg::after { background:
  linear-gradient(180deg, rgba(11, 13, 16, .35) 0%, rgba(11, 13, 16, .55) 40%, rgba(11, 13, 16, .95) 100%),
  linear-gradient(-90deg, rgba(11, 13, 16, .85) 0%, rgba(11, 13, 16, .3) 60%, rgba(11, 13, 16, .1) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 80px 60px; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 22px; }
.hero-badge i { color: var(--accent); }
.hero-title { font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(16px, 1.8vw, 20px); color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stat { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.hero-stat i { color: var(--accent); font-size: 16px; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; } }
@media (min-width: 1024px) { .hero { min-height: 640px; max-height: 860px; } .hero-content { padding-block: 100px; } }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-alt { background: var(--bg-2); }
.section-tight { padding-block: 40px; }
@media (min-width: 768px) { .section { padding-block: 96px; } .section-tight { padding-block: 56px; } }

/* ---------- Vehicle grid & cards ---------- */
.vehicle-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vehicle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .vehicle-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.vehicle-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.vehicle-card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.vehicle-card-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--bg-3); display: block; }
.vehicle-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vehicle-card:hover .vehicle-card-media img { transform: scale(1.05); }
.vehicle-card-media::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(11, 13, 16, .5)); pointer-events: none; }
.vehicle-card-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(6px); }
body.lang-ar .badge { letter-spacing: 0; font-size: 12.5px; }
.badge-featured { background: var(--accent); color: var(--accent-ink); }
.badge-new { background: rgba(60, 207, 122, .9); color: #062b14; }
.badge-reserve { background: rgba(241, 179, 76, .92); color: #2b1c05; }
.badge-vendu { background: rgba(239, 90, 90, .92); color: #fff; }
.badge-disponible { background: rgba(60, 207, 122, .9); color: #062b14; }
.badge-year { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgba(11, 13, 16, .7); color: var(--text); border: 1px solid var(--border-2); z-index: 1; }
.vehicle-card-body { padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.vehicle-brand { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
body.lang-ar .vehicle-brand { letter-spacing: 0; font-size: 13px; }
.vehicle-title { font-size: 19px; margin-top: 4px; }
.vehicle-title a:hover { color: var(--accent-2); }
.vehicle-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; color: var(--text-2); font-size: 13.5px; }
.vehicle-specs li { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vehicle-specs i { color: var(--text-3); width: 14px; text-align: center; font-size: 12px; }
.vehicle-card-footer { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vehicle-price { display: flex; flex-direction: column; gap: 3px; }
.price-value { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.availability-dot { font-size: 12px; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.availability-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
.availability-dot.avail-reserve::before { background: var(--warning); }
.availability-dot.avail-vendu::before { background: var(--danger); }
.vehicle-card.is-sold .vehicle-card-media img { filter: grayscale(.6) brightness(.75); }
.vehicle-card.is-sold .price-value { text-decoration: line-through; color: var(--text-3); }

/* ---------- Feature / value cards ---------- */
.feature-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } .feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px; transition: border-color .3s, transform .3s var(--ease); }
.feature-card:hover { border-color: rgba(232, 163, 60, .35); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(232, 163, 60, .12); color: var(--accent); display: grid; place-items: center; font-size: 20px; margin-bottom: 18px; }
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 28px 24px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num { font-size: 44px; font-weight: 800; color: rgba(232, 163, 60, .18); line-height: 1; margin-bottom: 14px; font-family: var(--font); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ---------- CTA banners ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px 24px; background: linear-gradient(135deg, #1a1d24 0%, #0f1115 100%); border: 1px solid var(--border); text-align: center; }
.cta-banner::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 163, 60, .28), transparent 65%); top: -200px; inset-inline-end: -140px; pointer-events: none; }
.cta-banner h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 12px; position: relative; }
.cta-banner p { color: var(--text-2); max-width: 560px; margin-inline: auto; margin-bottom: 26px; position: relative; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; position: relative; }
@media (min-width: 560px) { .cta-actions { flex-direction: row; } .cta-banner { padding: 60px 40px; } }
.cta-banner.accent { background: linear-gradient(135deg, var(--accent) 0%, #c9841f 100%); color: var(--accent-ink); border: 0; }
.cta-banner.accent p { color: rgba(20, 16, 10, .78); }
.cta-banner.accent::before { background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); }
.cta-banner.accent .btn-outline { color: var(--accent-ink); border-color: rgba(20, 16, 10, .35); }
.cta-banner.accent .btn-outline:hover { background: rgba(20, 16, 10, .1); color: var(--accent-ink); }
.cta-banner.accent .btn-primary { background: var(--bg); color: var(--text); box-shadow: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: 48px 32px; background: radial-gradient(ellipse at top, rgba(232, 163, 60, .08), transparent 60%), var(--bg); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 48px); }
.page-hero .section-sub { margin-top: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 10px; }
[dir="rtl"] .breadcrumb i { transform: scaleX(-1); }
@media (min-width: 768px) { .page-hero { padding-block: 64px 44px; } }

/* ---------- Inventory: filters ---------- */
.inventory-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .inventory-layout { grid-template-columns: 290px 1fr; gap: 32px; align-items: start; } }
.filters-toggle { display: flex; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }
.filters-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
@media (max-width: 1023px) {
  .filters-panel { position: fixed; inset: 0; z-index: 200; border-radius: 0; overflow-y: auto; padding: 20px 20px 110px; transform: translateY(100%); transition: transform .3s var(--ease); background: var(--bg); }
  .filters-panel.open { transform: translateY(0); }
  .filters-footer { position: fixed; bottom: 0; inset-inline: 0; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--border); display: flex; gap: 10px; z-index: 201; }
}
@media (min-width: 1024px) { .filters-panel { position: sticky; top: calc(var(--header-h) + 20px); } .filters-footer { display: flex; gap: 10px; margin-top: 16px; } .filters-close { display: none; } }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.filters-head h2 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.filters-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: transparent; color: var(--text); }
.filter-group { margin-bottom: 16px; }
.filter-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
body.lang-ar .filter-group label { letter-spacing: 0; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inventory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.results-count { color: var(--text-2); font-size: 14.5px; font-weight: 500; }
.sort-wrap { display: flex; align-items: center; gap: 8px; }
.sort-wrap label { color: var(--text-3); font-size: 13px; white-space: nowrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); font-size: 13px; color: var(--text-2); }
.chip button { background: none; border: 0; color: var(--text-3); padding: 0; display: grid; place-items: center; }
.chip button:hover { color: var(--danger); }
.empty-state { text-align: center; padding: 64px 20px; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius-lg); }
.empty-state i { font-size: 40px; color: var(--text-3); margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; margin-bottom: 8px; }
.empty-state p { color: var(--text-2); max-width: 440px; margin-inline: auto; margin-bottom: 20px; }

/* ---------- Inputs ---------- */
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="date"], input[type="url"], input[type="password"], input[type="datetime-local"], select, textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--text);
  padding: 13px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(232, 163, 60, .18); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
textarea { resize: vertical; min-height: 96px; }
select { 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 fill='%23b4bac4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-inline-end: 38px; }
[dir="rtl"] select { background-position: left 14px center; }
input[type="date"] { color-scheme: dark; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }

/* ---------- Lead form ---------- */
.lead-form .form-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .lead-form .form-grid { grid-template-columns: 1fr 1fr; } .form-field-full { grid-column: 1 / -1; } }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: var(--danger); }
.form-field.has-error::after { content: attr(data-error); display: block; color: var(--danger); font-size: 12px; margin-top: 5px; }
.form-static { padding: 12px 14px; background: rgba(232, 163, 60, .08); border: 1px solid rgba(232, 163, 60, .25); border-radius: var(--radius-sm); color: var(--accent-2); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.form-actions { margin-top: 18px; }
.form-error { color: var(--danger); font-size: 14px; margin-top: 12px; text-align: center; }
.form-success { text-align: center; padding: 28px 12px; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(60, 207, 122, .15); color: var(--success); display: grid; place-items: center; font-size: 26px; margin: 0 auto 18px; }
.form-success h3 { font-size: 22px; margin-bottom: 6px; }
.form-success p { color: var(--text-2); margin-bottom: 20px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-card-head { margin-bottom: 20px; }
.form-card-head h2, .form-card-head h3 { font-size: 22px; margin-bottom: 6px; }
.form-card-head p { color: var(--text-2); font-size: 14.5px; margin: 0; }

/* ---------- Vehicle detail ---------- */
.detail-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; } .detail-side { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery { position: relative; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; cursor: zoom-in; }
.gallery-main img.fade { opacity: 0; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 13, 16, .65); border: 1px solid var(--border-2); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .2s; }
.gallery-nav:hover { background: var(--accent); color: var(--accent-ink); }
.gallery-prev { inset-inline-start: 12px; }
.gallery-next { inset-inline-end: 12px; }
[dir="rtl"] .gallery-nav i { transform: scaleX(-1); }
.gallery-counter { position: absolute; bottom: 12px; inset-inline-end: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(11, 13, 16, .7); font-size: 12px; font-weight: 600; border: 1px solid var(--border-2); direction: ltr; }
.gallery-badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 auto; width: 88px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-3); scroll-snap-align: start; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumbs button.active { opacity: 1; border-color: var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .gallery-thumbs button { width: 110px; } }
.detail-head { margin-block: 24px 20px; }
.detail-head .vehicle-brand { font-size: 13px; }
.detail-title { font-size: clamp(26px, 3.6vw, 38px); margin-top: 6px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.meta-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-2); }
.meta-pill i { color: var(--accent); font-size: 12px; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .specs-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.spec-item .spec-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
body.lang-ar .spec-item .spec-label { letter-spacing: 0; }
.spec-item .spec-label i { color: var(--accent); }
.spec-item .spec-value { font-weight: 600; font-size: 15px; }
.detail-section { margin-top: 36px; }
.detail-section h2 { font-size: 22px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.detail-section h2::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.description-body { color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.description-body p:last-child { margin: 0; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.price-card .price-label { font-size: 12.5px; color: var(--text-3); text-transform: uppercase; letter-spacing: .08em; }
body.lang-ar .price-card .price-label { letter-spacing: 0; }
.price-card .price-big { font-size: clamp(30px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 4px 0 4px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.price-card .price-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.price-status.avail-disponible { color: var(--success); }
.price-status.avail-reserve { color: var(--warning); }
.price-status.avail-vendu { color: var(--danger); }
.price-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.price-card .cta-stack { display: flex; flex-direction: column; gap: 10px; }
.price-card .cta-note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--text-3); font-size: 13px; margin-top: 16px; }
.price-card .cta-note a { color: var(--text-2); font-weight: 600; direction: ltr; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.notice i { margin-top: 3px; }
.notice-warning { background: rgba(241, 179, 76, .1); border: 1px solid rgba(241, 179, 76, .3); color: #f5cd84; }
.notice-danger { background: rgba(239, 90, 90, .1); border: 1px solid rgba(239, 90, 90, .3); color: #ff9a9a; }
.notice-info { background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--text-2); }
.demo-notice { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 16px; }
.share-row { display: flex; gap: 8px; margin-top: 14px; }
.share-row .btn { flex: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s; }
.lightbox.show { opacity: 1; }
.lightbox img { max-width: 96vw; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox .gallery-nav { position: absolute; }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 0; color: #fff; font-size: 18px; }

/* Mobile bottom CTA bar on detail/landing */
.mobile-cta-bar { position: fixed; bottom: 0; inset-inline: 0; z-index: 90; background: rgba(11, 13, 16, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--border); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-cta-bar.show { transform: translateY(0); }
.mobile-cta-bar .btn { min-height: 50px; padding-inline: 12px; font-size: 14px; }
@media (min-width: 1024px) { .mobile-cta-bar { display: none; } }
body.has-cta-bar { padding-bottom: 84px; }
@media (min-width: 1024px) { body.has-cta-bar { padding-bottom: 0; } }
body.has-cta-bar .sticky-wa { bottom: 90px; }
@media (min-width: 1024px) { body.has-cta-bar .sticky-wa { bottom: 24px; } }

/* ---------- Sticky WhatsApp ---------- */
.sticky-wa { position: fixed; bottom: 20px; inset-inline-end: 16px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: bottom .3s; }
.sticky-wa-btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--whatsapp); color: #062b14; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px rgba(37, 211, 102, .4); transition: transform .2s var(--ease), background .2s; }
[dir="rtl"] .sticky-wa-btn { padding: 0 16px 0 20px; }
.sticky-wa-btn i { font-size: 26px; }
.sticky-wa-btn:hover { transform: translateY(-2px) scale(1.02); background: var(--whatsapp-dark); }
.sticky-wa-btn::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: pulse 2.4s infinite; pointer-events: none; }
.sticky-wa-btn { position: relative; }
.sticky-call { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); display: grid; place-items: center; font-size: 17px; box-shadow: var(--shadow); }
@media (min-width: 1024px) { .sticky-call { display: none; } .sticky-wa { bottom: 24px; inset-inline-end: 24px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
body.menu-open .sticky-wa, body.modal-open .sticky-wa { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #080a0d; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-block: 56px 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; } }
.footer-tagline { color: var(--text-2); margin-top: 18px; max-width: 320px; font-size: 14.5px; }
.social-links { display: flex; gap: 10px; margin-top: 6px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--text-2); transition: all .2s; }
.social-links a:hover { border-color: var(--accent); color: var(--accent); }
.footer-title { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: 18px; }
body.lang-ar .footer-title { letter-spacing: 0; font-size: 15px; }
.footer-links li { margin-bottom: 10px; color: var(--text-2); font-size: 14.5px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 4px; width: 16px; text-align: center; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: 14.5px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.footer-hours li span:last-child { direction: ltr; }
.footer-bottom { border-top: 1px solid var(--border); padding-block: 20px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--text-3); font-size: 13px; }
.footer-admin { display: inline-flex; gap: 6px; align-items: center; color: var(--text-3); }
.footer-admin:hover { color: var(--text-2); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; padding: 0; }
.modal-backdrop.show { opacity: 1; }
.modal { position: relative; background: var(--surface); border: 1px solid var(--border-2); width: 100%; max-width: 640px; max-height: 92vh; overflow-y: auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 28px 22px 30px; transform: translateY(24px); transition: transform .25s var(--ease); }
.modal-backdrop.show .modal { transform: translateY(0); }
@media (min-width: 640px) { .modal-backdrop { align-items: center; padding: 20px; } .modal { border-radius: var(--radius-lg); padding: 36px; } }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-2); background: transparent; color: var(--text); display: grid; place-items: center; font-size: 16px; }
.modal-head { margin-bottom: 20px; padding-inline-end: 44px; }
.modal-head h2 { font-size: 24px; margin-bottom: 6px; }
.modal-head p { color: var(--text-2); margin: 0; font-size: 14.5px; }

/* ---------- Toast ---------- */
.toast-host { position: fixed; top: 16px; inset-inline: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 500; pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--text); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { border-color: rgba(60, 207, 122, .4); }
.toast-error { border-color: rgba(239, 90, 90, .4); }

/* ---------- About / contact misc ---------- */
.split { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; position: relative; border: 1px solid var(--border); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11, 13, 16, .6)); }
.lead-text { font-size: clamp(17px, 1.9vw, 20px); color: var(--text-2); line-height: 1.7; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; color: var(--text-2); }
.check-list i { color: var(--success); margin-top: 5px; }
.contact-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card .feature-icon { margin: 0; width: 46px; height: 46px; font-size: 18px; flex-shrink: 0; }
.contact-card h3 { font-size: 15px; color: var(--text-3); font-weight: 600; margin-bottom: 4px; }
.contact-card p, .contact-card a { color: var(--text); font-weight: 500; margin: 0; }
.contact-card a:hover { color: var(--accent); }
.contact-card .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--bg-3); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }
.wa-card { background: linear-gradient(135deg, rgba(37, 211, 102, .14), rgba(37, 211, 102, .04)); border: 1px solid rgba(37, 211, 102, .3); border-radius: var(--radius-lg); padding: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.wa-card h3 { font-size: 19px; margin-bottom: 4px; }
.wa-card p { color: var(--text-2); margin: 0; }
.wa-card .wa-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--whatsapp); color: #062b14; display: grid; place-items: center; font-size: 28px; flex-shrink: 0; }
.wa-card-text { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 240px; }

/* ---------- Landing page ---------- */
body.landing .site-header .main-nav, body.landing .header-cta { display: none !important; }
.landing-hero { position: relative; overflow: hidden; background: var(--bg); }
.landing-hero-bg { position: absolute; inset: 0; }
.landing-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) brightness(.4) saturate(1.2); transform: scale(1.2); }
.landing-hero-inner { position: relative; padding-block: 32px 40px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .landing-hero-inner { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; padding-block: 56px 64px; } }
.landing-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(60, 207, 122, .15); border: 1px solid rgba(60, 207, 122, .4); color: #7ee2a6; font-weight: 700; font-size: 13px; margin-bottom: 16px; }
.landing-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.landing-title { font-size: clamp(30px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.03em; }
.landing-title span { color: var(--accent); }
.landing-price { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-block: 16px 20px; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.landing-price small { font-size: 14px; color: var(--text-3); font-weight: 500; display: block; letter-spacing: .08em; text-transform: uppercase; }
.landing-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.landing-actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 560px) { .landing-actions { flex-direction: row; } }
.landing-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: 15.5px; }
.landing-benefits li:last-child { border: 0; }
.landing-benefits i { color: var(--accent); margin-top: 4px; }
.landing-gallery-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.landing-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); cursor: zoom-in; }
.landing-gallery-grid img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 768px) { .landing-gallery-grid { grid-template-columns: repeat(3, 1fr); } .landing-gallery-grid img:first-child { grid-column: 1 / -1; } }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-content > * { animation: fadeUp .8s var(--ease) both; }
.hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-content > *:nth-child(5) { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-lg); }
.skeleton-card { height: 380px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.loading-row { text-align: center; color: var(--text-3); padding: 40px; }

/* Utility */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.flex { display: flex; } .items-center { align-items: center; } .gap-2 { gap: 12px; } .wrap { flex-wrap: wrap; } .justify-between { justify-content: space-between; }

/* ============================================================
   WORDPRESS / ELEMENTOR ADDITIONS
   ============================================================ */

/* WordPress core helpers */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed; top: 8px; inset-inline-start: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; }
.alignleft { float: left; margin: 0 20px 12px 0; } .alignright { float: right; margin: 0 0 12px 20px; } .aligncenter { display: block; margin-inline: auto; }
.text-center { text-align: center; }
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); } }

/* Brand logo (Appearance > Customize > Site Identity) */
.brand-logo { max-height: 44px; width: auto; }
a.lang-btn { display: inline-flex; align-items: center; }

/* Vehicle card: whole card opens the car page, buttons stay clickable */
.vehicle-card { position: relative; }
.vehicle-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.vehicle-card-footer .btn, .vehicle-card-wa { position: relative; z-index: 2; }
.vehicle-card-wa { margin-top: -2px; }
.vehicle-card.is-sold .vehicle-card-wa { opacity: .85; }
.vehicle-grid.cols-2 { }
@media (min-width: 1024px) {
  .vehicle-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .vehicle-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.inventory-layout .vehicle-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

/* Shop pagination */
.navigation.pagination { margin-top: 36px; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.navigation.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font-weight: 600; font-size: 14px; }
.navigation.pagination .page-numbers.current, .navigation.pagination a.page-numbers:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
[dir="rtl"] .navigation.pagination .fa-chevron-left, [dir="rtl"] .navigation.pagination .fa-chevron-right { transform: scaleX(-1); }
.filters-footer .btn { flex: 1; }

/* Spam trap in lead forms */
.rs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Page content typography (regular pages / posts) */
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content img { border-radius: var(--radius); }
.entry-content h2, .entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; list-style: revert; }
.description-body { color: var(--text-2); line-height: 1.8; }
.description-body > * + * { margin-top: 1em; }

/* Elementor: make the design system work inside Elementor sections */
.elementor-widget-html .hero, .elementor-widget-html .section, .elementor-widget-html .page-hero { width: 100%; }
.elementor-section .elementor-widget-html, .elementor-section .elementor-widget-shortcode { width: 100%; }
.rs-wa-wrap { width: 100%; }
/* editor preview never runs the scroll-reveal observer */
.elementor-editor-active .reveal { opacity: 1 !important; transform: none !important; }
