/* ==========================================================================
   MA Bio — shop archive (shop-2)
   Champagne #C6A66B · pale gold #E8DCC5 · ivory #F8F6F1 · white #FFFFFF
   Charcoal #292724 · deep gold #8C6B3E · muted #6E665E · line #E4D9C8
   Scoped to the shop archive only.
   ========================================================================== */

/* ---------- Page header ---------- */
.woocommerce-shop .woocommerce-products-header,
.woocommerce-shop .page-title {
	font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

.woocommerce-shop .woocommerce-products-header__title,
.woocommerce-shop h1.page-title,
.woocommerce-shop .page-title {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: #292724;
	margin: 0 0 0.9rem;
	text-align: center;
}

/* ---------- Breadcrumbs ---------- */
.woocommerce-shop .woocommerce-breadcrumb {
	font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 0.71rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6E665E;
	text-align: center;
	margin: 0 auto 1.6rem;
	max-width: 1180px;
	padding: 0 2rem;
}

.woocommerce-shop .woocommerce-breadcrumb a {
	color: #6E665E;
	text-decoration: none;
	transition: color 0.2s ease;
}

.woocommerce-shop .woocommerce-breadcrumb a:hover {
	color: #C6A66B;
}

.woocommerce-shop .woocommerce-breadcrumb .breadcrumb-separator {
	color: #C6A66B;
	margin: 0 0.6rem;
}

/* ---------- Intro + filter bar (shop page content) ---------- */
.woocommerce-shop .mbshop-intro {
	max-width: 1180px;
	margin: 0 auto 2.75rem;
	padding: 0 2rem;
	box-sizing: border-box;
	text-align: center;
}

.woocommerce-shop .mbshop-lead {
	font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 1.02rem;
	line-height: 1.8;
	color: #6E665E;
	max-width: 620px;
	margin: 0 auto 1.9rem;
}

.woocommerce-shop .mbshop-filters {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.55rem;
	padding: 1.1rem 0 0;
	border-top: 1px solid #E4D9C8;
}

.woocommerce-shop .mbshop-flabel {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.66rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #8C6B3E;
	margin: 0 0.5rem 0 1.1rem;
}

.woocommerce-shop .mbshop-flabel:first-child {
	margin-left: 0;
}

.woocommerce-shop .mbshop-chip {
	display: inline-block;
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
	color: #292724;
	text-decoration: none;
	padding: 0.5rem 1rem;
	border: 1px solid #E4D9C8;
	border-radius: 2px;
	background: #FFFFFF;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.woocommerce-shop .mbshop-chip:hover {
	border-color: #C6A66B;
	color: #8C6B3E;
}

.woocommerce-shop .mbshop-chip.is-active {
	background: #C6A66B;
	border-color: #C6A66B;
	color: #FFFFFF;
}

/* ---------- Result count + ordering ---------- */
.woocommerce-shop .woocommerce-result-count,
.woocommerce-shop .woocommerce-ordering {
	font-family: 'Outfit', system-ui, sans-serif;
}

.woocommerce-shop .woocommerce-result-count {
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: #6E665E;
	margin: 0 0 1.75rem;
}

.woocommerce-shop form.woocommerce-ordering {
	margin: 0 0 1.75rem;
}

.woocommerce-shop .woocommerce-ordering select {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: #292724;
	background-color: #FFFFFF;
	border: 1px solid #E4D9C8;
	border-radius: 2px;
	padding: 0.65rem 2.2rem 0.65rem 0.9rem;
	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 d='M1 1l5 5 5-5' fill='none' stroke='%23C6A66B' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	cursor: pointer;
}

.woocommerce-shop .woocommerce-ordering select:focus {
	outline: none;
	border-color: #C6A66B;
	box-shadow: 0 0 0 1px #C6A66B;
}

/* ---------- Product grid ---------- */
.woocommerce-shop ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.6rem;
	margin: 0 0 3rem !important;
	padding: 0;
	list-style: none;
	max-width: 1180px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.woocommerce-shop ul.products::before,
.woocommerce-shop ul.products::after {
	display: none;
}

.woocommerce-shop ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 0 1.4rem !important;
	background: #FFFFFF;
	border: 1px solid #E4D9C8;
	border-radius: 2px;
	overflow: hidden;
	text-align: center;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce-shop ul.products li.product:hover {
	border-color: #C6A66B;
	box-shadow: 0 18px 40px rgba(41, 39, 36, 0.08);
}

/* Image panel */
.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link {
	display: block;
	text-decoration: none;
}

.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link > img,
.woocommerce-shop ul.products li.product img {
	width: 100%;
	height: 260px;
	object-fit: contain;
	object-position: center;
	margin: 0;
	padding: 1.6rem 1.4rem;
	box-sizing: border-box;
	background: #F8F6F1;
	display: block;
	float: none;
}

/* Title */
.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.woocommerce-shop ul.products li.product h2 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.12rem;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	color: #292724;
	margin: 0;
	padding: 1.1rem 1.25rem 0.35rem;
}

