/* megamenu.css */

/* Wrapper */
.megamenu-wrapper {
  font-family: "Inter", Sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  position: relative;
  width: 100%;
  background: #fff;
}

/* Icon boxes */
.menu-icon-box-celulitida,
.menu-icon-box-vyprodej {
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  border-radius: 4px;
  margin-right: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
}
.menu-icon-box-celulitida {
  background-color: #e86acc;
}
.menu-icon-box-vyprodej {
  font-size: 10px;
  font-weight: 900;
  background-color: #e72d34;
}

/* Labels */
.menu-label {
  display: inline-block;
}

/* Main menu */
.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  background: #fff;
  position: relative;
  gap: 24px;
  z-index: 10;
  padding: 0;
}
.main-menu li {
  cursor: pointer;
  padding: 15px 0;
  font-weight: 500;
  color: #333333;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
  transition: color 0.5s;
}
.main-menu li:hover {
  color: #FA60D1;
}
.main-menu li .dropdown-icon {
  margin-left: 6px;
  font-size: 0.9em;
  transition: transform 0.3s;
}

/* Base dropdown (hidden by default) */
.mega-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  background: #fff;
  padding: 6px 20px 40px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  flex-wrap: wrap;
  gap: 60px;
  width: 100%;
  border-radius: 0 0 10px 10px;
}

/* **The missing rule**: actually show it when .visible is toggled */
.mega-dropdown.visible {
  display: flex;
}

/* Column styles */
.mega-dropdown .column {
  min-width: 180px;
  flex: 1;
}
.mega-dropdown h4 {
  margin: 14px 0 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}
.mega-dropdown a {
  display: block;
  margin: 5px 0;
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.mega-dropdown a:hover {
  color: #FA60D1;
  text-decoration: underline;
}

/* Dropdown icon styles */
.dropdown-icon {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

/* Fallback for when Font Awesome doesn't load */
/*.dropdown-icon:before {
  content: "▼";
  font-size: 10px;
  vertical-align: middle;
}*/

/* When Font Awesome loads, this will override the fallback */
.dropdown-icon.fas.fa-caret-down:before {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  transition: transform .2s;
}

/* Rotate icon when dropdown is open */
.has-dropdown.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Change icon on hover */
/*.has-dropdown:hover .dropdown-icon.fa-caret-down:before {
  content: "\f0d8"; fa-caret-up 
}*/


/* Alternative: rotate on hover instead of changing icon */
/*.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}*/

/* Links in main menu */
.main-menu li a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s;
}

.main-menu li a:hover {
  color: #FA60D1;
}

/* Override specific colored items on hover */
.main-menu li:hover a {
  color: #FA60D1;
}

.megamenu-upper .main-menu li a {
  font-size: 13px;
}

.megamenu-upper .main-menu li span{
  font-size: 13px;
}

/* Dropdown icon color */
.dropdown-icon {
  color: #333333;
  transition: color 0.3s;
}

.main-menu li:hover .dropdown-icon {
  color: #FA60D1;
}

.megamenu-upper-title{
    font-size: 13px;
}