/* 1. Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Tajawal:wght@400;700&display=swap');

/* 2. Global rule for English (Left-to-Right) */
html[lang="en"],
body:not([dir="rtl"]) {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 400;
    font-size: 20px;
  color:#000;
}

/* 3. English headings — bold, capitalized */
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4,
html[lang="en"] h5,
html[lang="en"] h6,
body:not([dir="rtl"]) h1,
body:not([dir="rtl"]) h2,
body:not([dir="rtl"]) h3,
body:not([dir="rtl"]) h4,
body:not([dir="rtl"]) h5,
body:not([dir="rtl"]) h6 {
    font-family: 'Nunito', sans-serif !important;
    text-transform: capitalize;
}

/* Tablet screens (max-width: 1024px) */
@media only screen and (max-width: 1024px) {
  html[lang="en"],
  body:not([dir="rtl"]) {
    font-size: 17px !important;
  }
}

/* Mobile screens (max-width: 640px) */
@media only screen and (max-width: 640px) {
  html[lang="en"],
  body:not([dir="rtl"]) {
    font-size: 14px !important;
  }
}


@media (min-width: 1024px) {
    .lg\:w-5\/12 {
        width: 65.666667% !important;
    }
}
custom-main-menu {
    min-height: 0px !important;
}

/* Advertisement bar ka override */
html[lang="ar"] .s-advertisement-content-main a,
html[dir="rtl"] .s-advertisement-content-main a {
  font-size: 16px !important;
  line-height: 20px !important;
}

@media (max-width: 767px) {
  html[lang="ar"] .s-advertisement-content-main a,
  html[dir="rtl"] .s-advertisement-content-main a {
    font-size: 14px !important;
  }
}




@media (min-width: 1024px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }
}



h2.lg\:text-title-size.font-bold.leading-tight.mb-4 {
    font-size: 55px;
  font-weight: 700;
}
@media (max-width: 768px) {
    h2.lg\:text-title-size.font-bold.leading-tight.mb-4 {
        font-size: 25px !important;
        font-weight: 700 !important;
    }
}

.s-block__title .right-side h2 {
    font-size: 1.8rem !important;
        COLOR: #004FA5 !important;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .s-block__title .right-side h2 {
        font-size: 28px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .s-block__title .right-side h2 {
        font-size: 18px !important;
    }
}

@media (max-width: 768px) {
    .cta-button {
        width: 27% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}
@media (min-width: 640px) {
    .s-block {
        margin-top: 2rem;
    }
}
p.line-clamp-2.description
 {
    -webkit-line-clamp: none;
}

@media (max-width: 767px) {
  .w-4\/6 {
    width: 100% !important;
  }
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
        grid-column: span 1 / span 1;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.s-block {
    margin-top: 50px !IMPORTANT;
}

s-block-features-list {
    --title-font-size: 1.5rem;
}

@scope {
    @media (min-width: 1024px) {
        .main {
            font-size: 1.75rem !important;
            line-height: 53px;
          padding-top: 20px;
          padding-block: 20px;
        }
    }
}

.banner--fixed img, .banner-entry{
  margin-bottom: 30px !important;
}
@media (max-width: 1024px) {
    .sub {
        margin: 0 auto !important;
    }
}

.s-block__title {
    margin-top: 60px;
}

.s-block.s-block--hero-slider.s-block--full-bg.wide-placeholder {
  margin-top: 0px !important;
}
/* ================================
   CENTER LOGO - TABLET & DESKTOP
================================ */

@media (min-width: 768px) {
    #mainnav .container .flex.items-stretch.justify-between {
        position: relative;
    }

    #mainnav a.navbar-brand[data-testid="store-header-logo"] {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10;
        margin: 0 !important;
    }
}


@media (min-width: 1024px) {
  #mainnav custom-main-menu {
    display: none !important;
  }
  #mainnav a[data-testid="store-header-mobile-toggle"] {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.s-block--fixed-banner .container {
    max-width: 100% !important;
    width: 100%;
} 

.s-product-card-content-footer.gap-2 {
    display: block !important;
}

.s-products-list-vertical-cards custom-salla-product-card:nth-child(1) { order: 3; }
.s-products-list-vertical-cards custom-salla-product-card:nth-child(2) { order: 2; }
.s-products-list-vertical-cards custom-salla-product-card:nth-child(3) { order: 1; }