/* Lawrence Goods — Premium Product Catalog (v2.1.0) */

.lg-page-catalog .elementor-section.lg-el-catalog-hero > .elementor-container,
.lg-page-catalog .elementor-section.lg-el-catalog-stats > .elementor-container,
.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container,
.lg-page-catalog .elementor-section.lg-el-catalog-products > .elementor-container,
.lg-page-catalog .elementor-section.lg-el-catalog-info > .elementor-container {
	max-width: 1200px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}

/* ═══════════════ HERO ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-hero {
	position: relative;
	min-height: clamp(340px, 48vh, 460px) !important;
	padding: clamp(4.5rem, 9vw, 6.5rem) 0 !important;
	overflow: hidden;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 90% at 20% 40%, #000 10%, transparent 70%);
	pointer-events: none;
	z-index: 1;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero::after {
	content: "";
	position: absolute;
	width: min(480px, 50vw);
	height: min(480px, 50vw);
	right: -8%;
	top: -20%;
	background: radial-gradient(circle, rgba(148, 163, 184, 0.14) 0%, transparent 68%);
	pointer-events: none;
	z-index: 1;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero .elementor-background-overlay {
	background: linear-gradient(
		115deg,
		rgba(11, 17, 32, 0.94) 0%,
		rgba(15, 23, 42, 0.82) 42%,
		rgba(26, 39, 68, 0.58) 100%
	) !important;
	opacity: 1 !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero > .elementor-container {
	position: relative;
	z-index: 2;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero h6.elementor-heading-title {
	display: inline-block;
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: 0.7rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: #94a3b8 !important;
	padding-left: 0.9rem;
	border-left: 3px solid #64748b;
	margin-bottom: 1.15rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero h1.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(2.15rem, 4.8vw, 3.25rem) !important;
	font-weight: 700 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.04em;
	color: #fff !important;
	margin-bottom: 1.15rem !important;
	max-width: 14ch;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero .elementor-widget-text-editor p {
	color: #cbd5e1 !important;
	font-size: clamp(1.02rem, 1.9vw, 1.15rem);
	line-height: 1.75;
	max-width: 52ch;
	margin: 0;
}

/* ═══════════════ STATS STRIP ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-stats {
	background: #fff !important;
	border-bottom: 1px solid rgba(26, 39, 68, 0.08);
	padding: 0 !important;
	margin-top: -2.5rem !important;
	position: relative;
	z-index: 5;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats > .elementor-container {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0 !important;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(26, 39, 68, 0.12);
	border: 1px solid rgba(26, 39, 68, 0.08);
	overflow: hidden;
	padding: 0 !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-column {
	width: 100% !important;
	max-width: 100% !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-col-25 > .elementor-element-populated {
	padding: 1.5rem 1rem !important;
	text-align: center;
	border-right: 1px solid rgba(26, 39, 68, 0.08);
	transition: background 0.25s ease;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-col-25:last-child > .elementor-element-populated {
	border-right: none;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-col-25 > .elementor-element-populated:hover {
	background: #f8fafc;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats h3.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(1.5rem, 2.5vw, 1.85rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	color: var(--lg-navy, #1a2744) !important;
	margin: 0 0 0.25rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-widget-text-editor p {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b !important;
}

/* Stats + category card labels must stay visible (scroll-reveal can leave opacity:0) */
.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-widget-heading,
.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-widget-text-editor,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 .elementor-widget-heading,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 .elementor-widget-text-editor,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 .elementor-widget-heading,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 .elementor-widget-text-editor {
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
	clip-path: none !important;
	visibility: visible !important;
}

