/* Shop archive — catalog journey (matches home/PDP brand) */
:root{
	--ab-ink:#121412;
	--ab-cedar:#163226;
	--ab-cedar-deep:#0c1f18;
	--ab-sand:#e8e2d6;
	--ab-mist:#f6f3ec;
	--ab-cream:#f4efe6;
	--ab-line:rgba(18,20,18,.12);
}

body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag{
	background:
		radial-gradient(820px 380px at 12% 0%, rgba(22,50,38,.07), transparent 55%),
		var(--ab-mist);
	color:var(--ab-ink);
	font-family:Manrope,system-ui,sans-serif;
}

/* —— Compact brand band (replace loud Blocksy hero) —— */
body.woocommerce-shop .hero-section,
body.tax-product_cat .hero-section,
body.tax-product_tag .hero-section{
	background:var(--ab-sand) !important;
	background-image:none !important;
	border-bottom:1px solid var(--ab-line);
	padding:clamp(2.25rem, 5vw, 3.25rem) 0 !important;
	min-height:0 !important;
}
body.woocommerce-shop .hero-section .entry-header,
body.tax-product_cat .hero-section .entry-header,
body.tax-product_tag .hero-section .entry-header{
	max-width:1120px;
	margin:0 auto;
	padding:0 clamp(1.25rem, 4vw, 2rem);
	text-align:left;
}
body.woocommerce-shop .hero-section .page-title,
body.tax-product_cat .hero-section .page-title,
body.tax-product_tag .hero-section .page-title{
	font-family:Fraunces,Georgia,serif !important;
	font-size:clamp(2rem, 4.5vw, 2.85rem) !important;
	font-weight:650 !important;
	letter-spacing:-.02em;
	line-height:1.1;
	color:var(--ab-ink) !important;
	margin:0 0 .4rem !important;
}
body.woocommerce-shop .hero-section .page-title::after,
body.tax-product_cat .hero-section .page-title::after{
	content:"The collection";
	display:block;
	margin-top:.55rem;
	font-family:Manrope,sans-serif;
	font-size:.92rem;
	font-weight:500;
	letter-spacing:.02em;
	color:rgba(18,20,18,.68);
}
body.tax-product_cat .hero-section .page-title::after{
	content:"Curated for the diaspora — free shipping worldwide.";
}

/* Soften breadcrumbs */
body.woocommerce-shop .ct-breadcrumbs,
body.tax-product_cat .ct-breadcrumbs,
body.woocommerce .woocommerce-breadcrumb{
	font-size:.75rem !important;
	letter-spacing:.06em;
	text-transform:uppercase;
	color:rgba(18,20,18,.55) !important;
	margin:0 0 1rem !important;
}
body.woocommerce-shop .ct-breadcrumbs a,
body.tax-product_cat .ct-breadcrumbs a,
body.woocommerce .woocommerce-breadcrumb a{
	color:rgba(18,20,18,.55) !important;
}

