/* IHD katalógus – komponensek. A színek és betűk a sablon (italianhomedesign) változóiból jönnek. */

/* ---------- ikonok (CSS-maszk, a szín a currentColor) ---------- */

.ihd-icon {
	display: inline-block;
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--ihd-i) center / contain no-repeat;
	mask: var(--ihd-i) center / contain no-repeat;
}

.ihd-icon--search { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E"); }
.ihd-icon--chevron { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); width: 14px; height: 14px; }
.ihd-icon--menu { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h16'/%3E%3C/svg%3E"); }
.ihd-icon--pin { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); width: 15px; height: 15px; }
.ihd-icon--clock { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); width: 15px; height: 15px; }
.ihd-icon--phone { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.ihd-icon--route { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4L3 6v14l6-2 6 2 6-2V4l-6 2-6-2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E"); }
.ihd-icon--quote { --ihd-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4V3h6v1M8.5 10h7M8.5 14h7M8.5 18h4'/%3E%3C/svg%3E"); }

/* ---------- felső sáv, fejléc ---------- */

.ihd-util {
	background: var(--ihd-dark-2);
	color: var(--ihd-on-dark-muted);
	font-size: 14px;
}

.ihd-util__inner {
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
}

.ihd-util__group {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
}

.ihd-util__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.ihd-util .ihd-icon {
	color: var(--ihd-gold);
}

.ihd-util a {
	color: var(--ihd-on-dark-muted);
	text-decoration: none;
}

.ihd-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--ihd-dark);
	border-bottom: 1px solid var(--ihd-dark-line);
}

.admin-bar .ihd-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .ihd-header {
		top: 0;
	}
}

.ihd-header__inner {
	min-height: 112px;
	display: flex;
	align-items: center;
	gap: 36px;
	transition: min-height 0.2s ease;
}

.ihd-logo {
	display: block;
	flex: none;
	line-height: 0;
}

.ihd-logo__img {
	display: block;
	width: auto;
	height: 92px;
	transition: height 0.2s ease;
}

/* A görgetett oldalon a fejléc összébb húzódik (ihd.js: .is-compact), így a nagy logó csak a lap tetején foglal helyet. */
.ihd-header.is-compact .ihd-header__inner {
	min-height: 80px;
}

.ihd-header.is-compact .ihd-logo__img {
	height: 60px;
}

@media (prefers-reduced-motion: reduce) {
	.ihd-header__inner,
	.ihd-logo__img {
		transition: none;
	}
}

.ihd-logo__text {
	font-family: var(--ihd-serif);
	font-size: 24px;
	line-height: 1;
	color: var(--ihd-on-dark);
}

.ihd-nav {
	flex: 1;
	min-width: 0;
}

.ihd-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px 26px;
}

.ihd-nav__toggle,
.ihd-nav__toggle:focus,
.ihd-nav__link {
	/* :focus is: az Astra „button:focus { color: #fff }” szabálya világos fejlécen láthatatlanná tenné a gombot */
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ihd-on-dark);
	font-family: var(--ihd-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.ihd-dark .ihd-nav__link {
	color: var(--ihd-on-dark);
}

.ihd-nav__toggle:hover,
.ihd-nav__toggle[aria-expanded="true"],
.ihd-dark .ihd-nav__link:hover,
.ihd-nav__item.is-current > .ihd-nav__toggle,
.ihd-nav__item.is-current > .ihd-nav__link {
	color: var(--ihd-gold);
}

/* Az Astra gombstílusa (button:hover, button:focus – zöld háttér, kerekítés, árnyék) a fejléc gombjain ne jelenjen meg:
   a menüpont kiemelése az arany betűszín, az ikongombé az arany keret. */
.ihd-nav__toggle,
.ihd-nav__toggle:hover,
.ihd-nav__toggle:focus,
.ihd-nav__toggle:active,
.ihd-iconbtn:hover,
.ihd-iconbtn:focus,
.ihd-iconbtn:active {
	background: none;
	box-shadow: none;
}

.ihd-nav__toggle {
	border-radius: 0;
}

.ihd-nav__toggle[aria-expanded="true"] .ihd-icon--chevron {
	transform: rotate(180deg);
}

.ihd-header__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ihd-iconbtn,
.ihd-iconbtn:focus {
	width: 48px;
	height: 48px;
	display: inline-grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--ihd-dark-line);
	border-radius: var(--ihd-pill);
	background: none;
	color: var(--ihd-on-dark);
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}

.ihd-iconbtn:hover,
.ihd-iconbtn[aria-expanded="true"] {
	border-color: var(--ihd-gold);
	color: var(--ihd-gold);
}

.ihd-header__cta {
	min-height: 48px;
	padding: 0 22px;
	font-size: 15px;
}

