/*
Theme Name: Luxe Wheels Divi Child Theme
Theme URI: http://luxe.mtemp.com/
Description: Child Theme for Divi For Luxe Wheels
Author: Stephen Suplita
Author URI: http://whitewhaledesigns.com/
Template: Divi
Version: 1.0.0
*/

/*****************************************/
/*********| FULLSCREEN MENU CSS |*********/
/*****************************************/

.de-burger-menu  .mobile_menu_bar:before {
   display:none; /* Hides default icon */
}

.mobile_menu_bar::after {
    content: "";
    display: inline-block;
    margin-top: -10px;
    width: 70px; /* Adjust size */
    height: 45px;
    background: url("/wp-content/themes/LuxeWheels/images/Luxe-Menu.svg") no-repeat center center;
    background-size: contain;
    cursor: pointer;
}  
  
.de-burger-menu .et_pb_menu__wrap {
  justify-content: flex-start !important;
}

/* Hide the desktop menu */

.de-burger-menu .et_pb_menu__wrap .et_pb_menu__menu {
  display: none !important;
}

/* Force the mobile version of the menu */

.de-burger-menu .et_pb_menu__wrap .et_mobile_nav_menu {
  display: block !important;
  align-items: center !important;
}

/* Fullscreen Menu Style when Opened*/

.de-burger-menu .opened #mobile_menu1 {
  width: 100vw !important; /* Make it span the full width of the viewport */
  position: fixed !important;
  top: 0em !important;
  left: 0vw !important;
  height: 100vh !important; /* Make it span the full height of the viewport */
  display: flex !important;
  justify-content: center !important;
  flex-direction: column !important;
  transition: visibility 0.3s, opacity 0.3s ease-in-out; /* Animate the menu to fade in */
  padding: 0 !important;
  background-color: #171717!important; /* Fullscreen menu background color */
}

/* Show fullscreen menu */

.de-burger-menu .opened #mobile_menu1 {
  opacity: 1 !important; /* Make it visible by setting opacity to 1 */
  visibility: visible !important; /* Show the menu */
}

/* Hide and fade out the Menu when closed */

.de-burger-menu .closed #mobile_menu1 {
  opacity: 0 !important; /* Make it invisible by setting opacity to 0 */
  visibility: hidden !important; /* Hide the menu */
  transition: visibility 0.3s, opacity 0.3s, left 1s, ease-in-out !important; /* Animate the menu to fade out */
}

/* Remove Bullets next to LI Elements */

.de-burger-menu #mobile_menu1 li {
  list-style: none !important;
  text-align: center !important;
  width: 100%
}

/* Make sure that the menu is above other elements */

.de-burger-menu .et_pb_menu__wrap span.mobile_menu_bar {
  z-index: 999999 !important;
}

/* Set the close icon for when the menu is open */

.de-burger-menu .et_pb_menu__wrap .opened .mobile_menu_bar::after {
  color: white !important; /* Icon color */
  content: "X" !important; /* Divi font icon to use for the close icon */
  left: 40px; /* Close icon position. You might need to play with this to make it look right */
}

.de-burger-menu .et_pb_menu__wrap .opened .mobile_menu_bar::after {
    background: none;
}

/* Keep hamburger icon in fixed position on mobile */
.de-burger-menu .opened .mobile_menu_bar {
  position: fixed !important;
}

/* Remove mobile menu border */

.de-burger-menu .et_mobile_menu {
  border-top: none;
}

/* Make sure the menu items do not show a background */

.de-burger-menu .et_mobile_menu .menu-item-has-children>a {
  background-color: transparent;
}

/* Remove the hover background from the menu items and add hover animation */

.et_mobile_menu li a:hover {
  background-color: transparent;
  opacity: 1;
  transition: transform 0.3s ease-in-out !important; /* Animated the menu item when hovered */
  transform: scale(1.15); /* Enlarge the hovered menu item by 15% when hovered */
}

/* Remove menu item bottom borders */

.de-burger-menu .et_mobile_menu li a {
  border-bottom: none;
}

/** wheel builder product **/

.postid-152 #main-content {
  background-color: transparent !important;
}

/** read more ***/

.read-more-container {
  margin-bottom: 30px;
}

.expandable-content {
  max-height: 250px; 
  overflow: hidden;
  display: block;
}

.toggle-btn {
  display: none; /* Hidden by default; jQuery shows it if content is tall */
  margin-top: 8px;
  color: #0066cc;
  text-decoration: underline;
  cursor: pointer;
  font-family: sans-serif;
}