/**
 * /www/wwwroot/neovital.eu/assets/css/rtl.css
 */

/* ---------------------------------
   RTL SUPPORT - BASE LAYER
--------------------------------- */

html[dir="rtl"]{
	direction:rtl;
}

html[dir="rtl"] body{
	direction:rtl;
	font-family:'Tajawal', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Arabic / RTL readability tweak */

html[dir="rtl"] .subtitle{
	font-size:27px;
	line-height:1.7;
}

html[dir="rtl"] .home-card-text,
html[dir="rtl"] .home-block-text{
	font-size:17px;
	line-height:1.9;
}

html[dir="rtl"] .products-grid .home-block-title{
	font-size:18px;
	line-height:1.4;
	font-weight:600;
}

html[dir="rtl"] .page-title{
	font-size:17px;
	letter-spacing:2px;
}

html[dir="rtl"] .badges{
	flex-direction:row-reverse;
}

html[dir="rtl"] .hairline{
	left:auto;
	right:-48px;
}

/* formulations wrapper deliberately kept ltr so flex order follows PHP markup */
html[dir="rtl"] .products-layout{
	direction:ltr;
}

html[dir="rtl"] .products-grid{
	width:100%;
}

html[dir="rtl"] .home-card-title,
html[dir="rtl"] .home-card-text,
html[dir="rtl"] .products-sidebar .home-block-title,
html[dir="rtl"] .products-sidebar .home-block-text,
html[dir="rtl"] .products-grid .home-block-title,
html[dir="rtl"] .products-grid .home-block-text{
	text-align:right;
}

html[dir="rtl"] .products-grid .home-block-title::before{
	left:auto;
	right:0;
}

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

/* ---------------------------------
   RTL SUPPORT - EXTENDED
--------------------------------- */

html[dir="rtl"] .site-header,
html[dir="rtl"] .card,
html[dir="rtl"] .glass-panel,
html[dir="rtl"] .home-block,
html[dir="rtl"] .home-card{
	direction:rtl;
}

html[dir="rtl"] .page-title,
html[dir="rtl"] .subtitle,
html[dir="rtl"] .footer,
html[dir="rtl"] .note{
	text-align:center;
}

html[dir="rtl"] .badge{
	direction:rtl;
}

html[dir="rtl"] .products-sidebar .home-block{
	text-align:right;
}

html[dir="rtl"] .products-grid .home-block{
	text-align:right;
}

html[dir="rtl"] .formulations-hero-image{
	left:50%;
	right:auto;
	transform:translateX(-50%);
}

html[dir="rtl"] .modal-content,
html[dir="rtl"] .modal-header,
html[dir="rtl"] .modal-body,
html[dir="rtl"] .modal-footer{
	direction:rtl;
}

html[dir="rtl"] .modal-header .btn-close{
	margin:0 auto 0 0;
}

html[dir="rtl"] .list-group,
html[dir="rtl"] .list-group-item{
	direction:rtl;
	text-align:right;
}

html[dir="rtl"] .dropdown-menu{
	direction:rtl;
	text-align:right;
}

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

html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="url"],
html[dir="rtl"] input[type="tel"]{
	direction:ltr;
	text-align:left;
}

html[dir="rtl"] .language-splash-text,
html[dir="rtl"] .language-splash-more{
	text-align:right;
}

html[dir="rtl"] .language-splash-actions{
	align-items:stretch;
}

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

html[dir="rtl"] .home-cards,
html[dir="rtl"] .home-blocks{
	direction:rtl;
}

/* TABLET RTL */
@media (max-width:1100px){
	html[dir="rtl"] .formulations-hero-image{
		right:auto;
		left:28px;
		transform:none;
	}
}

/* MOBILE RTL */
@media (max-width:600px){
	html[dir="rtl"] .hairline{
		right:-18px;
	}
}

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

html[dir="rtl"] .lang-more-link{
	direction:rtl;
}

html[dir="rtl"] .lang-modal-grid{
	direction:rtl;
}

html[dir="rtl"] .language-cookie-text{
	text-align:right;
}

html[dir="rtl"] .language-cookie-link{
	align-self:flex-end;
}

html[dir="rtl"] .cookie-option-row{
	flex-direction:row-reverse;
}

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

