/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Make the "All Categories" menu sticky */
.wd-dropdown-cats {
  position: sticky;
  top: 0; /* Adjust based on the header height */
  z-index: 1000; /* Ensures it stays on top of other content */

}

/* Align the text boxes */
.menu-open-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px; /* Add padding for better alignment */
}

/* Match the "All Categories" menu to the site's color scheme */
.color-scheme-light.has-bg {
  background-color: #0047ab; /* Replace with your primary brand color */
  color: #ffffff;
}

.color-scheme-light.has-bg:hover {
  background-color: #003380; /* A slightly darker shade for hover effect */
  color: #f5f5f5;
}

/* Adjust dropdown background and alignment */
.wd-dropdown-cats {
  background-color: #ffffff !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}
.wd-nav-vertical.wd-design-with-bg {
    background-color: #ffffff !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
    --wd-icon-style-with-bg: brightness(0) invert(1);
    --wd-icon-style-with-bg-hover: brightness(1) invert(0);
}
.wd-dropdown.wd-dropdown-cats {
    width: 300px;
    background: white;
}

.wd-nav-vertical.wd-design-with-bg li a {
    color: black;
}

.wd-nav-vertical.wd-design-with-bg li:hover {
    background: #2859b8;
}
/* Adjust submenu links */
.wd-sub-menu a {
  color: #0047ab; /* Replace with your site's link color */
  text-decoration: none;
}

.wd-sub-menu a:hover {
  color: #003380;
  text-decoration: underline;
}
.widefat * {
    word-wrap: normal !important;
}