/*
 * Prostik Collection Enhancer
 * Brand: #00347A / #00285F / #0A3E8C / #E00015
 * Headings: Montserrat | Body: Source Sans 3
 */

body.prostik-collection-archive {
	--prostik-blue: #00347A;
	--prostik-navy: #00285F;
	--prostik-blue-light: #0A3E8C;
	--prostik-red: #E00015;
	--prostik-text: #17253B;
	--prostik-muted: #64748B;
	--prostik-border: #E1E7F0;
	--prostik-soft: #F5F8FC;
}

.prostik-collection-archive .woocommerce-products-header {
	max-width: 1500px;
	margin: 0 auto 24px;
	padding: 30px 24px 8px;
	box-sizing: border-box;
}

/* Neutralize theme-specific heading indents so the archive title aligns with the breadcrumb/content edge. */
.prostik-collection-archive .woocommerce-products-header__title {
	position: static !important;
	left: auto !important;
	text-indent: 0 !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	transform: none !important;
}

.prostik-collection-archive .woocommerce-products-header__title,
.prostik-collection-archive .woocommerce-loop-product__title,
.prostik-collection-archive .prostik-seo-panel h2,
.prostik-collection-archive .prostik-seo-panel h3 {
	font-family: Montserrat, Arial, sans-serif;
	color: var(--prostik-navy);
	font-weight: 800;
	letter-spacing: -0.025em;
}

.prostik-collection-archive .woocommerce-products-header__title {
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
	margin: 0 0 12px;
}

.prostik-collection-archive .term-description {
	max-width: 900px;
	color: #53647A;
	font-family: "Source Sans 3", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.prostik-collection-archive .woocommerce-result-count,
.prostik-collection-archive .woocommerce-ordering {
	font-family: "Source Sans 3", Arial, sans-serif;
	color: var(--prostik-muted);
	font-size: 14px;
}

.prostik-collection-archive .woocommerce-ordering select,
.prostik-collection-archive .widget select,
.prostik-collection-archive .woocommerce-widget-layered-nav-dropdown select,
.prostik-collection-archive .select2-container .select2-selection--single {
	min-height: 44px;
	border: 1px solid #D7DEEC;
	border-radius: 8px;
	background-color: #fff;
	color: var(--prostik-text);
	padding: 8px 12px;
	box-shadow: none;
}

.prostik-collection-archive ul.products,
.prostik-collection-archive ul.products.prostik-products {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px !important;
	max-width: 1500px;
	box-sizing: border-box;
	margin: 0 auto 38px !important;
	padding: 0 24px !important;
}

.prostik-collection-archive ul.products::before,
.prostik-collection-archive ul.products::after {
	display: none !important;
	content: none !important;
}

.prostik-collection-archive ul.products li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 0 18px !important;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--prostik-border);
	border-radius: 10px;
	box-shadow: 0 3px 14px rgba(0, 40, 95, 0.045);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.prostik-collection-archive ul.products li.product:hover {
	transform: translateY(-3px);
	border-color: #C4D2E6;
	box-shadow: 0 12px 28px rgba(0, 40, 95, 0.11);
}

.prostik-collection-archive ul.products li.product a img {
	width: 100% !important;
	height: 250px !important;
	object-fit: contain;
	background: #fff;
	padding: 18px;
	margin: 0 0 14px !important;
	border-bottom: 1px solid #EDF1F6;
}

.prostik-collection-archive ul.products li.product .woocommerce-loop-product__title {
	padding: 0 18px !important;
	margin: 0 0 10px !important;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 700;
}

.prostik-collection-archive ul.products li.product .price {
	padding: 0 18px;
	margin: 0 0 14px !important;
	color: var(--prostik-blue);
	font-size: 17px;
	font-weight: 700;
}

.prostik-collection-archive ul.products li.product .price del {
	color: #8A96A8;
	font-size: 13px;
	font-weight: 400;
}

.prostik-collection-archive ul.products li.product .price ins {
	text-decoration: none;
}

.prostik-collection-archive ul.products li.product .star-rating {
	margin: 0 18px 12px !important;
	color: #E2A323;
	font-size: 12px;
}

