/* OM Product Catalogue — premium redesign
   Direction: clean & premium. Generous whitespace, refined type scale,
   a brand-colour banner as the signature element, image-forward cards.
   All rules scoped to .om-catalogue-root; !important used only where the
   Astra/Elementor theme would otherwise override. */

.om-catalogue-root{
	--omcat-ink:#1A1814;
	--omcat-muted:#7C7567;
	--omcat-faint:#A8A293;
	--omcat-line:#EAE6DC;
	--omcat-surface:#FFFFFF;
	--omcat-bg:#FBFAF6;
	--omcat-brand:#1C1A14;        /* set per active brand by JS */
	--omcat-accent:#5F5E5A;       /* set per card by JS */

	font-family:inherit;
	color:var(--omcat-ink);
	max-width:100%;
	-webkit-font-smoothing:antialiased;
}
.om-catalogue-root *{box-sizing:border-box;}

.om-catalogue-root .sr-only{
	position:absolute;width:1px;height:1px;padding:0;margin:-1px;
	overflow:hidden;clip:rect(0,0,0,0);border:0;
}

/* ---- Header ---- */
.om-catalogue-root .omcat-head{margin-bottom:26px;}
.om-catalogue-root .omcat-title{
	margin:0 0 6px !important;
	font-size:clamp(28px,4vw,40px);font-weight:700;line-height:1.05;
	letter-spacing:-0.02em;color:var(--omcat-ink);
}
.om-catalogue-root .omcat-sub{
	margin:0 !important;color:var(--omcat-muted);
	font-size:15px;line-height:1.5;
}

/* ---- Search ---- */
.om-catalogue-root .omcat-searchwrap{position:relative;margin-bottom:22px;max-width:380px;}
.om-catalogue-root .omcat-searchicon{
	position:absolute;left:14px;top:50%;transform:translateY(-50%) rotate(-45deg);
	color:var(--omcat-faint);font-size:16px;pointer-events:none;
}
.om-catalogue-root .omcat-search{
	width:100% !important;height:46px;padding:0 16px 0 38px !important;
	border:1px solid var(--omcat-line) !important;border-radius:999px !important;
	font-size:15px;background:var(--omcat-surface) !important;color:var(--omcat-ink) !important;
	transition:border-color .15s ease, box-shadow .15s ease;
}
.om-catalogue-root .omcat-search:focus{
	outline:none;border-color:var(--omcat-faint) !important;
	box-shadow:0 0 0 4px rgba(0,0,0,0.04);
}

/* ---- Brand tabs ---- */
.om-catalogue-root .omcat-brandtabs{
	display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;
}
.om-catalogue-root .omcat-tab{
	cursor:pointer;
	background:var(--omcat-surface) !important;
	border:1px solid var(--omcat-line) !important;
	color:var(--omcat-ink) !important;border-radius:999px !important;
	padding:9px 16px !important;margin:0 !important;
	font-size:13px;font-weight:600;letter-spacing:0.01em;line-height:1;
	display:inline-flex;align-items:center;gap:8px;
	box-shadow:0 1px 2px rgba(26,24,20,0.04);
	transition:background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .12s ease;
}
.om-catalogue-root .omcat-tab:hover{
	border-color:var(--omcat-faint) !important;
	box-shadow:0 4px 12px -4px rgba(26,24,20,0.18);
	transform:translateY(-1px);
}
.om-catalogue-root .omcat-tab.active{
	background:var(--omcat-ink) !important;color:#fff !important;
	border-color:var(--omcat-ink) !important;
	box-shadow:0 6px 16px -6px rgba(26,24,20,0.4);
}
.om-catalogue-root .omcat-tab.active:hover{transform:none;}
.om-catalogue-root .omcat-tabdot{
	width:9px;height:9px;border-radius:50%;flex:0 0 auto;
}
.om-catalogue-root .omcat-tab.active .omcat-tabdot{box-shadow:0 0 0 2px rgba(255,255,255,0.3);}
.om-catalogue-root .omcat-tabnum{
	font-size:11px;font-weight:600;color:var(--omcat-faint);letter-spacing:0;
}
.om-catalogue-root .omcat-tab.active .omcat-tabnum{color:rgba(255,255,255,0.7);}