/* —— Category path chips —— */
.ab-shop-paths{
	max-width:1120px;
	margin:0 auto 1.25rem;
	padding:0 clamp(1.25rem, 4vw, 2rem);
	display:flex;
	flex-wrap:wrap;
	gap:.5rem .55rem;
	animation:abShopRise .7s ease both;
}
.ab-shop-paths a{
	display:inline-flex;
	align-items:center;
	min-height:2.35rem;
	padding:.45rem .95rem;
	font-family:Manrope,sans-serif;
	font-size:.72rem;
	font-weight:700;
	letter-spacing:.12em;
	text-transform:uppercase;
	text-decoration:none;
	color:var(--ab-ink);
	background:transparent;
	border:1px solid rgba(18,20,18,.22);
	border-radius:0;
	transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.ab-shop-paths a:hover{
	border-color:var(--ab-cedar);
	color:var(--ab-cedar);
}
.ab-shop-paths a.is-active{
	background:var(--ab-cedar);
	border-color:var(--ab-cedar);
	color:var(--ab-cream);
}

/* —— Toolbar —— */
body.woocommerce-shop .woo-listing-top,
body.tax-product_cat .woo-listing-top,
body.tax-product_tag .woo-listing-top{
	max-width:1120px;
	margin:0 auto .85rem;
	padding:0 clamp(1.25rem, 4vw, 2rem);
	align-items:center;
	border-bottom:1px solid var(--ab-line);
	padding-bottom:.85rem;
}
body.woocommerce-shop .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count{
	font-family:Manrope,sans-serif !important;
	font-size:.72rem !important;
	font-weight:600 !important;
	letter-spacing:.1em !important;
	text-transform:uppercase !important;
	color:rgba(18,20,18,.6) !important;
	margin:0 !important;
}
body.woocommerce-shop .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select{
	font-family:Manrope,sans-serif !important;
	font-size:.78rem !important;
	font-weight:600 !important;
	color:var(--ab-ink) !important;
	background:var(--ab-cream) !important;
	border:1px solid rgba(18,20,18,.18) !important;
	border-radius:0 !important;
	min-height:2.4rem;
	padding:.4rem 2rem .4rem .75rem !important;
}

/* —— Product grid —— */
body.woocommerce-shop ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products,
body.woocommerce-shop [data-products],
body.tax-product_cat [data-products]{
	max-width:1120px;
	margin-left:auto !important;
	margin-right:auto !important;
	padding-left:clamp(1.25rem, 4vw, 2rem);
	padding-right:clamp(1.25rem, 4vw, 2rem);
}
body.woocommerce-shop ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product{
	background:transparent !important;
	box-shadow:none !important;
	border:0 !important;
	border-radius:0 !important;
	padding:0 !important;
	text-align:left !important;
}
body.woocommerce-shop ul.products li.product figure,
body.tax-product_cat ul.products li.product figure{
	margin:0 0 .9rem !important;
	background:var(--ab-sand);
	overflow:hidden;
}
body.woocommerce-shop ul.products li.product img,
body.tax-product_cat ul.products li.product img{
	transition:transform .45s ease;
}
body.woocommerce-shop ul.products li.product:hover img,
body.tax-product_cat ul.products li.product:hover img{
	transform:scale(1.03);
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
	font-family:Manrope,sans-serif !important;
	font-size:.95rem !important;
	font-weight:600 !important;
	line-height:1.35 !important;
	letter-spacing:0 !important;
	text-transform:none !important;
	color:var(--ab-ink) !important;
	margin:0 0 .35rem !important;
}
body.woocommerce-shop ul.products li.product .woocommerce-loop-product__title a,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title a{
	color:inherit !important;
	text-decoration:none !important;
}
body.woocommerce-shop ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
	font-family:Manrope,sans-serif !important;
	font-size:.92rem !important;
	font-weight:700 !important;
	color:var(--ab-cedar) !important;
	margin:0 !important;
}
body.woocommerce-shop ul.products li.product .price del,
body.tax-product_cat ul.products li.product .price del{
	opacity:.55;
	font-weight:500;
}
/* Mute category meta under cards */
body.woocommerce-shop ul.products li.product .entry-meta,
body.tax-product_cat ul.products li.product .entry-meta{
	display:none !important;
}
/* CTA / buttons on cards */
body.woocommerce-shop ul.products li.product .button,
body.tax-product_cat ul.products li.product .button,
body.woocommerce-shop ul.products li.product .added_to_cart{
	border-radius:0 !important;
	background:var(--ab-cedar) !important;
	color:var(--ab-cream) !important;
	font-family:Manrope,sans-serif !important;
	font-weight:700 !important;
	font-size:.75rem !important;
	letter-spacing:.08em !important;
	text-transform:uppercase !important;
	padding:.7rem 1rem !important;
	margin-top:.75rem !important;
}
body.woocommerce-shop ul.products li.product .button:hover,
body.tax-product_cat ul.products li.product .button:hover{
	background:var(--ab-cedar-deep) !important;
	color:#fff !important;
}
/* Sale badge */
body.woocommerce-shop .onsale,
body.tax-product_cat .onsale{
	background:var(--ab-ink) !important;
	color:var(--ab-cream) !important;
	border-radius:0 !important;
	font-family:Manrope,sans-serif !important;
	font-size:.65rem !important;
	letter-spacing:.08em;
	text-transform:uppercase;
}

/* Pagination */
body.woocommerce-shop .woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination{
	max-width:1120px;
	margin:2rem auto 3rem;
	padding:0 clamp(1.25rem, 4vw, 2rem);
}
body.woocommerce-shop .woocommerce-pagination a,
body.woocommerce-shop .woocommerce-pagination span,
body.tax-product_cat .woocommerce-pagination a,
body.tax-product_cat .woocommerce-pagination span{
	border-radius:0 !important;
	font-family:Manrope,sans-serif !important;
	font-weight:600 !important;
}
body.woocommerce-shop .woocommerce-pagination .current,
body.tax-product_cat .woocommerce-pagination .current{
	background:var(--ab-cedar) !important;
	color:var(--ab-cream) !important;
	border-color:var(--ab-cedar) !important;
}

/* Hide empty products header / leftover filter chrome if empty */
body.woocommerce-shop .woocommerce-products-header:empty,
body.tax-product_cat .woocommerce-products-header:empty{
	display:none;
}

@media (max-width:689.98px){
	.ab-shop-paths{
		flex-wrap:nowrap;
		overflow-x:auto;
		-webkit-overflow-scrolling:touch;
		padding-bottom:.35rem;
		scrollbar-width:thin;
	}
	.ab-shop-paths a{flex:0 0 auto}
	body.woocommerce-shop .hero-section .page-title::after,
	body.tax-product_cat .hero-section .page-title::after{
		font-size:.85rem;
	}
}

@keyframes abShopRise{
	from{opacity:0;transform:translateY(10px)}
	to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
	.ab-shop-paths,
	body.woocommerce-shop ul.products li.product img{
		animation:none;
		transition:none;
	}
}
