/* ============================================
   SHOP HERO
============================================ */
.mcs-shop-hero {
	padding: 60px 0 40px;
	background: #faf7f0;
	border-bottom: 1px solid #e8e1d2;
	text-align: center;
}

.mcs-shop-hero .woocommerce-breadcrumb {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8a7f6c;
	margin-bottom: 16px;
}

.mcs-shop-hero .woocommerce-breadcrumb a {
	color: #8a7f6c;
	text-decoration: none;
	transition: color 0.3s;
}

.mcs-shop-hero .woocommerce-breadcrumb a:hover {
	color: #b8935c;
}

.mcs-shop-hero__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #1a1a1a;
	margin: 0 0 12px;
}

.mcs-shop-hero__desc {
	max-width: 600px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.7;
	color: #5c5346;
}

/* ============================================
   SHOP LAYOUT
============================================ */
.mcs-shop {
	padding: 60px 0 100px;
	background: #fff;
}

.mcs-shop__layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	align-items: start;
}

/* ============================================
   SIDEBAR
============================================ */
.mcs-shop__sidebar {
	position: sticky;
	top: 100px;
}

.mcs-shop__sidebar-close {
	display: none;
}

.mcs-filter-group {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid #e8e1d2;
}

.mcs-filter-group:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.mcs-filter-group__title {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #1a1a1a;
	margin: 0 0 16px;
}

/* Category list */
.mcs-filter-group ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mcs-filter-group ul li {
	margin-bottom: 10px;
}

.mcs-filter-group ul li a {
	font-size: 14px;
	color: #5c5346;
	text-decoration: none;
	transition: color 0.3s;
	display: flex;
	justify-content: space-between;
	gap: 8px;
}

.mcs-filter-group ul li a:hover,
.mcs-filter-group ul li.current-cat > a {
	color: #b8935c;
}

.mcs-filter-group ul li .count {
	font-size: 12px;
	color: #a8a196;
}

/* Price filter widget */
.mcs-filter-group .widget_price_filter .price_slider_wrapper {
	margin-top: 16px;
}

.mcs-filter-group .widget_price_filter .price_slider {
	height: 2px;
	background: #e8e1d2;
	margin-bottom: 20px;
}

.mcs-filter-group .widget_price_filter .ui-slider-range {
	background: #b8935c;
}

.mcs-filter-group .widget_price_filter .ui-slider-handle {
	background: #1a1a1a;
	border: none;
	width: 14px;
	height: 14px;
	top: -6px;
	cursor: pointer;
}

.mcs-filter-group .widget_price_filter .price_slider_amount .button {
	background: #1a1a1a;
	color: #fff;
	border: none;
	padding: 10px 18px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s;
	font-family: inherit;
}

.mcs-filter-group .widget_price_filter .price_slider_amount .button:hover {
	background: #b8935c;
}

.mcs-filter-group .widget_price_filter .price_label {
	font-size: 13px;
	color: #5c5346;
}

/* Ordering dropdown in sidebar */
.mcs-filter-group .woocommerce-ordering {
	margin: 0;
}

.mcs-filter-group .woocommerce-ordering select {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e8e1d2;
	background: #fff;
	font-size: 13px;
	color: #1a1a1a;
	font-family: inherit;
	cursor: pointer;
}

/* ============================================
   TOOLBAR
============================================ */
.mcs-shop__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e8e1d2;
}

.mcs-shop__filter-toggle {
	display: none;
	padding: 10px 18px;
	background: #1a1a1a;
	color: #fff;
	border: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	font-family: inherit;
}

.mcs-shop__result .woocommerce-result-count {
	margin: 0;
	font-size: 13px;
	color: #8a7f6c;
}

.mcs-shop__sorting {
	margin-left: auto;
}

.mcs-shop__sorting .woocommerce-ordering {
	margin: 0;
}

.mcs-shop__sorting select {
	padding: 10px 32px 10px 14px;
	border: 1px solid #e8e1d2;
	background: #fff;
	font-size: 13px;
	color: #1a1a1a;
	cursor: pointer;
	font-family: inherit;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%231a1a1a' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* ============================================
   PRODUCT GRID
============================================ */
.mcs-shop__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
}

