/* =========================================================
   Sullaf – WooCommerce Shop Page
   Palette: Deep Plum #4B1F2A | Warm Ivory #F7F1E8
            Charcoal #1C1C1C | Muted Gold #C6A15B
   Place in: your-child-theme/assets/css/sullaf-shop.css
   ========================================================= */

:root {
	--sullaf-primary: #4B1F2A;
	--sullaf-bg: #F7F1E8;
	--sullaf-text: #1C1C1C;
	--sullaf-accent: #C6A15B;
}

/* Uncomment if your theme's body isn't already ivory behind the shop */
/*
body.woocommerce-shop,
body.tax-product_cat {
	background-color: var(--sullaf-bg);
}
*/

.sullaf-shop-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px 80px;
	color: var(--sullaf-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---- Header block ---- */
.sullaf-shop-header {
	margin-bottom: 32px;
}

.sullaf-shop-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 2.75rem;
	font-weight: 500;
	color: var(--sullaf-primary);
	margin: 0 0 8px;
}

.sullaf-shop-subtitle {
	font-size: 1rem;
	color: var(--sullaf-text);
	opacity: 0.75;
	margin: 0 0 24px;
}

/* ---- Category filter pills ---- */
.sullaf-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sullaf-filter-btn {
	display: inline-block;
	padding: 10px 22px;
	border: 1px solid rgba(28, 28, 28, 0.25);
	border-radius: 2px;
	color: var(--sullaf-text);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	background: transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sullaf-filter-btn:hover {
	border-color: var(--sullaf-primary);
	color: var(--sullaf-primary);
}

.sullaf-filter-btn.is-active {
	background-color: var(--sullaf-primary);
	border-color: var(--sullaf-primary);
	color: var(--sullaf-bg);
}

/* ---- Product grid ---- */
.sullaf-shop-wrap ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

.sullaf-shop-wrap ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	text-align: left;
}

.sullaf-product-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sullaf-product-image img {
	width: 100%;
	height: auto;
	display: block;
}

.sullaf-accent-bar {
	display: block;
	width: 56px;
	height: 3px;
	margin: 18px 0 12px;
}

.sullaf-product-title {
	font-family: "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
	font-weight: 500;
	color: var(--sullaf-primary);
	margin: 0 0 4px;
}

.sullaf-product-cat {
	font-size: 0.95rem;
	color: var(--sullaf-text);
	opacity: 0.75;
	margin-bottom: 14px;
}

.sullaf-product-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--sullaf-text);
	margin-bottom: 18px;
}

.sullaf-product-price del {
	opacity: 0.5;
	font-weight: 400;
	margin-right: 8px;
}

.sullaf-product-price ins {
	text-decoration: none;
}

/* ---- Add to Cart button ---- */
.sullaf-product-cta a.button,
.sullaf-product-cta button.button {
	display: block;
	width: 100%;
	text-align: center;
	background-color: var(--sullaf-primary);
	color: var(--sullaf-bg) !important;
	border: none;
	border-radius: 2px;
	padding: 14px 20px;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.3px;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.sullaf-product-cta a.button:hover,
.sullaf-product-cta button.button:hover {
	opacity: 0.85;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.sullaf-shop-wrap ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.sullaf-shop-wrap ul.products {
		grid-template-columns: 1fr;
	}
	.sullaf-shop-title {
		font-size: 2rem;
	}
}
