/* ==========================================================================
   WooCommerce category / tag / shop pages — builds on catpage.css
   ========================================================================== */

.dastchin-aali.dastchin-aali-shop,
.dastchin-aali.dastchin-aali-shop .site-content,
.dastchin-aali.dastchin-aali-shop .site-content > .ast-container {
	background: #fff;
}

/* Banner without a picture: one column. */
.dzs-hero--plain .dzc-hero__grid {
	grid-template-columns: minmax(0, 1fr);
}

.dzs-hero--plain .dzc-hero__lead {
	max-width: 760px;
}

.dzs-hero__page {
	color: #a9cdb2;
	font-size: 0.6em;
	font-weight: 500;
}

/* Sub-categories: links that look like the filter chips. */
.dzs .dzs-cats .dzc-chip {
	display: inline-flex;
	align-items: center;
	color: #1d5e2c;
}

.dzs .dzs-cats .dzc-chip:hover {
	border-color: var(--dzc-green);
	background: var(--dzc-green);
	color: #fff;
}

/* Sorting */
.dzs-sort .woocommerce-ordering {
	float: none;
	margin: 0;
}

.dzs-sort select.orderby {
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid #cfe3d3;
	border-radius: 12px;
	background-color: #fff;
	color: var(--dzc-ink);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.dzs-sort select.orderby:focus-visible {
	outline: 3px solid #2e9e48;
	outline-offset: 2px;
}

/* Pagination */
.dzs-pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 6px;
}

.dzs-pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1.5px solid #cfe3d3;
	border-radius: 12px;
	background: #fff;
	color: #1d5e2c;
	font-size: 14px;
	font-weight: 700;
}

.dzs .dzs-pages a.page-numbers:hover {
	border-color: var(--dzc-green-2);
	color: var(--dzc-green);
}

.dzs-pages .page-numbers.current {
	border-color: var(--dzc-green);
	background: var(--dzc-green);
	color: #fff;
}

.dzs-pages .page-numbers.dots {
	border-color: transparent;
	background: none;
}

.dzs-empty {
	margin: 0;
	padding: 28px 18px;
	border-radius: 18px;
	background: #fff;
	color: var(--dzc-muted);
	text-align: center;
}

/* Only the contact box (no FAQ): a wide band instead of a narrow column. */
.dzs-faq--contact .dzc-contact {
	position: static;
	align-items: center;
	text-align: center;
}

.dzs-faq--contact .dzc-contact__phone {
	align-self: center;
	min-width: 260px;
	padding: 0 28px;
}

/* The page ends with the products or the text: leave room before the footer. */
.dzs > .dzc-products:last-child,
.dzs > .dzc-content:last-child {
	padding-bottom: 70px;
}

@media (max-width: 767px) {
	.dzs .dzc-products__head {
		padding-inline-end: 16px;
	}

	.dzs-sort {
		padding-inline-start: 16px;
	}

	.dzs-sort select.orderby {
		width: 100%;
	}

	.dzs-pages {
		padding-inline: 16px;
	}

	.dzs-empty {
		margin-inline: 16px;
	}

	.dzs > .dzc-products:last-child,
	.dzs > .dzc-content:last-child {
		padding-bottom: 36px;
	}
}