/* Product card — same as homepage */
.mcs-shop .mcs-prod {
	display: flex !important;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e1d2;
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
				box-shadow 0.4s ease,
				border-color 0.4s ease;
}

.mcs-shop .mcs-prod:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 45px -15px rgba(22, 20, 15, 0.15);
	border-color: #b8935c;
}

.mcs-shop .mcs-prod__thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #faf7f0;
}

.mcs-shop .mcs-prod__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.mcs-shop .mcs-prod:hover .mcs-prod__thumb img {
	transform: scale(1.06);
}

.mcs-shop .mcs-prod__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 10px;
	background: #b91c1c;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	z-index: 2;
}

.mcs-shop .mcs-prod__tag--oos {
	background: #6b7280;
}

.mcs-shop .mcs-prod__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 12px;
	padding: 20px;
}

.mcs-shop .mcs-prod__title {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	min-height: 2.7em;
	margin: 0;
	color: #1a1a1a;
}

.mcs-shop .mcs-prod__title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.3s ease;
}

.mcs-shop .mcs-prod__title a:hover {
	color: #b8935c;
}

.mcs-shop .mcs-prod__price {
	font-size: 15px;
	font-weight: 700;
	color: #1a1a1a;
	margin-top: auto;
}

.mcs-shop .mcs-prod__price del {
	color: #a8a196;
	font-weight: 400;
	font-size: 13px;
	margin-right: 6px;
}

.mcs-shop .mcs-prod__price ins {
	text-decoration: none;
	color: #b91c1c;
}

.mcs-shop .mcs-prod__add {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 12px 16px;
	background: #1a1a1a;
	color: #fff;
	border: 1px solid #1a1a1a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: inherit;
	text-align: center;
}

.mcs-shop .mcs-prod__add:hover {
	background: #b8935c;
	border-color: #b8935c;
	color: #fff;
}

.mcs-shop .mcs-prod__add.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* ============================================
   EMPTY STATE
============================================ */
.mcs-shop__empty {
	padding: 80px 24px;
	text-align: center;
	background: #faf7f0;
	border: 1px dashed #e8e1d2;
}

.mcs-shop__empty h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.mcs-shop__empty p {
	color: #8a7f6c;
	margin-bottom: 24px;
}

/* ============================================
   PAGINATION
============================================ */
.mcs-shop .woocommerce-pagination {
	margin-top: 48px;
	text-align: center;
}

.mcs-shop .woocommerce-pagination ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	gap: 8px;
}

.mcs-shop .woocommerce-pagination ul li a,
.mcs-shop .woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #e8e1d2;
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s;
	background: #fff;
}

.mcs-shop .woocommerce-pagination ul li a:hover,
.mcs-shop .woocommerce-pagination ul li span.current {
	background: #1a1a1a;
	color: #fff;
	border-color: #1a1a1a;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
	.mcs-shop__layout {
		grid-template-columns: 220px 1fr;
		gap: 32px;
	}

	.mcs-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 768px) {
	.mcs-shop {
		padding: 40px 0 60px;
	}

	.mcs-shop__layout {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.mcs-shop__sidebar {
		position: fixed;
		top: 0;
		left: -100%;
		width: 300px;
		max-width: 85%;
		height: 100vh;
		background: #fff;
		padding: 24px;
		overflow-y: auto;
		z-index: 9999;
		transition: left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
		box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
	}

	.mcs-shop__sidebar.is-open {
		left: 0;
	}

	.mcs-shop__sidebar-close {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 16px;
		right: 16px;
		width: 36px;
		height: 36px;
		background: #faf7f0;
		border: none;
		border-radius: 50%;
		font-size: 18px;
		cursor: pointer;
		color: #1a1a1a;
	}

	.mcs-shop__filter-toggle {
		display: inline-flex;
	}

	.mcs-shop__sorting {
		display: none;
	}

	.mcs-shop__toolbar {
		flex-wrap: wrap;
	}

	.mcs-shop__result {
		flex: 1;
		text-align: right;
	}

	.mcs-shop__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important;
	}
}

@media (max-width: 480px) {
	.mcs-shop__grid {
		grid-template-columns: 1fr !important;
	}
}