/*
* ----------[NOTIFICATION BAR]--------*
*/
#polybar {
  width: 100%;
  background: var(--yellow);
  color: var(--white);
  font-size: var(--copyFontSmall);
  text-align: center;
  z-index: 99999;
  padding: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--museo);
}
#polybar .message-text {
  flex: 1 1 auto;
  font-size: var(--copyFontSmall);
  padding: 0 10px 0 50px;
}
#polybar .message-text a {
  color: var(--white);
  font-weight: 700;
}
#polybar .close-btn {
  margin-right: 20px;
  margin-left: 20px;
  position: relative;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
#polybar .close-btn:before {
  content: "";
  position: absolute;
  background-color: var(--white);
  height: 2px;
  top: 50%;
  left: 50%;
  width: 14px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: all 0.3s ease-in-out;
}
#polybar .close-btn:after {
  content: "";
  position: absolute;
  background-color: var(--white);
  width: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  height: 14px;
  transition: all 0.3s ease-in-out;
}
/*
* ----------[HEADER]--------*
*/
.et-db #et-boc #header-section {
  position: fixed;
  width: 100%;
  background: rgb(255 255 255 / 80%);
}
.et-db #et-boc #header-row {
  align-items: center;
  display: flex;
}
.et-db #et-boc #header-row .et_pb_column:first-child {
  flex: 1;
}
.et-db #et-boc #header-row .et_pb_column {
  width: auto !important;
  margin-bottom: 0;
}
.et-db #et-boc #header-row.open {
  background-color: var(--white);
  z-index: 1;
}
.actions {
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: row-reverse;
}
/*
* ----------[MAIN MENU]--------*
*/

/* Basic Styling for Navigation Menu */
.et-l--header .navigation-menu,
.sub-menu {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sub-menu {
  flex-direction: column;
}

.et-l--header .navigation-menu > li {
  position: relative;
  display: inline-block; /* Adjust this to fit your layout */
}

.et-l--header
  .mobile-menu-row.open
  .navigation-menu
  > li.has-children:not(.closed) {
  border-bottom: 1px solid var(--lightGrey);
}
.et-l--header .navigation-menu a {
  text-decoration: none;
  display: block;
  padding: 10px 15px;
  text-transform: uppercase;
  color: var(--black);
  transition: 0.3s ease;
}
.et-l--header .navigation-menu:not(.mobile-nav) li.has-children a {
  pointer-events: none;
}

.et-l--header .mobile-menu-row.open .navigation-menu a {
  padding: 10px 15px 10px 0;
}

.et-l--header .navigation-menu a:hover {
  color: var(--orange);
}

.et-l--header .navigation-menu a.has-icon {
  display: flex;
  align-items: center;
}

.et-l--header .navigation-menu img.menu-icon,
.et-l--header .navigation-menu .has-icon svg {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  margin-right: 10px;
}

/* Hide Sub-Menus by Default */
.et-l--header .navigation-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: var(--white);
  z-index: 1000;
}

.et-l--header .navigation-menu .sub-menu li {
  display: block;
}

/* Show Sub-Menu on Hover */
.et-l--header .navigation-menu > li:hover > .sub-menu {
  display: block;
}

/* .et-l--header .mobile-menu-row.open .navigation-menu > li:not(.has-children) > a::after { */
.et-l--header .mobile-menu-row .navigation-menu > li.has-children > a::after {
  /* content: url('../img/arrow-down.svg');
    margin-left: 8px;
    display: inline-block; */
  transform: rotate(0deg);
}
/* Optional: Add a Downward Arrow for Items with Children */
.et-l--header
  .mobile-menu-row
  .navigation-menu
  > li.has-children.closed
  > a::after,