/* ═══════════════ CATEGORIES ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-categories {
	background: #fff !important;
	padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem) !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 1.25rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container > .elementor-column {
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container > .elementor-column:first-child {
	grid-column: 1 / -1 !important;
}

@media (min-width: 700px) {
	.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (min-width: 1100px) {
	.lg-page-catalog .elementor-section.lg-el-catalog-categories > .elementor-container {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories h6.elementor-heading-title {
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #64748b !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories h2.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(1.9rem, 3.4vw, 2.5rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	color: var(--lg-navy, #1a2744) !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 > .elementor-element-populated,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 > .elementor-element-populated {
	position: relative;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	background: #0f172a;
	border-radius: 20px;
	padding: 1.4rem 1.25rem 1.35rem !important;
	overflow: hidden;
	height: 100%;
	min-height: 300px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 > .elementor-element-populated::after,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 > .elementor-element-populated::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.2) 0%,
		rgba(15, 23, 42, 0.35) 42%,
		rgba(15, 23, 42, 0.88) 100%
	);
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 > .elementor-element-populated:hover,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 > .elementor-element-populated:hover {
	transform: translateY(-8px);
	box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-image {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	z-index: 0;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
	transition: opacity 0.35s ease, transform 0.5s ease;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 > .elementor-element-populated:hover .elementor-widget-image img,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 > .elementor-element-populated:hover .elementor-widget-image img {
	opacity: 0.55;
	transform: scale(1.06);
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-heading,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-text-editor,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-button {
	position: relative;
	z-index: 2;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-heading {
	padding-top: 0.35rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories h4.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	text-align: left !important;
	margin: 0 0 0.45rem !important;
	line-height: 1.25 !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 .elementor-widget-text-editor p,
.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 .elementor-widget-text-editor p {
	color: #cbd5e1 !important;
	font-size: 0.9rem;
	line-height: 1.55;
	text-align: left !important;
	margin: 0 0 1rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-button {
	text-align: left !important;
	padding-bottom: 0.15rem !important;
	padding-top: 0.15rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-button .elementor-button-link {
	background: #fff !important;
	color: var(--lg-navy, #1a2744) !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	padding: 0.7rem 1.15rem !important;
	border-radius: 10px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-widget-button .elementor-button-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

/* ═══════════════ PRODUCT GRID ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-products {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
	padding: clamp(3.5rem, 6vw, 5rem) 0 !important;
	position: relative;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(26, 39, 68, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(26, 39, 68, 0.03) 1px, transparent 1px);
	background-size: 40px 40px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
	pointer-events: none;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products > .elementor-container {
	position: relative;
	z-index: 1;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products h6.elementor-heading-title {
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #64748b !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products h2.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(1.9rem, 3.4vw, 2.5rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.03em;
	color: var(--lg-navy, #1a2744) !important;
	margin-bottom: 0.5rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products .elementor-col-100 > .elementor-element-populated > .elementor-widget-text-editor p {
	color: #64748b !important;
	font-size: 1.02rem;
	max-width: 48ch;
	margin: 0 auto;
	text-align: center;
}

.lg-page-catalog .elementor-section.lg-el-catalog-products .woocommerce,
.lg-page-catalog .elementor-section.lg-el-catalog-products .woocommerce .products {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.lg-page-catalog .woocommerce-result-count,
.lg-page-catalog .woocommerce-ordering,
.lg-page-catalog .woocommerce-products-header,
.lg-page-catalog .woocommerce-breadcrumb {
	display: none !important;
}

.lg-page-catalog ul.products,
.lg-page-catalog .elementor-section.lg-el-catalog-products ul.products {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 1rem !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0.75rem 0 0 !important;
}

@media (min-width: 560px) {
	.lg-page-catalog ul.products,
	.lg-page-catalog .elementor-section.lg-el-catalog-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.2rem !important;
	}
}

@media (min-width: 900px) {
	.lg-page-catalog ul.products,
	.lg-page-catalog .elementor-section.lg-el-catalog-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 1.35rem !important;
	}
}

@media (min-width: 1100px) {
	.lg-page-catalog ul.products,
	.lg-page-catalog .elementor-section.lg-el-catalog-products ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		gap: 1.5rem !important;
	}
}

.lg-page-catalog ul.products::before,
.lg-page-catalog ul.products::after {
	display: none !important;
	content: none !important;
}

.lg-page-catalog ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid rgba(26, 39, 68, 0.08) !important;
	border-radius: 18px !important;
	overflow: hidden;
	box-shadow: 0 10px 32px rgba(26, 39, 68, 0.07);
	display: flex !important;
	flex-direction: column;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.lg-page-catalog ul.products li.product:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 56px rgba(26, 39, 68, 0.16);
	border-color: rgba(26, 39, 68, 0.16) !important;
}

.lg-page-catalog ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none !important;
	padding: 1rem 1rem 0.35rem;
}

.lg-page-catalog ul.products li.product .onsale {
	display: none !important;
}

.lg-page-catalog ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	object-fit: contain !important;
	background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
	border-radius: 14px;
	padding: 1rem;
	margin: 0 0 1rem !important;
	border: 1px solid rgba(26, 39, 68, 0.05);
	transition: transform 0.4s ease;
}

.lg-page-catalog ul.products li.product:hover img {
	transform: scale(1.04);
}

.lg-page-catalog ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif) !important;
	color: var(--lg-navy, #1a2744) !important;
	font-weight: 650 !important;
	font-size: 0.98rem !important;
	line-height: 1.35 !important;
	padding: 0 !important;
	margin: 0 0 0.55rem !important;
	min-height: 0;
	text-align: left;
}

.lg-page-catalog .lg-product-sku,
.lg-page-catalog ul.products li.product .lg-product-sku,
body.tax-product_cat .lg-product-sku,
body.post-type-archive-product .lg-product-sku {
	display: inline-block !important;
	box-sizing: border-box;
	max-width: calc(100% - 2rem);
	width: auto;
	align-self: flex-start;
	font-size: 0.72rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #475569 !important;
	background: #f1f5f9 !important;
	border: 1px solid rgba(26, 39, 68, 0.1) !important;
	border-radius: 8px !important;
	padding: 0.35rem 0.7rem !important;
	margin: 0 1rem 0.9rem !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	word-break: normal !important;
}

.lg-page-catalog ul.products li.product .price,
.lg-page-catalog ul.products li.product .star-rating {
	display: none !important;
}

/* Hide duplicate WC add-to-cart; keep B2B inquire only */
.lg-page-catalog ul.products li.product a.button:not(.lg-b2b-inquiry-btn),
.lg-page-catalog ul.products li.product .add_to_cart_button {
	display: none !important;
}

