/* Add custom CSS styles below */ 
:root {
    --main-color: #4D5E3D !important;
    font-family: Almarai;
        font-size:18px;
     --color-primary: #4D5E3D !important;
         --color-primary-reverse: #f6f9f9 !important;  
}
.text-primary

 {
    color: #4D5E3D !important ;
}
.s-fast-checkout-button.outline {
    background-color: transparent;
    border: 1px solid #4D5E3D !important ;
    color: #4D5E3D !important;
}
.s-comments-product {
   
    background-color: rgb(223 233 214);
    
}
/* Global */
body {
  background-color: #FFFCF4 !important;
  
}

.s-block.s-block--fixed-banner.wide-placeholder .container {
padding-right: 0 ;
padding-left: 0 ;
}

.banner--fixed img {
background-color: transparent;
}
/* End of Global */
/*Navbar*/
.main-nav-container.shadow-default.bg-white{
background-color: #FFFCF4 !important;
}
.navbar-brand img {
  max-width: 370px;
}
@media only screen and (min-width: 1024px) {
.main-menu li.root-level>a {
    color:#4D5E3D;
}
}
.top-navbar {
display: flex;
min-height: 48px;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
   background-color: #4D5E3D !important;

}
.s-contacts-topnav-link:last-child:where([dir="rtl"], [dir="rtl"] *) {
  border-width: 0px;
  padding-left: 0px;
  color: white;
}

.text-primary {
color: #0739C9;
}
.s-menu-topnav-list {

color: #fff !important;
}

.header-btn__icon {
color: #4D5E3D;
border-color: #4D5E3D;
}
.s-search-icon svg {

fill: #FFFCF4 !important;
}

.navbar-brand img {
max-height: 4.5rem;
}
.s-contacts-topnav-link:where([dir="rtl"], [dir="rtl"] *) {
border-left-width: 1px;
color: #4D5E3D;
}
.s-cart-summary-total {
color: #4D5E3D;
}
.s-search-container input::placeholder, .s-search-container input, .header-btn__icon:hover  {
color: #FFFCF4!important;
}
/*End of navbar*/
/*main-section*/
:nth-child(1 of section.s-block.s-block--fixed-banner.wide-placeholder) {
margin-top: 0;
}
.s-block.s-block--fixed-banner.wide-placeholder .container {
  padding-right: 0 ;
  padding-left: 0 ;
}
:nth-child(1 of section.s-block.s-block--fixed-banner.wide-placeholder) .container{
 max-width:100%;
 border-reduis:0;
}
@media (min-width: 1280px) {
.container {
  max-width: 1280px;
}
}
.container {
width: 100%;
margin-right: auto;
margin-left: auto;

}
.s-slider-has-notitle .s-slider-block__title {
 
 display: none !important;
}
/*End of main-section*/

/*Categories*/

.s-slider-controls-outer .s-slider-block__title-nav {
  display: none;
}

.s-slider-block__title {
  justify-content: center;
}
  
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a {
  background-color: transparent;
  border-width: 0;
  height: 100%;
}
  
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a > h2 { 
  display:none;
}
  
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper {
  justify-content: center;
}
  
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a > img {
  width: 100%;
  height: 100%;
  transition: .3s;
}
  
.rounded-full {
  border-radius: 0;
}
  
section.s-block.s-block--categories .container .s-slider-wrapper .swiper.s-slider-container .swiper-wrapper .swiper-slide > a > img:hover {
  transform : translateY(10px);
  transform : scale(1.1);
}
/*End of Categories*/
/* Products Section */

.s-slider-block__title-left {
  display: none !important;
}

.s-slider-block__title {
    justify-content: center !important;
    display: flex;
    align-items: center !important;
}

@media (max-width: 687px) {
  .s-slider-block__title-right h2 {
    color:#4D5E3D !important;
  }
}

h2 {
  color: #4D5E3D !important; 
}

.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *), .s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
  padding-left: 0;   
}

.s-slider-block__title h2 {
  text-align:center;
}

.s-slider-block__title h2:after {
  content: '';
  position: absolute;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 60px;
  background: url(https://i.ibb.co/HfQYFWj8/Mask-group-18.png) no-repeat center;
  background-size: contain;
}

.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
  background-color: #fff;
}
  