/* The running count line is now redundant with the banner — hide it visually
   but keep it for screen readers. */
.om-catalogue-root .omcat-count{
	position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);
}

/* ---- Brand banner (signature element) ---- */
.om-catalogue-root .omcat-banner{
	position:relative;overflow:hidden;border-radius:18px;
	background:var(--omcat-brand);
	padding:32px 36px;margin-bottom:34px;
	display:flex;align-items:center;gap:26px;min-height:128px;
	isolation:isolate;
}
/* Soft tonal depth without imagery: two layered radial washes. */
.om-catalogue-root .omcat-banner::before{
	content:"";position:absolute;inset:0;z-index:-1;
	background:
		radial-gradient(120% 140% at 88% -10%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%),
		radial-gradient(90% 120% at 0% 120%, rgba(0,0,0,0.22), rgba(0,0,0,0) 60%);
}
/* White chip holding the full-colour brand logo. */
.om-catalogue-root .omcat-banner-logo{
	flex:0 0 auto;display:flex;align-items:center;justify-content:center;
	background:#fff;border-radius:14px;
	width:118px;height:84px;padding:14px;
	box-shadow:0 8px 22px -10px rgba(0,0,0,0.35);
}
.om-catalogue-root .omcat-banner-logo img{
	max-width:100%;max-height:100%;width:auto;height:auto;
	object-fit:contain;display:block;
}
.om-catalogue-root .omcat-banner-inner{position:relative;}
.om-catalogue-root .omcat-banner-eyebrow{
	display:block;font-size:12px;font-weight:600;letter-spacing:0.16em;
	text-transform:uppercase;color:rgba(255,255,255,0.72);margin-bottom:8px;
}
.om-catalogue-root .omcat-banner-title{
	margin:0 !important;color:#fff !important;
	font-size:clamp(26px,3.4vw,38px);font-weight:700;line-height:1.05;
	letter-spacing:-0.015em;
}
.om-catalogue-root .omcat-banner--search{background:var(--omcat-ink);}

/* ---- Type groups ---- */
.om-catalogue-root .omcat-typegroup{margin-bottom:46px;}
.om-catalogue-root .omcat-typegroup:last-child{margin-bottom:8px;}
.om-catalogue-root .omcat-typehead{
	margin:0 0 18px !important;
	display:flex;align-items:baseline;gap:12px;
	font-size:13px !important;font-weight:700;line-height:1;
	letter-spacing:0.12em;text-transform:uppercase;color:var(--omcat-muted);
}
.om-catalogue-root .omcat-typehead-label{position:relative;}
.om-catalogue-root .omcat-typehead::after{
	content:"";flex:1;height:1px;background:var(--omcat-line);
	align-self:center;
}
.om-catalogue-root .omcat-typenum{
	flex:0 0 auto;font-size:12px;font-weight:600;color:var(--omcat-faint);
	letter-spacing:0;
}

