/* ==========================================================================
   AURA PELLE - RIGHT-TO-LEFT (RTL) STYLES
   Full Support for Arabic (ar) and Persian/Farsi (fa)
   ========================================================================== */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: var(--font-rtl), var(--font-sans);
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .brand-font {
  font-family: var(--font-rtl), serif;
  letter-spacing: 0;
}

[dir="rtl"] .brand-name {
  letter-spacing: 0.05em;
}

[dir="rtl"] .brand-sub {
  letter-spacing: 0.1em;
}

[dir="rtl"] .section-badge {
  letter-spacing: 0.08em;
}

[dir="rtl"] .gold-divider-start {
  background: linear-gradient(270deg, var(--color-gold-400), transparent);
}

/* Header & Navigation RTL */
[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

/* Hero Stats RTL */
[dir="rtl"] .stat-item {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 0;
  padding-left: 1rem;
}

[dir="rtl"] .stat-item:last-child {
  border-left: none;
}

/* Heritage Section RTL */
[dir="rtl"] .heritage-badge-card {
  right: auto;
  left: -20px;
}

@media (max-width: 991px) {
  [dir="rtl"] .heritage-badge-card {
    left: 10px;
  }
}

/* Card & Modal RTL */
[dir="rtl"] .leather-card-badge {
  left: auto;
  right: 14px;
}

[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 16px;
}

/* Toast RTL */
[dir="rtl"] .toast-container {
  right: auto;
  left: 24px;
}

[dir="rtl"] .toast {
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 4px solid var(--color-gold-400);
  animation: slideInLeft 0.35s ease forwards;
}

[dir="rtl"] .toast.toast-success {
  border-right-color: #2e7d32;
}

[dir="rtl"] .toast.toast-error {
  border-right-color: #c62828;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer links RTL */
[dir="rtl"] .footer-link:hover {
  padding-left: 0;
  padding-right: 5px;
}
