/* ============================================================
   DTC Category Menu Widget
   ============================================================ */

/* ── Wrapper ────────────────────────────────────────────────── */

.dtc-cat-menu-wrapper {
  width: 100%;
  overflow: hidden;
}

.dtc-cat-menu-wrapper nav {
  width: 100%;
}

/* ── Scrollable list ─────────────────────────────────────────── */

.dtc-cat-menu-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  /* allow items to be centered when they fit, scroll when they don't */
  justify-content: flex-start;
}

.dtc-cat-menu-list::-webkit-scrollbar {
  display: none;
}

/* ── Item ────────────────────────────────────────────────────── */

.dtc-cat-menu-item {
  flex: 0 0 auto;
  display: flex;
}

/* ── Link ────────────────────────────────────────────────────── */

.dtc-cat-menu-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  border-bottom: 2px solid transparent;
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.dtc-cat-menu-link:focus {
  outline: none;
}

.dtc-cat-menu-link:focus-visible {
  outline: 2px solid rgba(64, 148, 209, 0.7);
  outline-offset: -2px;
}

/* ── Hover ───────────────────────────────────────────────────── */

.dtc-cat-menu-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
  border-bottom-color: rgba(64, 148, 209, 0.5);
}

/* ── Active (current page) – Elementor control overrides these values ── */

.dtc-cat-menu-item.is-active .dtc-cat-menu-link {
  color: #4094d1;
  background-color: transparent;
  border-bottom-color: #4094d1;
}

/* ── Reduced motion ──────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .dtc-cat-menu-link {
    transition: none;
  }
}
