/* ==========================================================================
   FIAT MOROCCO — READABILITY & ACCESSIBILITY OPTIMIZATIONS
   Ensures optimal contrast, fluid typography, and clean Excel price sourcing.
   ========================================================================== */

/* Enhanced typographic contrast and smooth touch responsiveness */
body {
  text-rendering: optimizeLegibility;
}

/* Ensure Excel price cells are strictly formatted and LTR even in RTL mode */
#offerPrice,
#excelCellRef,
#fastbackFrom,
#grizzlyFrom,
.price-big,
.badge-price,
.dock-price {
  font-variant-numeric: tabular-nums;
  direction: ltr !important;
  unicode-bidi: isolate;
}

/* Ensure smooth touch scrolling for price table on mobile */
.price-table-wrap {
  -webkit-overflow-scrolling: touch;
}

/* Safe area insets for mobile app bar */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-app-bar {
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}