.ihd-dark .ihd-header__cta,
.ihd-dark .ihd-header__cta:hover {
	color: #fff;
}

.ihd-burger {
	display: none;
}

/* mega menü */

.ihd-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--ihd-surface);
	color: var(--ihd-ink);
	border-bottom: 1px solid var(--ihd-line);
	box-shadow: 0 24px 48px rgba(23, 22, 20, 0.18);
	max-height: calc(100vh - 140px);
	overflow-y: auto;
}

.ihd-mega__inner {
	display: grid;
	grid-template-columns: repeat(var(--ihd-mega-cols, 5), minmax(0, 1fr));
	gap: 32px;
	padding-block: 36px 40px;
	font-size: 16px;
}

.ihd-mega__inner--2 { --ihd-mega-cols: 2; }
.ihd-mega__inner--3 { --ihd-mega-cols: 3; }
.ihd-mega__inner--4 { --ihd-mega-cols: 4; }
.ihd-mega__inner--5 { --ihd-mega-cols: 5; }
.ihd-mega__inner--6 { --ihd-mega-cols: 6; }

.ihd-mega__title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ihd-muted);
}

.ihd-mega__title a {
	color: inherit;
	text-decoration: none;
}

.ihd-mega__title a:hover {
	color: var(--ihd-green);
}

.ihd-mega__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 7px;
}

.ihd-mega__list a {
	color: var(--ihd-ink);
	text-decoration: none;
}

.ihd-mega__list a:hover,
.ihd-mega__list a:focus {
	color: var(--ihd-green);
	text-decoration: underline;
}

.ihd-mega__list .ihd-mega__all {
	color: var(--ihd-green);
	font-weight: 500;
}

/* A mega menü világos panel a sötét fejlécen belül: a fejléc .ihd-dark a szabálya itt nem érvényes. */
.ihd-mega__feature,
.ihd-dark .ihd-mega__feature {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--ihd-ink);
	text-decoration: none;
}

.ihd-mega__feature-media {
	display: block;
	overflow: hidden;
	border-radius: var(--ihd-radius);
	background: var(--ihd-surface-2);
	aspect-ratio: 16 / 10;
}

.ihd-mega__feature-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ihd-mega__feature.is-cutout img {
	object-fit: contain;
	mix-blend-mode: multiply;
	padding: 12px;
	box-sizing: border-box;
}

.ihd-mega__feature:hover img {
	transform: scale(1.03);
}

.ihd-mega__feature-title {
	margin-top: 6px;
	font-family: var(--ihd-serif);
	font-size: 22px;
	line-height: 1.2;
}

.ihd-mega__feature-count {
	color: var(--ihd-muted);
	font-size: 15px;
}

.ihd-mega__allsection {
	grid-column: 1 / -1;
	justify-self: start;
}

/* keresősáv */

.ihd-searchbar {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--ihd-dark-2);
	border-bottom: 1px solid var(--ihd-dark-line);
	padding-block: 20px;
}

.ihd-search {
	display: flex;
	align-items: stretch;
	max-width: 720px;
	margin: 0;
}

.ihd-search input[type="search"] {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--ihd-field);
	border-right: 0;
	border-radius: var(--ihd-pill) 0 0 var(--ihd-pill);
	background: #fff;
	color: var(--ihd-ink);
	font: inherit;
}

.ihd-search input[type="search"]:focus {
	outline: none;
	box-shadow: var(--ihd-focus);
}

.ihd-search__submit {
	width: 60px;
	border: 0;
	border-radius: 0 var(--ihd-pill) var(--ihd-pill) 0;
	background: var(--ihd-green);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.ihd-search__submit:hover {
	background: var(--ihd-green-dark);
}

/* mobil fiók */

.ihd-drawer {
	margin: 0 0 0 auto;
	width: min(420px, 100vw);
	max-width: 100vw;
	height: 100dvh;
	max-height: 100dvh;
	padding: 0;
	border: 0;
	background: var(--ihd-surface);
	color: var(--ihd-ink);
	overflow-y: auto;
}

.ihd-drawer::backdrop {
	background: rgba(23, 22, 20, 0.55);
}

.ihd-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px var(--ihd-gutter);
	background: var(--ihd-dark);
}

.ihd-drawer-logo__img {
	display: block;
	height: 48px;
	width: auto;
}

.ihd-drawer > .ihd-search {
	margin: 18px var(--ihd-gutter) 8px;
}

.ihd-drawer__list {
	margin: 0;
	padding: 8px 0;
	list-style: none;
}

.ihd-drawer__list > li {
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-drawer__section > summary,
.ihd-drawer__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 0 var(--ihd-gutter);
	color: var(--ihd-ink);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	list-style: none;
}

.ihd-drawer__section > summary::-webkit-details-marker {
	display: none;
}

.ihd-drawer__section > summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 300;
}

