.cert-hero-carousel-v49 {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
  background: #e7f0eb !important;
}

.cert-hero-slides-v49,
.cert-hero-slide-v49 {
  position: absolute;
  inset: 0;
  margin: 0;
}

.cert-hero-slide-v49 {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.cert-hero-slide-v49.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.cert-hero-image-v49 {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cert-hero-image-microscope-v49 { object-position: 50% 43%; }
.cert-hero-image-testing-v49 { object-position: 50% 39%; }
.cert-hero-image-instrument-v49 { object-position: 54% 50%; }
.cert-hero-image-analysis-v49 { object-position: 48% 50%; }
.products-hero-image-soya-v50 { object-position: 50% 50%; }
.products-hero-image-corn-v54 { object-position: 50% 50%; }
.products-hero-image-butter-v49 { object-position: 50% 49%; }
.products-hero-image-ghee-v49 { object-position: 50% 52%; }
.products-hero-image-canola-v49 { object-position: 50% 50%; }
.recipes-hero-image-original-v52 { object-position: 50% 42%; }
.recipes-hero-image-white-v52 { object-position: 50% 38%; }
.recipes-hero-image-products-v52 { object-position: 50% 38%; }
.recipes-hero-image-kitchen-v52 { object-position: 50% 38%; }
.our-firm-hero-image-production-v52 { object-position: 50% 50%; }
.our-firm-hero-image-facility-v52 { object-position: 50% 50%; }
.panoramic-hero-image-v52 { object-position: 50% 50%; }

.recipes-hero-carousel-v52 .cert-hero-image-v49,
.our-firm-hero-carousel-v52 .cert-hero-image-v49,
.panoramic-hero-carousel-v52 .cert-hero-image-v49 {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}

.media-brand-carousel-v53 {
  background: #fff !important;
}

.media-brand-carousel-v53 .cert-hero-slide-v49 {
  display: grid;
  place-items: center;
  padding: 34px 48px 62px;
  background: #fff;
}

.media-brand-carousel-v53 .media-brand-logo-v53 {
  width: 100% !important;
  height: 100% !important;
  max-width: 330px !important;
  max-height: 190px !important;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 640px) {
  .media-brand-carousel-v53 .cert-hero-slide-v49 {
    padding: 26px 42px 54px;
  }

  .media-brand-carousel-v53 .media-brand-logo-v53 {
    max-width: 250px !important;
    max-height: 135px !important;
  }
}

/* Override the former single-image certification sizing inside the carousel. */
.cert-hero-lab-vFinal .cert-hero-carousel-v49 .cert-hero-image-v49 {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  min-height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover !important;
}

.cert-hero-control-v49 {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #07552f;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 149, 65, 0.2);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(3, 48, 29, 0.18);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.cert-hero-control-v49:hover { background: #fff; }
.cert-hero-prev-v49 { left: 14px; }
.cert-hero-next-v49 { right: 14px; }

.cert-hero-dots-v49 {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 9px;
  background: rgba(3, 48, 29, 0.62);
  border-radius: 999px;
  transform: translateX(-50%);
}

.cert-hero-dots-v49 button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.65);
  border: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.cert-hero-dots-v49 button[aria-current="true"] {
  width: 24px;
  background: #fff;
}

.cert-hero-control-v49:focus-visible,
.cert-hero-dots-v49 button:focus-visible {
  outline: 3px solid #f28d2c;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .cert-hero-control-v49 {
    width: 36px;
    height: 36px;
    font-size: 1.45rem;
  }

  .cert-hero-prev-v49 { left: 10px; }
  .cert-hero-next-v49 { right: 10px; }
  .cert-hero-dots-v49 { bottom: 10px; }

  .brands-grid-vFinal {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .brands-grid-vFinal .logo-card-v13 {
    height: clamp(132px, 42vw, 188px) !important;
    min-height: 0 !important;
    padding: 10px !important;
    border-radius: 22px !important;
  }

  .brands-grid-vFinal .logo-card-v13:nth-child(n) img {
    width: 100% !important;
    height: 100% !important;
    max-width: 90% !important;
    max-height: 92px !important;
    object-fit: contain !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cert-hero-slide-v49,
  .cert-hero-dots-v49 button {
    transition: none !important;
  }
}

/* Keep the Arabic homepage product clear of the RTL headline. */
html[dir="rtl"] .hero-product-image-v13 {
  left: 22% !important;
}

@media (max-width: 760px) {
  html[dir="rtl"] .hero-product-image-v13 {
    left: 31% !important;
  }
}
