/* Collection / category archive */

.ps-collection{
	padding:148px 0 64px;
	background:#fff;
}

.ps-collection-crumb{
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:8px;
	margin:0 0 12px;
	font-size:13px;
	font-weight:500;
	line-height:1.4;
	color:#555;
	font-family:var(--font-family-Inter);
	position:relative;
	z-index:2;
}

.ps-collection-crumb a{
	color:#555;
	text-decoration:none;
}

.ps-collection-crumb a:hover{
	color:var(--main-color);
}

.ps-collection-crumb-sep{
	opacity:0.55;
	color:#888;
}

.ps-collection-head{
	max-width:820px;
	margin:0 0 20px;
}

.ps-collection-title{
	margin:0 0 10px;
	font-size:clamp(26px, 3.4vw, 36px);
	font-weight:700;
	line-height:1.15;
	color:#111;
	font-family:var(--font-family-Outfit);
}

.ps-collection-desc{
	font-size:15px;
	line-height:1.65;
	color:#333;
	font-family:var(--font-family-Inter);
}

.ps-collection-desc p{
	margin:0 0 0.75em;
}

.ps-collection-desc p:last-child{
	margin-bottom:0;
}

/* Sibling category strip */

.ps-collection-siblings{
	display:grid;
	grid-template-columns:repeat(6, minmax(0, 1fr));
	gap:12px;
	margin:0 0 28px;
	padding:0 0 22px;
	border-bottom:1px solid rgba(28,20,16,0.08);
}

