/* tfaqna.ma : sélecteur de langue et mise en page de droite à gauche (darija, tachelhit) */
@font-face{font-family:"TfArabic";src:url(assets/noto-kufi-arabic.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

.lang-bar{background:var(--green,#23483f);color:#fff;font:500 13px/1 var(--body,Outfit,Arial,sans-serif)}
.lang-inner{display:flex;justify-content:flex-end;align-items:center;min-height:36px}
.lang-switch{display:flex;gap:2px}
.lang-switch a{color:rgba(255,255,255,.8);text-decoration:none;padding:7px 11px;border-radius:4px;line-height:1.2}
.lang-switch a:hover{color:#fff;background:rgba(255,255,255,.1)}
.lang-switch a:focus-visible{outline:2px solid #fff;outline-offset:1px}
.lang-switch a[aria-current="true"]{color:#fff;background:rgba(255,255,255,.16)}
.lang-switch a[lang="ar"],.lang-switch a[lang="shi"]{font-family:"TfArabic",var(--body,Outfit,Arial,sans-serif);font-size:14px}
@media (max-width:700px){.lang-inner{justify-content:center}.lang-switch a{padding:7px 9px}}

html[dir="rtl"] body *:not(svg):not(svg *){font-family:"TfArabic",var(--body,Outfit,Arial,sans-serif)!important;letter-spacing:0!important}
html[dir="rtl"] body :is(h1,h2,h3,.detail-price){font-family:"TfArabic",var(--display,"Bricolage Grotesque",Arial,sans-serif)!important;line-height:1.38!important}
html[dir="rtl"] .hero h1{font-size:clamp(40px,5.6vw,76px)}
html[dir="rtl"] .tf-depot h1{font-size:clamp(36px,4.6vw,64px)}
html[dir="rtl"] .detail-page h1{font-size:clamp(1.8rem,3.6vw,3rem)}

html[dir="rtl"] .skip{left:auto;right:8px}
html[dir="rtl"] .deposit-link svg{margin-right:0;margin-left:8px}
html[dir="rtl"] .search-field{padding:3px 51px 3px 36px}
html[dir="rtl"] .search-field:not(:first-of-type){border-left:0;border-right:1px solid var(--sand)}
html[dir="rtl"] .search-field>.field-icon{left:auto;right:19px}
html[dir="rtl"] .search-field .chevron,html[dir="rtl"] .sort-control .chevron{right:auto;left:15px}
html[dir="rtl"] .sort-control select{padding:7px 1px 7px 22px}
html[dir="rtl"] .sort-control .chevron{left:2px}
html[dir="rtl"] .offer-right{padding:16px 10px 15px 23px;text-align:left}
html[dir="rtl"] .footer-inner nav{margin-left:0;margin-right:auto}
@media (max-width:920px){
  html[dir="rtl"] .search-field{padding-left:22px;padding-right:33px}
  html[dir="rtl"] .search-field>.field-icon{left:auto;right:8px}
  html[dir="rtl"] .search-field .chevron{right:auto;left:7px}
}
@media (max-width:700px){
  html[dir="rtl"] .deposit-link svg{margin-right:0;margin-left:4px}
  html[dir="rtl"] .search-field{padding:6px 31px 6px 19px}
  html[dir="rtl"] .search-field:nth-of-type(3){border-right:0}
  html[dir="rtl"] .search-field .field-icon{left:auto;right:8px}
  html[dir="rtl"] .sort-control select{padding-right:1px;padding-left:17px}
  html[dir="rtl"] .offer-body{padding:10px 12px 0 29px}
  html[dir="rtl"] .offer-right{padding:6px 12px 10px 10px;text-align:right}
  html[dir="rtl"] .offer-row .favorite{right:auto;left:6px}
}

html[dir="rtl"] .detail-zoom-label{right:auto;left:14px}
html[dir="rtl"] .detail-dossier dd{text-align:left}
html[dir="rtl"] .detail-request summary,html[dir="rtl"] .detail-request button{text-align:right}
html[dir="rtl"] .detail-lightbox-close{margin-left:0;margin-right:auto}

html[dir="rtl"] .tf-depot .td-side li:not(:last-child)::after{left:auto;right:16px;border-left:0;border-right:1px solid var(--td-line)}
html[dir="rtl"] .tf-depot .td-side button{text-align:right}
html[dir="rtl"] .tf-depot .td-input-wrap:has(b) input{padding-right:13px;padding-left:83px}
html[dir="rtl"] .tf-depot .td-input-wrap b{right:auto;left:13px}
html[dir="rtl"] .tf-depot .td-file-label{margin-left:0;margin-right:auto}
html[dir="rtl"] .tf-depot .td-review dd{text-align:left}
html[dir="rtl"] .tf-depot .td-facts{padding-left:0;padding-right:18px}
html[dir="rtl"] .tf-depot .td-save{margin-left:0;margin-right:auto}
html[dir="rtl"] .tf-depot .td-primary svg{transform:scaleX(-1)}
@media (max-width:850px){html[dir="rtl"] .tf-depot .td-side button{text-align:right;padding-right:0;padding-left:3px}}
@media (max-width:570px){html[dir="rtl"] .tf-depot .td-file-label{margin-right:0}}
