/* ============================================================
   Wadi Al Awir Car Accessories - "Midnight Gold" Theme
   Premium dark automotive e-commerce stylesheet
   ============================================================ */

/* ----- Custom Properties ----- */

:root {
  --bg-deep: #070B14;
  --bg-card: #0F1525;
  --bg-elevated: #161D30;
  --bg-surface: #1C2440;
  --accent: #D4A853;
  --accent-light: #E8C573;
  --accent-dim: rgba(212, 168, 83, 0.08);
  --accent-glow: rgba(212, 168, 83, 0.15);
  --text-primary: #EDE9E0;
  --text-secondary: #8B8FA3;
  --text-muted: #555A6E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-ar-display: 'Aref Ruqaa', serif;
  --font-ar-body: 'Cairo', sans-serif;
  --font-en-display: 'Bebas Neue', sans-serif;
  --font-en-body: 'Plus Jakarta Sans', sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* ----- 1. Reset & Base ----- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  image-rendering: auto;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-en-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background-color: var(--bg-elevated);
  color: var(--accent);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}

html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-deep);
}

/* Subtle noise texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-conic-gradient(transparent 0 0.0001%, rgba(255, 255, 255, 0.003) 0 0.0002%) 50% 50% / 200px 200px;
  opacity: 0.04;
}

img {
  max-width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}


/* ----- 2. Container ----- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
}


/* ----- 3. Navbar ----- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar--scrolled {
  background: rgba(7, 11, 20, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.navbar__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.navbar__brand-ar {
  font-family: var(--font-ar-display);
  font-size: 1.3rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.1;
}

.navbar__brand-en {
  font-family: var(--font-en-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.navbar__links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--accent);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-toggle {
  background: var(--bg-elevated);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  font-family: var(--font-ar-body);
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
  transform-origin: center;
}

.navbar__hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
  .navbar__links {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }
}


/* ----- 4. Mobile Menu ----- */

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 11, 20, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-menu--open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}

.mobile-menu__link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link--active {
  color: var(--accent);
}


/* ----- 5. Hero ----- */

.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: url('../assets/hero-wallpaper-4.jpg') center center / cover no-repeat;
}

.hero__particles {
  position: absolute;
  inset: 0;
}

.hero__particles::before,
.hero__particles::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  animation: hero-float 18s ease-in-out infinite;
}

.hero__particles::before {
  box-shadow:
    120px 80px 0 0 rgba(212, 168, 83, 0.35),
    350px 150px 0 0 rgba(212, 168, 83, 0.2),
    600px 50px 0 0 rgba(212, 168, 83, 0.3),
    800px 200px 0 0 rgba(212, 168, 83, 0.15),
    200px 350px 0 0 rgba(212, 168, 83, 0.25),
    500px 400px 0 0 rgba(212, 168, 83, 0.1),
    750px 350px 0 0 rgba(212, 168, 83, 0.2),
    1000px 100px 0 0 rgba(212, 168, 83, 0.3),
    1100px 300px 0 0 rgba(212, 168, 83, 0.15),
    150px 500px 0 0 rgba(212, 168, 83, 0.25),
    450px 550px 0 0 rgba(212, 168, 83, 0.1),
    900px 480px 0 0 rgba(212, 168, 83, 0.2),
    1200px 200px 0 0 rgba(212, 168, 83, 0.18),
    50px 250px 0 0 rgba(212, 168, 83, 0.22),
    680px 280px 0 0 rgba(212, 168, 83, 0.12);
  animation-delay: 0s;
}

.hero__particles::after {
  box-shadow:
    80px 200px 0 0 rgba(212, 168, 83, 0.2),
    300px 300px 0 0 rgba(212, 168, 83, 0.3),
    550px 180px 0 0 rgba(212, 168, 83, 0.15),
    700px 420px 0 0 rgba(212, 168, 83, 0.25),
    950px 350px 0 0 rgba(212, 168, 83, 0.1),
    250px 450px 0 0 rgba(212, 168, 83, 0.2),
    1050px 150px 0 0 rgba(212, 168, 83, 0.35),
    400px 100px 0 0 rgba(212, 168, 83, 0.15),
    850px 80px 0 0 rgba(212, 168, 83, 0.28),
    100px 380px 0 0 rgba(212, 168, 83, 0.18),
    650px 520px 0 0 rgba(212, 168, 83, 0.14),
    1150px 400px 0 0 rgba(212, 168, 83, 0.22);
  animation-delay: -9s;
}

