
:root {
  --main: #006838;
  --main-darker: #009444;
  --main-light: #39b54a;
  --secondary: #ffc30D;
  --text: #ffc30D;
  --black: #00000078;
  --warm: #f1f0ed;
  --gray: #8a8680;
}



@font-face {
  font-family: "Cairo";
  src: url("/assets/fonts/cairo/Cairo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/cairo/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

body,
body *:not(i) {
  font-family: "Cairo", "Roboto",sans-serif !important;
  font-weight: 500;
}

body.loaded:after {
  display: none;
}

.k-ltr {
 direction: ltr !important;
}

.preloader {
  background: var(--main-darker);
}

.preloader-3 div span:before {
  background:rgba(255, 192, 4, 0.878);
}

.header-color-main {
  background: var(--main) !important;
}

.mobile-menu-color-main {
  background: var(--main) !important;
}

@media (max-width: 991.98px) {
  .header.mobile-menu-color-main .header-menu {
    background: var(--main);
  }
}

.nav-link::before {
  background: var(--secondary) !important;
}
.nav-dropdown {
  background: var(--main) !important;
}

.translate{
  border-left: #e8f5e9 1px solid;
}

.bg-main {
  background-color: var(--main);
}

.bg-main-light {
  background-color: var(--main-light);
}

.bg-main-darker {
  background-color: var(--main-darker);
}

.bg-alert {
  background: var(--main) !important;
  border: none;
}

.text-color {
  color: var(--text);
}

.text-gradient-main {
  display: inline-block;
  background-image: linear-gradient(90deg, var(--main-light) 0%, var(--main) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-main {
  background-image: linear-gradient(90deg,var(--main) 0,var(--main-light) 100%);
  border: 1px solid var(--main-darker) !important;
}

.scrolltotop {
  background: var(--secondary) !important;
  mix-blend-mode: unset;
}

.whats-up {
  z-index: 996;
  position: fixed;
  right: 20px;
  bottom: 70px;
  display: inline-block;
  width: 48px;
  height: 48px;
  line-height: 46px;
  border-radius: 50%;
  color: var(--main)  !important;
  text-align: center;
  cursor: pointer;
}

/* .order-box {
  overflow: hidden;
  border-radius: .5em;
  border: none;
  box-shadow: 4px 4px 0 0 var(--main-darker);
} */

.section-main {
  padding-top: 30px;
  padding-bottom: 0;
}

.section-xl-products {
  padding-top: 180px;
  padding-bottom: 0px;
}

.brand-color {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.03em;
}

.brand-color span {
  color: var(--secondary);
}

.cart-icon-badge {
  background: transparent;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
}

.cart-count {
  background: var(--text);
  color: var(--main);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  font-size: 11px;
  padding-bottom: 3px;
  font-weight: bolder;
}

/* header logo */
img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.header-logo .img-logo img { 
  display: inline-block;
  max-width: 100%;
  height: 80px  !important;
  max-height: 80px !important;
  object-fit: contain !important;
}

@media (min-width: 992px) {
  .header-logo {
    max-width: 250px;
    margin-right: 2px;
  }

  .img-logo {
    max-width: 200px;
  }
}

@media (max-width: 992px) {
  .img-logo {
    width: 120px;
    max-width: 120px;
  }
}

@media (min-width: 1400px) {
  .px-xxl-5 {
    padding: 0 3rem 0 !important;
  }
}

/* products *****/
.products-img-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--warm);
  border-radius: 5px;
  transition: transform 0.3s;
  width: 100%;
  overflow: hidden;
}

.products-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s ease;
}

.products-title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.1;
}

.products-price {
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  margin-top: 3px;
}

.products-category {
  font-size: 13px;
  color: var(--gray);
  text-decoration: none;
}

.products-card:hover .products-img {
  transform: scale(1.03);
}

.products-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
}

.products-badge-right {
  left: auto;
  right: 12px;
}

@media (max-width: 576px) {
  .products-badge {
    top: 8px;
    left: 8px;
  }

  .badge {
    font-size: 0.7rem;
    padding: 5px 10px;
  }
}

/***** hero-slider ******/
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: 1;
 direction: ltr !important;
}

.hero-slider .swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 10;
  color: white;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  transform: translate(-50%, -50%) !important;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  pointer-events: none;
 direction: ltr !important;

}

.hero-content>* {
  pointer-events: auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  display: block;
}

.slide-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.swiper-slide-active .slide-content h1,
.swiper-slide-active .slide-content p,
.swiper-slide-active .slide-content .btn {
  opacity: 1;
  transform: translateY(0);
}

.hero-slider .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(0, 0, 0, 0.3);*/
  z-index: 1;
}

.swiper-pagination {
  position: absolute;
  bottom: 30px !important;
  z-index: 5;
}

/* .hero-slider .swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 10;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
} */

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--main);
}

.swiper-pagination-bullet:before {
  border: none;
}

.swiper-pagination-bullet:after {
  background: none;
}

