.spices-section {
  padding-top: 5em;
  padding-bottom: 5em;
  text-align: center;
}
.spices-section .spices-section-title {
  margin-bottom: 1.5em;
  text-align: center;
}
.spices-section .spices-section-title .subtitle {
  color: var(--ast-global-color-4);
  font-size: 1em;
}
.spices-section .logos {
  margin: 0 2em 0 2em;
  text-align: center;
}

.center-conten {
  text-align: center;
}

.image-container {
  position: relative;
  display: inline-block;
}

.hover-image {
  position: absolute;
  bottom: 12.5%;
  left: 0;
  opacity: 0;
  z-index: -1;
  transform-origin: bottom left;
  transition: transform 0.3s ease;
}

.image-container:hover .hover-image {
  opacity: 1;
  transform: rotate(-30deg) scale(1.5) translateY(-4%);
}

.image-container:hover .hover-image:hover {
  transform: rotate(0deg);
}

.spice-product {
  flex: 0 0 20%; /* Equal flex growth basis of 20% for each child */
}
.spice-product .spice-image {
  transition: transform 0.3s ease;
  height: 75%;
  overflow: hidden;
  position: relative;
}
.spice-product .spice-image a {
  pointer-events: none;
}
.spice-product:hover .spice-image {
  transform: scale(1.1) translateY(-5%);
}

.scrollable-container {
  overflow-x: scroll;
  overflow-y: hidden;
  overflow: visible;
  white-space: nowrap;
  padding-top: 2em;
  padding-bottom: 3em;
  max-width: 800px !important;
  margin: 0 auto;
  /* Hide scrollbar for Chrome, Safari, and Opera */
  /* Hide scrollbar for IE, Edge, and Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}
.scrollable-container::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .scrollable-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
  }
  .spice-product {
    flex: 0 0 40%; /* Equal flex growth basis of 20% for each child */
    /* Set other styles for the spice-product */
  }
  .spices-section-container {
    flex-wrap: nowrap !important;
    padding-left: 40% !important;
    padding-right: 40% !important;
    width: 180%; /* should be the padding sum */
    justify-content: left !important;
  }
}

/*# sourceMappingURL=spices-section.css.map */
