/* Custom Category Page Styles */

/*********************************
18. Custom Category Styles
*********************************/

.product_grid
{
	display: flex;
	flex-wrap: wrap;
}

.product_item
{
	width: 245px;
	box-sizing: border-box;
	padding: 15px;
	position: static !important;
	left: 0 !important;
	background: #FFFFFF;
	cursor: pointer;
	padding-top: 40px;
	z-index: 0;
	height: auto;
	border-radius: 8px;
	box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
	margin: 0 5px 50px 5px;
}

.product_image
{
	height: 240px;
	overflow: hidden;
	text-align: center;
}

.product_image img
{
	width: 100%;
	height: 100%;
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}

.product_content
{
	position: relative !important;
	top: auto !important;
	left: auto !important;
	margin-top: 15px !important;
	width: 100% !important;
	display: block !important;
	padding: 0 10px 10px 10px;
}

.product_price
{
	font-size: 14px !important;
}

.product_name div a
{
	white-space: normal !important;
}

.shop_sorting
{
	float: right !important;
}

.shop_product_count
{
	float: left !important;
}

@media (max-width: 768px)
{
	.product_item
	{
		width: 50%;
	}
}

@media (max-width: 480px)
{
	.product_item
	{
		width: 100%;
	}
}

.shop_sorting ul li
{
	position: relative;
}

.shop_sorting ul li ul
{
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #ccc;
	padding: 0;
	margin: 0;
	list-style: none;
	z-index: 10;
	min-width: 150px;
}

.shop_sorting ul li:hover ul
{
	display: block;
}

.shop_sorting ul li ul li
{
	padding: 5px 10px;
	cursor: pointer;
}

.shop_sorting ul li ul li:hover
{
	background: #f0f0f0;
}

/*********************************
19. Filter Styles
*********************************/

/* Sidebar section separation */
.sidebar_section
{
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.sidebar_section:last-child
{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Sidebar section titles */
.sidebar_title
{
	font-size: 17px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
}

/* Categories section styling */
.sidebar_categories
{
	list-style: none;
	padding: 0;
	margin: 15px 0 0 0;
}

.sidebar_categories li
{
	margin-bottom: 8px;
}

.sidebar_categories a
{
	text-decoration: none;
	font-size: 15px;
	transition: color 0.2s ease;
}

.sidebar_categories a:hover
{
	color: #417690 !important;
}

/* Filter section styling */
.filters_section_container
{
	background: #f8f9fa;
	padding: 15px;
	border-radius: 8px;
	border: 1px solid #e9ecef;
}

.filters_section
{
	margin-top: 15px;
}

.filter_group
{
	margin-bottom: 20px;
}

.filter_title
{
	font-size: 15px;
	font-weight: 600;
	color: #333;
	margin-bottom: 10px;
	border-bottom: 1px solid #eee;
	padding-bottom: 5px;
}

.filter_options
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.filter_option
{
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 6px;
	transition: all 0.2s ease;
	font-size: 14px;
	color: #555;
}

.filter_option:hover
{
	background-color: #f8f9fa;
	transform: translateX(2px);
}

.filter_option input[type="checkbox"]
{
	margin: 0;
	margin-right: 10px;
	width: 16px;
	height: 16px;
	cursor: pointer;
	accent-color: #417690;
}

.filter_value
{
	flex: 1;
	font-weight: 500;
}

/* Custom checkbox styling */
.filter_option input[type="checkbox"]:checked + .checkmark
{
	background-color: #417690;
	border-color: #417690;
}

.filter_option input[type="checkbox"]:focus
{
	outline: 2px solid #417690;
	outline-offset: 2px;
}



/* Active filter indication */
.filter_option input[type="checkbox"]:checked ~ .filter_value
{
	color: #417690;
	font-weight: 600;
}

.shop_sorting span
{
	display: inline-block;
	margin-right: 10px;
}

.shop_sorting ul
{
	display: inline-block;
}