.et-l--header .navigation-menu > li.has-children > a::after {
  content: url("../img/arrow-down.svg");
  margin-left: 8px;
  display: inline-block;
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

/**** Rotate the arrow on hover ****/

/* For non-touch devices (e.g., desktops) */
@media (hover: hover) and (pointer: fine) {
  .et-l--header .navigation-menu > li:hover > a::after {
    transform: rotate(0deg);
  }
}

/* Optional: Reset for touch devices (if necessary) */
@media (hover: none) and (pointer: coarse) {
  .et-l--header .navigation-menu > li > a::after {
    transform: rotate(0deg); /* Reset the rotation for touch devices */
  }
}

/* Adjust sub-menu item styling */
.et-l--header .navigation-menu li.has-children ul.sub-menu a {
  padding: 10px 20px 10px 15px;
  white-space: nowrap;
  transition: 0.3s ease;
  pointer-events: all;
}
.et-l--header .navigation-menu .sub-menu a:hover {
  color: var(--orange);
}
.et-l--header .navigation-menu .sub-menu a:hover svg path {
  stroke: var(--orange);
}

/*
* ----------[MOBILE MENU]--------*
*/
.et-db #et-boc .et-l .mobile-menu-row {
  position: absolute;
  top: 80px;
  left: 100%;
  right: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: scroll;
  transition: 0.4s ease;
  z-index: 0;

  /* Hide scrollbars */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE + Edge */
}
.et-db #et-boc .et-l .mobile-menu-row::-webkit-scrollbar {
  display: none; /* Chrome + Safari */
}
.navigation-menu.mobile-nav li.menu-item > a {
  font-weight: 700;
}
.navigation-menu.mobile-nav li.menu-item ul li a {
  font-weight: normal;
}

/***** Visual Builder *****/
/* 
* Used for when the visual builder is active
* This will hide the mobile-menu-row so the 
* header template will not overlap the content template
*/
.et-fb #et-boc .et-l .mobile-menu-row {
  display: none;
}
/***** ./ Visual Builder *****/

.et-db.et-fb-root-ancestor:not(.et-tb-body-disabled) .mobile-menu-row {
  visibility: hidden;
}
.et-db #et-boc .et-l .mobile-menu-row.open {
  left: 0;
}
body #header-row .mobile-menu-icon {
  transition: 0.4s ease;
  display: flex;
  /*position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;*/
}
.mobile-menu-icon .et_pb_code_inner {
  display: flex;
}

.et-l--header .main-menu-module-mobile {
  max-width: 80%;
  margin: auto;
}
.et-l--header .main-menu-module-mobile ul.navigation-menu > li > a {
  border-bottom: 1px solid var(--lightGrey);
}
.et-l--header .main-menu-module-mobile .navigation-menu .sub-menu {
  left: 10px;
  display: block;
  position: relative;
}
.et-db #et-boc .close-mobile-menu-button {
  display: flex;
  justify-content: center;
  /*max-width: 80%;
    margin: 40px auto 60px;*/
  opacity: 0;
  visibility: hidden;
  /*    height: 0;*/
  transition: 0.4s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 29px;
  height: 29px;
  align-items: center;
}
.et-db #et-boc #header-row.open .close-mobile-menu-button {
  opacity: 1;
  visibility: visible;
  /*    height: auto;*/
}
.close-mobile-menu-button .et_pb_code_inner {
  display: flex;
  padding: 10px;
}

.cart-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 20px;
  display: none;
}

.cart-icon-link {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
}

.cart-status-indicator {
  display: none;
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.cart-icon-wrapper.has-items {
  display: inline-flex;
}
.cart-icon-wrapper.has-items .cart-status-indicator {
  display: inline-block;
}

@media only screen and (min-width: 981px) {
  .et-db #et-boc #header-row .et_pb_column:nth-child(2) {
    margin-left: auto;
    margin-right: 25px;
  }
  .et-l--header .navigation-menu,
  .sub-menu {
    flex-direction: row;
  }
  .actions {
    flex-direction: row;
  }
  body #header-row.open {
    z-index: 0;
  }
  body #header-row .mobile-menu-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
  }
  .cart-icon-wrapper {
    margin-right: 30px;
    margin-left: 0;
  }
  .cart-status-indicator {
    top: -7px;
    right: -7px;
    width: 16px;
    height: 16px;
  }
}
@media only screen and (max-width: 980px) {
  body.et-db #et-boc #header-row .et_pb_column:last-of-type {
    margin-left: auto;
    display: flex;
    align-items: center;
  }
  body #header-row.open .mobile-menu-icon {
    opacity: 0;
    visibility: hidden;
  }
  .cart-icon-wrapper svg {
    width: 20px;
  }
}
@media only screen and (max-width: 480px) {
  .et-db #et-boc #header-row {
    flex-direction: column;
    justify-content: center;
  }
  .et-db #et-boc #header-row .et_pb_column:first-child {
    flex: none;
  }
  body.et-db #et-boc #header-row .et_pb_column:last-of-type {
    margin-left: unset;
    width: 100% !important;
    justify-content: center;
    margin-top: 10px;
  }
  .et-db #et-boc #header-row #organization-logo {
    margin-left: 0 !important;
  }
}