/* Price */
.woocommerce-shop ul.products li.product .price {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #8C6B3E;
	display: block;
	margin: 0 0 1rem;
	padding: 0 1.25rem;
}

.woocommerce-shop ul.products li.product .price del {
	color: #a49c92;
	font-size: 0.82rem;
	font-weight: 300;
	margin-right: 0.35rem;
}

.woocommerce-shop ul.products li.product .price ins {
	text-decoration: none;
	color: #8C6B3E;
	font-weight: 500;
}

/* Rating */
.woocommerce-shop ul.products li.product .star-rating {
	margin: 0 auto 0.85rem;
	color: #C6A66B;
}

.woocommerce-shop ul.products li.product .star-rating::before,
.woocommerce-shop ul.products li.product .star-rating span::before {
	color: #C6A66B;
}

/* Add to cart */
.woocommerce-shop ul.products li.product .button,
.woocommerce-shop ul.products li.product .add_to_cart_button,
.woocommerce-shop ul.products li.product a.added_to_cart {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	display: inline-block;
	margin: 0.15rem 0.6rem 0;
	padding: 0.8rem 1.4rem;
	border-radius: 2px;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.woocommerce-shop ul.products li.product .button,
.woocommerce-shop ul.products li.product .add_to_cart_button {
	background: #C6A66B;
	border: 1px solid #C6A66B;
	color: #FFFFFF;
}

.woocommerce-shop ul.products li.product .button:hover,
.woocommerce-shop ul.products li.product .add_to_cart_button:hover {
	background: #8C6B3E;
	border-color: #8C6B3E;
	color: #FFFFFF;
}

.woocommerce-shop ul.products li.product .added_to_cart {
	background: transparent;
	border: 1px solid #E4D9C8;
	color: #292724;
}

.woocommerce-shop ul.products li.product .added_to_cart:hover {
	border-color: #C6A66B;
	color: #8C6B3E;
}

/* Sale badge */
.woocommerce-shop ul.products li.product .onsale {
	background: #292724;
	color: #FFFFFF;
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border-radius: 0;
	padding: 0.4rem 0.75rem;
	margin: 0.9rem;
	min-height: 0;
	min-width: 0;
	line-height: 1.4;
}

/* ---------- Pagination ---------- */
.woocommerce-shop .woocommerce-pagination {
	max-width: 1180px;
	margin: 0 auto 4rem;
	text-align: center;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 0.4rem;
	border: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-shop .woocommerce-pagination ul.page-numbers li {
	border: 0;
	margin: 0;
}

.woocommerce-shop .woocommerce-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.6rem;
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.82rem;
	color: #292724;
	text-decoration: none;
	border: 1px solid #E4D9C8;
	border-radius: 2px;
	background: #FFFFFF;
}

.woocommerce-shop .woocommerce-pagination .page-numbers:hover {
	border-color: #C6A66B;
	color: #8C6B3E;
}

.woocommerce-shop .woocommerce-pagination .page-numbers.current {
	background: #C6A66B;
	border-color: #C6A66B;
	color: #FFFFFF;
}

/* ---------- Empty state ---------- */
.woocommerce-shop .woocommerce-info,
.woocommerce-shop .woocommerce-message {
	font-family: 'Outfit', system-ui, sans-serif;
	font-size: 0.92rem;
	background: #F8F6F1;
	border-top: 2px solid #C6A66B;
	color: #292724;
	border-radius: 2px;
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.woocommerce-shop ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.woocommerce-shop ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.1rem;
	}

	.woocommerce-shop ul.products li.product img,
	.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link > img {
		height: 210px;
		padding: 1.1rem;
	}
}

@media (max-width: 768px) {
	.woocommerce-shop .woocommerce-breadcrumb,
	.woocommerce-shop .mbshop-intro {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.woocommerce-shop .mbshop-filters {
		gap: 0.4rem;
	}

	.woocommerce-shop .mbshop-flabel {
		margin: 0.35rem 0.4rem 0.1rem;
	}

	.woocommerce-shop ul.products {
		padding: 0 1.25rem;
	}

	.woocommerce-shop .woocommerce-products-header__title,
	.woocommerce-shop h1.page-title {
		font-size: 2rem;
	}
}

/* ---------- Shared card rhythm: equal heights, aligned price/button ---------- */
.woocommerce-shop ul.products li.product {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.woocommerce-shop ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}

.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
.woocommerce-shop ul.products li.product h2 {
	min-height: 2.9em;
}

.woocommerce-shop ul.products li.product .price {
	margin-top: auto;
}

.woocommerce-shop ul.products li.product .button,
.woocommerce-shop ul.products li.product .add_to_cart_button {
	align-self: center;
}

@media (max-width: 575px) {
	.woocommerce-shop ul.products li.product .button,
	.woocommerce-shop ul.products li.product .add_to_cart_button {
		font-size: 0.62rem;
		letter-spacing: 0.1em;
		padding: 0.7rem 0.9rem;
		margin-left: 0.4rem;
		margin-right: 0.4rem;
		white-space: nowrap;
	}
}
