/**
 * MECHA-X Shop Filters Styling - Dropdown Layout
 */

.mecha-shop-filters {
	background: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 0.98) 100%);
	border: 1px solid rgba(0, 229, 255, 0.3);
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 2rem;
	box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.mecha-shop-filters__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.mecha-shop-filters__title {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--mecha-cyan);
	text-transform: uppercase;
}

.mecha-shop-filters__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 24px;
	padding: 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #000;
	background: var(--mecha-cyan);
	border-radius: 12px;
}

/* Filters Form */
.mecha-filters-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Filter Widget - Dropdown Style */
.mecha-filter-widget {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.mecha-filter-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.9);
	text-transform: uppercase;
	margin: 0;
}

.mecha-filter-select {
	width: 100%;
	padding: 0.6rem 0.75rem;
	font-size: 0.85rem;
	font-family: inherit;
	color: #fff;
	background: linear-gradient(145deg, rgba(10, 22, 40, 0.9) 0%, rgba(3, 5, 8, 0.95) 100%);
	border: 1px solid rgba(0, 229, 255, 0.3);
	border-radius: 4px;
	outline: none;
	cursor: pointer;
	transition: all 0.2s ease;
	appearance: none;
	background-image: linear-gradient(145deg, rgba(10, 22, 40, 0.9) 0%, rgba(3, 5, 8, 0.95) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300e5ff' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, right 0.75rem center;
	background-size: 100% 100%, 12px;
	padding-right: 2.5rem;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mecha-filter-select:hover {
	border-color: var(--mecha-cyan);
	box-shadow: 0 0 10px rgba(0, 229, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.3);
	background: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 1) 100%);
	background-image: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300e5ff' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, right 0.75rem center;
	background-size: 100% 100%, 12px;
}

.mecha-filter-select:focus {
	border-color: var(--mecha-cyan);
	box-shadow: 0 0 15px rgba(0, 229, 255, 0.3), inset 0 1px 3px rgba(0, 0, 0, 0.3);
	background: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 1) 100%);
	background-image: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 1) 100%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300e5ff' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat, no-repeat;
	background-position: 0 0, right 0.75rem center;
	background-size: 100% 100%, 12px;
}

.mecha-filter-select option {
	background: linear-gradient(145deg, rgba(10, 22, 40, 0.95) 0%, rgba(3, 5, 8, 1) 100%);
	color: #fff;
	padding: 0.5rem;
}

/* Reset Button */
.mecha-shop-filters__reset {
	margin-top: 0.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(0, 229, 255, 0.2);
}

.mecha-filter-reset-btn {
	display: block;
	width: 100%;
	padding: 0.7rem 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	color: var(--mecha-cyan);
	background: transparent;
	border: 1px solid var(--mecha-cyan);
	border-radius: 4px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.2s ease;
}

.mecha-filter-reset-btn:hover {
	color: #000;
	background: var(--mecha-cyan);
	box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* No Products Notice */
.mecha-no-products-notice {
	margin-top: 1rem;
	padding: 1rem;
	background: rgba(229, 62, 62, 0.1);
	border: 1px solid rgba(229, 62, 62, 0.3);
	border-radius: 4px;
	text-align: center;
}

.mecha-no-products-notice p {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.9);
}

.mecha-no-products-notice p:first-child {
	font-weight: 700;
	color: rgba(229, 62, 62, 1);
	margin-bottom: 0.5rem;
}

.mecha-no-products-hint {
	font-size: 0.85rem !important;
	color: rgba(255, 255, 255, 0.7) !important;
	font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
	.mecha-shop-filters {
		padding: 1rem;
	}
	
	.mecha-shop-filters__title {
		font-size: 1rem;
	}
	
	.mecha-filters-form {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.mecha-filter-label {
		font-size: 0.75rem;
	}
	
	.mecha-filter-select {
		font-size: 0.8rem;
		padding: 0.5rem 0.6rem;
		padding-right: 2.25rem;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.mecha-filters-form {
		grid-template-columns: repeat(2, 1fr);
	}
}