.ihd-drawer__section[open] > summary::after {
	content: "−";
}

.ihd-drawer__section ul {
	margin: 0;
	padding: 0 var(--ihd-gutter) 16px;
	list-style: none;
	display: grid;
	gap: 2px;
}

.ihd-drawer__section ul a {
	display: block;
	padding: 7px 0;
	color: var(--ihd-ink);
	text-decoration: none;
}

.ihd-drawer__section ul a.is-sub {
	padding-left: 16px;
	color: var(--ihd-muted);
}

.ihd-drawer__section .ihd-drawer__all,
.ihd-drawer__section .ihd-drawer__group {
	font-weight: 600;
	color: var(--ihd-green);
}

.ihd-drawer__foot {
	padding: 20px var(--ihd-gutter) 32px;
	display: grid;
	gap: 14px;
}

.ihd-drawer__foot .ihd-btn {
	justify-self: start;
}

.ihd-drawer__foot p {
	margin: 0;
}

@media (max-width: 1180px) {
	.ihd-nav,
	.ihd-header__cta {
		display: none;
	}

	.ihd-burger {
		display: inline-grid;
	}

	.ihd-header__inner {
		min-height: 80px;
		gap: 16px;
	}

	.ihd-logo__img {
		height: 60px;
	}

	.ihd-header.is-compact .ihd-header__inner {
		min-height: 64px;
	}

	.ihd-header.is-compact .ihd-logo__img {
		height: 46px;
	}
}

@media (max-width: 720px) {
	.ihd-util {
		display: none;
	}

	.ihd-header__inner {
		min-height: 72px;
	}

	.ihd-logo__img {
		height: 52px;
	}

	.ihd-header.is-compact .ihd-header__inner {
		min-height: 60px;
	}

	.ihd-header.is-compact .ihd-logo__img {
		height: 42px;
	}

	.ihd-iconbtn {
		width: 44px;
		height: 44px;
	}
}

/* ---------- lábléc ---------- */

.ihd-footer {
	background: var(--ihd-dark-2);
	color: var(--ihd-on-dark-muted);
	font-size: 16px;
}

.ihd-footer a {
	color: var(--ihd-on-dark-muted);
	text-decoration: none;
}

.ihd-footer a:hover,
.ihd-footer a:focus {
	color: var(--ihd-gold);
}

.ihd-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 40px;
	padding-block: 64px 32px;
}

.ihd-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ihd-footer-logo {
	display: block;
	line-height: 0;
}

.ihd-footer-logo__img {
	display: block;
	width: auto;
	height: 96px;
}

.ihd-footer__title {
	margin: 0 0 12px;
	color: var(--ihd-on-dark);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ihd-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.ihd-footer p {
	margin: 0 0 12px;
}

.ihd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	padding-block: 24px 40px;
	border-top: 1px solid var(--ihd-dark-line);
	font-size: 14px;
}

.ihd-footer__bottom p {
	margin: 0;
}

.ihd-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

/* ---------- telefonos alsó sáv: hívás, útvonal, ajánlatkérés (1180 px-ig, mint a hamburger-menü) ---------- */

.ihd-actionbar {
	display: none;
}

@media (max-width: 1180px) {
	.ihd-actionbar {
		position: fixed;
		inset: auto 0 0;
		z-index: 50;
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		gap: 8px;
		/* Tableten a gombok középen, legfeljebb 600 px szélesen (nem nyúlnak szét a teljes szélességre). */
		padding: 10px max(var(--ihd-gutter), calc((100% - 600px) / 2)) calc(10px + env(safe-area-inset-bottom));
		background: var(--ihd-dark);
		border-top: 1px solid var(--ihd-dark-line);
		box-shadow: 0 -6px 18px rgba(23, 22, 20, 0.18);
	}

	.ihd-actionbar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 52px;
		border-radius: var(--ihd-radius);
		color: var(--ihd-on-dark);
		font-size: 13px;
		font-weight: 500;
		letter-spacing: 0.02em;
		line-height: 1.2;
		text-decoration: none;
	}

	.ihd-actionbar__item:hover,
	.ihd-actionbar__item:focus-visible {
		background: var(--ihd-dark-2);
		color: #fff;
	}

	.ihd-actionbar__item--primary,
	.ihd-actionbar__item--primary:hover,
	.ihd-actionbar__item--primary:focus-visible {
		background: var(--ihd-green);
		color: #fff;
	}

	.ihd-actionbar__item--primary:hover,
	.ihd-actionbar__item--primary:focus-visible {
		background: var(--ihd-green-dark);
	}

	/* A lábléc sötét alja a sáv alá nyúlik, így az utolsó sora is olvasható és koppintható. */
	body.ihd-has-actionbar .ihd-footer {
		padding-bottom: calc(73px + env(safe-area-inset-bottom));
	}

	/* Az Astra „vissza a tetejére” gombja a sáv fölött. */
	body.ihd-has-actionbar #ast-scroll-top {
		bottom: calc(85px + env(safe-area-inset-bottom));
	}
}

