@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Tajawal:wght@400;500;700;800;900&display=swap");
:root {
  --ink: #121b24;
  --muted: #68727d;
  --paper: #f4f1ea;
  --card: #fff;
  --line: #dcd9d1;
  --red: #e34828;
  --red2: #bd331a;
  --navy: #162738;
  --sand: #ddd4c3;
  --green: #2b765b;
  --radius: 18px;
  --shadow: 0 16px 45px rgba(20, 28, 35, 0.1);
}

.about-editor textarea {
  min-height: 120px;
  resize: vertical;
}
.about-section-editor {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin: 8px 0;
}
.about-section-editor legend {
  padding: 0 8px;
  font-weight: 800;
  color: var(--red);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.topbar {
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container,
.nav,
.nav-actions,
.hero-actions,
.filter-row,
.card-meta,
.card-footer,
.section-head,
.modal-actions,
.stat-top,
.admin-top,
.tabs {
  display: flex;
  align-items: center;
}
.topbar .container {
  justify-content: space-between;
}
.nav {
  height: 82px;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 20px Manrope;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  transform: skew(-7deg);
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a,
.ghost-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.nav-actions {
  gap: 12px;
}
.btn {
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: white;
  padding: 13px 20px;
  font-weight: 700;
  transition: 0.2s;
}
.btn:hover {
  background: var(--red2);
  transform: translateY(-1px);
}
.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.dark {
  background: var(--navy);
}
.btn.small {
  padding: 8px 12px;
  font-size: 13px;
}
.hero {
  min-height: 600px;
  position: relative;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(8, 18, 28, 0.92) 0%,
      rgba(8, 18, 28, 0.66) 48%,
      rgba(8, 18, 28, 0.18) 100%
    ),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2000&q=90")
      center/cover;
}
.hero .container {
  padding-top: 92px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  color: #ff7b61;
}
.hero h1 {
  font: 800 clamp(42px, 6vw, 76px) / 0.98 Manrope;
  margin: 18px 0 22px;
  max-width: 760px;
  letter-spacing: -0.05em;
}
.hero p {
  font-size: 18px;
  line-height: 1.65;
  color: #d9e0e5;
  max-width: 610px;
}
.hero-actions {
  gap: 12px;
  margin-top: 32px;
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  max-width: 620px;
  margin-top: 65px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
}
.trust div {
  padding: 17px;
  background: rgba(14, 27, 39, 0.7);
}
.trust b {
  display: block;
  font: 700 20px Manrope;
}
.trust span {
  color: #aebbc5;
  font-size: 12px;
}
.showroom {
  padding: 80px 0;
}
.section-head {
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-head h2,
.why h2 {
  font: 800 36px Manrope;
  margin: 0;
  letter-spacing: -0.04em;
}
.section-head p {
  color: var(--muted);
  margin: 8px 0 0;
}
.filters {
  background: white;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(20, 28, 35, 0.07);
  margin-bottom: 30px;
}
.filter-row {
  gap: 10px;
}
.search {
  flex: 1;
  position: relative;
}
.search input,
.filters select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
}
.search input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227, 72, 40, 0.12);
}
.filters select {
  width: 170px;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.listing-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 7px 25px rgba(25, 32, 40, 0.07);
  transition: 0.25s;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card-image {
  height: 220px;
  background: #ccd2d4 center/cover;
  position: relative;
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.badge.available {
  color: var(--green);
}
.badge.reserved {
  color: #a76500;
}
.badge.sold {
  color: #9c2e2e;
}
.card-body {
  padding: 20px;
}
.card-kicker {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.card-body h3 {
  font: 700 19px/1.3 Manrope;
  margin: 7px 0 14px;
}
.card-meta {
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ece9e2;
  flex-wrap: wrap;
}
.card-footer {
  justify-content: space-between;
  padding-top: 16px;
}
.price {
  font: 800 23px Manrope;
}
.price small {
  font: 500 11px DM Sans;
  color: var(--muted);
}
.text-btn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-weight: 800;
}
.why {
  background: var(--navy);
  color: white;
  padding: 75px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.why-copy p {
  color: #b9c4ce;
  line-height: 1.7;
}
.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benefit {
  padding: 23px;
  background: #20364a;
  border: 1px solid #2d455a;
  border-radius: 16px;
}
.benefit .icon {
  color: #ff765a;
  font-size: 24px;
}
.benefit h3 {
  font: 700 16px Manrope;
  margin: 10px 0 6px;
}
.benefit p {
  font-size: 13px;
  color: #adbac4;
  margin: 0;
  line-height: 1.5;
}
.cta {
  padding: 65px 0;
}
.cta-box {
  padding: 42px;
  border-radius: 22px;
  background: var(--red);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-box h2 {
  font: 800 30px Manrope;
  margin: 0 0 8px;
}
.cta-box p {
  margin: 0;
  color: #ffd8d0;
}
.cta-box .btn {
  background: #fff;
  color: var(--ink);
}
footer {
  background: #0e1923;
  color: #9eabb5;
  padding: 35px 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 21, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}
.modal.open {
  display: flex;
}
.dialog {
  background: white;
  width: min(780px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 20px;
  padding: 28px;
  position: relative;
}
.close {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: transparent;
  font-size: 25px;
}
.dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dialog-image {
  min-height: 300px;
  border-radius: 14px;
  background: #ddd center/cover;
}
.dialog h2 {
  font: 800 28px Manrope;
  margin: 8px 0;
}
.dialog p {
  color: var(--muted);
  line-height: 1.6;
}
.field {
  margin-bottom: 13px;
}
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 6px;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.notice {
  padding: 12px;
  border-radius: 10px;
  background: #edf7f2;
  color: var(--green);
  margin: 12px 0;
  display: none;
}
/* admin */
.admin-body {
  background: #eef0f2;
}
.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--navy);
  padding: 26px 20px;
  color: #fff;
}
.sidebar .brand {
  color: #fff;
}
.sidebar nav {
  margin-top: 45px;
  display: grid;
  gap: 7px;
}
.sidebar button {
  border: 0;
  background: transparent;
  color: #9fb0be;
  padding: 13px;
  text-align: left;
  border-radius: 10px;
  font-weight: 600;
}
.sidebar button.active,
.sidebar button:hover {
  background: #263c50;
  color: #fff;
}
.admin-main {
  padding: 28px 34px;
}
.admin-top {
  justify-content: space-between;
  margin-bottom: 30px;
}
.admin-top h1 {
  font: 800 30px Manrope;
  margin: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
}
.stat-top {
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
.stat b {
  display: block;
  font: 800 31px Manrope;
  margin-top: 10px;
}
.panel {
  background: #fff;
  border-radius: 16px;
  margin-top: 22px;
  padding: 22px;
  overflow: auto;
}
.panel h2 {
  font: 700 20px Manrope;
  margin: 0 0 18px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
td {
  padding: 12px 10px;
  border-bottom: 1px solid #eceef0;
}
.tabs {
  gap: 8px;
}
.tab {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 14px;
  border-radius: 9px;
  font-weight: 600;
}
.tab.active {
  background: var(--navy);
  color: #fff;
}
.admin-view {
  display: none;
}
.admin-view.active {
  display: block;
}
.login-screen {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--navy);
  display: grid;
  place-items: center;
}
.login-screen[hidden] {
  display: none;
}
.login-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  width: min(400px, calc(100% - 30px));
}
.login-card h1 {
  font: 800 28px Manrope;
}
.login-card .btn {
  width: 100%;
}
.hidden {
  display: none !important;
}
@media (max-width: 850px) {
  .nav-links {
    display: none;
  }
  .hero {
    min-height: 640px;
  }
  .listing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 14px 20px;
  }
  .sidebar nav {
    margin-top: 15px;
    display: flex;
    overflow: auto;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .dialog-grid {
    grid-template-columns: 1fr;
  }
  .dialog-image {
    min-height: 220px;
  }
}
@media (max-width: 570px) {
  .container {
    width: min(100% - 24px, 1180px);
  }
  .topbar {
    display: none;
  }
  .nav {
    height: 68px;
  }
  .nav .btn {
    display: none;
  }
  .hero .container {
    padding-top: 70px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .trust {
    grid-template-columns: 1fr;
    margin-top: 45px;
  }
  .listing-grid {
    grid-template-columns: 1fr;
  }
  .filter-row {
    align-items: stretch;
    flex-direction: column;
  }
  .filters select {
    width: 100%;
  }
  .section-head {
    align-items: flex-start;
    gap: 15px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .cta-box {
    display: block;
  }
  .cta-box .btn {
    margin-top: 20px;
  }
  .admin-main {
    padding: 20px 14px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-top {
    align-items: flex-start;
    gap: 15px;
  }
  .split {
    grid-template-columns: 1fr;
  }
}

/* ASC × Isuzu showroom identity */
:root {
  --ink: #111;
  --muted: #666;
  --paper: #f5f5f3;
  --card: #fff;
  --line: #dedede;
  --red: #d71920;
  --red2: #b30f15;
  --navy: #151515;
  --radius: 2px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.11);
}
body {
  background: var(--paper);
  letter-spacing: 0.005em;
}
.container {
  width: min(1240px, calc(100% - 64px));
}
.topbar {
  background: #111;
  padding: 8px 0;
  font-size: 10px;
  letter-spacing: 0.13em;
}
.nav {
  height: 98px;
}
.brand {
  gap: 18px;
}
.brand img {
  width: 112px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  background: #fff;
}
.isuzu-word {
  font:
    900 27px/1 Manrope,
    sans-serif;
  letter-spacing: 0.08em;
  color: var(--red);
  border-left: 1px solid #ddd;
  padding-left: 18px;
}
.sidebar .brand img {
  width: 88px;
  height: 46px;
}
.sidebar .isuzu-word {
  font-size: 18px;
  color: #fff;
  border-color: #555;
}
.nav-links {
  gap: 42px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.btn {
  border-radius: 0;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 15px 22px;
}
.hero {
  height: 650px;
  min-height: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2200&q=92")
      center 48% / cover;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.65));
}
.hero-inner {
  position: relative;
  padding-top: 118px !important;
}
.eyebrow {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.19em;
}
.hero h1 {
  font-size: clamp(52px, 6.5vw, 88px);
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 21px 0 25px;
}
.hero h1 span {
  color: white;
}
.hero p {
  max-width: 570px;
  font-size: 17px;
}
.hero .secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.hero-index {
  position: absolute;
  right: 6%;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.hero-index span {
  color: var(--red);
  font-weight: 800;
}
.hero-index i {
  display: block;
  width: 80px;
  height: 1px;
  background: #fff;
}
.model-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.model-strip .container {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  align-items: stretch;
}
.model-strip span,
.model-strip a {
  padding: 23px 24px;
  border-right: 1px solid var(--line);
}
.model-strip span {
  padding-left: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #777;
  display: flex;
  align-items: center;
}
.model-strip a {
  color: #111;
  text-decoration: none;
  font: 800 15px Manrope;
}
.model-strip small {
  display: block;
  color: #888;
  font: 400 11px DM Sans;
  margin-top: 4px;
}
.showroom {
  padding: 92px 0;
}
.section-head h2,
.why h2,
.about h2 {
  font-size: 42px;
}
.filters {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--line);
  padding: 10px;
}
.search input,
.filters select,
.field input,
.field select,
.field textarea {
  border-radius: 0;
  background: #fff;
}
.listing-card {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--line);
}
.card-image {
  height: 235px;
}
.badge {
  border-radius: 0;
}
.card-kicker {
  letter-spacing: 0.14em;
}
.text-btn {
  font-size: 12px;
}
.why {
  background: #101010;
  padding: 100px 0;
}
.why-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 100px;
}
.why-copy p {
  max-width: 470px;
}
.arrow-link {
  display: inline-block;
  color: #fff;
  margin-top: 25px;
  text-decoration: none;
  border-bottom: 1px solid var(--red);
  padding-bottom: 7px;
}
.benefit {
  border-radius: 0;
  background: #191919;
  border-color: #333;
  padding: 28px;
}
.benefit .icon {
  font: 700 12px Manrope;
  color: var(--red);
  letter-spacing: 0.12em;
}
.about {
  padding: 100px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}
.about h2 {
  font: 800 42px Manrope;
  margin: 10px 0 0;
  letter-spacing: -0.04em;
}
.about p {
  font-size: 18px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}
.cta {
  padding: 0;
  background: #fff;
}
.cta .container {
  width: 100%;
  max-width: none;
}
.cta-box {
  border-radius: 0;
  padding: 64px max(32px, calc((100vw - 1240px) / 2));
  background: var(--red);
}
.cta-box > div > span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.cta-box h2 {
  font-size: 38px;
  margin-top: 10px;
}
.cta-box .btn {
  background: #111;
  color: #fff;
  white-space: nowrap;
}
footer {
  background: #0d0d0d;
  padding: 52px 0;
}
footer .container {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
}
footer b {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
footer span {
  font-size: 12px;
  line-height: 2;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 90px;
  height: 48px;
  object-fit: cover;
}
.footer-brand span {
  font: 900 23px Manrope;
  color: var(--red);
  letter-spacing: 0.06em;
}
.dialog {
  border-radius: 0;
}
.admin-body .sidebar {
  background: #111;
}
@media (max-width: 850px) {
  .container {
    width: min(100% - 32px, 1240px);
  }
  .nav {
    height: 80px;
  }
  .brand img {
    width: 86px;
    height: 45px;
  }
  .isuzu-word {
    font-size: 20px;
  }
  .hero {
    height: 610px;
  }
  .model-strip .container {
    grid-template-columns: 1fr 1fr;
  }
  .model-strip span {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
  }
  .why-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  footer .container {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 570px) {
  .container {
    width: min(100% - 24px, 1240px);
  }
  .brand img {
    width: 75px;
    height: 40px;
  }
  .isuzu-word {
    font-size: 17px;
    padding-left: 12px;
  }
  .hero {
    height: 590px;
  }
  .hero-inner {
    padding-top: 90px !important;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-index {
    display: none;
  }
  .model-strip .container {
    grid-template-columns: 1fr;
  }
  .model-strip span {
    grid-column: auto;
  }
  .model-strip a {
    border-bottom: 1px solid var(--line);
  }
  .section-head h2,
  .why h2,
  .about h2 {
    font-size: 34px;
  }
  .about {
    padding: 70px 0;
  }
  .cta-box {
    padding: 45px 24px;
  }
  footer .container {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    margin-bottom: 16px;
  }
}

/* Arabic localization */
html[dir="rtl"] body {
  font-family: "Tajawal", "DM Sans", sans-serif;
  text-align: right;
}
html[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.18)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2200&q=92")
      center 48% / cover;
}
html[dir="rtl"] .brand .isuzu-word {
  border-left: 0;
  border-right: 1px solid #ddd;
  padding-left: 0;
  padding-right: 18px;
}
html[dir="rtl"] .sidebar .brand .isuzu-word {
  border-right-color: #555;
}
html[dir="rtl"] .model-strip span {
  padding-left: 24px;
  padding-right: 0;
}
html[dir="rtl"] th {
  text-align: right;
}
html[dir="rtl"] .sidebar button {
  text-align: right;
}
html[dir="rtl"] .close {
  right: auto;
  left: 18px;
}
html[dir="rtl"] .badge {
  left: auto;
  right: 14px;
}
.language-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  padding: 10px 13px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.03em;
  min-width: 72px;
}
.sidebar .language-toggle {
  background: transparent;
  color: #fff;
  border-color: #46515a;
  margin-top: 20px;
  width: 100%;
}
html[dir="ltr"] .brand .isuzu-word {
  border-left: 1px solid #ddd;
  padding-left: 18px;
  border-right: 0;
  padding-right: 0;
}
html[dir="ltr"] .sidebar button {
  text-align: left;
}
.contact-section {
  padding: 100px 0;
  background: #efefed;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}
.contact-copy h2 {
  font:
    800 42px/1.15 Manrope,
    "Tajawal",
    sans-serif;
  letter-spacing: -0.04em;
  margin: 12px 0 20px;
}
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 470px;
}
.contact-detail {
  display: grid;
  gap: 5px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid #ccc;
}
.contact-detail b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-detail span {
  color: var(--muted);
}
.contact-form {
  background: #fff;
  padding: 34px;
  border-top: 4px solid var(--red);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.07);
}
.contact-form .btn {
  width: 100%;
}
.contact-form .notice {
  margin-top: 0;
}
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-section {
    padding: 70px 0;
  }
}
.share-panel {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.share-panel strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 11px;
}
.share-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.share-actions button {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: #111;
  font-weight: 800;
  padding: 0 10px;
}
.share-actions button:hover {
  border-color: var(--red);
  color: var(--red);
}
.share-actions button span {
  font-size: 11px;
  margin-inline-start: 4px;
}
.share-feedback {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-top: 8px;
  min-height: 18px;
}
.cart-trigger,
.account-trigger {
  height: 40px;
  min-width: 42px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}
.cart-trigger span {
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
}
.add-cart {
  width: 100%;
  margin-top: 15px;
}
.store-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-end: -430px;
  width: min(420px, 92vw);
  z-index: 60;
  background: #fff;
  padding: 24px;
  transition: 0.28s;
  overflow: auto;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.22);
}
.store-drawer.open {
  inset-inline-end: 0;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 55;
  display: none;
}
.drawer-backdrop.open {
  display: block;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.drawer-head h2 {
  margin: 0;
  font:
    800 24px Manrope,
    "Tajawal";
}
.drawer-head button {
  border: 0;
  background: none;
  font-size: 25px;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 13px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img {
  width: 80px;
  height: 70px;
  object-fit: cover;
}
.cart-item span {
  display: block;
  color: var(--muted);
  margin-top: 5px;
}
.cart-item .remove {
  border: 0;
  background: none;
  font-size: 20px;
}
.qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
}
.qty button {
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  background: #fff;
}
.qty span {
  margin: 0;
  color: #111;
}
.cart-summary {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
}
.store-drawer > .btn {
  width: 100%;
}
.empty-cart {
  padding: 30px 5px;
  color: var(--muted);
  text-align: center;
}
.checkout-totals {
  display: grid;
  gap: 10px;
  background: #f4f4f2;
  padding: 18px;
  margin: 16px 0;
}
.checkout-totals span,
.checkout-totals strong {
  display: flex;
  justify-content: space-between;
}
.checkout-totals strong {
  padding-top: 10px;
  border-top: 1px solid #ccc;
}
.tracked-order {
  border: 1px solid var(--line);
  padding: 16px;
  margin-top: 14px;
}
.tracked-order > div {
  display: flex;
  justify-content: space-between;
}
.tracked-order span {
  color: var(--muted);
}
.tracked-order > strong {
  display: inline-block;
  color: var(--red);
  margin-top: 8px;
}
.ai-search {
  padding: 12px 15px;
  white-space: nowrap;
}
@media (max-width: 850px) {
  .nav-actions .account-trigger {
    display: none;
  }
  .cart-trigger {
    display: block;
  }
  .store-drawer {
    width: min(420px, 100vw);
  }
}
.discount-badge,
.new-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
}
.discount-badge {
  inset-inline-end: 14px;
  background: var(--red);
  color: #fff;
}
.new-badge {
  top: 52px;
  inset-inline-end: 14px;
  background: #111;
  color: #fff;
}
.product-rating {
  font-size: 12px;
  color: #666;
  margin-top: 14px;
}
.product-rating span {
  color: #e0a400;
}
.product-rating small {
  color: #999;
}
.price del {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  margin-inline-end: 7px;
}
.category-showcase {
  background: #fff;
  padding: 80px 0;
}
.category-showcase h2 {
  font:
    800 38px Manrope,
    "Tajawal";
  margin: 10px 0 28px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.category-grid button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  text-align: start;
  border: 0;
  background: #fff;
  padding: 25px;
}
.category-grid button:hover {
  background: #f7f7f5;
}
.category-grid b {
  font-size: 16px;
}
.category-grid span {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
}
.category-grid i {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--red);
  font-style: normal;
  align-self: center;
}
.review-box {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
}
.review-box summary {
  cursor: pointer;
  font-weight: 700;
}
.review-box input,
.review-box select,
.review-box textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  margin-top: 10px;
}
.review-box textarea {
  min-height: 70px;
}
.review-box .btn {
  margin-top: 8px;
}
.review-box > span {
  display: block;
  color: var(--green);
  font-size: 12px;
  margin-top: 7px;
}
@media (max-width: 700px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}
.region-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.region-form input {
  border: 1px solid var(--line);
  padding: 11px;
}
.region-form .btn {
  padding: 10px 15px;
}
@media (max-width: 750px) {
  .region-form {
    grid-template-columns: 1fr;
  }
}

