/**
 * Müzik aletleri – mağaza (ürün arşivi + filtreler)
 * Anasayfa mprod-card ve mus-btn ile uyumlu.
 */

body.music-theme .mus-shop-main {
	background: var(--mus-bg);
}

body.music-theme .mus-shop-layout {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 48px 40px 100px;
	box-sizing: border-box;
}

body.music-theme .mus-shop-main .sa-sidebar-open.mus-shop-filter-open {
	display: inline-flex;
	width: auto;
	max-width: none;
	margin: 0 0 24px 40px;
}

@media screen and (max-width: 1024px) {
	body.music-theme .mus-shop-layout {
		padding-left: 24px;
		padding-right: 24px;
	}

	body.music-theme .mus-shop-main .sa-sidebar-open.mus-shop-filter-open {
		margin-left: 24px;
	}
}

/* Geniş ekranda ekstra sütun (tam genişlikten yararlanma) */
@media screen and (min-width: 90em) {
	body.music-theme ul.products.mus-shop-grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* ── Ürün grid (anasayfa ile aynı) ── */
body.music-theme ul.products.mus-shop-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
	clear: both;
}

body.music-theme ul.products.mus-shop-grid > li.mprod-card-wrap {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	width: 100%;
}

body.music-theme ul.products.mus-shop-grid > li.mprod-card-wrap .mprod-card {
	width: 100%;
}

/* ── Sıralama / sonuç sayısı ── */
body.music-theme .mus-shop-products .woocommerce-result-count,
body.music-theme .mus-shop-products .woocommerce-ordering {
	color: var(--mus-text);
	font-size: 14px;
	margin-bottom: 24px;
}

body.music-theme .mus-shop-products .woocommerce-before-shop-loop,
body.music-theme .mus-shop-products > .woocommerce-notices-wrapper + .woocommerce-result-count,
body.music-theme .mus-shop-products form.woocommerce-ordering {
	margin-bottom: 0;
}

body.music-theme .mus-shop-products .woocommerce-ordering select {
	min-height: 48px;
	padding: 0 40px 0 16px;
	font-family: var(--mus-font-heading);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--mus-light);
	background-color: var(--mus-bg);
	border: 2px solid var(--mus-border);
	border-radius: 0;
	cursor: pointer;
	appearance: none;
	background-image: 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='%23A1A1AA' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

body.music-theme .mus-shop-products .woocommerce-ordering select:focus {
	border-color: var(--mus-gold);
	outline: none;
}

body.music-theme .mus-shop-products .woocommerce-result-count {
	font-family: var(--mus-font-body);
	letter-spacing: 0.02em;
}

@media screen and (min-width: 48em) {
	body.music-theme .mus-shop-products .woocommerce-notices-wrapper {
		margin-bottom: 1rem;
	}

	body.music-theme .mus-shop-products .woocommerce-result-count {
		float: left;
		margin-bottom: 30px;
	}

	body.music-theme .mus-shop-products .woocommerce-ordering {
		float: right;
		margin-bottom: 30px;
	}

	body.music-theme .mus-shop-products ul.products.mus-shop-grid {
		clear: both;
	}
}

/* ── Sayfalama ── */
body.music-theme .mus-shop-products nav.woocommerce-pagination {
	margin-top: 48px;
	clear: both;
}

body.music-theme .mus-shop-products nav.woocommerce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;
}

body.music-theme .mus-shop-products nav.woocommerce-pagination ul li {
	border: none;
	margin: 0;
	padding: 0;
}

body.music-theme .mus-shop-products nav.woocommerce-pagination ul li a,
body.music-theme .mus-shop-products nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	font-family: var(--mus-font-heading);
	font-size: 13px;
	font-weight: 700;
	color: var(--mus-light);
	background: var(--mus-surface);
	border: 2px solid var(--mus-border);
	text-decoration: none;
	transition: all 0.25s ease;
}

body.music-theme .mus-shop-products nav.woocommerce-pagination ul li a:hover {
	border-color: var(--mus-gold);
	color: var(--mus-gold);
}

body.music-theme .mus-shop-products nav.woocommerce-pagination ul li span.current {
	background: var(--mus-gold);
	border-color: var(--mus-gold);
	color: var(--mus-bg);
}

/* ── Mobil filtre butonu ── */
body.music-theme .sa-sidebar-open.mus-shop-filter-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 24px;
	padding: 14px 28px;
	font-family: var(--mus-font-heading);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--mus-bg) !important;
	background: var(--mus-gold);
	border: 2px solid var(--mus-gold);
	border-radius: 0;
	cursor: pointer;
	transition: all 0.3s ease;
}

body.music-theme .sa-sidebar-open.mus-shop-filter-open:hover {
	background: transparent;
	color: var(--mus-gold) !important;
}

/* ── Sidebar (filtre paneli) ── */
body.music-theme .mus-shop-sidebar {
	background: var(--mus-bg);
	border: 1px solid var(--mus-border);
	box-shadow: none;
}

body.music-theme .mus-shop-sidebar .sa-sidebar-header {
	border-bottom-color: var(--mus-border);
	background: var(--mus-surface);
}

body.music-theme .mus-shop-sidebar .sa-sidebar-title {
	font-family: var(--mus-font-heading);
	color: var(--mus-light);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 13px;
}

