:root {
  --app-font: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: none !important;
}

.bg_light {
  background: #fff;
}


html,
body {
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.font-cairo {
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;

}

.bg-dark {
  background: #f3f4f6 !important;
}

.portfolio-filter-wrapper {
  padding: 10px 0;
  border-bottom: 1px solid #cdcdcd;
  border-top: 1px solid #cdcdcd;
}

.rts-section-gap {
  padding: 10px 0;
}

.megahovered {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  /* Firefox 4 */
  -webkit-transition-delay: 0.1s;
  /* Safari and Chrome */
  -o-transition-delay: 0.1s;
  /* Opera */

}

.megahovered .mega-hovertitle {
  bottom: 50%;
  transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  /* Firefox 4 */
  -webkit-transition-delay: 0.1s;
  /* Safari and Chrome */
  -o-transition-delay: 0.1s;
  /* Opera */
}

.megahovered .mega-hovertitle,
.megahovered .mega-hoverlink,
.megahovered .mega-hoverview {
  transform: rotate(0deg);

  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;


}

.megahovered .mega-hoverlink {
  right: 50%;
  margin-right: 5px;
  transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  /* Firefox 4 */
  -webkit-transition-delay: 0.1s;
  /* Safari and Chrome */
  -o-transition-delay: 0.1s;
  /* Opera */
}

.megahovered .mega-hoverview {
  left: 50%;
  margin-left: 5px;
  transition-delay: 0.1s;
  -moz-transition-delay: 0.1s;
  /* Firefox 4 */
  -webkit-transition-delay: 0.1s;
  /* Safari and Chrome */
  -o-transition-delay: 0.1s;
  /* Opera */
}


.filter:hover,
.filter.selected {
  background-color: #629d23;
}

li.filter {
  color: #2c3c28;
  border-radius: 50px
}



.search-input-area-menu {
  direction: rtl;
}

.dir-rtl {
  direction: rtl;
}

.content-box {
  padding-top: 0 !important;
  padding-bottom: 0;
}

.align-items-center {
  text-align: right;
  direction: rtl;
}

.single-vendor-area .logo-vendor img {
  max-width: max-content;
  height: 150px;
  width: 150px;
  display: block;
}

.single-vendor-area .logo-vendor {
  margin-bottom: 0px;
}

.single-vendor-area {
  padding: 5px;
}

.search-input-area-menu button {
  left: 10px;
  right: auto;
}

.search-input-area-menu input {
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.mobile-menu-nav-area {
  direction: rtl;
}

body .mobile-menu-main nav ul li.has-droupdown::after {
  left: 0;
  right: auto;
}

.category-hover-header .category-sub-menu li a img {
  margin-left: 16px;
}

.category-hover-header .category-sub-menu li a i.parent_icon {
  margin-left: 16px;
  margin-right: 0px;
  transition: 0.3s;
}


.category-hover-header .category-sub-menu li a i {
  margin-right: auto;
  margin-left: 0;
}

#category-active-menu .submenu li a.mobile-menu-link {
  padding: 10px 40px 10px 10px !important;
  display: block !important;
  text-align: right !important;
}

#category-active-menu .submenu li a.mobile-menu-link::after {
  content: "\f053" !important;
  font-family: var(--font-three) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 20px !important;
  left: auto !important;
  position: absolute !important;
  font-size: 14px !important;
}

/* Fix mobile menu parent right arrow turning into minus on expand */
.menu-item[aria-expanded="true"] i.parent_icon::before,
li.menu-item-open>a.menu-item i.parent_icon::before {
  content: "\f063" !important;
  /* fa-arrow-down */
}

.search-input-area .search-input-inner .input-div {
  direction: rtl;
}

.search-input-area .search-input-inner .input-div button {

  padding: 12px;
  margin-left: 0;
  margin-right: -9px;
  border-radius: 5px 0 0 5px;
}

.rts-btn.with-icon {
  direction: rtl;
}

.category-area-main-wrapper-one {
  direction: rtl;
}