.prostik-collection-archive ul.products li.product .button,
.prostik-collection-archive ul.products li.product a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: stretch;
	min-height: 44px;
	margin: auto 18px 0 !important;
	padding: 11px 14px !important;
	border: 1px solid var(--prostik-blue);
	border-radius: 7px;
	background: var(--prostik-blue);
	color: #fff !important;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .035em;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.3;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.prostik-collection-archive ul.products li.product .button:hover,
.prostik-collection-archive ul.products li.product a.added_to_cart:hover {
	background: var(--prostik-red);
	border-color: var(--prostik-red);
	color: #fff !important;
}

.prostik-collection-archive ul.products li.product .added_to_cart {
	margin-top: 8px !important;
}

.prostik-collection-archive ul.products li.product .onsale {
	top: 12px !important;
	left: 12px !important;
	right: auto !important;
	margin: 0 !important;
	min-height: auto;
	padding: 7px 10px;
	border-radius: 5px;
	background: var(--prostik-red);
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 10px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}

.prostik-collection-archive .woocommerce-pagination {
	margin: 30px auto 46px;
	padding: 0 24px;
	text-align: center;
}

.prostik-collection-archive .woocommerce-pagination ul.page-numbers {
	display: inline-flex;
	gap: 6px;
	border: 0;
}

.prostik-collection-archive .woocommerce-pagination .page-numbers li {
	border: 0;
}

.prostik-collection-archive .woocommerce-pagination .page-numbers a,
.prostik-collection-archive .woocommerce-pagination .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid var(--prostik-border);
	border-radius: 7px;
	color: var(--prostik-blue);
	background: #fff;
}

.prostik-collection-archive .woocommerce-pagination .page-numbers .current {
	border-color: var(--prostik-blue);
	background: var(--prostik-blue);
	color: #fff;
}

/* Generic styling for common WooCommerce filter widgets and layered navigation. */
.prostik-collection-archive .widget,
.prostik-collection-archive .wpc-filters-widget,
.prostik-collection-archive .berocket_single_filter_widget,
.prostik-collection-archive .yith-wcan-filters {
	font-family: "Source Sans 3", Arial, sans-serif;
	color: var(--prostik-text);
}

.prostik-collection-archive .widget-title,
.prostik-collection-archive .widget h2,
.prostik-collection-archive .widget h3,
.prostik-collection-archive .wpc-filter-title,
.prostik-collection-archive .yith-wcan-filter .filter-title {
	font-family: Montserrat, Arial, sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: var(--prostik-navy);
}

.prostik-collection-archive .widget ul,
.prostik-collection-archive .woocommerce-widget-layered-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.prostik-collection-archive .widget li,
.prostik-collection-archive .woocommerce-widget-layered-nav-list li {
	padding: 6px 0;
	color: #4B5D73;
}

.prostik-collection-archive .widget a,
.prostik-collection-archive .woocommerce-widget-layered-nav-list a {
	color: var(--prostik-blue);
	text-decoration: none;
}

.prostik-collection-archive .widget a:hover,
.prostik-collection-archive .woocommerce-widget-layered-nav-list a:hover {
	color: var(--prostik-red);
}

.prostik-collection-archive .woocommerce-widget-layered-nav-list .count {
	color: #8190A5;
	font-size: 12px;
}

/* SEO content pulled from the Pods taxonomy field named "seo". */
.prostik-collection-archive .prostik-seo-panel {
	max-width: 1500px;
	margin: 48px auto 60px;
	padding: 0 24px;
	clear: both;
	font-family: "Source Sans 3", Arial, sans-serif;
}

.prostik-collection-archive .prostik-seo-panel__inner {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 4vw, 48px);
	border: 1px solid #DFE7F2;
	border-radius: 10px;
	background: linear-gradient(135deg, #F7F9FC 0%, #FFFFFF 68%, #F1F5FB 100%);
}

.prostik-collection-archive .prostik-seo-panel__inner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background: linear-gradient(180deg, var(--prostik-red), var(--prostik-blue));
}