@media (max-width: 768px) {

  .hero-content h1,
  .slide-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p,
  .slide-content p {
    font-size: 1.2rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

.scroll-btn {
  position: fixed;
  transform: translateX(-50%);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 9999;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  /* 
  40% {
    transform: translateX(-50%) translateY(8px);
  } */

  90% {
    transform: translateX(-50%) translateY(8px);
  }
}

/** recipe Swiper */
.recipeSwiper {
  padding-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.recipeSwiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  height: auto;
}

.recipe-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.recipe-img img {
  max-width: 100%;
  height: 180px;
  width: auto;
  object-fit: cover;
  border-radius: 5px;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.recipe-text {
  font-size: 18px;
}

.swiper-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
  padding: 10px;
 direction: ltr !important;
}

.swiper-nav-prev,
.swiper-nav-next {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 10px;
  background: var(--main-light);
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swiper-nav-prev:hover,
.swiper-nav-next:hover {
  transform: scale(1.2);
  background: var(--text);
}

.swiper-nav-prev:active,
.swiper-nav-next:active {
  transform: scale(1);
}

/* footer **/
.footer {
  color: white;
  padding-top: 4rem;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;

  padding-bottom: 5px;
  text-align: center;
  direction: ltr !important;
  color: var(--warm);
}

.product-detail-section {
  padding: 0;
}

.product-gallery {
  position: sticky;
  top: 100px;
}

.main-image {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  max-height: 560px;
  align-items: center;
  justify-content: center;
  background: #fefcf8;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.02);
}

.thumbnail-row {
  display: flex;
  gap: 5px;
  margin-top: 15px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail.active {
  opacity: .50;
}

.product-badge-stock {
  background: #e8f5e9;
  color: var(--black);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--main);
  margin: 16px 0 12px;
  line-height: 1.2;
}

.product-price {
  font-size: 25px;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 20px;
}

.product-description {
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-add-to-cart {
  background: var(--main);
  border: none;
  border-radius: 5px;
  padding: 15px 3px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 12px;
  cursor: pointer;
}

.btn-add-once {
  background: var(--main);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-add-once:hover {
  background: var(--secondary);
}

.btn-add-to-cart:hover {
  background: var(--secondary);
}

/* Shipping Info Row */
.shipping-info {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--pp-border);
}

.shipping-info span {
  font-size: 13px;
  color: #6c6c6c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.related-section {
  background: white;
  padding: 60px 0;
  margin-top: 40px;
  border-top: 1px solid var(--pp-border);
}

.section-title {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 28px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.related-card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
  display: block;
}

.related-card:hover {
  transform: translateY(-5px);
}

.related-img {
  background: var(--warm);
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  overflow: hidden;
}

.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--main);
}

.related-price {
  font-weight: 600;
  font-size: 16px;
  color: var(--main);
}

.recipe-img-wrapper-inner {
  position: relative;
  overflow: hidden;
  background: var(--warm);
  border-radius: 5px;
  transition: transform 0.3s;
  width: 100%;
  overflow: hidden;
}

.recipe-img-inner {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s ease;
}

@media (max-width: 768px) {
  .product-detail-section {
    padding: 30px 0;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-price {
    font-size: 26px;
  }

  .thumbnail {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .quantity-selector {
    flex-wrap: wrap;
  }

  .btn-add-to-cart,
  .btn-wishlist {
    padding: 12px 20px;
  }

  .related-title {
    font-size: 13px;
  }

  .related-price {
    font-size: 13px;
  }
}

.skeleton {
  background: linear-gradient(
      45deg,
      var(--main) 25%,
      var(--main-darker) 50%,
      var(--main-light) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  border-radius: 4px;
}

.skeleton-img {
  width: 100%;
  aspect-ratio: 1/1;
}

.skeleton-title {
  height: 20px;
  margin-top: 10px;
  width: 80%;
}

.skeleton-price {
  height: 18px;
  margin-top: 10px;
  width: 40%;
}

.skeleton-btn {
  height: 20px;
  margin-top: 10px;
  width: 100%;
}

@keyframes shimmer {
  0% {
      background-position: 200% 0;
  }
  /* 50% {
      background-position: -200% 0;
  } */
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 40px;
  padding: 0 25px;
  border: 0;
  border-radius: 8px;
  background: var(--secondary);
  color:var(--main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .2px;
  cursor: pointer;
  transition: all .25s ease;
}

.load-more-btn:hover {
  background: var(--main-darker);
  color: var(--secondary);
  transform: translateY(-2px);
}
.load-more-btn:disabled {
  cursor: not-allowed;
  opacity: .8;
}
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.info {
  display: none;
  text-align: start;
  font-size: large;
}

.submit-result {
  display: none;
  padding: 20px;
  margin-top: 3px;
  border-radius: 4px;
  text-align: center;
  font-size: larger;
  font-weight: bold;
}
.submit-result.show-result {
  display: block;
}
.submit-result.success {
  color: #155724;
  background: #d4edda;
  border: 1px solid #c3e6cb;
}
.submit-result.error {
  color: #721c24;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
}