/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/









.sidebar-toggle-btn .svg-wrapper {
    display: inline-block;
    width: 25px;
    height: 25px;
}

.sidebar-toggle-btn svg {
    width: 100%;
    height: 100%;

}



/* Make sure SVG is clickable */
.sidebar-toggle-btn svg {
    pointer-events: none;
}

/* Rest of your sidebar styles remain the same */



/* ... rest of your existing CSS ... */

/* Sidebar Toggle Button */

/* Sidebar Styles */
.custom-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 998;
	overflow:auto;
}

.custom-sidebar.active {
    left: 0;
}



#openSidebar {
    background: none;
    color: #fff;
    padding: 12px;
    box-shadow: none;
}

button#closeSidebar {
    padding: 10px !important;
}

.custom-sidebar .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 20px;
    background: linear-gradient(135deg, #0A0B29, #1C3EFF);
    color: white;
}

.custom-sidebar .sidebar-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.custom-sidebar .sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-sidebar .sidebar-menu li {
    position: relative;
    border-bottom: 1px solid #eee;
}

.custom-sidebar .sidebar-menu li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
}

.custom-sidebar .sidebar-menu li a:hover {
    background: #f5f5f5;
}


li.menu-item.menu-item-type-taxonomy.menu-item-object-product_cat.has-submenu {
    display: grid;
    grid-template-columns: 75% 25%;
}


.custom-sidebar .arrow {
    width: 100%;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.custom-sidebar .arrow svg {
    width: 100%;
	transition: all 0.2s ease-in-out;
}

.custom-sidebar .submenu {
    display: none;
    padding-left: 20px;
	list-style: none;
    margin: 0;
}

.custom-sidebar ul.submenu{
	grid-column:1 / 3;
}

.custom-sidebar .arrow svg {
	width: 30px;}

.custom-sidebar .submenu.active {
    display: block;
}

.custom-sidebar .account-btn {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
	text-align: center;
}

.custom-sidebar .account-btn a {
    color: #fff;
    text-decoration: none;
	background:var(--e-global-color-primary);
}



.sidebar-menu>li.has-submenu:has(.submenu.active) .arrow svg {
   transform: rotate(180deg);
}


/* Additional CSS to hide any remaining theme arrows */
.custom-sidebar .menu-item-has-children > a:after,
.custom-sidebar .ast-menu-toggle,
.custom-sidebar [class*="arrow"]:not(.arrow) {
    display: none !important;
}



