/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    border: 1px solid var(--e-global-color-accent);
    border-radius: 100px !important;
}
.page-header .entry-title, .site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*=elementor-page-]) .site-main {
    max-width: 1300px;
}

/* === Sidebar Filter Styles === */
#custom-filters {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    font-family: inherit;
	max-height: 500px;
	overflow-y: auto;
}

#custom-filters .filter-section {
    margin-bottom: 25px;
}

#custom-filters h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #222;
}

#custom-filters label {
    display: flex;
    align-items: center;
    font-size: 14px;
	margin-top: 14px;
    margin-bottom: 8px;
    cursor: pointer;
	
}
.category-filters label{
	justify-content: space-between;
}
#custom-filters input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #7b3ff3;
}
#custom-filters::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

#custom-filters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#custom-filters::-webkit-scrollbar-thumb {
    background: #818181;
    border-radius: 10px;
}

#custom-filters::-webkit-scrollbar-thumb:hover {
    background: #5d5c5c;
}

/* === Loader Animation for Products Container === */
#products-container.loading {
    position: relative;
    opacity: 0.5;
    min-height: 100px; /* prevents layout jump if empty */
}

#products-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #ddd;
    border-top: 4px solid #7b3ff3; /* purple accent */
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
