/* Shop catalog — Şanlı Aydınlatma */
.shop-catalog {
	padding: 40px 0 72px;
	background: #f5f6f8;
}

.shop-catalog__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}

.shop-catalog__intro-text h2 {
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--primary-color);
	letter-spacing: -0.02em;
}

.shop-catalog__intro-text p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #5f6b7a;
	max-width: 520px;
}

.shop-catalog__stats {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.shop-stat {
	min-width: 96px;
	padding: 12px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e8ebf0;
}

.shop-stat strong {
	display: block;
	font-size: 22px;
	line-height: 1.1;
	font-weight: 700;
	color: var(--primary-color);
}

.shop-stat span {
	font-size: 12px;
	font-weight: 500;
	color: #6b7280;
}

.shop-layout {
	display: grid;
	grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

/* —— Sidebar —— */
.shop-sidebar {
	position: sticky;
	top: 108px;
	padding: 0;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e8ebf0;
	overflow: hidden;
}

.shop-sidebar__head {
	padding: 18px 20px 14px;
	border-bottom: 1px solid #eef1f5;
}

.shop-sidebar h3 {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0;
	color: #6b7280;
}

.shop-cat-list {
	list-style: none;
	margin: 0;
	padding: 8px 10px 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	max-height: calc(100vh - 280px);
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #d1d5db transparent;
}

.shop-cat-list::-webkit-scrollbar {
	width: 5px;
}

.shop-cat-list::-webkit-scrollbar-thumb {
	background: #d1d5db;
	border-radius: 4px;
}

.shop-cat-list button {
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	gap: 10px 12px;
	padding: 11px 12px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background 0.18s ease;
	position: relative;
}

.shop-cat-list__label {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: #1f2937;
	word-break: break-word;
}

.shop-cat-list__count {
	flex-shrink: 0;
	min-width: 28px;
	padding: 3px 8px;
	border-radius: 6px;
	background: #f3f4f6;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: #6b7280;
	text-align: center;
}

.shop-cat-list button:hover {
	background: #f9fafb;
}

.shop-cat-list button.is-active {
	background: #faf8f5;
}

.shop-cat-list button.is-active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--accent-color);
}

.shop-cat-list button.is-active .shop-cat-list__label {
	font-weight: 600;
	color: var(--primary-color);
}

.shop-cat-list button.is-active .shop-cat-list__count {
	background: var(--accent-color);
	color: #fff;
}

.shop-sidebar-cta {
	padding: 16px 20px 20px;
	border-top: 1px solid #eef1f5;
	background: #fafbfc;
}

.shop-sidebar-cta p {
	font-size: 13px;
	line-height: 1.55;
	color: #6b7280;
	margin-bottom: 12px;
}

.shop-sidebar-cta .btn-default {
	width: 100%;
	text-align: center;
	border-radius: 10px;
	font-size: 14px;
	padding: 12px 16px;
}

/* —— Toolbar —— */
.shop-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e8ebf0;
}

.shop-search {
	flex: 1 1 240px;
	position: relative;
}

.shop-search i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	font-size: 14px;
}

.shop-search input {
	width: 100%;
	height: 44px;
	padding: 0 14px 0 40px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	font-size: 14px;
	background: #fafbfc;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.shop-search input:focus {
	outline: none;
	border-color: #c9a227;
	background: #fff;
}

.shop-toolbar-meta {
	font-size: 13px;
	font-weight: 500;
	color: #6b7280;
}

.shop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 18px;
}

.shop-chip {
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #374151;
	padding: 7px 13px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.shop-chip:hover {
	border-color: #c9a227;
	color: var(--accent-color);
}

.shop-chip.is-active {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

/* —— Product grid —— */
.shop-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 16px;
}

.shop-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e8ebf0;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-card.is-hidden {
	display: none !important;
}

.shop-card:hover {
	border-color: #d5dae1;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.shop-card__visual {
	position: relative;
	background: #fff;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-bottom: 1px solid #f0f2f5;
}

.shop-card__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 16px;
}

.shop-card__img-wrap img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	transition: transform 0.35s ease;
}

.shop-card:hover .shop-card__img-wrap img {
	transform: scale(1.03);
}

.shop-card__cat {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	max-width: calc(100% - 16px);
	padding: 2px 7px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #eceff3;
	font-size: 9px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.02em;
	color: #6b7280;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shop-card__body {
	padding: 12px 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.shop-card__title {
	font-size: 14px;
	line-height: 1.4;
	margin: 0;
	min-height: 2.8em;
}

.shop-card__title a {
	display: block;
	color: inherit;
	text-decoration: none;
}

.shop-card__title a:hover .shop-card__name {
	color: var(--accent-color);
}

.shop-card__code {
	display: inline;
	font-weight: 700;
	color: var(--primary-color);
	margin-right: 4px;
}

.shop-card__name {
	font-weight: 500;
	color: #374151;
}

.shop-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: auto;
	padding: 9px 12px;
	border-radius: 8px;
	border: 1px solid #e5e7eb;
	background: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--primary-color);
	text-decoration: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.shop-card__btn:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #fff;
}

.shop-load-more-wrap {
	margin-top: 32px;
	text-align: center;
}

.shop-load-more-wrap .btn-default {
	min-width: 220px;
	border-radius: 10px;
	font-size: 14px;
}

.shop-empty {
	margin-top: 24px;
	padding: 36px 20px;
	text-align: center;
	border-radius: 12px;
	background: #fff;
	border: 1px dashed #d5dae1;
	color: #6b7280;
	font-size: 14px;
}

.shop-mobile-filter {
	display: none;
	width: 100%;
	margin-bottom: 12px;
}

.shop-mobile-filter select {
	width: 100%;
	height: 44px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 500;
	background: #fff;
}

@media (max-width: 991px) {
	.shop-layout {
		grid-template-columns: 1fr;
	}

	.shop-sidebar {
		display: none;
	}

	.shop-mobile-filter {
		display: block;
	}
}

@media (max-width: 575px) {
	.shop-catalog {
		padding-top: 28px;
	}

	.shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.shop-card {
		border-radius: 10px;
	}

	.shop-card__body {
		padding: 10px;
		gap: 8px;
	}

	.shop-card__title {
		font-size: 12px;
		min-height: 2.6em;
	}

	.shop-card__btn {
		font-size: 11px;
		padding: 8px 8px;
	}

	.shop-card__img-wrap {
		padding: 10px;
	}
}
