/* FR/AR language toggle + RTL layout — DARNÉO
   Load Cairo + Noto Sans Arabic in HTML: fonts.googleapis.com */

.lang-toggle {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    border: 1px solid rgba(232, 108, 47, 0.35);
    background: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    flex-shrink: 0;
}

.dark .lang-toggle {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.lang-toggle button {
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    min-height: 36px;
    min-width: 40px;
    transition: background 0.2s, color 0.2s;
}

.lang-toggle button[aria-pressed="true"] {
    background: #E86C2F;
    color: #fff;
}

html[dir="rtl"] .lang-toggle button[aria-pressed="true"] {
    background: #E86C2F;
}

/* Arabic typography */
html[lang="ar"] body,
html[lang="ar"] body.font-arabic {
    font-family: 'Cairo', 'Noto Sans Arabic', 'Inter', sans-serif;
}

html[lang="ar"] .font-display {
    font-family: 'Cairo', 'Noto Sans Arabic', 'Cormorant Garamond', serif;
}

/* RTL mirrors */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .lang-toggle,
html[dir="rtl"] nav .flex {
    flex-direction: row-reverse;
}

html[dir="rtl"] .material-symbols-outlined.ml-2,
html[dir="rtl"] .material-symbols-outlined.mr-2 {
    transform: scaleX(-1);
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
    text-align: right;
}

html[dir="rtl"] .text-center {
    text-align: center;
}

html[dir="rtl"] .lg\:text-left {
    text-align: right;
}

@media (min-width: 1024px) {
    html[dir="rtl"] .lg\:text-left {
        text-align: right;
    }
}

/* Google rating strip */
.google-rating-strip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    background: rgba(232, 108, 47, 0.1);
    border: 1px solid rgba(232, 108, 47, 0.25);
    font-size: 0.875rem;
    font-weight: 600;
    color: #2F2F2F;
}

.dark .google-rating-strip {
    color: #f3f4f6;
    background: rgba(232, 108, 47, 0.15);
    border-color: rgba(232, 108, 47, 0.35);
}

