/* ==========================================================================
   AL FAROUQ Trading & Supplies - Left-To-Right (LTR) English Stylesheet
   Activated when html[dir="ltr"] or body.ltr-mode
   ========================================================================== */

html[dir="ltr"],
html[dir="ltr"] body {
  direction: ltr !important;
  text-align: left !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* --------------------------------------------------------------------------
   Typography & General Text
   -------------------------------------------------------------------------- */
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6,
html[dir="ltr"] p,
html[dir="ltr"] span,
html[dir="ltr"] a,
html[dir="ltr"] button,
html[dir="ltr"] input,
html[dir="ltr"] select,
html[dir="ltr"] textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: normal;
}

html[dir="ltr"] .hero-slogan {
  letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Top Bar
   -------------------------------------------------------------------------- */
html[dir="ltr"] .top-bar-inner {
  flex-direction: row;
}

html[dir="ltr"] .top-bar-items {
  flex-direction: row;
}

html[dir="ltr"] .top-bar-item {
  direction: ltr;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
html[dir="ltr"] .header-inner {
  flex-direction: row;
}

html[dir="ltr"] .brand-logo {
  flex-direction: row;
}

html[dir="ltr"] .brand-text {
  text-align: left;
}

html[dir="ltr"] .nav-menu {
  flex-direction: row;
}

html[dir="ltr"] .header-actions {
  flex-direction: row;
}

/* Language Switcher Button */
.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #122240;
  padding: 5px 12px;
  border-radius: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  white-space: nowrap !important;
}

.lang-switch-btn:hover {
  background: #fffbeb;
  border-color: #fab019;
  color: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(250, 176, 25, 0.18);
}

.lang-switch-btn .lang-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.top-bar-lang {
  margin-inline-start: 12px;
}

/* Dropdown Menus in LTR */
html[dir="ltr"] .dropdown-menu {
  right: auto;
  left: 0;
}

html[dir="ltr"] .dropdown-item:hover {
  transform: translateX(3px);
}

html[dir="ltr"] .mobile-drawer-sublink:hover,
html[dir="ltr"] .mobile-drawer-sublink.active {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Arrows & Directional Icons
   -------------------------------------------------------------------------- */
html[dir="ltr"] .btn svg,
html[dir="ltr"] .btn-primary svg,
html[dir="ltr"] .search-submit-btn svg,
html[dir="ltr"] .btn-back-catalog svg,
html[dir="ltr"] .card-link-icon svg,
html[dir="ltr"] .search-result-arrow {
  transform: rotate(180deg);
}

html[dir="ltr"] .btn-back-catalog:hover {
  transform: translateX(2px);
}

html[dir="ltr"] .search-result-item:hover .search-result-arrow {
  transform: rotate(180deg) translateX(-3px);
}

/* Breadcrumbs Separator */
html[dir="ltr"] .breadcrumb-separator svg {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
html[dir="ltr"] .exec-hero-lead {
  text-align: left;
}

html[dir="ltr"] .exec-badge-wrap {
  justify-content: flex-start;
}

html[dir="ltr"] .exec-hero-ctas {
  justify-content: flex-start;
}

html[dir="ltr"] .exec-trust-checks {
  text-align: left;
}

html[dir="ltr"] .exec-check-item {
  flex-direction: row;
}

html[dir="ltr"] .floating-live-pill {
  text-align: left;
  flex-direction: row;
}

/* --------------------------------------------------------------------------
   Industrial Ticker Tape
   -------------------------------------------------------------------------- */
html[dir="ltr"] .industrial-ticker-wrap {
  direction: ltr;
}

html[dir="ltr"] .ticker-heading {
  border-left: none;
  border-right: 2px solid rgba(250, 176, 25, 0.4);
}

html[dir="ltr"] .ticker-track {
  animation-direction: reverse;
}

/* --------------------------------------------------------------------------
   Product Search Box
   -------------------------------------------------------------------------- */
html[dir="ltr"] .search-input-wrap {
  flex-direction: row;
  padding: 4px 6px 4px 14px;
}

html[dir="ltr"] .search-input {
  text-align: left;
}

html[dir="ltr"] .search-tags-quick {
  justify-content: flex-start;
}

html[dir="ltr"] .search-results-dropdown {
  text-align: left;
}

html[dir="ltr"] .search-result-item {
  flex-direction: row;
}

html[dir="ltr"] .search-result-info {
  text-align: left;
}

html[dir="ltr"] .search-result-meta {
  flex-direction: row;
}

/* --------------------------------------------------------------------------
   Product Cards & Grid
   -------------------------------------------------------------------------- */
html[dir="ltr"] .product-card-body {
  text-align: left;
}

html[dir="ltr"] .spec-line {
  flex-direction: row;
  justify-content: space-between;
}

html[dir="ltr"] .product-card-footer {
  flex-direction: row;
}

/* --------------------------------------------------------------------------
   Product Single Page
   -------------------------------------------------------------------------- */
html[dir="ltr"] .product-page-hero-bar {
  text-align: left;
}

html[dir="ltr"] .breadcrumb-trail {
  flex-direction: row;
}

html[dir="ltr"] .hero-bar-inner {
  flex-direction: row;
}

html[dir="ltr"] .hero-bar-actions {
  flex-direction: row;
}

html[dir="ltr"] .product-specs-card,
html[dir="ltr"] .product-desc-card,
html[dir="ltr"] .product-quote-card {
  text-align: left;
}

html[dir="ltr"] .specs-table th,
html[dir="ltr"] .specs-table td {
  text-align: left;
}

html[dir="ltr"] .meta-tag-item {
  flex-direction: row;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Forms & Modals
   -------------------------------------------------------------------------- */
html[dir="ltr"] .form-group label {
  text-align: left;
}

html[dir="ltr"] .form-control {
  text-align: left;
}

html[dir="ltr"] .modal-body {
  text-align: left;
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 18px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
html[dir="ltr"] .footer-col {
  text-align: left;
}

html[dir="ltr"] .footer-contact-item {
  flex-direction: row;
  text-align: left;
}

html[dir="ltr"] .footer-links {
  text-align: left;
}

html[dir="ltr"] .footer-bottom {
  text-align: left;
}

/* --------------------------------------------------------------------------
   Mobile Drawer
   -------------------------------------------------------------------------- */
html[dir="ltr"] .mobile-drawer {
  left: 0;
  right: auto;
  transform: translateX(-100%);
}

html[dir="ltr"] .mobile-drawer.open {
  left: 0;
  right: auto;
  transform: translateX(0);
}

html[dir="ltr"] .mobile-drawer-link {
  text-align: left;
}

/* --------------------------------------------------------------------------
   Floating Actions
   -------------------------------------------------------------------------- */
html[dir="ltr"] .floating-actions {
  left: auto;
  right: 30px;
}

@media (max-width: 768px) {
  html[dir="ltr"] .floating-actions {
    right: 16px;
    left: auto;
  }
}