/* Soft Modern redesign */
:root {
  --ink: #202321;
  --muted: #70746f;
  --paper: #f4f2ee;
  --card: #fffdfa;
  --line: #e5e0d8;
  --red: #d51f2a;
  --red2: #b81721;
  --navy: #26302d;
  --sand: #ded7cb;
  --green: #34715a;
  --radius: 20px;
  --shadow: 0 16px 45px rgba(31, 38, 34, 0.08);
}
body {
  background: var(--paper);
  letter-spacing: 0;
}
.container {
  width: min(1200px, calc(100% - 48px));
}
.topbar {
  background: #2d3532;
  color: #e8ebe7;
  letter-spacing: 0.07em;
}
.nav {
  height: 92px;
}
.brand img {
  width: 102px;
  height: 54px;
  border-radius: 12px;
}
.isuzu-word {
  font-size: 24px;
}
.nav-links {
  gap: 34px;
}
.nav-links a {
  font-size: 13px;
  color: #3c413d;
}
.nav-actions {
  gap: 9px;
}
.nav-actions > button,
.language-toggle {
  border-radius: 999px;
  background: #fffdfa;
}
.btn {
  border-radius: 999px;
  text-transform: none;
  letter-spacing: 0.01em;
  padding: 14px 22px;
  box-shadow: 0 6px 18px rgba(213, 31, 42, 0.16);
}
.btn.secondary {
  box-shadow: none;
}
.hero {
  width: min(1320px, calc(100% - 32px));
  height: 610px;
  margin: 0 auto;
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(21, 31, 28, 0.76), rgba(21, 31, 28, 0.12)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2200&q=92")
      center 48% / cover;
  box-shadow: 0 22px 60px rgba(24, 31, 28, 0.14);
}
html[dir="rtl"] .hero {
  background:
    linear-gradient(270deg, rgba(21, 31, 28, 0.76), rgba(21, 31, 28, 0.12)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=2200&q=92")
      center 48% / cover;
}
.hero-shade {
  background: linear-gradient(180deg, transparent 62%, rgba(17, 25, 22, 0.48));
}
.hero-inner {
  padding-top: 105px !important;
}
.hero h1 {
  font-size: clamp(50px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero p {
  font-size: 17px;
  color: #ecf0ed;
}
.hero .secondary {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-index {
  background: rgba(18, 26, 23, 0.42);
  backdrop-filter: blur(10px);
  padding: 10px 15px;
  border-radius: 999px;
}
.model-strip {
  background: transparent;
  border: 0;
  padding: 22px 0;
}
.model-strip .container {
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(31, 38, 34, 0.05);
}
.model-strip span,
.model-strip a {
  border-color: var(--line);
}
.model-strip a:hover {
  background: #f7f3ed;
}
.category-showcase {
  background: transparent;
  padding: 68px 0;
}
.category-showcase h2,
.section-head h2,
.why h2,
.about h2,
.contact-copy h2 {
  letter-spacing: -0.035em;
}
.category-grid {
  gap: 14px;
  background: transparent;
  border: 0;
}
.category-grid button {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffdfa;
  padding: 24px;
  box-shadow: 0 8px 25px rgba(31, 38, 34, 0.045);
  transition: 0.2s;
}
.category-grid button:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.showroom {
  padding: 76px 0 92px;
}
.filters {
  border: 0;
  border-radius: 18px;
  padding: 12px;
  background: #fffdfa;
  box-shadow: 0 8px 30px rgba(31, 38, 34, 0.06);
}
.search input,
.filters select,
.field input,
.field select,
.field textarea,
.region-form input,
.review-box input,
.review-box select,
.review-box textarea {
  border-radius: 12px;
  background: #faf8f4;
  border-color: var(--line);
}
.listing-grid {
  gap: 24px;
}
.listing-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fffdfa;
  box-shadow: 0 9px 30px rgba(31, 38, 34, 0.05);
}
.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(31, 38, 34, 0.11);
}
.card-image {
  height: 230px;
  border-radius: 20px 20px 0 0;
}
.badge,
.discount-badge,
.new-badge {
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}
.card-body {
  padding: 21px;
}
.card-footer {
  align-items: flex-end;
}
.text-btn {
  background: #f8ecec;
  border-radius: 999px;
  padding: 8px 12px;
}
.why {
  width: min(1320px, calc(100% - 32px));
  margin: auto;
  border-radius: 30px;
  background: #26302d;
  padding: 90px 0;
}
.benefit {
  border-radius: 18px;
  background: #303c38;
  border-color: #42504b;
}
.benefit .icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff12;
}
.about {
  margin-top: 34px;
  background: #fffdfa;
  border-radius: 30px 30px 0 0;
}
.cta {
  background: #fffdfa;
  padding: 0 24px 30px;
}
.cta .container {
  width: min(1200px, 100%);
}
.cta-box {
  border-radius: 24px;
  padding: 50px 56px;
  background: linear-gradient(135deg, #d51f2a, #b81721);
  box-shadow: 0 18px 45px rgba(213, 31, 42, 0.18);
}
.cta-box .btn {
  background: #fff;
  color: #222;
}
.contact-section {
  background: #f4f2ee;
}
.contact-form {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.contact-detail {
  border-color: #d9d3ca;
}
.dialog {
  border-radius: 24px;
  padding: 30px;
}
.dialog-image {
  border-radius: 17px;
}
.tab,
.share-actions button {
  border-radius: 999px;
}
.store-drawer {
  border-radius: 24px 0 0 24px;
}
.cart-item img {
  border-radius: 12px;
}
.checkout-totals,
.tracked-order {
  border-radius: 15px;
}
.admin-body {
  background: #f1f0ed;
}
.admin-body .sidebar {
  background: #26302d;
}
.sidebar {
  margin: 14px;
  border-radius: 22px;
  min-height: calc(100vh - 28px);
}
.sidebar button {
  border-radius: 12px;
}
.sidebar button.active,
.sidebar button:hover {
  background: #ffffff13;
}
.stat,
.panel,
.login-card {
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(31, 38, 34, 0.05);
}
@media (max-width: 850px) {
  .container {
    width: min(100% - 28px, 1200px);
  }
  .hero {
    width: calc(100% - 20px);
    height: 590px;
    border-radius: 24px;
  }
  .why {
    width: calc(100% - 20px);
    border-radius: 24px;
  }
  .sidebar {
    margin: 10px;
    min-height: auto;
  }
  .model-strip .container {
    border-radius: 18px;
  }
  .store-drawer {
    border-radius: 22px 0 0 22px;
  }
}
@media (max-width: 570px) {
  .nav {
    height: 74px;
  }
  .hero {
    height: 555px;
    border-radius: 20px;
  }
  .hero-inner {
    padding-top: 78px !important;
  }
  .hero h1 {
    font-size: 44px;
  }
  .model-strip {
    padding: 14px 0;
  }
  .model-strip .container {
    border-radius: 16px;
  }
  .listing-card {
    border-radius: 18px;
  }
  .card-image {
    border-radius: 17px 17px 0 0;
  }
  .why {
    padding: 65px 0;
  }
  .cta {
    padding-inline: 10px;
  }
  .cta-box {
    border-radius: 20px;
    padding: 38px 24px;
  }
  .dialog {
    border-radius: 20px;
    padding: 24px;
  }
  .contact-form {
    padding: 24px;
  }
  .store-drawer {
    border-radius: 0;
  }
}

/* Complete phone and tablet support */
@media (max-width: 850px) {
  .nav-actions > .btn,
  .nav-actions > .ghost-link {
    display: none;
  }
  .nav-actions {
    gap: 8px;
  }
  .modal-actions {
    flex-wrap: wrap;
  }
  .admin-top {
    flex-wrap: wrap;
  }
  .panel {
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar nav button {
    white-space: nowrap;
    min-height: 44px;
  }
}
@media (max-width: 570px) {
  body {
    overflow-x: hidden;
  }
  .container {
    width: calc(100% - 24px);
  }
  .nav {
    gap: 10px;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .brand img {
    width: 68px;
    height: 38px;
  }
  .isuzu-word {
    font-size: 15px;
    padding-inline-start: 10px !important;
  }
  .nav-actions {
    margin-inline-start: auto;
  }
  .language-toggle {
    min-width: 64px;
    padding: 9px 10px;
  }
  .cart-trigger {
    min-width: 40px;
  }
  .hero {
    height: auto;
    min-height: 520px;
  }
  .hero-inner {
    padding-top: 68px !important;
    padding-bottom: 90px;
  }
  .hero h1 {
    font-size: clamp(38px, 12vw, 46px);
    overflow-wrap: anywhere;
  }
  .hero p {
    font-size: 15px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
  .section-head {
    flex-direction: column;
  }
  .card-footer {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .card-footer .text-btn {
    width: 100%;
    min-height: 44px;
  }
  .why,
  .contact-section {
    padding-block: 58px;
  }
  .benefit {
    padding: 22px;
  }
  .about-grid {
    gap: 26px;
  }
  .cta-box h2 {
    font-size: 30px;
  }
  .contact-copy h2 {
    font-size: 34px;
  }
  .contact-form {
    padding: 20px;
  }
  .modal {
    padding: 8px;
    align-items: flex-end;
  }
  .dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 22px 22px 0 0;
    padding: 28px 18px 22px;
  }
  .dialog-grid {
    gap: 18px;
  }
  .dialog-image {
    min-height: 210px;
  }
  .modal-actions > .btn {
    flex: 1 1 100%;
    width: 100%;
  }
  .tabs {
    overflow-x: auto;
  }
  .tab {
    white-space: nowrap;
    min-height: 44px;
  }
  .store-drawer {
    padding: 20px 16px;
  }
  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }
  .cart-item img {
    width: 64px;
    height: 60px;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    margin: 0;
    border-radius: 0;
    padding: 14px 12px;
  }
  .sidebar .brand {
    justify-content: center;
  }
  .sidebar .language-toggle {
    margin: 12px 0 0;
  }
  .sidebar nav {
    margin-top: 10px;
    padding-bottom: 3px;
  }
  .admin-main {
    padding: 18px 10px;
  }
  .admin-top > div:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .stat b {
    font-size: 25px;
  }
  .panel {
    padding: 15px;
  }
  .panel table {
    min-width: 680px;
  }
  .region-form input,
  .region-form .btn {
    min-height: 44px;
  }
}
@media (max-width: 380px) {
  .isuzu-word {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 38px;
  }
}
.whatsapp-float {
  position: fixed;
  z-index: 50;
  inset-inline-end: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(20, 90, 50, 0.28);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(20, 90, 50, 0.34);
}
.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.whatsapp-float svg {
  width: 27px;
  height: 27px;
  flex: none;
}
html[dir="rtl"] .whatsapp-float {
  padding: 0 14px 0 18px;
}
@media (max-width: 570px) {
  .whatsapp-float {
    inset-inline-end: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0 !important;
    justify-content: center;
  }
  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .whatsapp-float svg {
    width: 29px;
    height: 29px;
  }
}
.product-gallery {
  min-width: 0;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding: 2px;
}
.gallery-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 58px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: center/cover no-repeat;
  opacity: 0.72;
}
.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--red);
}
@media (max-width: 570px) {
  .gallery-thumb {
    flex-basis: 66px;
    width: 66px;
    height: 52px;
  }
}
.brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}
.brochure-link:hover {
  border-color: var(--red);
  color: var(--red);
}
input[type="file"] {
  padding: 9px;
  background: #faf8f4;
}
#brochureCurrent {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.footer-link {
  display: inline-block;
  margin-top: 8px;
  color: #fff;
  text-underline-offset: 4px;
}
.legal-page {
  min-height: 100vh;
  background: #f4f2ee;
}
.legal-header {
  background: #fffdfa;
  border-bottom: 1px solid var(--line);
}
.legal-header .nav {
  height: 82px;
}
.legal-main {
  padding: 70px 0 100px;
}
.legal-hero {
  max-width: 820px;
  margin-bottom: 42px;
}
.legal-hero h1 {
  font:
    800 clamp(38px, 6vw, 64px) / 1.05 Manrope,
    "Tajawal";
  margin: 14px 0;
}
.legal-hero p {
  color: var(--muted);
  line-height: 1.8;
}
.terms-copy {
  max-width: 880px;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.terms-copy section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.terms-copy section:first-child {
  padding-top: 0;
}
.terms-copy section:last-child {
  padding-bottom: 0;
  border: 0;
}
.terms-copy h2 {
  font:
    800 21px Manrope,
    "Tajawal";
  margin: 0 0 10px;
}
.terms-copy p,
.terms-copy li {
  color: #5f645f;
  line-height: 1.85;
}
.terms-copy ul {
  padding-inline-start: 22px;
}
.legal-note {
  margin-top: 24px;
  padding: 16px 18px;
  border-inline-start: 4px solid var(--red);
  background: #fff4f3;
  color: #70413e;
}
.terms-copy[data-lang="en"] {
  display: none;
}
html[lang="en"] .terms-copy[data-lang="ar"] {
  display: none;
}
html[lang="en"] .terms-copy[data-lang="en"] {
  display: block;
}
@media (max-width: 570px) {
  .legal-header .nav {
    height: 72px;
  }
  .legal-main {
    padding: 42px 0 70px;
  }
  .terms-copy {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .terms-copy section {
    padding: 18px 0;
  }
  .legal-header .brand .isuzu-word {
    display: none;
  }
}
.contact-map {
  grid-column: 1/-1;
  background: #fffdfa;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}
.contact-map > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}
.contact-map > div > div {
  display: grid;
  gap: 5px;
}
.contact-map span {
  color: var(--muted);
}
@media (max-width: 570px) {
  .contact-map {
    border-radius: 18px;
  }
  .contact-map iframe {
    height: 300px;
  }
  .contact-map > div {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }
  .contact-map .btn {
    text-align: center;
    width: 100%;
  }
}
.footer-social {
  margin-top: 15px;
}
.footer-social > span {
  display: block;
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer-social > div {
  display: flex;
  gap: 7px;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #38413e;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font: 800 11px Manrope;
}
.footer-social a:hover {
  background: #fff;
  color: #202321;
  border-color: #fff;
}
.public-stats {
  padding: 0 0 72px;
  background: #fffdfa;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #f4f2ee;
  overflow: hidden;
}
.stats-grid article {
  padding: 34px 38px;
  border-inline-end: 1px solid var(--line);
}
.stats-grid article:last-child {
  border-inline-end: 0;
}
.stats-grid span {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stats-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--ink);
  font: 800 clamp(36px, 5vw, 58px) / 1 Manrope;
}
.stats-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 700px) {
  .public-stats {
    padding-bottom: 48px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid article {
    padding: 25px 26px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }
.stats-grid article:last-child {
  border-bottom: 0;
}
}
.autocomplete-wrap{position:relative}.suggestions{position:absolute;z-index:15;inset-inline:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.suggestions:empty{display:none}.suggestions a{display:flex;gap:10px;align-items:center;padding:10px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}.suggestions a:last-child{border:0}.suggestions a:hover{background:#faf8f4}.suggestions img{width:54px;height:42px;border-radius:8px;object-fit:cover}.suggestions span{display:grid}.suggestions small{color:var(--muted)}.filter-row>input{width:130px;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#faf8f4}.filter-row>select{min-width:135px}#infiniteSentinel{text-align:center;padding:26px;color:var(--muted)}.product-shelf{padding:70px 0;background:#f4f2ee}.product-shelf+.product-shelf{padding-top:0}.shelf-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.shelf-card{background:#fffdfa;border:1px solid var(--line);border-radius:18px;overflow:hidden}.shelf-card a{display:block;color:var(--ink);text-decoration:none;padding-bottom:18px}.shelf-card img{width:100%;height:160px;object-fit:cover}.shelf-card span,.shelf-card h3,.shelf-card b{display:block;margin:10px 16px 0}.shelf-card span{color:var(--red);font-size:11px;font-weight:800}.shelf-card h3{font-size:16px}.product-video{margin-top:22px}.product-video iframe,.product-video video{width:100%;aspect-ratio:16/9;border:0;border-radius:14px}.related-products{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.related-products>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.related-products a{display:grid;grid-template-columns:72px 1fr;gap:3px 10px;color:var(--ink);text-decoration:none;border:1px solid var(--line);padding:8px;border-radius:12px}.related-products img{grid-row:1/3;width:72px;height:60px;object-fit:cover;border-radius:8px}.related-products span{color:var(--red);font-size:10px}.product-page{background:#f4f2ee}.product-detail-page{padding:70px 0}.product-page-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:55px;align-items:center;background:#fff;padding:35px;border-radius:26px}.product-page-grid>img{width:100%;max-height:560px;object-fit:cover;border-radius:20px}.product-page-grid h1{font:800 clamp(34px,5vw,60px)/1.05 Manrope;margin:14px 0}.product-page-grid p{line-height:1.8;color:var(--muted);margin-bottom:28px}.editorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:stretch}.editorial-image{min-height:520px;border-radius:24px;background:center/cover no-repeat}.about-image{background-image:url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1400&q=85')}.service-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px}.service-cards article{background:#fff;padding:28px;border:1px solid var(--line);border-radius:20px}.service-cards article>b{color:var(--red)}.service-cards h2{margin:12px 0 6px}.service-cards p{color:var(--muted);line-height:1.7}.service-cards[data-lang="en"]{display:none}html[lang="en"] .service-cards[data-lang="ar"]{display:none}html[lang="en"] .service-cards[data-lang="en"]{display:grid}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bar-chart{display:grid;gap:13px}.bar-chart>div{display:grid;grid-template-columns:minmax(100px,1fr) 2fr auto;gap:10px;align-items:center}.bar-chart i{height:12px;border-radius:99px;background:linear-gradient(90deg,var(--red) var(--bar),#eee var(--bar))}.bar-chart b{font-size:12px}.employee-form,.settings-panel form{display:grid;gap:12px;margin-top:24px}.employee-form input,.homepage-row input{border:1px solid var(--line);border-radius:10px;padding:11px}.permission-grid{display:flex;flex-wrap:wrap;gap:14px}.homepage-row{display:grid;grid-template-columns:auto 1fr 1fr 90px;gap:10px;margin-bottom:10px;align-items:center}
@media(max-width:850px){.shelf-grid{grid-template-columns:1fr 1fr}.product-page-grid,.editorial-grid,.report-grid{grid-template-columns:1fr}.filter-row>input{width:100%}}
@media(max-width:570px){.shelf-grid,.service-cards{grid-template-columns:1fr}.shelf-card img{height:200px}.product-shelf{padding:48px 0}.product-page-grid{padding:18px;gap:24px}.product-detail-page{padding:30px 0}.related-products>div{grid-template-columns:1fr}.homepage-row{grid-template-columns:auto 1fr}.homepage-row .home-position{width:70px}}
.platform-page{background:#f7f5f1;color:var(--ink)}.platform-page .nav{display:flex;align-items:center;justify-content:space-between;padding-block:22px}.platform-page .brand img{width:180px;height:52px;object-fit:contain;border-radius:0}.platform-page .brand span{display:none}.platform-hero{padding:110px 0 120px;background:radial-gradient(circle at 15% 20%,#fff 0,transparent 35%),linear-gradient(135deg,#f3eee8,#fffdfa)}.platform-hero h1{max-width:760px;margin:14px 0 20px;font:800 clamp(44px,8vw,92px)/.98 Manrope}.platform-hero p{max-width:660px;color:var(--muted);font-size:20px;line-height:1.8}.platform-directory,.platform-create{padding:80px 0}.showroom-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.showroom-directory>a{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:16px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px;color:var(--ink);text-decoration:none;box-shadow:0 10px 35px rgba(30,34,32,.05)}.showroom-directory h3,.showroom-directory p{margin:0}.showroom-directory p{color:var(--muted);margin-top:5px}.showroom-logo{display:grid;place-items:center;width:64px;height:64px;border-radius:17px;background:#f1eeea;color:var(--red);font:800 25px Manrope;overflow:hidden}.showroom-logo img{width:100%;height:100%;object-fit:contain}.platform-create{background:#ece9e4}.platform-create>.container{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}.platform-create h2{font:800 clamp(36px,5vw,64px)/1.05 Manrope;margin:12px 0}.platform-create p{color:var(--muted);font-size:18px}.platform-create .contact-form{background:#fff;padding:30px;border-radius:24px}.platform-create .notice a{color:inherit;font-weight:800}@media(max-width:850px){.showroom-directory{grid-template-columns:1fr 1fr}.platform-create>.container{grid-template-columns:1fr;gap:30px}}@media(max-width:570px){.platform-page .nav{padding-inline:18px}.platform-page .brand img{width:145px}.platform-hero{padding:70px 0 80px}.platform-hero p{font-size:17px}.platform-directory,.platform-create{padding:52px 0}.showroom-directory{grid-template-columns:1fr}.platform-create .contact-form{padding:20px}.platform-create>.container{gap:20px}}

.platform-credit{display:flex;justify-content:center;padding:15px 20px;background:#0d141d;border-top:1px solid rgba(255,255,255,.08)}.platform-credit a{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#aeb8c4;text-decoration:none;font-size:12px;letter-spacing:.02em;transition:.2s ease}.platform-credit a:hover{color:#fff;border-color:rgba(255,255,255,.42);transform:translateY(-1px)}.platform-credit strong{color:#fff;font-weight:800}.platform-credit a>span:last-child{color:#e34a53;font-size:14px}
/* Keep international phone numbers readable inside Arabic and other RTL text. */
input[type="tel"],
#pPhone,
#settingsPhone,
.phone-number,
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.phone-number {
  display: inline-block;
}

.domain-panel > p,
.domain-empty {
  color: var(--muted);
}
.domain-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}
.domain-summary > div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}
.domain-summary span {
  color: var(--muted);
  font-size: 12px;
}
.domain-records {
  overflow-x: auto;
}
.domain-records code {
  white-space: nowrap;
  user-select: all;
}
.domain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.platform-admin-main [data-certificate-name],
.platform-admin-main [data-domain-notes],
.platform-admin-main [data-domain-status],
.platform-admin-main [data-certificate-status] {
  width: 100%;
  min-width: 180px;
  margin-bottom: 6px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
@media (max-width: 700px) {
  .domain-summary {
    grid-template-columns: 1fr;
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}
@media (max-width: 850px) {
  header .nav {
    position: relative;
    z-index: 200;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    grid-template-areas: "brand actions toggle";
    column-gap: 12px;
  }
  html[dir="rtl"] header .nav {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas: "toggle actions brand";
  }
  header .nav > .brand {
    grid-area: brand;
    justify-self: start;
  }
  html[dir="rtl"] header .nav > .brand {
    justify-self: end;
  }
  header .nav > .nav-actions,
  header.nav > .btn {
    grid-area: actions;
    justify-self: end;
    margin-inline: 0;
  }
  html[dir="rtl"] header .nav > .nav-actions,
  html[dir="rtl"] header.nav > .btn {
    justify-self: start;
  }
  header .nav-toggle {
    grid-area: toggle;
    justify-self: stretch;
    display: block;
    flex: 0 0 44px;
    margin-inline-start: 0;
    position: relative;
    z-index: 202;
    pointer-events: auto;
    touch-action: manipulation;
  }
  header .nav-links.open {
    position: absolute;
    z-index: 201;
    inset-inline: 0;
    top: calc(100% - 4px);
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fffdfa;
    box-shadow: var(--shadow);
    max-height: min(70vh, 480px);
    overflow-y: auto;
  }
  header .nav-links.open a {
    padding: 13px 14px;
    border-radius: 10px;
  }
  header .nav-links.open a:hover {
    background: var(--paper);
  }
  .legal-header .nav-actions,
  .legal-header > .nav > .language-toggle {
    margin-inline-start: 0;
  }
}