body.music-theme .mus-shop-sidebar .sa-sidebar-title i {
	color: var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-sidebar-close {
	background: var(--mus-card);
	border: 1px solid var(--mus-border);
	color: var(--mus-light);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sidebar-close:hover {
	background: var(--mus-gold);
	border-color: var(--mus-gold);
	color: var(--mus-bg);
}

body.music-theme .mus-shop-sidebar .sa-sidebar-body {
	padding: 24px;
}

body.music-theme .mus-shop-sidebar .sa-sb-widget {
	border-bottom-color: var(--mus-border);
}

body.music-theme .mus-shop-sidebar .sa-sb-widget-title {
	font-family: var(--mus-font-heading);
	color: var(--mus-light);
	letter-spacing: 2px;
}

body.music-theme .mus-shop-sidebar .sa-sb-widget-title i {
	color: var(--mus-gold);
}

/* Arama */
body.music-theme .mus-shop-sidebar .sa-sb-search-input {
	color: var(--mus-light);
	background-color: var(--mus-card);
	border: 2px solid var(--mus-border);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-search-input::placeholder {
	color: var(--mus-text);
}

body.music-theme .mus-shop-sidebar .sa-sb-search-input:focus {
	border-color: var(--mus-gold);
	outline: none;
}

body.music-theme .mus-shop-sidebar .sa-sb-search-btn {
	background: var(--mus-gold);
	color: var(--mus-bg);
	border-radius: 0;
	border: 2px solid var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-sb-search-btn:hover {
	background: transparent;
	color: var(--mus-gold);
}

/* Kategoriler */
body.music-theme .mus-shop-sidebar .sa-sb-cat-link {
	color: var(--mus-text);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-cat-link:hover {
	background: var(--mus-surface);
	color: var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-sb-cat-link--active {
	background: var(--mus-gold);
	color: var(--mus-bg) !important;
}

body.music-theme .mus-shop-sidebar .sa-sb-cat-link--active:hover {
	background: var(--mus-gold-dark);
	color: var(--mus-bg) !important;
}

body.music-theme .mus-shop-sidebar .sa-sb-cat-count {
	background: var(--mus-card);
	color: var(--mus-text);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-cat-link--active .sa-sb-cat-count {
	background: rgba(9, 9, 11, 0.25);
	color: var(--mus-bg);
}

/* Fiyat slider */
body.music-theme .mus-shop-sidebar .sa-range-val {
	color: var(--mus-light);
	font-family: var(--mus-font-heading);
}

body.music-theme .mus-shop-sidebar .sa-range-track {
	background: var(--mus-border);
}

body.music-theme .mus-shop-sidebar .sa-range-fill,
body.music-theme .mus-shop-sidebar .sa-range-input::-webkit-slider-thumb,
body.music-theme .mus-shop-sidebar .sa-range-input::-moz-range-thumb {
	background: var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-range-input::-webkit-slider-thumb,
body.music-theme .mus-shop-sidebar .sa-range-input::-moz-range-thumb {
	border-color: var(--mus-bg);
}

body.music-theme .mus-shop-sidebar .sa-sb-price-btn {
	font-family: var(--mus-font-heading);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	background: var(--mus-gold);
	color: var(--mus-bg);
	border: 2px solid var(--mus-gold);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-price-btn:hover {
	background: transparent;
	color: var(--mus-gold);
}

/* Aktif filtreler & etiketler */
body.music-theme .mus-shop-sidebar .sa-sb-active-title {
	color: var(--mus-light);
}

body.music-theme .mus-shop-sidebar .sa-sb-tag {
	background: var(--mus-surface);
	color: var(--mus-gold);
	border: 1px solid var(--mus-border);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-tag:hover {
	background: var(--mus-gold);
	color: var(--mus-bg);
}

body.music-theme .mus-shop-sidebar .sa-sb-clear {
	color: var(--mus-text);
}

body.music-theme .mus-shop-sidebar .sa-sb-clear:hover {
	color: var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-sb-pill {
	background: var(--mus-card);
	color: var(--mus-text);
	border: 1px solid var(--mus-border);
	border-radius: 0;
}

body.music-theme .mus-shop-sidebar .sa-sb-pill:hover {
	border-color: var(--mus-gold);
	color: var(--mus-gold);
}

body.music-theme .mus-shop-sidebar .sa-sb-pill--active {
	background: var(--mus-gold);
	border-color: var(--mus-gold);
	color: var(--mus-bg) !important;
}

/* Bildirimler */
body.music-theme .mus-shop-products .woocommerce-info,
body.music-theme .mus-shop-products .woocommerce-message,
body.music-theme .mus-shop-products .woocommerce-error {
	background: var(--mus-surface);
	border: 1px solid var(--mus-border);
	border-left: 4px solid var(--mus-gold);
	color: var(--mus-text);
	border-radius: 0;
}

body.music-theme .mus-shop-products .woocommerce-no-products-found {
	color: var(--mus-text);
}

/* Masaüstü sidebar */
@media screen and (min-width: 64em) {
	body.music-theme .mus-shop-sidebar {
		background: var(--mus-bg);
		border: 1px solid var(--mus-border);
		border-radius: 0;
	}
}

@media screen and (max-width: 1024px) {
	body.music-theme ul.products.mus-shop-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 640px) {
	body.music-theme ul.products.mus-shop-grid {
		grid-template-columns: 1fr;
	}

	body.music-theme .mus-shop-products .woocommerce-result-count,
	body.music-theme .mus-shop-products .woocommerce-ordering {
		float: none;
		width: 100%;
	}

	body.music-theme .mus-shop-products .woocommerce-ordering select {
		width: 100%;
	}
}