/* ---- Showroom cards ---- */
.om-catalogue-root .omcat-products{
	display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
}
.om-catalogue-root .omcat-card{
	display:flex;flex-direction:column;
	background:var(--omcat-surface);
	border:1px solid var(--omcat-line);border-radius:16px;overflow:hidden;
	text-decoration:none !important;color:inherit !important;
	transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
	will-change:transform;
}
.om-catalogue-root a.omcat-card:hover{
	transform:translateY(-4px);
	border-color:transparent;
	box-shadow:0 18px 40px -18px rgba(26,24,20,0.28);
}
.om-catalogue-root .omcat-card--nolink{cursor:default;}
.om-catalogue-root .omcat-thumb{
	aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;
	background:linear-gradient(180deg,#F6F4EE 0%,#EFEDE5 100%);
	color:var(--omcat-faint);overflow:hidden;
}
.om-catalogue-root .omcat-thumb img{
	width:100%;height:100%;object-fit:contain;display:block;padding:18px;
	transition:transform .35s ease;
}
.om-catalogue-root a.omcat-card:hover .omcat-thumb img{transform:scale(1.04);}
.om-catalogue-root .omcat-thumb .ph{font-size:40px;opacity:0.6;}

.om-catalogue-root .omcat-body{
	padding:15px 16px 16px;display:flex;flex-direction:column;flex:1 1 auto;
}
.om-catalogue-root .omcat-eyebrow{
	font-size:10.5px;font-weight:700;letter-spacing:0.1em;text-transform:uppercase;
	margin-bottom:6px;
}
.om-catalogue-root .omcat-pname{
	font-size:15px;font-weight:600;line-height:1.3;letter-spacing:-0.01em;
	color:var(--omcat-ink);margin-bottom:11px;
}

/* Spec pills — quiet metadata */
.om-catalogue-root .omcat-pills{
	display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;
}
.om-catalogue-root .omcat-pill{
	font-size:11.5px;font-weight:500;color:var(--omcat-muted);
	background:var(--omcat-bg);border:1px solid var(--omcat-line);
	border-radius:6px;padding:3px 9px;line-height:1.4;
}

/* View affordance — text link that activates with the card */
.om-catalogue-root .omcat-viewlink{
	margin-top:auto;display:inline-flex;align-items:center;gap:6px;
	font-size:13px;font-weight:600;color:var(--omcat-accent);
	letter-spacing:0.01em;
}
.om-catalogue-root .omcat-arrow{
	transition:transform .2s ease;display:inline-block;font-size:15px;
}
.om-catalogue-root a.omcat-card:hover .omcat-arrow{transform:translateX(4px);}
.om-catalogue-root .omcat-card--nolink .omcat-viewlink{color:var(--omcat-faint);}

/* ---- Empty state ---- */
.om-catalogue-root .omcat-empty{
	padding:3rem 2rem;text-align:center;color:var(--omcat-muted);font-size:15px;
	border:1px dashed var(--omcat-line);border-radius:16px;background:var(--omcat-bg);
}

/* ---- Responsive ---- */
@media (max-width:1024px){
	.om-catalogue-root .omcat-products{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:768px){
	.om-catalogue-root .omcat-banner{padding:24px 22px;min-height:100px;border-radius:14px;gap:18px;}
	.om-catalogue-root .omcat-banner-logo{width:92px;height:66px;padding:11px;border-radius:11px;}
	.om-catalogue-root .omcat-products{grid-template-columns:repeat(2,1fr);gap:14px;}
}
@media (max-width:560px){
	.om-catalogue-root .omcat-products{grid-template-columns:repeat(2,1fr);gap:12px;}
	.om-catalogue-root .omcat-body{padding:13px 13px 15px;}
	.om-catalogue-root .omcat-pname{font-size:14px;}
	.om-catalogue-root .omcat-tab{padding:8px 13px !important;font-size:12px;}
}

/* ---- Accessibility ---- */
.om-catalogue-root a.omcat-card:focus-visible{
	outline:2px solid var(--omcat-ink);outline-offset:3px;
}
.om-catalogue-root .omcat-search:focus-visible{outline:none;}
@media (prefers-reduced-motion:reduce){
	.om-catalogue-root .omcat-card,
	.om-catalogue-root .omcat-thumb img,
	.om-catalogue-root .omcat-arrow{transition:none !important;}
	.om-catalogue-root a.omcat-card:hover{transform:none;}
	.om-catalogue-root a.omcat-card:hover .omcat-thumb img{transform:none;}
}