@media print {
	.ihd-actionbar {
		display: none !important;
	}
}

/* ---------- morzsamenü ---------- */

.ihd-crumbs ol {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	font-size: 14px;
	color: var(--ihd-muted);
}

.ihd-crumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: var(--ihd-field);
}

.ihd-crumbs a {
	color: var(--ihd-muted);
	text-decoration: none;
}

.ihd-crumbs a:hover {
	color: var(--ihd-green);
	text-decoration: underline;
}

.ihd-crumbs [aria-current] {
	color: var(--ihd-ink);
}

/* ---------- archívum ---------- */

.ihd-archive__head {
	padding-block: 28px 32px;
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-archive__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-top: 28px;
}

.ihd-archive__text {
	flex: 1 1 560px;
	max-width: 820px;
}

.ihd-archive__title {
	margin: 0 0 14px;
	font-size: clamp(40px, 5vw, 64px);
	line-height: 1.02;
}

.ihd-archive__desc {
	color: var(--ihd-muted);
	font-size: 18px;
}

.ihd-archive__desc p:last-child {
	margin-bottom: 0;
}

.ihd-archive__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 16px;
}

.ihd-archive__logo {
	max-height: 64px;
	width: auto;
}

.ihd-subnav {
	margin-top: 28px;
}

.ihd-subnav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ihd-subnav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--ihd-line);
	border-radius: var(--ihd-pill);
	background: var(--ihd-surface);
	color: var(--ihd-ink);
	font-size: 15px;
	text-decoration: none;
}

.ihd-subnav a span {
	color: var(--ihd-muted);
	font-size: 13px;
}

.ihd-subnav a:hover {
	border-color: var(--ihd-green);
	color: var(--ihd-green);
}

.ihd-archive__body {
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr);
	gap: 48px;
	padding-block: 40px 96px;
}

.ihd-archive__body--nofilter {
	grid-template-columns: minmax(0, 1fr);
}

/* ---------- szűrő ---------- */

.ihd-filter__form {
	position: sticky;
	top: 112px;
	max-height: calc(100vh - 132px);
	overflow-y: auto;
	padding-right: 6px;
	scrollbar-width: thin;
}

.admin-bar .ihd-filter__form {
	top: 144px;
}

.ihd-filter__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ihd-ink);
}

.ihd-filter__title {
	margin: 0;
	font-family: var(--ihd-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ihd-filter__clear {
	margin-left: auto;
	font-size: 15px;
}

.ihd-filter__close,
.ihd-filter__show {
	display: none;
}

.ihd-facet {
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-facet__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.ihd-facet__summary::-webkit-details-marker {
	display: none;
}

.ihd-facet__summary::after {
	content: "+";
	font-size: 22px;
	font-weight: 300;
	color: var(--ihd-muted);
}

.ihd-facet[open] > .ihd-facet__summary::after {
	content: "−";
}

.ihd-facet__sel {
	margin-left: 6px;
	margin-right: auto;
	color: var(--ihd-green);
	font-weight: 500;
}

.ihd-facet__list {
	margin: 0;
	padding: 0 0 14px;
	list-style: none;
	display: grid;
	gap: 2px;
}

.ihd-facet__list.is-collapsed > .is-extra {
	display: none;
}

.ihd-fopt {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 0 8px;
	margin: 0 -8px;
	border-radius: 2px;
	font-size: 16px;
	font-weight: 400;
	cursor: pointer;
}

.ihd-fopt:hover {
	background: var(--ihd-surface-2);
}

.ihd-fopt input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--ihd-green);
	cursor: pointer;
}

.ihd-fopt.is-disabled {
	opacity: 0.45;
	cursor: default;
}

.ihd-fopt.is-disabled:hover {
	background: none;
}

.ihd-fopt__swatch {
	flex: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ihd-sw);
	box-shadow: inset 0 0 0 1px rgba(28, 26, 23, 0.25);
}

.ihd-fopt__label {
	flex: 1;
	min-width: 0;
}

.ihd-fopt__count {
	color: var(--ihd-muted);
	font-size: 14px;
	font-variant-numeric: tabular-nums;
}

.ihd-facet__more {
	margin: -6px 0 14px;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--ihd-green);
	font: inherit;
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
}

.ihd-filter__foot {
	padding-top: 16px;
}

.js .ihd-filter__submit {
	display: none;
}

/* ---------- eszköztár, címkék ---------- */

.ihd-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 20px;
}

.ihd-toolbar__count {
	margin: 0;
	font-size: 17px;
}

.ihd-toolbar__filter {
	display: none;
}