.ps-collection-sib{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:8px;
	padding:12px 8px 10px;
	border-radius:12px;
	background:#fff;
	border:1px solid rgba(28,20,16,0.08);
	text-align:center;
	text-decoration:none;
	transition:border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.ps-collection-sib:hover{
	border-color:rgba(217,119,6,0.35);
	box-shadow:0 8px 20px rgba(28,20,16,0.06);
	transform:translateY(-2px);
}

.ps-collection-sib-img{
	display:block;
	width:56px;
	height:56px;
	border-radius:50%;
	overflow:hidden;
	background:#f0eeeb;
}

.ps-collection-sib-img img{
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}

.ps-collection-sib-name{
	display:block;
	font-size:12px;
	font-weight:600;
	line-height:1.3;
	color:#111;
	font-family:var(--font-family-Outfit);
}

.ps-collection-sib:hover .ps-collection-sib-name{
	color:var(--main-color);
}

/* Product grid — force homepage card size (override Woo floats) */

.ps-collection-body{
	margin:0;
}

.ps-collection .ps-trending-grid.products,
.ps-collection .ps-collection-grid{
	display:grid !important;
	grid-template-columns:repeat(5, minmax(0, 1fr));
	gap:16px;
	margin:0;
	padding:0;
	list-style:none;
	width:100%;
}

.ps-collection .ps-trending-grid.products::before,
.ps-collection .ps-trending-grid.products::after{
	display:none !important;
	content:none !important;
}

.ps-collection .ps-trending-grid .product,
.ps-collection .ps-trending-card{
	width:100% !important;
	max-width:none !important;
	float:none !important;
	margin:0 !important;
	padding:0 !important;
	clear:none !important;
	list-style:none;
}

.ps-collection .woocommerce-pagination{
	margin-top:32px;
}

.ps-collection .woocommerce-pagination ul.page-numbers{
	display:flex;
	justify-content:center;
	gap:8px;
	margin:0;
	padding:0;
	list-style:none;
}

.ps-collection .woocommerce-pagination ul.page-numbers li{
	margin:0;
}

.ps-collection .woocommerce-pagination ul.page-numbers a,
.ps-collection .woocommerce-pagination ul.page-numbers span{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:40px;
	height:40px;
	padding:0 12px;
	border-radius:10px;
	border:1px solid rgba(28,20,16,0.10);
	background:#fff;
	color:#111;
	font-weight:600;
	text-decoration:none;
}

.ps-collection .woocommerce-pagination ul.page-numbers span.current,
.ps-collection .woocommerce-pagination ul.page-numbers a:hover{
	border-color:var(--main-color);
	color:var(--main-color);
}

/* Long description + FAQs below grid */

.ps-collection-extra{
	display:grid;
	grid-template-columns:minmax(220px, 280px) minmax(0, 1fr);
	gap:28px 36px;
	align-items:start;
	margin-top:48px;
	padding-top:36px;
	border-top:1px solid rgba(28,20,16,0.08);
}

.ps-collection-aside{
	display:flex;
	flex-direction:column;
	gap:14px;
	position:sticky;
	top:110px;
}

.ps-collection-aside-card{
	padding:18px 18px 16px;
	border-radius:14px;
	background:#fff;
	border:1px solid rgba(28,20,16,0.08);
}

.ps-collection-aside-cta{
	background:linear-gradient(160deg, #fff 0%, #fff8f0 100%);
	border-color:rgba(217,119,6,0.18);
}

.ps-collection-aside-title{
	margin:0 0 8px;
	font-size:15px;
	font-weight:700;
	color:#111;
	font-family:var(--font-family-Outfit);
}

.ps-collection-aside-text{
	margin:0 0 14px;
	font-size:13px;
	line-height:1.55;
	color:#444;
	font-family:var(--font-family-Inter);
}

.ps-collection-aside-btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	width:100%;
	margin:0 0 8px;
	padding:11px 14px;
	border-radius:10px;
	font-size:13px;
	font-weight:600;
	text-decoration:none;
	font-family:var(--font-family-Outfit);
	transition:background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.ps-collection-aside-btn:last-child{
	margin-bottom:0;
}

.ps-collection-aside-btn-wa{
	background:#25d366;
	color:#fff !important;
}

.ps-collection-aside-btn-wa:hover{
	background:#1ebe57;
	color:#fff !important;
}

.ps-collection-aside-btn-ghost{
	background:transparent;
	border:1px solid rgba(28,20,16,0.12);
	color:#111 !important;
}

.ps-collection-aside-btn-ghost:hover{
	border-color:var(--main-color);
	color:var(--main-color) !important;
}

.ps-collection-aside-facts{
	margin:0;
	padding:0;
	list-style:none;
}

.ps-collection-aside-facts li{
	display:flex;
	flex-direction:column;
	gap:2px;
	padding:10px 0;
	border-bottom:1px solid rgba(28,20,16,0.06);
}

.ps-collection-aside-facts li:first-child{
	padding-top:2px;
}

.ps-collection-aside-facts li:last-child{
	padding-bottom:0;
	border-bottom:0;
}

.ps-collection-aside-facts strong{
	font-size:12px;
	font-weight:700;
	letter-spacing:0.04em;
	text-transform:uppercase;
	color:var(--main-color);
	font-family:var(--font-family-Outfit);
}

.ps-collection-aside-facts span{
	font-size:13px;
	line-height:1.4;
	color:#333;
	font-family:var(--font-family-Inter);
}

.ps-collection-extra-main{
	min-width:0;
}

.ps-collection-extra-title{
	margin:0 0 16px;
	font-size:22px;
	font-weight:700;
	line-height:1.25;
	color:#111;
	font-family:var(--font-family-Outfit);
}

.ps-collection-long{
	margin:0 0 36px;
	max-width:none;
}

.ps-collection-long-body{
	font-size:15px;
	line-height:1.7;
	color:#111;
	font-family:var(--font-family-Inter);
}

.ps-collection-long-body p{
	margin:0 0 1em;
}

.ps-collection-long-body p:last-child{
	margin-bottom:0;
}

.ps-collection-long-body ul,
.ps-collection-long-body ol{
	margin:0 0 1em;
	padding-left:1.2em;
}

.ps-collection-faqs{
	max-width:none;
}

.ps-collection-faq-list{
	margin:0;
}

/* Related products on single — same home grid densitiy */

.ps-related .ps-trending-grid{
	grid-template-columns:repeat(5, minmax(0, 1fr));
}

.ps-related-grid.ps-trending-grid{
	gap:16px;
}

@media only screen and (max-width: 1199px){
	.ps-collection-siblings{
		grid-template-columns:repeat(4, minmax(0, 1fr));
	}

	.ps-collection .ps-trending-grid.products,
	.ps-related .ps-trending-grid{
		grid-template-columns:repeat(4, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 991px){
	.ps-collection{
		padding:130px 0 48px;
	}

	.ps-collection-siblings{
		grid-template-columns:repeat(3, minmax(0, 1fr));
	}

	.ps-collection .ps-trending-grid.products,
	.ps-related .ps-trending-grid{
		grid-template-columns:repeat(3, minmax(0, 1fr));
	}

	.ps-collection-extra{
		grid-template-columns:1fr;
		gap:22px;
	}

	.ps-collection-aside{
		position:static;
		display:grid;
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:12px;
	}
}

@media only screen and (max-width: 767px){
	.ps-collection .ps-trending-grid.products,
	.ps-related .ps-trending-grid{
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:12px;
	}

	.ps-collection-aside{
		grid-template-columns:1fr;
	}

	.ps-collection .ps-trending-card-media,
	.ps-related .ps-trending-card-media,
	.ps-trending-card-media{
		min-height:0;
		aspect-ratio:1 / 1;
	}
}

@media only screen and (max-width: 575px){
	.ps-collection{
		padding:120px 0 40px;
	}

	.ps-collection-siblings{
		grid-template-columns:repeat(2, minmax(0, 1fr));
		gap:10px;
		margin-bottom:22px;
	}

	.ps-collection-sib-img{
		width:48px;
		height:48px;
	}

	.ps-collection .ps-trending-grid.products{
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}
}
