/*======================================
Theme Name: divi-child
Theme URI: https://divicake.com/
Description: Divi child theme
Version: 1.0
Author: Divi Cake
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

/* Button-style menu wrapper */
.divi-button-menu {
  background-color: #131412;
  padding: 10px;
}

/* Remove default menu styles */
.divi-button-menu .et-menu,
.divi-button-menu .et_mobile_menu {
  display: flex;
  gap: 20px;
}

/* Menu links as buttons */
.divi-button-menu .et-menu a {
  background-color: #ffffff;
  color: #131412;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover state */
.divi-button-menu .et-menu a:hover {
  background-color: #939393;
  color: #ffffff;
}

/* Active/current menu item */
.divi-button-menu .current-menu-item > a,
.divi-button-menu .current-menu-ancestor > a {
  background-color: #939393;
  color: #ffffff;
}

/* Mobile stacking */
@media (max-width: 980px) {
  .divi-button-menu .et-menu {
    flex-direction: column;
    gap: 20px;
  }
}