/* CATEGORIES */

/* Default Category Styles */
body {
    --cat1-color: #c32830; 
    --cat1-opacity: #fcfaf6; 
}

/* Main menu text white on homepage, excluding dropdowns and active items */
.home .main_menu > div > ul > li > a {
    color: #FFF !important;
}

/* Set only the first menu item to white, leaving dropdowns unaffected */
.home .main_menu > div > ul > li:first-child > a {
    color: #FFF !important;
}

/* Remove white color from dropdowns, active items, and parent menu items */
.home .main_menu .sub-menu li a,
.home .main_menu ul li.current-menu-item > a,
.home .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* Set only the current WPML language in the main menu to white */
.home .wpml-ls-current-language > a .wpml-ls-native {
    color: #FFF !important;
}

/* Ensure WPML dropdown items retain their default color */
.home .wpml-ls-item a .wpml-ls-native {
    color: inherit !important;
}

/* Specific colors for WPML dropdown items */
.home .wpml-ls-item.wpml-ls-item-en .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-es .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-fr .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-ar .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-zh-hans .wpml-ls-native {
    color: #999999 !important;
}

/* Revert to default colors when header is scrolled */
#top #header.header-scrolled .main_menu > div > ul > li > a,
#top #header.header-scrolled .wpml-ls-current-language > a .wpml-ls-native,
#top #header.header-scrolled .main_menu .sub-menu li a,
#top #header.header-scrolled .main_menu ul li.current-menu-item > a,
#top #header.header-scrolled .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* General styles */
.main_color {
    background-color: var(--cat1-opacity) !important;
    color: #333 !important;
}

.logo .cls-1 {
    fill: var(--cat1-color) !important;
}

.header_color .avia-menu-fx {
    background: var(--cat1-color) !important;
}

.header_color .wpml-ls-item.current-menu-item .avia-menu-fx {
    background: none !important;
    border: none !important;
}

.main_color p {
    color: #333 !important; /* Fallback text color */
}

/* Text and Selection Styling */
::selection {
    background-color: var(--cat1-color) !important;
    color: var(--enfold-main-color-bg);
}

/* Common Elements Styling */
.woocommerce-loop-product__title,
.avia-menu-text,
.av-hamburger-inner,
.av-hamburger-inner::before,
.av-hamburger-inner::after,
.footer_color a,
.footer_color strong {
    color: var(--cat1-color) !important;
}

.footer_color .button {
    color: var(--cat1-color) !important;
    background: var(--cat1-opacity);
    border: 2px solid var(--cat1-color) !important;
}

/* Hamburger Menu Styling */
.av-hamburger-box strong,
.av-hamburger--spin:hover .av-hamburger-inner {
    color: var(--cat1-color) !important;
    background-color: var(--cat1-color) !important;
}