.banner-one-inner-content .title {
  font-weight: normal;
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.single-shopping-card-one .body-content a .title,
.single-shopping-card-one .body-content a .title2 {
  transition: 0.3s;
  font-size: 16px;
  margin-bottom: 12px;
  direction: rtl;
  text-align: center;
  font-weight: 400;
  line-height: 22px;
  padding-bottom: 7px;
}

.single-shopping-card-one .body-content .availability {
  direction: rtl;
  display: block;
  text-align: center;

}

.single-feature-card .title {
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


.logo-search-category-wrapper {
  direction: rtl;
}

.nav-and-btn-wrapper {
  direction: rtl;
}

.single-shopping-card-one .thumbnail-preview img.single-shopping-card-one-resized {
  height: 150px;
}

.single-shopping-card-one .body-content a.body-content-brochure {
  text-align: center;
  display: block;
}



.title-area-between {
  padding-top: 22px;
  margin-bottom: 0;
  font-family: var(--font-cairo-light), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: normal;
}

/* Desktop RTL alignment */
@media (min-width: 992px) {
  .title-area-between {
    text-align: right;
    direction: rtl;
  }
}

.title-area-between_nopadtop {
  padding-top: 0;
}

.title-area-between h2 {
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;

  font-weight: normal;
  margin-bottom: 0;
}

.best-selling-grocery {
  direction: rtl;
  gap: 0;
}

.single-shopping-card-one .body-content a .title,
.single-shopping-card-one .body-content a .title2 {
  transition: 0.3s;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.single-shopping-card-one .body-content h4.title,
.single-shopping-card-one .body-content h4.title2 {
  transition: 0.3s;
  font-size: 16px;
  margin-bottom: 10px;
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.single-shopping-card-one.deals-of-day .thumbnail-preview img {
  height: 120px;
}

.single-category-page {
  padding: 0;
  padding-bottom: 15px !important;
}

.single-shopping-card-one .body-content a .title2 {
  /*height: 20px !important;*/
  font-size: 13px !important;
  height: 60px;
}







.vendor-search-area-wrapper .search-vendor-form a {
  right: auto;
  left: 5px;
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;

  font-weight: 400;
}

.single-shopping-card-one.deals-of-day .cart-counter-action .rts-btn {
  background-color: #EABC5E;
  border: 1px solid #e2ce76;
  border-radius: 2px;
  color: black;
  font-weight: normal;
  padding: 5px 2px !important;
}

.single-shopping-card-one.deals-of-day .cart-counter-action .rts-btn .btn-text {
  color: black;
}

.navigator-breadcrumb-wrapper {
  direction: rtl;
}


/*Megafolio*/
.megafolio-container .mega-entry .mega-entry-innerwrap {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: rgb(243 244 246) !important;
  /* optional: fill empty space */
  margin-bottom: 30px;
}

.megafolio-container-two .mega-entry .mega-entry-innerwrap {
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  margin-bottom: 30px;
  border: 1px solid rgb(243 244 246) !important;
}




.titlw-area-between-best-seller-anim .title::after {
  background: none !important;
}


.weekly-best-seller-area .title {
  font-family: var(--font-cairo-regular), system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  text-align: center;
  font-weight: normal;
}

/*Retailer page*/
.inner-content .title,
.inner-content .price-area {
  direction: rtl;
}

.feature-product-area-single .inner-image {
  right: auto;
  left: 20px;
}

/* Grocery offers section padding for desktop */
@media (min-width: 992px) {
  .rts-grocery-feature-area {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Slideshow height limit for desktop */
@media (min-width: 992px) {

  #heroCarousel .carousel-inner,
  #heroCarousel .carousel-item,
  #heroCarousel .carousel-img {
    max-height: 450px;
    object-fit: cover;
  }
}

/* Categories Swiper Navigation Arrows */
.mySwiper-category-2 .swiper-button-next,
.mySwiper-category-2 .swiper-button-prev {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.mySwiper-category-2 .swiper-button-next:hover,
.mySwiper-category-2 .swiper-button-prev:hover {
  background-color: #629d23;
  box-shadow: 0 4px 12px rgba(98, 157, 35, 0.3);
}

.mySwiper-category-2 .swiper-button-next::after,
.mySwiper-category-2 .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.mySwiper-category-2 .swiper-button-next:hover::after,
.mySwiper-category-2 .swiper-button-prev:hover::after {
  color: #fff;
}

/* RTL adjustments for arrows */
@media (min-width: 768px) {
  .mySwiper-category-2 .swiper-button-next {
    left: 10px;
    right: auto;
  }

  .mySwiper-category-2 .swiper-button-prev {
    right: 10px;
    left: auto;
  }
}

/* Center category images */
.single-category-one {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.single-category-one img {
  display: block;
  margin: 0 auto;
}

/* Category images - force center on all devices */
.single-category-one {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.single-category-one img {
  display: block !important;
  margin: 0 auto !important;
}

.single-category-one p {
  margin-bottom: 15px !important;
  margin-top: 8px !important;
}

/* Remove max-width constraint from category images */
.single-category-one img {
  max-width: none !important;
  width: auto !important;
}

.category-area-main-wrapper-one {
  border-radius: 0;
  overflow: hidden;
}

.category-hover-header .category-sub-menu li a {
  padding-left: 0 !important;
  padding-right: 5px !important;
}

.category-btn.category-hover-header.menu-category .category-sub-menu {
  margin-top: 10px !important;
}

.category-hover-header .category-sub-menu {
  border-radius: 0 !important;
}

.side-bar button.close-icon-menu i {
  background-color: #1f6d39 !important;
}

.tab-nav-btn nav .nav-tabs button[aria-selected=true] {
  background-color: #206c39 !important;
}

.category-icon-wrapper {
  color: #206c39 !important;
}



.category-hover-header .category-sub-menu li a:hover {
  background-color: #1f6d39;
}