.lg-page-catalog .lg-b2b-inquiry-btn--loop,
.lg-page-catalog ul.products li.product .lg-b2b-inquiry-btn {
	display: block !important;
	margin: 0 1rem 1rem !important;
	width: calc(100% - 2rem) !important;
	text-align: center;
	background: linear-gradient(135deg, #1a2744 0%, #243556 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	letter-spacing: 0.02em;
	padding: 0.85rem 1rem !important;
	box-shadow: 0 8px 22px rgba(26, 39, 68, 0.22);
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.lg-page-catalog .lg-b2b-inquiry-btn--loop:hover,
.lg-page-catalog ul.products li.product .lg-b2b-inquiry-btn:hover {
	background: linear-gradient(135deg, #243556 0%, #2d4268 100%) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(26, 39, 68, 0.3);
	color: #fff !important;
}

/* ═══════════════ BOTTOM CTA ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-info {
	position: relative;
	background: linear-gradient(145deg, #0b1220 0%, #1a2744 48%, #243556 100%) !important;
	padding: clamp(3.5rem, 6vw, 4.75rem) 0 !important;
	overflow: hidden;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.5;
	pointer-events: none;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info > .elementor-container {
	position: relative;
	z-index: 1;
	display: grid !important;
	gap: 1.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.lg-page-catalog .elementor-section.lg-el-catalog-info > .elementor-container {
		grid-template-columns: 1.4fr 0.8fr !important;
	}

	.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-column {
		width: 100% !important;
		max-width: 100% !important;
	}
}

.lg-page-catalog .elementor-section.lg-el-catalog-info h6.elementor-heading-title {
	font-size: 0.68rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #94a3b8 !important;
	margin-bottom: 0.75rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info h2.elementor-heading-title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(1.65rem, 3vw, 2.15rem) !important;
	font-weight: 700 !important;
	color: #fff !important;
	letter-spacing: -0.03em;
	margin-bottom: 0.65rem !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-text-editor p {
	color: #94a3b8 !important;
	font-size: 1rem;
	line-height: 1.7;
	max-width: 48ch;
	margin: 0;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-button .elementor-button-link {
	font-weight: 600 !important;
	padding: 0.85rem 1.35rem !important;
	border-radius: 10px !important;
	width: 100%;
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-button:first-of-type .elementor-button-link {
	background: #fff !important;
	color: #1a2744 !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-button + .elementor-widget-button .elementor-button-link,
.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-button:nth-of-type(2) .elementor-button-link {
	background: rgba(255, 255, 255, 0.08) !important;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

.lg-page-catalog .elementor-section.lg-el-catalog-info .elementor-widget-button .elementor-button-link:hover {
	transform: translateY(-2px);
}

/* ═══════════════ CATEGORY / ARCHIVE PAGES ═══════════════ */
body.tax-product_cat,
body.post-type-archive-product {
	background: #f1f5f9;
}

body.tax-product_cat .site-main,
body.post-type-archive-product .site-main {
	padding-bottom: 4rem;
}

/* Breadcrumb — modern trail above hero */
body.tax-product_cat .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb {
	max-width: 1140px;
	margin: 0 auto;
	padding: 1.15rem 1.5rem 0.85rem;
	font-size: 0.82rem;
	font-weight: 500;
	color: #94a3b8;
	letter-spacing: 0.02em;
}

body.tax-product_cat .woocommerce-breadcrumb a,
body.post-type-archive-product .woocommerce-breadcrumb a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s ease;
}

body.tax-product_cat .woocommerce-breadcrumb a:hover,
body.post-type-archive-product .woocommerce-breadcrumb a:hover {
	color: var(--lg-navy, #1a2744);
}

/* Navy archive hero */
body.tax-product_cat .woocommerce-products-header,
body.post-type-archive-product .woocommerce-products-header {
	position: relative;
	max-width: none;
	width: 100%;
	margin: 0 0 1.75rem;
	padding: clamp(2.75rem, 6vw, 4rem) 1.5rem;
	background:
		radial-gradient(circle at 12% 20%, rgba(148, 163, 184, 0.18) 0%, transparent 42%),
		radial-gradient(circle at 88% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
		linear-gradient(145deg, #0b1220 0%, #1a2744 52%, #243556 100%);
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.tax-product_cat .woocommerce-products-header::before,
body.post-type-archive-product .woocommerce-products-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.45;
	pointer-events: none;
}

body.tax-product_cat .woocommerce-products-header > *,
body.post-type-archive-product .woocommerce-products-header > * {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
}

body.tax-product_cat .woocommerce-products-header__title,
body.post-type-archive-product .woocommerce-products-header__title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: #fff !important;
	margin: 0 0 0.75rem !important;
}

body.tax-product_cat .term-description,
body.post-type-archive-product .term-description,
body.tax-product_cat .woocommerce-products-header .term-description p {
	max-width: 40rem;
	color: #cbd5e1 !important;
	font-size: 1.02rem;
	line-height: 1.65;
	margin: 0 !important;
}

/* Custom hero extras injected by theme */
.lg-archive-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #94a3b8;
	margin: 0 0 0.85rem;
}

.lg-archive-hero-eyebrow::before {
	content: "";
	width: 1.35rem;
	height: 2px;
	background: #64748b;
}

.lg-archive-cat-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	max-width: 1140px;
	margin: -0.35rem auto 1.5rem;
	padding: 0 1.5rem;
}

.lg-archive-cat-nav a {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 0.95rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--lg-navy, #1a2744);
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.1);
	box-shadow: 0 4px 14px rgba(26, 39, 68, 0.05);
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lg-archive-cat-nav a:hover {
	transform: translateY(-2px);
	border-color: rgba(26, 39, 68, 0.22);
}

.lg-archive-cat-nav a.is-active {
	background: var(--lg-navy, #1a2744);
	color: #fff;
	border-color: var(--lg-navy, #1a2744);
	box-shadow: 0 8px 20px rgba(26, 39, 68, 0.22);
}

/* Toolbar: count + sort */
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
	max-width: 1140px;
	float: none !important;
	margin: 0 auto !important;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

body.tax-product_cat .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_cat .woocommerce-products-header + .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_cat .lg-archive-cat-nav + .woocommerce-notices-wrapper + .woocommerce-result-count,
body.tax-product_cat .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count {
	display: block;
	width: calc(100% - 3rem);
	max-width: calc(1140px - 3rem);
	margin: 0 auto 0.75rem !important;
	padding: 0.85rem 1.15rem !important;
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.08);
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(26, 39, 68, 0.05);
	font-size: 0.88rem;
	font-weight: 600;
	color: #64748b;
	float: none !important;
}

body.tax-product_cat .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering {
	width: calc(100% - 3rem);
	max-width: calc(1140px - 3rem);
	margin: 0 auto 1.5rem !important;
	padding: 0.75rem 1.15rem !important;
	background: #fff;
	border: 1px solid rgba(26, 39, 68, 0.08);
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(26, 39, 68, 0.05);
	float: none !important;
	text-align: left;
}

body.tax-product_cat .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select {
	width: 100%;
	max-width: 280px;
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(26, 39, 68, 0.14);
	border-radius: 10px;
	background: #f8fafc;
	color: var(--lg-navy, #1a2744);
	font-weight: 600;
	font-size: 0.86rem;
}

/* When result count + ordering sit as siblings, merge visually via negative margin already set */

body.tax-product_cat ul.products,
body.post-type-archive-product ul.products,
body.single-product ul.products {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 1.15rem !important;
	max-width: 1140px;
	margin: 0 auto 3rem !important;
	padding: 0 1.5rem !important;
}

@media (min-width: 560px) {
	body.tax-product_cat ul.products,
	body.post-type-archive-product ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 1.25rem !important;
	}
}

@media (min-width: 900px) {
	body.tax-product_cat ul.products,
	body.post-type-archive-product ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}

/* Product cards — match premium catalog cards */
body.tax-product_cat ul.products li.product,
body.post-type-archive-product ul.products li.product {
	width: 100% !important;
	max-width: none !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid rgba(26, 39, 68, 0.08) !important;
	border-radius: 18px !important;
	overflow: hidden;
	box-shadow: 0 10px 32px rgba(26, 39, 68, 0.07);
	display: flex !important;
	flex-direction: column;
	text-align: left !important;
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

body.tax-product_cat ul.products li.product:hover,
body.post-type-archive-product ul.products li.product:hover {
	transform: translateY(-8px);
	box-shadow: 0 24px 56px rgba(26, 39, 68, 0.16);
	border-color: rgba(26, 39, 68, 0.16) !important;
}

body.tax-product_cat ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none !important;
	padding: 1rem 1rem 0.35rem;
}

body.tax-product_cat ul.products li.product img,
body.post-type-archive-product ul.products li.product img {
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1;
	object-fit: contain !important;
	background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
	border-radius: 14px;
	padding: 1rem;
	margin: 0 0 1rem !important;
	border: 1px solid rgba(26, 39, 68, 0.05);
	transition: transform 0.4s ease;
}

body.tax-product_cat ul.products li.product:hover img,
body.post-type-archive-product ul.products li.product:hover img {
	transform: scale(1.04);
}

body.tax-product_cat ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--lg-font-display, "DM Sans", sans-serif) !important;
	color: var(--lg-navy, #1a2744) !important;
	font-weight: 650 !important;
	font-size: 0.98rem !important;
	line-height: 1.35 !important;
	padding: 0 !important;
	margin: 0 0 0.55rem !important;
	text-align: left !important;
}

body.tax-product_cat ul.products li.product .price,
body.tax-product_cat ul.products li.product .star-rating,
body.post-type-archive-product ul.products li.product .price,
body.post-type-archive-product ul.products li.product .star-rating {
	display: none !important;
}

body.tax-product_cat ul.products li.product a.button:not(.lg-b2b-inquiry-btn),
body.tax-product_cat ul.products li.product .add_to_cart_button,
body.post-type-archive-product ul.products li.product a.button:not(.lg-b2b-inquiry-btn) {
	display: none !important;
}

body.tax-product_cat ul.products li.product .lg-b2b-inquiry-btn,
body.post-type-archive-product ul.products li.product .lg-b2b-inquiry-btn {
	display: block !important;
	margin: 0 1rem 1rem !important;
	width: calc(100% - 2rem) !important;
	text-align: center;
	background: linear-gradient(135deg, #1a2744 0%, #243556 100%) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border: none !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	font-size: 0.82rem !important;
	padding: 0.85rem 1rem !important;
	box-shadow: 0 8px 22px rgba(26, 39, 68, 0.22);
	transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

body.tax-product_cat ul.products li.product .lg-b2b-inquiry-btn:hover,
body.post-type-archive-product ul.products li.product .lg-b2b-inquiry-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(26, 39, 68, 0.3);
}

/* Archive bottom CTA strip */
.lg-archive-footer-cta {
	max-width: 1140px;
	margin: 0.5rem auto 0;
	padding: 1.75rem 1.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: linear-gradient(145deg, #0b1220 0%, #1a2744 55%, #243556 100%);
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(26, 39, 68, 0.18);
}

.lg-archive-footer-cta p {
	margin: 0;
	color: #cbd5e1;
	font-size: 0.98rem;
	line-height: 1.5;
	max-width: 36rem;
}

.lg-archive-footer-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.35rem;
	border-radius: 10px;
	background: #fff;
	color: var(--lg-navy, #1a2744);
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.lg-archive-footer-cta a:hover {
	transform: translateY(-2px);
	color: var(--lg-navy, #1a2744);
}

@media (max-width: 767px) {
	body.tax-product_cat ul.products,
	body.post-type-archive-product ul.products {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	body.tax-product_cat ul.products li.product img,
	body.post-type-archive-product ul.products li.product img {
		aspect-ratio: 16 / 11;
	}

	.lg-archive-footer-cta {
		flex-direction: column;
		align-items: flex-start;
		margin-left: 1.5rem;
		margin-right: 1.5rem;
		width: auto;
	}
}

/* ═══════════════ ANIMATIONS ═══════════════ */
.lg-page-catalog .elementor-section.lg-el-catalog-stats,
.lg-page-catalog .elementor-section.lg-el-catalog-categories,
.lg-page-catalog .elementor-section.lg-el-catalog-products,
.lg-page-catalog .elementor-section.lg-el-catalog-info {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.75s ease, transform 0.75s ease;
}

.lg-page-catalog .elementor-section.lg-el-catalog-stats.lg-catalog-visible,
.lg-page-catalog .elementor-section.lg-el-catalog-categories.lg-catalog-visible,
.lg-page-catalog .elementor-section.lg-el-catalog-products.lg-catalog-visible,
.lg-page-catalog .elementor-section.lg-el-catalog-info.lg-catalog-visible {
	opacity: 1;
	transform: none;
}

.lg-page-catalog .elementor-section.lg-el-catalog-hero.lg-catalog-visible {
	animation: lgCatalogHeroIn 0.9s ease both;
}

.lg-page-catalog.lg-catalog-ready ul.products li.product {
	animation: lgCatalogCardIn 0.55s ease both;
}

.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(1) { animation-delay: 0.05s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(2) { animation-delay: 0.1s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(3) { animation-delay: 0.15s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(4) { animation-delay: 0.2s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(5) { animation-delay: 0.25s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(6) { animation-delay: 0.3s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(7) { animation-delay: 0.35s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(8) { animation-delay: 0.4s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(9) { animation-delay: 0.45s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(10) { animation-delay: 0.5s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(11) { animation-delay: 0.55s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(12) { animation-delay: 0.6s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(13) { animation-delay: 0.65s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(14) { animation-delay: 0.7s; }
.lg-page-catalog.lg-catalog-ready ul.products li.product:nth-child(15) { animation-delay: 0.75s; }

/* Never hide catalog product cards via scroll-reveal */
.lg-page-catalog ul.products li.product.lg-reveal {
	opacity: 1 !important;
	transform: none !important;
	clip-path: none !important;
	filter: none !important;
}

@keyframes lgCatalogHeroIn {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes lgCatalogCardIn {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 767px) {
	.lg-page-catalog .elementor-section.lg-el-catalog-stats > .elementor-container {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.lg-page-catalog .elementor-section.lg-el-catalog-stats .elementor-col-25:nth-child(2) > .elementor-element-populated {
		border-right: none;
	}

	.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33 > .elementor-element-populated,
	.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 > .elementor-element-populated {
		min-height: 280px;
		padding: 1.5rem 1.25rem 1.4rem !important;
	}

	.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-33,
	.lg-page-catalog .elementor-section.lg-el-catalog-categories .elementor-col-25 {
		margin-bottom: 1rem;
	}

	.lg-page-catalog .elementor-section.lg-el-catalog-hero h1.elementor-heading-title {
		max-width: none;
	}

	.lg-page-catalog ul.products,
	.lg-page-catalog .elementor-section.lg-el-catalog-products ul.products,
	body.tax-product_cat ul.products,
	body.post-type-archive-product ul.products {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 1rem !important;
	}

	.lg-page-catalog ul.products li.product {
		border-radius: 16px !important;
	}

	.lg-page-catalog ul.products li.product a.woocommerce-LoopProduct-link {
		padding: 0.9rem 0.9rem 0.25rem;
	}

	.lg-page-catalog ul.products li.product img {
		aspect-ratio: 16 / 11;
		object-fit: contain !important;
		padding: 0.75rem;
		margin-bottom: 0.75rem !important;
	}

	.lg-page-catalog ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.02rem !important;
		min-height: 0 !important;
		margin-bottom: 0.5rem !important;
	}

	.lg-page-catalog .lg-product-sku,
	.lg-page-catalog ul.products li.product .lg-product-sku {
		max-width: calc(100% - 1.8rem);
		margin: 0 0.9rem 0.85rem !important;
		font-size: 0.7rem !important;
		border-radius: 8px !important;
		white-space: nowrap !important;
	}

	.lg-page-catalog .lg-b2b-inquiry-btn--loop,
	.lg-page-catalog ul.products li.product .lg-b2b-inquiry-btn {
		margin: 0 0.9rem 0.9rem !important;
		width: calc(100% - 1.8rem) !important;
		font-size: 0.8rem !important;
		padding: 0.8rem 0.75rem !important;
		white-space: normal !important;
		line-height: 1.25 !important;
	}

	/* Keep cookie revisit clear of inquire buttons */
	.lg-page-catalog button.cookieadmin_re_consent,
	.lg-page-catalog .cookieadmin_re_consent,
	.lg-page-catalog .cookieadmin-revisit,
	.lg-page-catalog .cookieadmin-revisit-wrap,
	.lg-page-catalog .cookieadmin-float,
	.lg-page-catalog [class*="cookieadmin"][class*="revisit"],
	.lg-page-catalog .cky-btn-revisit-wrapper {
		bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 16px)) !important;
		left: auto !important;
		right: 12px !important;
		transform: none !important;
		z-index: 20 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lg-page-catalog .elementor-section.lg-el-catalog-stats,
	.lg-page-catalog .elementor-section.lg-el-catalog-categories,
	.lg-page-catalog .elementor-section.lg-el-catalog-products,
	.lg-page-catalog .elementor-section.lg-el-catalog-info,
	.lg-page-catalog.lg-catalog-ready ul.products li.product {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
}