.ihd-sort {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ihd-sort__label {
	font-size: 15px;
	color: var(--ihd-muted);
}

.ihd-sort__select {
	min-height: 44px;
	padding: 0 36px 0 14px;
	border: 1px solid var(--ihd-field);
	border-radius: 2px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1a17' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px no-repeat;
	color: var(--ihd-ink);
	font: inherit;
	font-size: 15px;
	appearance: none;
}

.ihd-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin-bottom: 24px;
}

.ihd-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px 0 14px;
	border-radius: var(--ihd-pill);
	background: var(--ihd-ink);
	color: var(--ihd-on-dark);
	font-size: 14px;
	text-decoration: none;
}

.ihd-chip:hover,
.ihd-chip:focus {
	background: var(--ihd-green);
	color: #fff;
}

.ihd-chip__x {
	font-size: 18px;
	line-height: 1;
}

.ihd-chips__clear {
	font-size: 14px;
}

/* ---------- termékrács, kártyák ---------- */

.ihd-grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
	gap: 28px 22px;
}

.ihd-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ihd-card__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	color: var(--ihd-ink);
	text-decoration: none;
}

.ihd-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--ihd-surface-2);
	border-radius: 2px;
}

.ihd-card__img,
.ihd-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ihd-card--cutout .ihd-card__media img {
	object-fit: contain;
	padding: 10%;
	box-sizing: border-box;
	mix-blend-mode: multiply;
}

.ihd-card__link:hover .ihd-card__media img {
	transform: scale(1.04);
}

.ihd-card__noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ihd-surface-2), var(--ihd-line));
}

.ihd-card__body {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.ihd-card__brand {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ihd-muted);
}

.ihd-card__title {
	font-family: var(--ihd-serif);
	font-size: 21px;
	line-height: 1.2;
}

.ihd-card__link:hover .ihd-card__title {
	color: var(--ihd-green);
}

.ihd-card__meta {
	color: var(--ihd-muted);
	font-size: 15px;
	line-height: 1.4;
}

.ihd-pager {
	margin-top: 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.ihd-pager__info {
	margin: 0;
	color: var(--ihd-muted);
	font-size: 15px;
}

.ihd-pager__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.ihd-pager__nav a,
.ihd-pager__nav span {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: var(--ihd-pill);
	color: var(--ihd-ink);
	text-decoration: none;
	box-sizing: border-box;
}

.ihd-pager__nav a:hover {
	background: var(--ihd-surface-2);
}

.ihd-pager__nav .current {
	background: var(--ihd-ink);
	color: var(--ihd-on-dark);
}

.ihd-results.is-loading {
	opacity: 0.5;
	pointer-events: none;
	transition: opacity 0.15s;
}

.ihd-empty {
	padding: 48px 32px;
	border: 1px solid var(--ihd-line);
	background: var(--ihd-surface);
	text-align: center;
}

.ihd-empty__title {
	font-family: var(--ihd-serif);
	font-size: 28px;
	margin-bottom: 8px;
}

@media (max-width: 1180px) {
	.ihd-archive__body {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-top: 28px;
	}

	.ihd-toolbar__filter {
		display: inline-flex;
	}

	.ihd-filter {
		position: fixed;
		inset: 0;
		z-index: 100;
		background: rgba(23, 22, 20, 0.55);
		display: none;
	}

	.ihd-filter.is-open {
		display: block;
	}

	.ihd-filter__form {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: min(400px, 92vw);
		max-height: none;
		padding: 16px var(--ihd-gutter) 0;
		background: var(--ihd-bg);
		box-sizing: border-box;
	}

	.admin-bar .ihd-filter__form {
		top: 0;
	}

	/* Az Astra gombstílusa (fehér szöveg, keret, árnyék) ne érvényesüljön: a bezáró gomb világos alapon van. */
	.ihd-filter button.ihd-filter__close {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin-left: 8px;
		padding: 0;
		border: 0;
		border-radius: var(--ihd-pill);
		background: none;
		box-shadow: none;
		color: var(--ihd-ink);
		font-size: 28px;
		line-height: 1;
		cursor: pointer;
	}

	.ihd-filter button.ihd-filter__close:hover,
	.ihd-filter button.ihd-filter__close:focus-visible {
		background: var(--ihd-surface-2);
		color: var(--ihd-ink);
	}

	.ihd-filter__clear {
		margin-left: auto;
	}

	/* A bezáró gomb (és a „Törlés”) mindig a jobb szélen, akkor is, ha nincs kiválasztott szűrő. */
	.ihd-filter__head .ihd-filter__title {
		margin-right: auto;
	}

	.ihd-filter__foot {
		position: sticky;
		bottom: 0;
		margin-inline: calc(-1 * var(--ihd-gutter));
		padding: 14px var(--ihd-gutter) 18px;
		background: var(--ihd-bg);
		border-top: 1px solid var(--ihd-line);
	}

	.ihd-filter__show {
		display: flex;
		width: 100%;
	}

	.js .ihd-filter__submit {
		display: none;
	}
}

@media (max-width: 560px) {
	.ihd-grid,
	.ihd-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 14px;
	}

	.ihd-card__title {
		font-size: 18px;
	}

	.ihd-card__meta {
		font-size: 14px;
	}

	.ihd-sort {
		margin-left: 0;
		width: 100%;
	}

	.ihd-sort__select {
		flex: 1;
	}

	.ihd-archive__aside {
		align-items: flex-start;
	}
}

