/* === Arabic Font Import === */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700&display=swap');

/* === Apply ONLY when Arabic is active === */
html[lang="ar"] body,
body.rtl {

    direction: rtl;
    unicode-bidi: embed;
    text-align: right;

    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0;
    /*color: #222;*/
    /*background-color: #fff;*/

    word-spacing: 1px;
}

/* === Typography === */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 15px;
}

html[lang="ar"] p {
    margin-bottom: 15px;
    word-break: normal;
    overflow-wrap: break-word;
}

/* === Links === */
html[lang="ar"] a {
    text-decoration: none;
    /*color: #0073aa;*/
}
html[lang="ar"] span.no-reviews{
    display:none;
}
html[lang="ar"] a:hover {
    /*color: #005177;*/
}

/* === Lists === */
html[lang="ar"] ul,
html[lang="ar"] ol {
    padding-right: 20px;
    padding-left: 0;
}

/* === Forms === */
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] button {
    font-family: 'Noto Kufi Arabic', sans-serif;
    direction: rtl;
    text-align: right;
}

/* === Buttons === */
html[lang="ar"] button,
html[lang="ar"] .btn {
    font-weight: 500;
    letter-spacing: 0;
}

/* === Navigation === */
html[lang="ar"] .menu,
html[lang="ar"] .nav {
    text-align: right;
}

/* === RTL Helpers === */
html[lang="ar"] .left {
    float: right;
}

html[lang="ar"] .right {
    float: left;
}

html[lang="ar"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

html[lang="ar"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

/* === Fix spacing (common WP issues) === */
html[lang="ar"] .text-left {
    text-align: right !important;
}

html[lang="ar"] .text-right {
    text-align: left !important;
}
.buy-now-btn{
    padding-top:11px;
    padding-bottom:11px;
}
.review-custom-form form p.comment-form-cookies-consent {
   
    justify-content: right;
   
}
input#rememberme{
        width: 16px;
    height: 16px;
    appearance: auto;
}
.woocommerce-error::before{
 right:inherit;
 left:1.5rem;
}
html[lang="ar"] .custom-styles-pages table tbody tr td.product-name a,.woocommerce-multi-currency.wmc-sidebar.style-1 .wmc-list-currencies .wmc-currency .wmc-currency-content-right,.woocommerce-multi-currency.wmc-sidebar .wmc-title {
    font-family: 'Noto Kufi Arabic';}
table.wishlist_table tr th.product-name,button.woocommerce-button.button.woocommerce-form-login__submit{
    text-align:center;
}
.wishlist_table tr td.product-name{
    font-family: 'Noto Kufi Arabic';
    text-align:right !important;
}
/* === Optional: Flip icons (careful if using logos) === */
html[lang="ar"] i,.olahs-gallery-sec .cs-swiper-button svg,.testimonials-sec .cs-swiper-button svg j, html[lang="ar"] .icon, .testimonials-sec .swiper-dots-n-arrow.--v3  svg j{
    transform: scaleX(-1);
}
.testimonials-sec .swiper-dots-n-arrow{
        flex-flow: row-reverse;
}
/* === Tables === */
html[lang="ar"] table {
    direction: rtl;
}

html[lang="ar"] th,
html[lang="ar"] td {
    text-align: right;
}

/* === Blockquotes === */
html[lang="ar"] blockquote {
    border-right: 4px solid #ddd;
    border-left: none;
    padding-right: 15px;
    padding-left: 0;
}
header .header-menu .menu-wrapper li{
    margin-left: 35px;
}
header .header-menu .menu-wrapper li a::before{
    left:inherit;
    right:0;
}
html[lang="ar"] .product-tiles-sec .mainbox .contentbox .product-title{
    font-family: 'Noto Kufi Arabic', sans-serif;
}

html[lang="ar"]  .testimonials-sec .mainbox .contentbox .testimonial-title{
    font-size:22px;
}
.mainbox .contentbox .content p{
    font-size:14px;
	    -webkit-line-clamp: 4;
}
html[lang="ar"] .newsletter-form .newsletter-fields-wrapper .submit-btn{
    left:25px;
    right:inherit;
}
.who-we-are-sec h5{
    font-weight:400 !important ;
}
.care-routine-tips-sec .contentbox {
    max-width: 45%;
    margin-bottom: -20px;
    margin-left: 0;
    margin-right: auto;
}
.faqs-sec .faq-accordion .faq-question i{
    left:40px;
    right:inherit;
}
.product-details-sec .product-contentbox .quanity-main .quantity-btn {
    color: #311a1c;
    display: flex;
    align-items: center;
    justify-content: center;
    height:50px;
}
.product-details-sec .faq-accordion .faq-question i{
    right:inherit;left:15px;
}
.acfw_coupon_btn_wrap button.button.alt{
    text-align:center;
}

footer .footer-wrapper .leftbox::after{
	right:inherit;left:-36%;
}