/* ============================================
   Pymergy Mega Menu - Frontend Styles
   Developed by Pymergy Media S.L.
   ============================================ */

.pmm-menu-wrapper {
  width: 100%;
  position: relative;
}

.pmm-menu-tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  gap: 0;
}

.pmm-tab {
  position: relative;
}

.pmm-tab__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  color: #333 !important;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  transition: all 0.2s;
  white-space: nowrap;
}

.pmm-tab__link:hover {
  color: #76ac4e !important;
}

/* CATEGORÍAS button - green highlighted */
.pmm-tab.ic-mega-trigger .pmm-tab__link {
  background: #76ac4e;
  color: #fff !important;
  padding: 14px 22px;
}

.pmm-tab.ic-mega-trigger .pmm-tab__link:hover {
  background: #5d8c3d;
}

/* Items pushed to the right */
.pmm-tab.ic-menu-right-item:first-of-type {
  margin-left: auto;
}

/* Mega menu dropdown */
.pmm-megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border-top: 3px solid #76ac4e;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  padding: 25px;
  display: none;
  z-index: 1000;
}

/* CATEGORÍAS dropdown spans full wrapper width */
.pmm-tab.ic-mega-trigger {
  position: static;
}

.pmm-tab:hover > .pmm-megamenu,
.pmm-tab.pmm-open > .pmm-megamenu {
  display: block;
}

.pmm-megamenu__inner {
  display: flex;
  gap: 30px;
}

.pmm-megamenu__col {
  flex: 1;
  min-width: 0;
}

.pmm-megamenu__section {
  margin-bottom: 20px;
}

.pmm-megamenu__section:last-child {
  margin-bottom: 0;
}

.pmm-megamenu__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #007bfe;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 6px;
}

.pmm-megamenu__title a {
  color: #007bfe !important;
  text-decoration: none;
}

.pmm-megamenu__title a:hover {
  color: #76ac4e !important;
}

.pmm-megamenu__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pmm-megamenu__links li {
  margin-bottom: 5px;
}

.pmm-megamenu__links li a {
  display: block;
  padding: 4px 0;
  color: #555 !important;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}

.pmm-megamenu__links li a::before {
  content: "› ";
  color: #76ac4e;
  margin-right: 4px;
}

.pmm-megamenu__links li a:hover {
  color: #007bfe !important;
  padding-left: 4px;
}

/* Mobile responsive */
@media (max-width: 991px) {
  .pmm-menu-tabs {
    flex-wrap: wrap;
  }
  .pmm-megamenu {
    position: static;
    box-shadow: none;
    border: none;
    min-width: 100%;
    max-width: 100%;
    padding: 15px;
  }
  .pmm-megamenu__inner {
    flex-direction: column;
    gap: 20px;
  }
}