@media (max-width: 1180px) and (min-width: 561px) {
	.ihd-grid--4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- termékoldal ---------- */

.ihd-product__crumbs {
	padding-block: 24px 0;
}

.ihd-product__top {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 56px;
	padding-block: 28px 72px;
	align-items: start;
}

.ihd-gallery__main {
	margin: 0;
}

.ihd-gallery__zoom {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: var(--ihd-surface-2);
	cursor: zoom-in;
	overflow: hidden;
	border-radius: 2px;
}

.ihd-gallery__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 76vh;
	object-fit: contain;
}

.ihd-gallery--cutout .ihd-gallery__img {
	mix-blend-mode: multiply;
	padding: 6%;
	box-sizing: border-box;
	aspect-ratio: 1 / 1;
}

.ihd-gallery__caption {
	margin-top: 10px;
	color: var(--ihd-muted);
	font-size: 15px;
}

.ihd-gallery__thumbs {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
}

.ihd-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 2px solid transparent;
	background: var(--ihd-surface-2);
	cursor: pointer;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}

.ihd-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ihd-gallery__thumb[aria-pressed="true"] {
	border-color: var(--ihd-ink);
}

.ihd-lightbox {
	max-width: 96vw;
	max-height: 96vh;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}

.ihd-lightbox::backdrop {
	background: rgba(23, 22, 20, 0.88);
}

.ihd-lightbox img {
	display: block;
	max-width: 96vw;
	max-height: 92vh;
	width: auto;
	height: auto;
	background: #fff;
}

.ihd-lightbox__close {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--ihd-on-dark);
	color: var(--ihd-ink);
	font-size: 26px;
	cursor: pointer;
}

.ihd-lightbox__nav {
	position: absolute;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 0;
	border-radius: 50%;
	background: rgba(242, 238, 231, 0.92);
	color: var(--ihd-ink);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}

.ihd-lightbox__nav--prev {
	left: 12px;
}

.ihd-lightbox__nav--next {
	right: 12px;
}

.ihd-lightbox__nav:is(:hover, :focus),
.ihd-lightbox__close:is(:hover, :focus) {
	background: #fff;
	color: var(--ihd-ink);
}

.ihd-pics__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(var(--ihd-pics-cols, 3), minmax(0, 1fr));
	gap: 16px;
}

.ihd-pics__item {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--ihd-line);
	background: var(--ihd-surface);
	cursor: zoom-in;
	overflow: hidden;
}

.ihd-pics__item img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ihd-pics__item:hover img {
	transform: scale(1.03);
}

@media (max-width: 1180px) {
	.ihd-pics__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.ihd-pics__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ihd-product__summary {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.ihd-product__heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ihd-product__brand {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
}

.ihd-product__title {
	margin: 0;
	font-size: clamp(38px, 4.4vw, 58px);
	line-height: 1.02;
}

.ihd-product__meta {
	margin: 0;
	color: var(--ihd-muted);
	font-size: 17px;
}

.ihd-product__excerpt {
	color: var(--ihd-ink);
	font-size: 17px;
}

.ihd-product__excerpt p:last-child {
	margin-bottom: 0;
}

.ihd-colors__label {
	margin: 0 0 10px;
	font-size: 16px;
}

.ihd-colors__label span {
	color: var(--ihd-muted);
}

.ihd-colors__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 10px;
}

.ihd-colors__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ihd-ink);
	font: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}

.ihd-colors__item img {
	display: block;
	width: 100%;
	height: 56px;
	object-fit: cover;
	border: 2px solid transparent;
	box-sizing: border-box;
	background: var(--ihd-surface-2);
}

.ihd-colors__item[aria-pressed="true"] img {
	border-color: var(--ihd-ink);
}

.ihd-colors__item:hover img {
	border-color: var(--ihd-field);
}

.ihd-colors__name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ihd-product__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
}

.ihd-downloads {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.ihd-downloads__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 500;
	text-decoration: none;
}

.ihd-downloads__link::before {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ihd-product__details {
	background: var(--ihd-surface);
	border-block: 1px solid var(--ihd-line);
}

.ihd-product__details-inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 56px;
	padding-block: 72px;
}

