/* === SD: Final Fix — Scrollable Horizontal Subcategory Bar === */

.sd-subcategories {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin: 40px auto;
  padding: 10px 20px 20px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: none;
}

.sd-subcategories::-webkit-scrollbar {
  display: none;
}

/* 🩷 Buttons */
.sd-subcat-item {
  background-color: #ED1269;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 20px 40px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border-radius: 7px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.sd-subcat-item:hover {
  background-color: #c90f56;
  transform: translateY(-3px);
}

.sd-subcat-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

/* 🩶 Fix: make sure all Divi containers allow overflow */
.et_pb_row, .et_pb_section, .et_pb_column, .et_pb_module, .woocommerce, .woocommerce-page {
  overflow: visible !important;
  max-width: 100vw !important;
}

/* 🧠 Force page containers to allow horizontal scroll */
body, html, #page-container, #et-main-area {
  overflow-x: visible !important;
}

/* === Responsive === */
@media (max-width: 992px) {
  .sd-subcat-item {
    font-size: 14px;
    padding: 18px 30px;
  }
}

@media (max-width: 600px) {
  .sd-subcat-item {
    font-size: 13px;
    padding: 15px 25px;
  }
}

.sd-subcategories {
  cursor: grab;
}

.sd-subcategories.dragging {
  cursor: grabbing;
}





