/*
Theme Name: Budget Steel Divi Theme
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 1.08

*/


/* ------------------------------------------- /
/  WooCommerce Category Tree Styling           /
/  This is for the left column in the catalog  /
/ ------------------------------------------- */

/* Base styling for the main menu wrapper */
.custom-category-menu-wrapper {
	width: 100%;
	padding: 0px 0;
}

/* Base list styling (for the primary ULs) */
.custom-category-menu-wrapper > ul {
	list-style: none!important;
	margin: 0 0 0 -10px!important;
	padding: 0px!important;
}

/* Base list styling (for all sub ULs) */
.custom-category-menu-wrapper > ul ul {
	list-style: none!important;
	margin: 0 0 0 0px!important;
	padding: 0px!important;
}

/* Indentation for nested sub-lists */
.custom-category-menu-wrapper .wc-category-list-children {
	margin-left: 0px;
}

/* HIDE SUB-LISTS BY DEFAULT (FIXED) */
.custom-category-menu-wrapper .wc-cat-item > .wc-category-list-children {
	display: none; 	
}

/* SHOW sub-lists when the parent LI is marked as expanded */
.custom-category-menu-wrapper .wc-cat-item.is-expanded > .wc-category-list-children {
	display: block;
}

/* Individual list item styling */
.custom-category-menu-wrapper .wc-cat-item {
	list-style: none!important;
	position: relative;
	padding-left: 10px;
	margin: 0 0 5px 0;
	line-height: 1.5;
}

/* Link styling */
.custom-category-menu-wrapper .wc-cat-item a {
	display: inline-block;
	padding: 5px 10px;
	text-decoration: none;
	color: #00245d!important;
	font-weight: 400!important;
	border-radius: 4px;
	transition: background-color 0.2s;
	width: calc(100% - 25px);
}

/* Hover effect */
.custom-category-menu-wrapper .wc-cat-item a:hover {
	background-color: #f0f0f0;
	color: #95c93d!important;
}

/* CURRENT CATEGORY HIGHLIGHTING */
.custom-category-menu-wrapper .current-cat > a {
	background-color: #f0f0f0;
	color: #95c93d!important;
	font-weight: bold;
}

/* TOGGLE ICON STYLING */
.custom-category-menu-wrapper .toggle-icon {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	font-size: 16px;
	line-height: 20px;
	text-align: center;
	color: #007bff;
	user-select: none;
	z-index: 10;
}

/* Default state: Collapsed (Show right-pointing arrow) */
	.custom-category-menu-wrapper .wc-cat-item.is-collapsed > .toggle-icon:before {
	color: #00245d!important;
	xcontent: "\25B8";
	content: "+"
}

/* Expanded state: Show down-pointing arrow */
	.custom-category-menu-wrapper .wc-cat-item.is-expanded > .toggle-icon:before {
	color: #00245d!important;
	xcontent: "\25BE";
	content: "-";
}

/* ------------------------------------------- /
/  WooCommerce Category Column View menu       /
/  This is for the Header menu                /
/ ------------------------------------------- */

/* Container for the entire column view */
#wc-column-view-container {
    display: flex; /* Enables the column layout */
    overflow-x: auto; /* Allows horizontal scrolling if columns exceed screen width */
    xmax-height: 500px; /* Set a maximum height for vertical scrolling */
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    white-space: nowrap; /* Prevent columns from wrapping */
}

/* Style for each category column */
.wc-category-column {
    xflex: 0 0 300px; /* Fixed width of 300px for each column */
	flex: 0 0 25%;
    border-right: 1px solid #ddd;
    height: 100%; /* Match container height */
    overflow-y: auto; /* Enable vertical scrolling within the column */
    padding: 10px 0;
    list-style: none; /* Remove default list style */
}

.wc-category-column:last-child {
    border-right: none;
}

/* Style for the list inside the column */
.wc-category-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style for individual category items */
.wc-category-column li.category-item {
    padding: 8px 15px;
    cursor: pointer;
	color: #00245d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.1s ease;
}

.wc-category-column li.category-item a {
	color: #00245d;
}

.wc-category-column li.category-item:hover {
    background-color: #e5e5e5;
}

/* Style for the selected category item */
.wc-category-column li.category-item.selected {
	background-color: #f0f0f0;
}

.wc-category-column li.category-item.selected a {
	color: #95c93d!important;
	font-weight: 700;
}

.wc-category-column li.category-item.selected .arrow-indicator {
    color: #95c93d; /* Ensure arrow is visible on selected item */
}

/* Style for the indicator arrow */
.wc-category-column .arrow-indicator {
    font-size: 12px;
    margin-left: 10px;
    color: #00245d; /* Light grey arrow */
}

/* ------------------------------------------- /
/         Search bar in header                /
/ ------------------------------------------- */

#header-product-search form {
	display: flex;
    justify-content: space-between;
    flex-direction: row;
	gap: 10px;
}
#header-product-search input {
	height: 40px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 18px;
    font-weight: 500;
	border: none;
	background-color: white;
}
#header-product-search label {
	flex: 1;
}
#header-product-search input.search-field {
	width: 100%;
}
#header-product-search input.search-submit {
	border-radius: 40px;
	text-transform: uppercase;
	font-weight: 700;
	cursor: pointer;
}

#header-product-search input.search-submit:hover {
	background-color: #95c93d;
	border: 1px solid #FFFFFF;
}