.prostik-collection-archive .prostik-seo-panel__eyebrow {
	margin: 0 0 12px;
	color: var(--prostik-red);
	font-family: Montserrat, Arial, sans-serif;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.prostik-collection-archive .prostik-seo-panel__content {
	max-width: 1050px;
	color: #526176;
	font-size: 16px;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.prostik-collection-archive .prostik-seo-panel__content > *:first-child {
	margin-top: 0;
}

.prostik-collection-archive .prostik-seo-panel__content > *:last-child {
	margin-bottom: 0;
}

.prostik-collection-archive .prostik-seo-panel__content h2 {
	margin: 28px 0 12px;
	font-size: clamp(21px, 2.1vw, 28px);
	line-height: 1.3;
}

.prostik-collection-archive .prostik-seo-panel__content h3 {
	margin: 22px 0 9px;
	font-size: 18px;
	line-height: 1.4;
}

.prostik-collection-archive .prostik-seo-panel__content p {
	margin: 0 0 16px;
}

.prostik-collection-archive .prostik-seo-panel__content ul,
.prostik-collection-archive .prostik-seo-panel__content ol {
	margin: 0 0 18px;
	padding-left: 24px;
}

.prostik-collection-archive .prostik-seo-panel__content li {
	margin: 0 0 7px;
	padding-left: 3px;
}

.prostik-collection-archive .prostik-seo-panel__content a {
	color: var(--prostik-blue);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prostik-collection-archive .prostik-seo-panel__content a:hover {
	color: var(--prostik-red);
}

@media (max-width: 1100px) {
	.prostik-collection-archive ul.products,
	.prostik-collection-archive ul.products.prostik-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 18px !important;
	}
	.prostik-collection-archive ul.products li.product a img {
		height: 225px !important;
	}
}

@media (max-width: 760px) {
	.prostik-collection-archive .woocommerce-products-header {
		padding: 24px 16px 4px;
		margin-bottom: 18px;
	}
	.prostik-collection-archive ul.products,
	.prostik-collection-archive ul.products.prostik-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px !important;
		padding: 0 16px !important;
	}
	.prostik-collection-archive ul.products li.product {
		padding-bottom: 13px !important;
		border-radius: 8px;
	}
	.prostik-collection-archive ul.products li.product a img {
		height: 175px !important;
		padding: 12px;
		margin-bottom: 11px !important;
	}
	.prostik-collection-archive ul.products li.product .woocommerce-loop-product__title {
		padding: 0 12px !important;
		font-size: 13px;
		line-height: 1.4;
	}
	.prostik-collection-archive ul.products li.product .price {
		padding: 0 12px;
		font-size: 15px;
		margin-bottom: 12px !important;
	}
	.prostik-collection-archive ul.products li.product .button,
	.prostik-collection-archive ul.products li.product a.added_to_cart {
		margin-left: 12px !important;
		margin-right: 12px !important;
		padding: 10px 8px !important;
		font-size: 10px;
		min-height: 40px;
	}
	.prostik-collection-archive ul.products li.product .onsale {
		top: 8px !important;
		left: 8px !important;
		padding: 6px 7px;
		font-size: 9px;
	}
	.prostik-collection-archive .prostik-seo-panel {
		margin: 32px auto 42px;
		padding: 0 16px;
	}
	.prostik-collection-archive .prostik-seo-panel__inner {
		padding: 24px 20px 24px 24px;
	}
	.prostik-collection-archive .prostik-seo-panel__content {
		font-size: 15px;
		line-height: 1.75;
	}
}

@media (max-width: 380px) {
	.prostik-collection-archive ul.products,
	.prostik-collection-archive ul.products.prostik-products {
		gap: 9px !important;
		padding: 0 10px !important;
	}
	.prostik-collection-archive ul.products li.product a img {
		height: 145px !important;
		padding: 8px;
	}
	.prostik-collection-archive ul.products li.product .woocommerce-loop-product__title {
		padding: 0 9px !important;
		font-size: 12px;
	}
	.prostik-collection-archive ul.products li.product .price {
		padding: 0 9px;
	}
	.prostik-collection-archive ul.products li.product .button,
	.prostik-collection-archive ul.products li.product a.added_to_cart {
		margin-left: 9px !important;
		margin-right: 9px !important;
		font-size: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.prostik-collection-archive ul.products li.product {
		transition: none;
	}
}
