/* SGE — Shop catalog (brand tabs) */
.elementor-element-sgeshop00,
.elementor-element-sgeshop00 .e-con,
.elementor-element-sgeshop00 .elementor-widget-container {
	overflow: visible !important;
	background-color: #f5f5f5 !important;
}

.sge-shop-catalog {
	--sge-shop-bg: #f5f5f5;
	--sge-shop-surface: #ffffff;
	--sge-shop-text: #1a1a1a;
	--sge-shop-muted: rgba(26, 26, 26, 0.62);
	--sge-shop-gold: #f2e90d;
	--sge-shop-border: rgba(26, 26, 26, 0.1);
	background: var(--sge-shop-bg);
	padding: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem);
}

.sge-shop-catalog__inner {
	max-width: min(100%, 92rem);
	margin: 0 auto;
	padding-inline: clamp(1.25rem, 2.5vw, 2rem);
}

.sge-shop-catalog__intro {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.sge-shop-catalog__eyebrow {
	margin: 0 0 0.65rem;
	color: var(--sge-shop-gold);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sge-shop-catalog__intro .sge-shop-catalog__title {
	margin: 0 0 0.85rem;
	color: var(--sge-shop-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(2.25rem, 5vw, 3.25rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sge-shop-catalog__lead {
	margin: 0;
	max-width: 42rem;
	color: var(--sge-shop-muted);
	font-family: "DM Sans", sans-serif;
	font-size: clamp(0.98rem, 1.4vw, 1.0625rem);
	line-height: 1.65;
}

.sge-shop-catalog__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.75rem;
}

.sge-shop-catalog__filter {
	cursor: pointer;
}

.sge-shop-catalog__panel.is-hidden {
	display: none;
}

.sge-shop-catalog__panel-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 0.85rem;
	border-bottom: 2px solid var(--sge-shop-border);
}

.sge-shop-catalog__panel[data-brand-panel="gopinath-almiro"] .sge-shop-catalog__panel-head {
	border-bottom-color: #1a1a1a;
}

.sge-shop-catalog__panel[data-brand-panel="shree-gopinath-enterprises"] .sge-shop-catalog__panel-head {
	border-bottom-color: var(--sge-shop-gold);
}

.sge-shop-catalog__panel-title {
	margin: 0;
	color: var(--sge-shop-text);
	font-family: "Bebas Neue", sans-serif;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.sge-shop-catalog__panel-count {
	margin: 0;
	color: var(--sge-shop-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
}

.sge-shop-catalog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (max-width: 1024px) {
	.sge-shop-catalog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.sge-shop-catalog__grid {
		grid-template-columns: 1fr;
	}
}

.sge-shop-catalog__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--sge-shop-surface);
	border: 1px solid var(--sge-shop-border);
	color: var(--sge-shop-text);
}

.sge-shop-catalog__card:hover,
.sge-shop-catalog__card:focus-within {
	color: var(--sge-shop-text);
}

/* Keep product copy visible — only the CTA animates on card hover */
.sge-shop-catalog__card:hover .sge-shop-catalog__body,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__body,
.sge-shop-catalog__card:hover .sge-shop-catalog__sku,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__sku,
.sge-shop-catalog__card:hover .sge-shop-catalog__title,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__title,
.sge-shop-catalog__card:hover .sge-shop-catalog__excerpt,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__excerpt {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	filter: none !important;
}

.sge-shop-catalog__card:hover .sge-shop-catalog__sku,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__sku {
	color: var(--sge-shop-gold) !important;
}

.sge-shop-catalog__card:hover .sge-shop-catalog__title,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__title {
	color: var(--sge-shop-text) !important;
}

.sge-shop-catalog__card:hover .sge-shop-catalog__excerpt,
.sge-shop-catalog__card:focus-within .sge-shop-catalog__excerpt {
	color: var(--sge-shop-muted) !important;
}

.sge-shop-catalog__media {
	display: block;
	aspect-ratio: auto;
	overflow: hidden;
	background: #f5f5f5;
	padding: 0.65rem;
	box-sizing: border-box;
	color: inherit;
	text-decoration: none;
}

.sge-shop-catalog__media:hover,
.sge-shop-catalog__media:focus-visible {
	color: inherit;
	text-decoration: none;
}

.sge-shop-catalog__media img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
}

.sge-shop-catalog__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.3rem;
	padding: 0.7rem 0.75rem 0.8rem;
}

/* CTA — solid hero-style button (white rest, yellow hover via sge-buttons). */
.sge-shop-catalog__cta.sge-btn {
	align-self: flex-start;
	margin-top: 0.6rem;
}

.sge-shop-catalog__sku {
	color: var(--sge-shop-gold);
	font-family: "DM Sans", sans-serif;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sge-shop-catalog__brand {
	display: block;
	margin: 0 0 0.2rem;
	padding: 0;
	border: 0;
	color: var(--sge-shop-gold);
	font-family: "DM Sans", sans-serif;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

/* Brand is shown only on mixed category archives — not shop/brand tabs. */
body:not(.tax-product_cat) .sge-shop-catalog__brand,
body.sge-brand-product-page .sge-shop-catalog__brand,
body.post-type-archive-product .sge-shop-catalog__brand {
	display: none !important;
}

.sge-shop-catalog__card .sge-shop-catalog__title {
	display: block;
	overflow: hidden;
	color: var(--sge-shop-text);
	font-family: "DM Sans", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sge-shop-catalog__title {
	display: block;
	color: var(--sge-shop-text);
	font-family: "DM Sans", sans-serif;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.sge-shop-catalog__features {
	display: none !important;
}

.sge-shop-catalog__features li {
	position: relative;
	margin: 0;
	padding-left: 0;
	color: var(--sge-shop-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.8125rem;
	line-height: 1.35;
}

/* White cards — beat sge-product-card-display inline white text (shows dots only). */
.sge-shop-catalog__card .sge-shop-catalog__features li {
	color: var(--sge-shop-muted) !important;
}

.sge-shop-catalog__features li::before {
	content: none;
	display: none;
}

.sge-shop-catalog__cta.sge-btn::before {
	display: none !important;
	content: none !important;
}

.sge-shop-catalog__title:hover,
.sge-shop-catalog__title:focus-visible {
	color: var(--sge-shop-text) !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.sge-shop-catalog__excerpt {
	flex: 1;
	margin: 0;
	color: var(--sge-shop-muted);
	font-family: "DM Sans", sans-serif;
	font-size: 0.875rem;
	line-height: 1.55;
}

.sge-shop-catalog__empty {
	margin: 0;
	color: var(--sge-shop-muted);
	font-family: "DM Sans", sans-serif;
}
/* ─── Mobile shop catalog optimize (≤767px) ─── */
@media (max-width: 767px) {
	.sge-shop-catalog {
		padding: 1.35rem 0 2rem;
	}

	.sge-shop-catalog__inner {
		padding-inline: 1rem;
	}

	.sge-shop-catalog__intro {
		margin-bottom: 1.1rem;
	}

	.sge-shop-catalog__eyebrow {
		margin-bottom: 0.4rem;
		font-size: 0.6875rem;
		letter-spacing: 0.12em;
	}

	.sge-shop-catalog__intro .sge-shop-catalog__title {
		margin-bottom: 0.45rem;
		font-size: clamp(1.85rem, 9vw, 2.35rem);
		line-height: 1;
	}

	.sge-shop-catalog__lead {
		font-size: 0.875rem;
		line-height: 1.5;
		max-width: none;
	}

	/* Sticky brand tabs while scrolling products */
	.sge-shop-catalog__filters {
		position: sticky;
		top: 3.75rem;
		z-index: 40;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.45rem;
		margin: 0 0 1rem;
		padding: 0.55rem 0;
		background: #f5f5f5;
		border-bottom: 1px solid rgba(26, 26, 26, 0.08);
	}

	.sge-shop-catalog__filter.sge-btn,
	.sge-shop-catalog__filter {
		width: 100% !important;
		min-height: 2.6rem !important;
		padding: 0.7rem 0.65rem !important;
		margin: 0 !important;
		justify-content: center !important;
		font-size: 0.75rem !important;
		letter-spacing: 0.04em !important;
		line-height: 1.2 !important;
		text-align: center !important;
		white-space: nowrap;
	}

	.sge-shop-catalog__panel-head {
		margin-bottom: 0.85rem;
		padding-bottom: 0.55rem;
		gap: 0.25rem;
	}

	.sge-shop-catalog__panel-title {
		font-size: 1.35rem;
	}

	.sge-shop-catalog__panel-count {
		font-size: 0.8125rem;
	}

	/* Single-column product grid on mobile */
	.sge-shop-catalog__grid {
		grid-template-columns: 1fr !important;
		gap: 0.65rem !important;
	}

	.sge-shop-catalog__card {
		min-width: 0;
	}

	.sge-shop-catalog__media {
		aspect-ratio: auto;
		padding: 0.5rem;
	}

	.sge-shop-catalog__body {
		gap: 0.2rem;
		padding: 0.55rem 0.55rem 0.65rem;
	}

	.sge-shop-catalog__sku {
		font-size: 0.6rem;
		letter-spacing: 0.06em;
	}

	.sge-shop-catalog__card .sge-shop-catalog__title,
	.sge-shop-catalog__title {
		font-size: 0.8125rem !important;
		line-height: 1.3 !important;
		font-weight: 600 !important;
		white-space: normal !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden !important;
		text-overflow: ellipsis;
		max-height: 2.6em;
	}

	.sge-shop-catalog__excerpt {
		display: none !important;
	}

	.sge-shop-catalog__cta.sge-btn {
		align-self: stretch !important;
		width: 100% !important;
		margin-top: 0.45rem !important;
		min-height: 2.35rem !important;
		padding: 0.55rem 0.5rem !important;
		justify-content: center !important;
		font-size: 0.6875rem !important;
		letter-spacing: 0.04em !important;
	}
}