.ihd-product__details h2 {
	margin: 0 0 20px;
	font-size: 32px;
}

.ihd-product__about .ihd-prose {
	max-width: 680px;
	font-size: 17px;
}

.ihd-specs {
	margin: 0;
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	border-top: 1px solid var(--ihd-line);
}

.ihd-specs dt,
.ihd-specs dd {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-specs dt {
	padding-right: 32px;
	color: var(--ihd-muted);
}

.ihd-videos {
	display: grid;
	gap: 16px;
	margin-top: 32px;
}

.ihd-video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--ihd-dark);
	color: var(--ihd-on-dark);
}

.ihd-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ihd-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	border: 0;
	background: radial-gradient(circle at center, #2a2724, var(--ihd-dark));
	color: var(--ihd-on-dark);
	font: inherit;
	cursor: pointer;
}

.ihd-video__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--ihd-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 7l9 5-9 5z'/%3E%3C/svg%3E") center / 36px no-repeat;
}

.ihd-video__play:hover .ihd-video__icon {
	background-color: var(--ihd-green-dark);
}

.ihd-video__label {
	font-size: 18px;
	font-weight: 500;
}

.ihd-video__note {
	color: var(--ihd-on-dark-muted);
	font-size: 14px;
}

@media (max-width: 1180px) {
	.ihd-product__top,
	.ihd-product__details-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

/* ---------- ajánlatkérés ---------- */

.ihd-quote {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 36px;
	background: var(--ihd-bg);
	color: var(--ihd-ink);
	border: 1px solid var(--ihd-line);
}

.ihd-dark .ihd-quote a {
	color: var(--ihd-green);
}

.ihd-quote--compact {
	padding: 28px;
	background: var(--ihd-surface);
}

.ihd-quote__title {
	margin: 0 0 6px;
	font-size: 30px;
	line-height: 1.15;
}

.ihd-quote--compact .ihd-quote__title {
	font-size: 26px;
}

.ihd-quote__intro {
	margin: 0;
	color: var(--ihd-muted);
	font-size: 16px;
}

.ihd-quote__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
	gap: 16px;
}

.ihd-check {
	flex-direction: row !important;
	align-items: flex-start;
	gap: 12px !important;
	font-weight: 400 !important;
	line-height: 1.45;
}

.ihd-check input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ihd-green);
}

.ihd-quote button[type="submit"] {
	min-height: 54px;
	font-size: 17px;
}

.ihd-quote button[type="submit"][disabled] {
	opacity: 0.6;
	cursor: progress;
}

.ihd-quote__status:empty {
	display: none;
}

.ihd-quote__status,
.ihd-quote__done {
	margin: 0;
	padding: 12px 14px;
	border-left: 3px solid var(--ihd-green);
	background: rgba(31, 92, 71, 0.08);
	font-size: 16px;
}

.ihd-quote__status.is-error {
	border-color: var(--ihd-danger);
	background: rgba(158, 51, 40, 0.08);
}

/* Köszönőoldal ([ihd_quote_thanks]) */
.ihd-thanks__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 12px;
}

.ihd-hp {
	position: absolute !important;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ihd-quote-section__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 72px;
	padding-block: var(--ihd-section);
}

.ihd-quote-section h2 {
	margin: 0 0 28px;
}

.ihd-showroom__list {
	margin: 0 0 28px;
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 14px 28px;
	font-size: 17px;
}

.ihd-showroom__list dt {
	color: var(--ihd-on-dark-muted);
}

.ihd-showroom__list dd {
	margin: 0;
}

.ihd-showroom__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.ihd-notice {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-left: 3px solid var(--ihd-gold);
	background: rgba(200, 166, 106, 0.12);
}

@media (max-width: 1180px) {
	.ihd-quote-section__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 560px) {
	.ihd-quote,
	.ihd-quote--compact {
		padding: 24px 18px;
	}

	.ihd-showroom__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 4px;
	}

	.ihd-showroom__list dd {
		margin-bottom: 12px;
	}
}

/* ---------- főoldali blokkok ---------- */

/* Az Astra a tartalmi listáknak bal belső margót ad – a saját rácsainknak nem kell. */
.entry-content .ihd-tiles,
.entry-content .ihd-tile--rest ul,
.entry-content .ihd-brandgrid,
.entry-content .ihd-pics__list {
	padding-left: 0;
}

.ihd-sections {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 24px;
}

.ihd-sections__rest {
	display: grid;
	grid-auto-rows: minmax(0, 1fr);
	gap: 24px;
}

.ihd-scard {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	background: var(--ihd-surface);
	border: 1px solid var(--ihd-line);
	color: var(--ihd-ink);
	text-decoration: none;
	overflow: hidden;
}

.ihd-scard--big {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr) auto;
}

