.carousel-item img {
  width: 100%;
  max-height: auto;
}

.with-divider {
  border-right: 1px solid #ccc;
  /* Adjust the color as needed */
}

.no-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.nav-link:hover {
  border: none !important;
}

.microsilver-navbar {
  background-color: var(--white);
  padding-bottom: 0;
  position: relative;
  top: 0%;
  bottom: auto;
  left: 0%;
  right: 0%;
}

.image-92 {
  max-height: 95%;
  max-width: 7.5%;
}

.webflow-nav-link {
  opacity: 1;
  color: var(--dim-grey);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0;
  margin-right: 0;
  padding: 21px 20px;
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
}

.webflow-nav-link:hover {
  opacity: 1;
  color: #000;
}

.webflow-nav-link.w--current {
  color: var(--dim-grey);
  font-family: Poppins, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 22px;
}

/* Footer */
section#feri_flawless_footer p {
  color: #898989;
}

section#feri_flawless_footer p#copy-right {
  color: white;
  text-align: center;
}

.image-37 {
  height: fit-content;
  max-width: 100%;
}

.section-content-tittle {
  height: fit-content;
}

#w-node-_221be563-f90e-c861-7dad-389cd090e94c-99906153 {
  grid-template-columns: 0.25fr 1fr 0.25fr 1fr 0.25fr 1fr 0.25fr 1fr;
}

p.product_details {
  padding-top: 16px;
  padding-bottom: 16px;
}

.webflow-container {
  margin: 100px auto 100px;
}

.webflow-container > div.left-block.hero {
  margin-top: 0;
}

div.top-padding {
  margin-top: 0;
  margin-bottom: 50px;
}

/* Bottom carousel */
.height_250 {
  height: 250px;
}

.image-container {
  position: relative;
  max-width: 250px;
  width: 250px;
  height: 250px;
  overflow: hidden;
  padding: 0 5px;
}

.image-container > div {
  display: block;
  width: 100%;
  height: 100%;
}

.image-container:hover .overlay {
  width: 100%;
  left: 0;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 100%;
  right: 0;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: 0.5s ease;
}

#related-products-carousel,
#related-products-container {
  max-height: 300px;
}

.carousel-control-prev,
.carousel-control-next {
  height: 250px;
}

#carousel_indicators {
  position: static;
}

.slide-25,
.slide-26 {
  background-image: url("../images/FOL-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-27 {
  background-image: url("../images/Flawless-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-28 {
  background-image: url("../images/POSH-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-29 {
  background-image: url("../images/Microsilver-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-30 {
  background-image: url("../images/FOL-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-31 {
  background-image: url("../images/Flawless-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-32 {
  background-image: url("../images/Divine-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-33 {
  background-image: url("../images/Microsilver-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-34 {
  background-image: url("../images/Flawless-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-35 {
  background-image: url("../images/POSH-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

.slide-36 {
  background-image: url("../images/Divine-SliderText.jpg");
  background-position: 50%;
  background-size: cover;
}

#discover-safe-home {
  margin: 60px 0 20px 0;
}

.horizontal-scroll-container {
  display: flex; /* Use Flexbox to align items horizontally */
  overflow-x: auto; /* Enable horizontal scrolling when content exceeds the container width */
  white-space: nowrap; /* Prevent items from wrapping to the next line */
  -webkit-overflow-scrolling: touch; /* Add momentum scrolling for a smoother mobile swipe experience */
  gap: 15px; /* Add some space between columns */
  padding: 0 16px; /* Add padding to the ends for better U/X */
  margin: 50px 0;
}

.top-subtitle {
  margin: 0;
  font-family: "Metropolis", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  padding-bottom: 0.5em;
  text-align: center;
}

.heading-with-italic-part {
  margin: 0 0 10px;
  font-family: "Metropolis", sans-serif;
  font-size: 1.7rem;
  line-height: 1.5;
  font-weight: 300;
  text-align: center;
  color: black;
  span {
    font-family: Big Caslon CC;
    font-size: 2rem;
    font-style: italic;
  }
}

.black-bg-button {
  display: block;
  background-color: black;
  color: #fafafc;
  border: 0;
  padding: 1em 1.5em;
  margin: 50px auto;
  max-width: 90%;
  width: fit-content;
  text-decoration: none;
  font-size: 1em;
  border-radius: 0;
}

/* Optional: Add CSS Scroll Snap for a "paging" effect */
.horizontal-scroll-container {
  scroll-snap-type: x mandatory; /* Enforce snapping to specific points */
}

.column-item {
  flex: none; /* Prevent flex items from shrinking */
  width: 80vw; /* Make each column take up most of the viewport width */
  max-width: 200px;
  scroll-snap-align: start; /* Align the start of the item to the start of the scroll container */
  /* Add other styling like background, padding, etc. */
  box-sizing: border-box;
  display: inline-block; /* Ensure it works with white-space nowrap */
  cursor: pointer;
  text-decoration: none;
}

.column-img-wrapper {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.3s ease; /* optional: slight zoom or darken on hover */
  position: relative;
}

.column-img-wrapper > img {
  width: 100%;
}

/* The overlay that appears on hover */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(232, 222, 209, 0.8); /* black at 50% opacity */
  opacity: 0; /* hidden by default */
  transition: opacity 0.4s ease; /* fade effect */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  text-align: center;
  box-sizing: border-box;
  font-size: 0.8rem;
  color: black;
  text-wrap: wrap;
  text-align: center;
}

.overlay p:nth-of-type(1) {
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0;
  text-align: center;
}

.overlay p:nth-of-type(2) {
  font-weight: 400;
  font-size: 0.8rem;
  margin: 0 10px;
  text-align: center;
}

.overlay div {
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  background-color: black;
  color: white;
}

/* Show overlay on hover */
.column-item:hover .overlay {
  opacity: 1;
}

.column-item > p {
  font-size: 12px;
  font-family: Metropolis, sans-serif;
  text-transform: uppercase;
  text-align: center;
  color: black;
}

/* Optional: Media query for desktop to have a standard vertical layout if preferred */
@media (min-width: 1200px) {
  #discover-safe-home {
    max-width: 80%;
    margin: 60px auto 20px;
  }

  .horizontal-scroll-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    white-space: normal;
    gap: 35px;
    max-width: 1450px;
    margin: 0 auto;
  }

  .column-item {
    width: auto;
    max-width: 250px;
    scroll-snap-align: none;
  }
}

@media screen and (max-width: 1200px) {
  #w-node-_221be563-f90e-c861-7dad-389cd090e94c-99906153 {
    grid-template-columns: 0.25fr 1fr 0.25fr 1fr 0.25fr 1fr;
  }
}

@media screen and (max-width: 991px) {
  .webflow-nav-link {
    width: 100%;
    max-width: 100%;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px #dcdcdc;
  }

  #w-node-_221be563-f90e-c861-7dad-389cd090e94c-99906153 {
    grid-template-columns: 0.25fr 1fr 0.25fr 1fr;
  }

  .image-container {
    width: 100%;
  }

  .hero-image {
    height: 650px;
    background-position: center center;
  }
}

@media screen and (max-width: 767px) {
}

@media screen and (max-width: 479px) {
  #w-node-_221be563-f90e-c861-7dad-389cd090e94c-99906153 {
    grid-template-rows: auto auto auto;
    grid-template-columns: 0.25fr 1fr;
  }

  .image-92 {
    max-width: 20%;
    margin-left: 20px;
    padding-left: 0;
  }

  .hero-image {
    height: 270px;
  }
}
