.more-from-category.single.widget {
  margin-top: 0;
  border: 1px solid #eee;
}

.more-from-category.single.widget .widget-title {
  padding: 12px 15px;
  font-size: 14px;
  background: #f1f1f1;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  font-weight: 600;
  color: #333;
}

.more-from-category.single.widget ul {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: 390px;
  overflow: hidden;
  overflow-y: auto;
}

.more-from-category.single.widget ul li {
  /* padding-left: 70px; */
  margin: 0;
  position: relative;
  /* min-height: 55px; */
  display: block;
  font-size: 12px;
  overflow: initial;
  cursor: pointer;
  flex: none;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.more-from-category.single.widget ul li a {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #333;
  display: block;
}

/*.more-from-category.single.widget.featured-product-section .carousel-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.more-from-category.single.widget.featured-product-section .carousel-container .featured-prod-list.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 16px;
  list-style: none;
  margin: 0;
  scroll-behavior: smooth;
}


.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 16px;
  text-align: center;
  scroll-snap-align: center;
  transition: transform 0.2s;
}

.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card h1 {
  font-size: 1.1rem;
  margin: 12px 0 8px;
}

.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card p {
  color: #444;
  margin-bottom: 10px;
}

.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card a {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.more-from-category.single.widget.featured-product-section .carousel-container ul.featured-prod-list li.single-prod-card a:hover {
  background: #444;
}

.more-from-category.single.widget.featured-product-section .carousel-container .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.more-from-category.single.widget.featured-product-section .carousel-container .carousel-btn.prev { left: 8px; }
.more-from-category.single.widget.featured-product-section .carousel-container .carousel-btn.next { right: 8px; }
.more-from-category.single.widget.featured-product-section .carousel-container .carousel-btn:focus { outline: 2px solid #222; }*/

.more-from-category.single.widget.featured-product-section .carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.more-from-category.single.widget.featured-product-section .carousel-viewport {
  width: 100%;
  max-width: 340px; /* or whatever your design needs */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.featured-prod-list.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0; /* We'll set this dynamically with JS */
  list-style: none;
}
.single-prod-card {
  flex: 0 0 260px;
  scroll-snap-align: center;
  /* ...other styles... */
}


.more-from-category.single.widget.featured-product-section .featured-prod-list.carousel {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0 20px 0;
  margin: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.more-from-category.single.widget.featured-product-section .single-prod-card {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 16px;
    text-align: center;
    scroll-snap-align: center;
    min-height: 360px;
    transition: transform 0.2s;
}

.more-from-category.single.widget.featured-product-section .single-prod-card img {
    width: 100%;
    height: 176px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}

.more-from-category.single.widget.featured-product-section .single-prod-card h1 {
    font-size: 1.1rem;
    margin: 12px 0 8px;
    min-height: 70px;
}

.more-from-category.single.widget.featured-product-section .single-prod-card p {
  color: #444;
  margin-bottom: 10px;
}

.more-from-category.single.widget.featured-product-section .single-prod-card a.but-btn {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.more-from-category.single.widget.featured-product-section .single-prod-card a.but-btn:hover {
  background: #444;
}

.more-from-category.single.widget.featured-product-section .carousel-btn-container {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.more-from-category.single.widget.featured-product-section .carousel-btn {
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.more-from-category.single.widget.featured-product-section .carousel-btn:focus, .more-from-category.single.widget.featured-product-section .carousel-btn:hover {
    outline: 2px solid #222;
    color: #c36;
}

/* Hide scrollbars */
.more-from-category.single.widget.featured-product-section .featured-prod-list.carousel {
    scrollbar-width: none;
    max-height: 440px;
}
.more-from-category.single.widget.featured-product-section .featured-prod-list.carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.more-from-category.single.widget.featured-product-section .widget-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    padding-right: 10px;
    background: #f1f1f1;
    border-bottom: 1px solid #e1e1e1;
}

.more-from-category.single.widget.featured-product-section .widget-title {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding-left: 5px;
}

.more-from-category.single.widget.featured-product-section .carousel-btn-container {
    display: flex;
    gap: 6px;
    margin: 0;
}

.more-from-category.single.widget.featured-product-section .carousel-btn {
  border: 1px solid #d1d1d1;
  background: #fff;
  border-radius: 4px;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 1365px) {
  /* Your CSS rules for screens smaller than 1024px go here */
  .more-from-category.single.widget.featured-product-section .single-prod-card {
      max-width: 200px;
  }
  .more-from-category.single.widget.featured-product-section .carousel-viewport {
      max-width: 210px;
  }
}

@media only screen and (max-width: 767px) {
  /* Your CSS rules for screens smaller than 1024px go here */
  .more-from-category.single.widget.featured-product-section .carousel-viewport {
      max-width: 350px;
  }
  .more-from-category.single.widget.featured-product-section .single-prod-card {
      min-width: 340px;
  }
}
