﻿
/* -----------------------
   Arabic Typography System (Local Font: Alamaria)
   ----------------------- */

/* 1) Local font-face setup */
/* ----------------------------
   Almarai Font (300–800)
-----------------------------*/
@font-face {
    font-family: "Almarai";
    src: url("fonts/Almarai-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Almarai";
    src: url("fonts/Almarai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Almarai";
    src: url("fonts/Almarai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Almarai";
    src: url("fonts/Almarai-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* 2) Global setup */
:root {
    --font-main: "Almarai", "Arial", sans-serif;
    --base-size: 16px;
    --line-height: 1.7;
    --color-text: #1a1a1a;
    --color-muted: #666;
    --color-heading: #0d0d0d;
}

html, body{
    text-align:right
}

body {
    font-family: var(--font-main);
    font-size: var(--base-size);
    line-height: var(--line-height);
    color: var(--color-text);
    background-color: #fff;
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* 3) Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600 !important;
    color: var(--color-heading);
    margin: 0.5rem 0 0.8rem;
    line-height: 1.25;
}
input, .btn {
    font-family: var(--font-main);
    direction:rtl
}

h1 {
    font-size: 2.6rem;
}

h2 {
    font-size: 2.1rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.05rem;
}

/* 4) Paragraphs & small text */
p {
    font-size: 1rem;
    margin: 0 0 1rem;
}

.lead {
    font-size: 1.2rem;
    color: var(--color-muted);
}

small, .small {
    font-size: 0.875rem;
    color: var(--color-muted);
}

/* 5) Labels and form text */
.label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-heading);
}

/* 6) Helpers */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
/* For mixed LTR content */
.muted {
    color: var(--color-muted);
}

/* 7) Responsive scaling */
@media (max-width: 992px) {
    h1 {
        font-size: 2.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* 8) Optional decorative display heading */
.display-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-heading);
}

/* 9) Accessibility focus style */
:focus-visible {
    outline: 2px solid rgba(0, 150, 255, 0.4);
    outline-offset: 2px;
}

.shape {
    
    font-size: 18px;
   
}
.banner-shape::before, .banner-shape::after {
    
    top: 8px;
}
.logo{
    text-align:right !important
}
.servicetop .box {
    border-left: 1px solid #ccc;
    border-right:0 !important;
    padding-right: 45px;
    padding-left:0 !important;
  
    text-align: right;
   
}
    .servicetop .box img {
        right: 0px;
        left:auto !important;
       
    }

.pro{
    text-align:right
}
.latest .box-img {
    width: 70px;
    height: 90px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}
.mr-3, .mx-3 {
    margin-left: 1rem !important;
    margin-right:0 !important
}
.brand-slider-active .col-lg-12:last-child .single-brand-item {
    
    text-align: right;
    direction: rtl;
}
.submenu > li > a i, .megamenu--mega > li > ul > li > a i {
    margin-right: 0;
    margin-left: 10px
}

.product-filter ul li a {
   
    padding: 4px 2px 4px 20px;
   
}
.product-filter .widget-nav-list a:before {
    right: auto;
    left: 6px;
    transform: rotate(180deg);
}

.filter-close-btn{
    left:27px;
    right:auto !important
}
.product-size-menu li, .product-color-menu li {
    margin-right: 0;
    margin-left: 20px
}
.quickview-action-wrap .quickview-button .button {
    margin-left: 0px;
    margin-right:15px
}
.product-image.thumbnails .image {
    margin-right: 94px;
    margin-left:0 !important
}
.owl-carousel {
  
    right: -117px;
    left:0 !important
  
}
.additional-carousel{
    direction:ltr;
    text-align:left
}
@media (min-width: 576px) {
    .text-sm-left {
        text-align: right !important;
    }
}

.offcanvas-minicart_wrapper .offcanvas-menu-inner .close-btn-box {
    text-align: right;
    
}
.offcanvas-minicart_wrapper .offcanvas-menu-inner .minicart-content .minicart-list > li.minicart-product > a.product-item_remove > i {
   
    left: 15px;
    right:auto
}
.offcanvas-minicart_wrapper .offcanvas-menu-inner .minicart-content .minicart-list > li.minicart-product .product-item_content {
   
    padding-left: 10px;
    padding-right: 20px;
}
.minicart-list label span {
    display:inline-block;
    padding-right:10px;
    padding-left:0
    
}
.prodect-title .items {
    font-family: var(--font-main);
}
.single-product-item .product-content .prodect-title {
    font-size: 18px;
    
}
@media(max-width:768px){
    h4{
        font-size:14px !important
    }
    h1, h2, h3{
        font-size:15px !important
    }
    p{
        font-size:12px;
        font-weight:500 !important
    }
}

@media only screen and (max-width: 575px) {
    .header-right-side .header-right-items {
        margin-left: 0px;
        margin-right:20px
    }
}
.page-title-pattern .img-2 {
   
    left: 0;
    right:auto
   
}
.flipped .fix-text {
    transform: scaleX(-1);
    direction:rtl
}
.flipped {
    transform: scaleX(-1);
}
.single-hero-slider-five .small-title::after {
   
    right: 0;
    left:auto
    
}

.single-hero-slider-five .small-title {
   
    padding-right: 25px;
    padding-left:0
   
}
.header-right-side .header-right-items {
    margin-right: 20px;
    margin-left:0
}
@media only screen and (max-width: 575px) {
    .header-right-side .header-right-items {
        margin-right: 15px;
    }
    .header-right-side > .header-right-items:first-of-type {
        margin-right: 0 !important;
    }
}
/*.banner-shape::before, .banner-shape::after {
    content: "";
    position: absolute;
    top: 0;
    width: 8px;
    height: 66%;
    background: #000;
    transform: skewX(12deg);
    top: 3px;
}

.banner-shape::before {
    left: -10px;
}

.banner-shape::after {
    right: -10px;
    transform: skewX(-14deg);
}*/