@keyframes hero-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 1;
  }
  50% {
    transform: translateY(-8px) translateX(-5px);
    opacity: 0.4;
  }
  75% {
    transform: translateY(-25px) translateX(15px);
    opacity: 0.9;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 20, 0.7) 0%,
    rgba(7, 11, 20, 0.4) 25%,
    rgba(7, 11, 20, 0.85) 55%,
    var(--bg-card) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero__badge {
  background: rgba(212, 168, 83, 0.2);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.hero__badge--tabby {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  padding: 0.3rem 0.75rem;
}

.hero__badge--tabby img {
  height: 20px;
  width: auto;
  display: block;
}

.hero__title {
  margin-bottom: 1rem;
}

.hero__title-ar {
  display: block;
  font-family: var(--font-ar-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  color: var(--text-primary);
  line-height: 1.1;
  text-shadow:
    0 0 80px var(--accent-glow),
    0 0 40px rgba(212, 168, 83, 0.1);
}

.hero__title-en {
  display: block;
  font-family: var(--font-en-display);
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-top: 0.4rem;
}

.hero__title-sub {
  display: block;
  font-family: var(--font-en-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.hero__tagline {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-inline: auto;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}


/* ----- 6. Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.3;
}

.btn--primary {
  background: var(--accent);
  color: #070B14;
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.2);
}

.btn--outline {
  background: var(--bg-elevated);
  border: none;
  color: var(--text-primary);
}

.btn--outline:hover {
  background: var(--bg-surface);
  color: var(--accent);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}


/* ----- 7. Sections ----- */

.section {
  padding: 3rem 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

.section--alt {
  background: var(--bg-card);
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}

.section-header__label {
  display: inline-block;
  font-family: var(--font-en-display);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  position: relative;
  padding: 0 60px;
}

.section-header__label::before,
.section-header__label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.section-header__label::before {
  left: 0;
}

.section-header__label::after {
  right: 0;
}

.section-title {
  font-family: var(--font-en-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-inline: auto;
}

/* mobile section padding handled in .section base */


/* ----- 8. Car Models Grid ----- */

.car-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .car-models-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .car-models-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.car-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.car-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.car-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-elevated);
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.car-card__info {
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .car-card__info {
    padding: 1.25rem;
  }
}

.car-card__name {
  font-family: var(--font-en-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .car-card__name {
    font-size: 1.4rem;
  }
}

.car-card__year {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.car-card__count {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}


/* ----- 9. Product Filters ----- */

.product-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.filter-btn {
  background: var(--bg-elevated);
  border: none !important;
  color: var(--text-secondary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.filter-btn:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.filter-btn--active {
  background: var(--accent);
  color: #070B14;
  font-weight: 600;
}

/* Car model pills for products page */
.car-pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.car-pill {
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.car-pill:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.car-pill--active {
  background: var(--accent);
  color: #070B14;
  font-weight: 600;
}


/* ----- 10. Product Grid ----- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: #070B14;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 1;
}

.product-card__body {
  padding: 0.5rem 0.6rem 0.65rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .product-card__body {
    padding: 0.75rem 1rem 0.85rem;
  }
}

.product-card__btn-cart {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.product-card__tabby {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.product-card__tabby img {
  flex-shrink: 0;
}

.lightbox__tabby {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.lightbox__tabby img {
  flex-shrink: 0;
}

.product-card__car {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  opacity: 0.7;
}

.product-card__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: auto;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-card__name {
    font-size: 0.95rem;
  }
}

.product-card__price {
  font-family: var(--font-en-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.product-card__price-currency {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-en-body);
  margin-inline-start: 0.25rem;
}

.product-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-card__btn-details {
  flex: 1;
  text-align: center;
  justify-content: center;
}

.product-card__btn-order {
  flex: 1;
  text-align: center;
  justify-content: center;
}

@media (max-width: 479px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ----- 11. Services Grid ----- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition-base);
  position: relative;
}

.service-card:hover {
  border-color: var(--accent);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

.service-card__name {
  font-family: var(--font-en-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card__cta {
  margin: 0 auto;
}

/* Service card with packages - wider */
.service-card--has-packages {
  grid-column: 1 / -1;
  text-align: center;
}

.service-card__packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.service-package {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm, 8px);
  padding: 0.85rem 1rem;
  text-align: center;
  transition: border-color var(--transition-base);
}

.service-package:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.service-package:hover {
  border-color: var(--accent);
}

.service-package__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.service-package__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.service-package__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.service-package__price small {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.7;
}

.service-package__features {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.service-package__features li::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* ----- Product Page (individual) ----- */

.product-page {
  padding-top: 88px;
  padding-bottom: 2rem;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .product-page {
    padding-top: 90px;
    padding-bottom: 4rem;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb__sep {
  opacity: 0.4;
}

.breadcrumb__current {
  color: var(--text-primary);
}

.product-page__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  min-width: 0;
}

.product-page__info {
  min-width: 0;
}

@media (max-width: 768px) {
  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
    overflow: hidden;
  }
}

.product-page__gallery {
  position: static;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 769px) {
  .product-page__gallery {
    position: sticky;
    top: 100px;
    align-self: start;
    z-index: 1;
  }
}

.product-page__main-img-wrap {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-page__thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  max-width: 100%;
  scrollbar-width: none;
}

.product-page__thumbs::-webkit-scrollbar {
  display: none;
}

.product-page__thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  flex-shrink: 0;
}

.product-page__thumb:hover {
  opacity: 0.9;
}

.product-page__thumb--active {
  border-color: var(--accent);
  opacity: 1;
}

.product-page__title {
  font-family: var(--font-en-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.product-page__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.product-page__price-currency {
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.7;
}

.product-page__cards {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.product-page__tabby {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.product-page__tabby-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-page__tabby-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.product-page__tabby-amount strong {
  color: var(--accent);
  font-size: 1.2rem;
}

.product-page__tabby-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.product-page__tabby-right {
  flex-shrink: 0;
}

.product-page__warranty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4ade80;
  padding: 0.85rem 1.25rem;
  background: rgba(74, 222, 128, 0.06);
  border: none;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.product-page__warranty-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page__car-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.product-page__qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}

.product-page__qty-btn {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-page__qty-btn:first-child { border-radius: 8px 0 0 8px; }
.product-page__qty-btn:last-child { border-radius: 0 8px 8px 0; }

.product-page__qty-btn:hover {
  background: var(--accent);
  color: #070B14;
}

.product-page__qty-val {
  width: 50px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.product-page__back:hover {
  color: var(--accent);
}

.product-page__related {
  margin-top: 4rem;
}

.product-page__related-title {
  font-family: var(--font-en-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.product-page__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.product-page__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-page__features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 1.2rem;
  position: relative;
}

.product-page__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

[dir="rtl"] .product-page__features li {
  padding-left: 0;
  padding-right: 1.2rem;
}

[dir="rtl"] .product-page__features li::before {
  left: auto;
  right: 0;
}

.product-page__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-page__actions .btn {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

/* ----- 12. Reviews Track ----- */

.reviews-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.review-card__stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-card__author {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.review-card__source {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .review-card {
    flex: 0 0 85%;
  }
}


/* ----- 13. Location ----- */

.location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.location__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: brightness(0.8) invert(0.92) hue-rotate(180deg);
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
}

.location__item-text strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.location__item-text p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.location__item-text a {
  color: var(--accent);
  text-decoration: none;
}

.location__item-text a:hover {
  text-decoration: underline;
}

.location__map-btn {
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}


/* ----- 14. Footer ----- */

.footer {
  background: var(--bg-card);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer__brand-ar {
  font-family: var(--font-ar-display);
  font-size: 1.5rem;
  color: var(--accent);
}

.footer__brand-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
  margin-top: 0.25rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer__social a:hover {
  background: var(--bg-surface);
  color: var(--accent);
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__powered {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.footer__powered a {
  color: var(--accent);
  text-decoration: none;
}

.footer__powered a:hover {
  text-decoration: underline;
}

.footer__contact {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer__contact a {
  color: var(--accent);
  text-decoration: none;
}

.footer__contact a:hover {
  text-decoration: underline;
}

.footer__contact-hours {
  font-size: 0.75rem;
  color: var(--text-muted);
}


/* ----- 15. WhatsApp FAB ----- */

.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}

.fab-whatsapp__pulse {
  display: none;
}

@media (max-width: 767px) {
  .fab-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 1rem;
    right: 1rem;
  }

  .fab-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}


/* ----- 16. Lightbox ----- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility 0s var(--transition-base);
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-base);
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 90%;
  max-height: 85vh;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1.2rem;
  line-height: 1;
}

.lightbox__close:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.lightbox__gallery {
  position: relative;
  background: var(--bg-elevated);
}

.lightbox__main-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  padding: 1rem;
}

.lightbox__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  overflow-x: auto;
}

.lightbox__thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
  flex-shrink: 0;
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox__thumb--active {
  border-color: var(--accent);
}

.lightbox__info {
  padding: 2rem;
  overflow-y: auto;
}

.lightbox__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.lightbox__price {
  font-family: var(--font-en-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lightbox__warranty {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.lightbox__warranty:empty {
  display: none;
}

.lightbox__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.lightbox__features li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.lightbox__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.lightbox__order-btn {
  width: 100%;
}

@media (max-width: 767px) {
  .lightbox__container {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }

  .lightbox__main-img {
    height: auto;
  }
}


/* ----- Cart Button ----- */

.cart-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.4rem;
  transition: color var(--transition-fast);
}

.cart-btn:hover {
  color: var(--accent);
}

.cart-btn--bounce {
  animation: cart-bounce 0.5s ease;
}

@keyframes cart-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--accent);
  color: #070B14;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Cart Drawer ----- */

.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility 0s var(--transition-base);
}

.cart-drawer-backdrop--open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--transition-base);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: var(--bg-card);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.cart-drawer--open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
}

.cart-drawer__title {
  font-family: var(--font-en-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0;
}

.cart-drawer__close {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
}

.cart-drawer__close:hover {
  color: var(--text-primary);
}

.cart-drawer__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 3rem 1.5rem;
  font-size: 0.95rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  min-height: 60px;
}

.cart-item + .cart-item {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cart-item__img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-elevated);
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin: 0 0 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.cart-item__price {
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

.cart-item__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  align-self: center;
}

.cart-item__qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: inherit;
  line-height: 34px;
  text-align: center;
  cursor: pointer;
  display: block;
  padding: 0;
  transition: background var(--transition-fast);
  flex-shrink: 0;
}

.cart-item__qty-btn:hover {
  background: var(--bg-surface);
}

.cart-item__qty {
  font-size: 0.85rem;
  color: var(--text-primary);
  width: 24px;
  text-align: center;
  line-height: 28px;
  flex-shrink: 0;
}

.cart-item__remove {
  border: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  margin-left: 0.35rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: block;
  text-align: center;
  line-height: 34px;
  flex-shrink: 0;
}

.cart-item__remove:hover {
  color: #e74c3c;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-drawer__total span:last-child {
  color: var(--accent);
  font-family: var(--font-en-display);
  font-size: 1.3rem;
}

.cart-drawer__send {
  margin: 0 1.5rem 1.5rem;
  justify-content: center;
  text-decoration: none;
}

/* Car card active state */
.car-card--active {
  box-shadow: 0 0 0 2px var(--accent), 0 20px 50px rgba(0, 0, 0, 0.3);
}

[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-100%);
}

[dir="rtl"] .cart-drawer--open {
  transform: translateX(0);
}


/* ----- 17. Scroll Animations ----- */

.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.service-card.animate-in {
  transition: none;
}
.service-card.animate-in:hover {
  transition: border-color 0.15s ease;
}

.animate-in--pending {
  opacity: 0;
  transform: translateY(30px);
}

.animate-in--visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in--visible > *:nth-child(1) {
  transition-delay: 0.1s;
}

.animate-in--visible > *:nth-child(2) {
  transition-delay: 0.2s;
}

.animate-in--visible > *:nth-child(3) {
  transition-delay: 0.3s;
}

.animate-in--visible > *:nth-child(4) {
  transition-delay: 0.4s;
}

.animate-in--visible > *:nth-child(5) {
  transition-delay: 0.5s;
}

.animate-in--visible > *:nth-child(6) {
  transition-delay: 0.6s;
}


/* ----- 18. RTL Support ----- */

[dir="rtl"] body,
[dir="rtl"] {
  font-family: var(--font-ar-body);
}

[dir="rtl"] .product-card__badge {
  left: auto;
  right: 0.75rem;
}

[dir="rtl"] .lightbox__features li {
  padding-left: 0;
  padding-right: 1.25rem;
}

[dir="rtl"] .lightbox__features li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .lightbox__close {
  right: auto;
  left: 1rem;
}

[dir="rtl"] .fab-whatsapp {
  right: auto;
  left: 1.5rem;
}

@media (max-width: 767px) {
  [dir="rtl"] .fab-whatsapp {
    left: 1rem;
    right: auto;
  }
}

[dir="rtl"] .section-header__label::before {
  left: 0;
}

[dir="rtl"] .section-header__label::after {
  right: 0;
}

[dir="rtl"] .navbar__brand-en {
  letter-spacing: 0.3em;
}

[dir="rtl"] .hero__title-sub {
  font-family: var(--font-ar-display);
  letter-spacing: 0;
}

[dir="rtl"] .section-title {
  font-family: var(--font-ar-display);
  letter-spacing: 0;
}

[dir="rtl"] .car-card__name,
[dir="rtl"] .service-card__name {
  font-family: var(--font-ar-display);
  letter-spacing: 0;
}

[dir="rtl"] .filter-btn {
  font-family: var(--font-ar-body);
}

[dir="rtl"] .btn {
  font-family: var(--font-ar-body);
}


/* ----- 19. Responsive Breakpoints ----- */

@media (max-width: 479px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .car-models-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title-ar {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (min-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .navbar__links {
    display: flex;
  }

  .navbar__hamburger {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .review-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}


/* ----- 20. Special Effects & Accessibility ----- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----- Page Transitions ----- */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pageOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

body {
  animation: pageIn 0.15s ease-out;
}

body.page-exit {
  animation: pageOut 0.1s ease-in forwards;
}

.product-card {
  view-transition-name: product-card;
}


/* ----- 21. Polish & Micro-interactions ----- */

/* Focus visible for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Disabled button state */
.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Image skeleton loading */
.product-card__image,
.car-card__image {
  background: linear-gradient(110deg, var(--bg-elevated) 30%, var(--bg-surface) 50%, var(--bg-elevated) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.product-card__image[complete],
.car-card__image[complete] {
  animation: none;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Image fade-in on load */
.img-lazy {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-lazy--loaded {
  opacity: 1;
}

/* Smooth cart drawer entrance */
.cart-drawer {
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

/* Active/tap state for mobile - pressed feel */
@media (hover: none) {
  .btn:active {
    transform: scale(0.97) !important;
    transition-duration: 50ms;
  }

  .product-card:active {
    transform: scale(0.98);
    transition-duration: 50ms;
  }

  .filter-btn:active,
  .car-pill:active {
    transform: scale(0.95);
    transition-duration: 50ms;
  }
}

/* Smooth hover for social icons */
.footer__social a {
  transition: all var(--transition-base);
}

.footer__social a:hover {
  transform: translateY(-2px);
}

/* Product card image container - prevent layout shift */
.product-card__image-wrap {
  contain: layout;
}

/* Consistent border radius on filter active state */
.filter-btn--active:hover {
  background: var(--accent-light);
  color: #070B14;
}

/* Cart notification toast */
@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cart-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 3000;
  animation: toast-in 0.3s ease, toast-in 0.3s ease 2s reverse forwards;
  pointer-events: none;
  white-space: nowrap;
}

/* Navbar transition smoothness */
.navbar {
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.navbar--scrolled {
  border-bottom-color: var(--border);
}

/* Quantity button consistency */
.cart-item__qty-btn,
.cart-item__remove {
  font-size: 0.875rem;
}

/* Mobile menu stagger animation */
.mobile-menu--open .mobile-menu__link {
  animation: menuSlideIn 0.3s ease backwards;
}

.mobile-menu--open .mobile-menu__link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu--open .mobile-menu__link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu--open .mobile-menu__link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu--open .mobile-menu__link:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu--open .mobile-menu__link:nth-child(5) { animation-delay: 0.25s; }

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Lang toggle hover improvement */
.lang-toggle {
  transition: all var(--transition-fast);
}

.lang-toggle:hover {
  background: var(--bg-surface);
}

/* Scrollbar for cart drawer */
.cart-drawer__body::-webkit-scrollbar {
  width: 4px;
}

.cart-drawer__body::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 2px;
}

/* Product page variant swatch focus */
.product-page__variant-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ======================== WHATSAPP NUMBER PICKER ======================== */
.wa-picker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--speed-base, 300ms) ease;
}
.wa-picker--open {
  opacity: 1;
  pointer-events: auto;
}
.wa-picker__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.wa-picker__card {
  position: relative;
  background: var(--surface, #0D1320);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  max-width: 340px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform var(--speed-base, 300ms) ease;
}
.wa-picker--open .wa-picker__card {
  transform: translateY(0);
}
.wa-picker__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 1.25rem;
}
.wa-picker__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.wa-picker__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
}
.wa-picker__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 1rem 0 0;
}

/* ----- FAQ Accordion ----- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.faq-item__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq-item__icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item__toggle[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item__answer p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

[dir="rtl"] .faq-item__toggle {
  text-align: right;
}

/* Footer policy links */
.footer__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0.75rem 0;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
}
.footer__links a:hover {
  color: var(--accent);
}