.ihd-scard__media {
	display: block;
	overflow: hidden;
	background: var(--ihd-surface-2);
	min-height: 200px;
}

.ihd-scard--big .ihd-scard__media {
	min-height: 320px;
}

.ihd-scard .ihd-scard__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ihd-scard--cutout .ihd-scard__media img {
	object-fit: contain;
	padding: 14px;
	box-sizing: border-box;
	mix-blend-mode: multiply;
}

.ihd-scard:hover .ihd-scard__media img {
	transform: scale(1.03);
}

.ihd-scard__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	padding: 24px 28px;
}

.ihd-scard--big .ihd-scard__body {
	padding: 28px 32px 32px;
	gap: 10px;
}

.ihd-scard__body .ihd-eyebrow {
	margin: 0;
}

.ihd-scard__title {
	font-family: var(--ihd-serif);
	font-size: 28px;
	line-height: 1.1;
}

.ihd-scard--big .ihd-scard__title {
	font-size: 38px;
}

.ihd-scard__desc {
	color: var(--ihd-muted);
	font-size: 16px;
}

.ihd-scard__brands {
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ihd-scard .ihd-link-arrow {
	color: var(--ihd-green);
	min-height: 0;
	margin-top: 6px;
}

.ihd-tiles {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
	gap: 20px;
}

.ihd-tile > a {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.ihd-tile__media {
	display: block;
	overflow: hidden;
	aspect-ratio: var(--ihd-tile-ratio, 1 / 1);
	background: var(--ihd-surface-2);
}

.ihd-tile .ihd-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ihd-tile > a:hover img {
	transform: scale(1.04);
}

.ihd-tile__label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.ihd-tile__name {
	font-family: var(--ihd-serif);
	font-size: 24px;
	line-height: 1.15;
}

.ihd-tile__count {
	color: var(--ihd-muted);
	font-size: 15px;
	white-space: nowrap;
}

.ihd-dark .ihd-tile__count {
	color: var(--ihd-on-dark-muted);
}

.ihd-tile--rest {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--ihd-line);
	background: var(--ihd-surface);
}

.ihd-tile__rest-title {
	margin: 0;
	font-family: var(--ihd-serif);
	font-size: 22px;
}

.ihd-tile--rest ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.ihd-tile--rest li span {
	color: var(--ihd-muted);
	font-size: 14px;
}

.ihd-brandgrid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
	border-top: 1px solid var(--ihd-line);
	border-left: 1px solid var(--ihd-line);
}

.ihd-brandgrid li {
	border-right: 1px solid var(--ihd-line);
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-brandgrid a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 26px 24px;
	color: var(--ihd-ink);
	text-decoration: none;
	box-sizing: border-box;
}

.ihd-brandgrid a:hover {
	background: var(--ihd-surface);
}

.ihd-brandgrid__name {
	font-size: 19px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ihd-brandgrid a:hover .ihd-brandgrid__name {
	color: var(--ihd-green);
}

.ihd-brandgrid__count {
	color: var(--ihd-muted);
	font-size: 15px;
}

.ihd-brandgrid__logo {
	max-height: 40px;
	width: auto;
	margin-bottom: 8px;
	mix-blend-mode: multiply;
}

.ihd-az__letters {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ihd-header-h, 89px));
	z-index: 5;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 32px;
	padding: 12px 0;
	background: var(--ihd-bg);
	border-bottom: 1px solid var(--ihd-line);
}

.ihd-az__letters a {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	border-radius: var(--ihd-pill);
	color: var(--ihd-ink);
	font-weight: 500;
	text-decoration: none;
}

.ihd-az__letters a:hover {
	background: var(--ihd-surface-2);
}

.ihd-az__group {
	margin-bottom: 40px;
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--ihd-header-h, 89px) + 84px);
}

.ihd-az__letter {
	margin: 0 0 16px;
	font-size: 36px;
}

@media (max-width: 1180px) {
	.ihd-sections {
		grid-template-columns: minmax(0, 1fr);
	}

	.ihd-scard--big .ihd-scard__media {
		min-height: 0;
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 560px) {
	.ihd-scard {
		grid-template-columns: 120px minmax(0, 1fr);
	}

	.ihd-scard--big {
		grid-template-columns: minmax(0, 1fr);
	}

	.ihd-scard__media {
		min-height: 140px;
	}

	.ihd-scard__body {
		padding: 18px;
	}

	.ihd-scard__title {
		font-size: 24px;
	}

	.ihd-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 14px;
	}

	.ihd-tile__name {
		font-size: 20px;
	}

	.ihd-tile__label {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
	}

	.ihd-brandgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ihd-brandgrid a {
		padding: 20px 16px;
	}

	.ihd-brandgrid__name {
		font-size: 16px;
		letter-spacing: 0.08em;
	}

	.ihd-brandgrid__count {
		font-size: 14px;
	}
}
