/* Menu desktop — visual: [Categorias ▾] + barra vermelha */

.fo-desk-menu {
  width: 100%;
}

.fo-desk-nav.menu-horizontal-container {
  display: flex;
  align-items: stretch;
  width: 100%;
  position: relative;
  z-index: 1000;
  overflow: visible;
  font-family: Manrope, system-ui, sans-serif;
}

/* --- Botão Categorias --- */
.fo-cats-btn {
  position: relative;
  flex: 0 0 auto;
  z-index: 1002;
}

.fo-cats-btn__trigger {
  height: 45px;
  min-width: 140px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #565656;
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.fo-cats-btn__trigger i {
  font-size: 0.75em;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.fo-cats-btn.is-open .fo-cats-btn__trigger i,
.fo-cats-btn:hover .fo-cats-btn__trigger i {
  transform: rotate(180deg);
}

.fo-cats-btn__trigger:hover {
  background: #f0f0f0;
}

.fo-cats-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 10501;
  padding: 4px 0;
}

.fo-cats-panel[hidden] {
  display: none !important;
}

.fo-cats-panel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.7rem 1.1rem;
  color: rgba(0, 0, 0, 0.87) !important;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none !important;
  text-align: left;
}

.fo-cats-panel__item:hover {
  background: #f5f5f5;
  color: #ff2739 !important;
}

.fo-cats-panel__item.has-sub i {
  font-size: 0.7em;
  opacity: 0.45;
}

/* --- Barra vermelha --- */
/* overflow-x:auto clipa o submenu (overflow-y vira auto no browser) */
.fo-desk-bar.navbar-horizontal {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  background-color: #ff2739;
  overflow: visible;
  min-height: 45px;
  z-index: 1000;
}

.fo-desk-bar .navbar-item-horizontal,
.fo-desk-bar .dropbtn-horizontal {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding: 12px 14px;
  white-space: nowrap;
  background: transparent;
  border: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fo-desk-bar .dropdown-title-link-horizontal {
  color: #fff !important;
  font-size: inherit;
  font-weight: inherit;
  padding: 0 !important;
}

.fo-desk-bar .caret-down,
.fo-desk-bar .fa-caret-down {
  font-size: 10px;
  margin-left: 2px;
  color: #fff;
  opacity: 0.95;
}

.fo-desk-bar .navbar-item-horizontal:hover,
.fo-desk-bar .dropdown-horizontal:hover .dropbtn-horizontal {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.fo-desk-bar .dropdown-horizontal:hover .dropdown-title-link-horizontal,
.fo-desk-bar .dropdown-horizontal:hover .caret-down,
.fo-desk-bar .dropdown-horizontal:hover .fa-caret-down {
  color: #fff !important;
}

.fo-desk-bar .dropdown-horizontal {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  z-index: 1;
}

.fo-desk-bar .dropdown-horizontal:hover {
  z-index: 10500;
}

.fo-desk-bar .dropdown-content-horizontal {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  width: max-content;
  min-width: 220px;
  max-width: min(96vw, 920px);
  z-index: 10500;
}

.fo-desk-bar .dropdown-horizontal:hover .dropdown-content-horizontal {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .fo-desk-menu {
    display: none !important;
  }
}
