.search-trigger {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000; /* Default color, might need adjustment based on theme */
  cursor: pointer;
  margin-right: 15px;
}

@media screen and (max-width: 991.98px) {
  .search-trigger {
    margin-right: 0;
  }
}

.search-trigger .search-label {
  margin-right: 8px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  width: unset;
}

@media screen and (max-width: 991.98px) {
  .search-trigger .search-label {
    display: none;
  }
}

.search-trigger svg {
  width: 18px;
  height: 18px;
}

@media screen and (max-width: 991.98px) {
  .search-trigger svg {
    width: 25px;
    height: 30px;
  }
}

/* Modal styling */
.search-modal {
  display: none;
  position: absolute;
  top: 100% !important; /* Position below the parent container */
  right: 0 !important;
  left: auto !important; /* Reset theme style */
  background-color: #162447 !important;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-radius: 0 !important;
  z-index: 1000;
  width: 320px !important; /* Override theme width */
  height: auto !important; /* Override theme height */
}

.search-modal.is-active {
  display: block !important;
}

/* Ensure container allows positioning if needed,
   but .container usually has position relative in frameworks. 
   If not, we might need to target the parent .navigation-wrap or similar. 
*/
.navigation-wrap {
    position: relative;
}
/* Move modal relative to navigation wrap if possible for better alignment */

.search-modal .form-item {
  margin-bottom: 10px;
}

.search-modal input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 0;
  background-color: #030928 !important;
  color: #fff !important;
}

.search-modal button.header-search-button {
  background-color: #B4865E !important;
  color: #fff !important;
  width: 100%;
  padding: 10px;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-modal button.header-search-button:hover {
  background-color: #9a7250 !important;
}

span.menu-icon-default,
span.menu-icon-active {
  width: unset !important;
}

@media screen and (max-width: 991.98px) {
  span.menu-icon-default,
  span.menu-icon-active {
    padding-top: 3px;
  }
}

span.menu-icon-label {
  width: unset !important;
}

@media screen and (max-width: 991.98px) {
  span.menu-icon-label {
    display: none;
  }
}

span.menu-icon-active svg {
  height: 20px;
  margin-left: 4px;
  width: 26px;
}