.s-products-list-vertical-cards {
    padding: .3rem !important;
}
.s-slider-block__title {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  display: flex;
  max-width: 1280px;
  align-items: center;
  justify-content: space-between;
}
.s-product-card-vertical {
  padding: 0.1rem;
  overflow: hidden;
  box-shadow: 0px 0px 6px -1px #4D5E3D;
}

.swiper-wrapper.s-slider-swiper-wrapper {
  padding-top: .4rem;
  padding-bottom: .4rem;
}
.s-product-card-price {
font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 700;
color: #2D2D2D;
}
.s-product-card-content {
  border-radius: 0;
}

.s-product-card-content-title {
  overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 1; /* number of lines to show */
   line-clamp: 1; 
   -webkit-box-orient: vertical;
}

.s-product-card-content-title a {
  color:##2D2D2D;
}

.s-product-card-content-sub {
  justify-content: flex-start;
}
  
.s-button-wide {
  background-color: #4D5E3D;
  color: #fff;
  border-radius: 10px !important;
}
  
.s-product-card-vertical img {
  transition: .5s;
}
  
.s-product-card-image img.loaded {
  aspect-ratio: 4/4 !important ;
}

.s-product-card-vertical:hover img {
  opacity : .9;
  transform : translateY(10px);
  transform : scale(1.1);
}
.s-button-wide:hover {
    background-color: #4F603F;
    color: #fff;
    border-radius: 10px !important;
}
/* End of Products Section */
/*Store Features*/

    .s-block__title {
        margin-bottom: 1rem;
        
        justify-content: center;
    }

.banner-entry {
    position: relative;
    height: 234px;
    background-color: transparent;
  
    
}
@media (max-width: 768px) { /* يستهدف الأجهزة التي عرضها أقل من 768px */
    .banner-entry {
        height: 80px; /* تقليل الارتفاع على الهاتف */
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0px, 1fr));
    }
}
.s-block__title .right-side:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0;
}
/* End Store Features*/
/*footer*/
.footer-is-light .store-footer {
    background-color: #FFF9E7;
}
footer > div.store-footer__inner {
    background-color: transparent !important;
    color: #455537;
}
footer.store-footer * {
    text-align: center;
}
 .store-footer__inner .container.grid>div:nth-of-type(1) {
      padding-left: 0;
      grid-column: span 1 / span 2;
  }
  footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a {
    justify-content: center;
 
  }
   @media (min-width: 992px) {
      footer.store-footer .container.grid {
          grid-template-columns: repeat(3, minmax(0, 1fr));
          justify-items: center;
      }
  }
  .store-footer__inner .container.grid > div:nth-of-type(1) h3 {
  display: none !important;
}
  footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a::after  {
    content: '';
    display:block;
   z-index: .9999;
    width: 300px;
    height: 150px;
    background: url(https://i.ibb.co/nqS75Z01/Frame-351.png) no-repeat center; 
  ;
    background-size: contain;
  }
  .copyright-text p {
    
    color: #fff;
}
.s-contacts-list-vertical {
    flex-direction: column;
    align-items: center;
}
.s-social-list {
    display: flex
;
    gap: 0.625rem;
    justify-content: center !important;
}
.copyright-text p {
    color

: #4D5E3D;
}
@media (min-width: 1024px) {
    .store-footer__inner{
       
         padding-bottom: 0rem !important;
    }
}
.s-social-link a {
 
    border-color: #4D5E3D;
}
.s-contacts-icon {
  
    border-color: #4D5E3D;
}
/* end footer*/
/* تحسين INP لتسريع الاستجابة */
button, a {
    will-change: transform, opacity;
}

button:hover, .button:hover {
    background-color: #f8b400;
    transform: scale(1.05);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* تحسين CLS لمنع تغيير التخطيط المفاجئ */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

.ad-slot {
    width: 300px;
    height: 250px;
    display: block;
    min-height: 250px;
}

.banner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazyload {
    display: block;
    min-height: 100px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazyload.loaded {
    opacity: 1;
}

/* تحسين تحميل الخطوط */
@font-face {
    font-family: 'CustomFont';
    src: url('customfont.woff2') format('woff2');
    font-display: swap;
}

body {
    scroll-behavior: smooth;
    font-display:  swap;
}
.list-block div>div a{
    display : none;
}