.shirion-shop-directory .woocommerce-products-header {
	margin: 0 0 clamp(2rem, 5vw, 4.5rem);
	padding: 0;
	overflow: hidden;
	border-radius: 14px;
	color: #ffffff;
	background: var(--shirion-navy);
}

.shirion-shop-directory__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
	min-height: 440px;
}

.shirion-shop-directory__copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 4.6rem);
}

.shirion-shop-directory__kicker {
	margin: 0 0 0.7rem;
	color: var(--shirion-warm);
	font-size: clamp(0.94rem, 1.25vw, 1.05rem);
	font-weight: 850;
	line-height: 1.55;
}

.shirion-shop-directory .woocommerce-products-header__title.page-title {
	max-width: 720px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2.55rem, 5.5vw, 5rem);
	font-weight: 950;
	letter-spacing: -0.035em;
	line-height: 0.98;
	text-wrap: balance;
}

.shirion-shop-directory__lede {
	max-width: 650px;
	margin: 1.15rem 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1rem, 1.4vw, 1.16rem);
	font-weight: 650;
	line-height: 1.7;
	text-wrap: pretty;
}

.shirion-shop-directory__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
	width: min(100%, 640px);
	margin: 1.45rem 0 0;
	padding: 0.45rem;
	border-radius: 10px;
	background: #ffffff;
}

.shirion-shop-directory__search input[type="search"] {
	width: 100%;
	min-width: 0;
	min-height: 50px;
	margin: 0;
	padding: 0.7rem 0.9rem;
	border: 0;
	border-radius: 7px;
	color: var(--shirion-ink);
	background: #ffffff;
	box-shadow: none;
	font-size: 1rem;
}

.shirion-shop-directory__search input[type="search"]::placeholder {
	color: #5c6878;
	opacity: 1;
}

.shirion-shop-directory__search button {
	min-width: 104px;
	min-height: 50px;
	margin: 0;
	padding: 0.7rem 1.3rem;
	border: 0;
	border-radius: 7px;
	color: #111827;
	background: var(--shirion-warm);
	font-weight: 950;
	transition: background-color 180ms ease-out, color 180ms ease-out;
}

.shirion-shop-directory__search button:hover {
	color: #ffffff;
	background: var(--shirion-blue);
}

.shirion-shop-directory__search input[type="search"]:focus,
.shirion-shop-directory__search button:focus-visible,
.shirion-shop-directory__shortcuts a:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 3px;
}

.shirion-shop-directory__shortcuts {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 1.1rem;
	margin-top: 1.25rem;
}

.shirion-shop-directory__shortcuts a,
.shirion-shop-directory__shortcuts a:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #ffffff;
	font-size: 0.93rem;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--shirion-warm);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.shirion-shop-directory__shortcuts a:hover {
	color: var(--shirion-warm);
}

.shirion-shop-directory__visual {
	min-width: 0;
	margin: 0;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%);
}

.shirion-shop-directory__visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 440px;
	object-fit: cover;
	object-position: left center;
}

html[dir="ltr"] .shirion-shop-directory__visual {
	clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
}

.shirion-shop-departments,
.shirion-shop-new-products {
	margin: 0 0 clamp(2.5rem, 6vw, 5rem);
}

.shirion-shop-departments {
	padding: clamp(1.25rem, 3vw, 2.4rem);
	border-radius: 14px;
	background: #edf2f7;
}

.shirion-shop-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 clamp(1.2rem, 3vw, 2rem);
}

.shirion-shop-section-heading h2 {
	margin: 0;
	color: var(--shirion-navy);
	font-size: clamp(1.8rem, 3.2vw, 2.7rem);
	font-weight: 950;
	letter-spacing: -0.025em;
	line-height: 1.08;
	text-wrap: balance;
}

.shirion-shop-section-heading p {
	max-width: 760px;
	margin: 0.55rem 0 0;
	color: #506176;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.65;
	text-wrap: pretty;
}

.shirion-shop-departments__primary,
.shirion-shop-departments__spotlights,
.shirion-shop-departments__directory {
	display: grid;
	gap: 1rem;
}

.shirion-shop-departments__primary {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shirion-shop-departments__spotlights {
	grid-template-columns: 1fr;
	margin-top: 1rem;
}

.shirion-shop-departments__directory-shell {
	margin-top: 1rem;
	overflow: hidden;
	border-radius: 14px;
	background: #ffffff;
}

.shirion-shop-departments__directory-title {
	margin: 0;
	padding: 1rem 1.2rem;
	border-bottom: 1px solid var(--shirion-line);
	color: var(--shirion-navy);
	font-size: 1.1rem;
	font-weight: 950;
}

.shirion-shop-departments__directory {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}

.shirion-shop-departments__directory .shirion-shop-department-card + .shirion-shop-department-card {
	border-inline-start: 1px solid var(--shirion-line);
}

.shirion-shop-department-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.shirion-shop-department-card--primary,
.shirion-shop-department-card--spotlight {
	overflow: hidden;
	border-radius: 14px;
}

.shirion-shop-department-card--primary {
	min-height: 472px;
	background: #ffffff;
}

.shirion-shop-department-card--spotlight {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
	grid-template-areas: "visual body";
	min-height: 320px;
	color: #ffffff;
	background: var(--shirion-navy);
}

.shirion-shop-department-card--software {
	grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
	grid-template-areas: "body visual";
	background: var(--shirion-blue-dark);
}

.shirion-shop-department-card--directory {
	min-height: 208px;
	background: transparent;
}

.shirion-shop-department-card__visual {
	position: relative;
	grid-area: visual;
	min-height: 190px;
	margin: 0;
	overflow: hidden;
	background: var(--shirion-navy);
}

.shirion-shop-department-card--primary .shirion-shop-department-card__visual::after {
	position: absolute;
	inset: auto 0 0;
	height: 5px;
	background: var(--shirion-orange);
	content: "";
}

.shirion-shop-department-card__visual img {
	display: block;
	width: 100%;
	height: 190px;
	object-fit: cover;
	transition: transform 220ms ease-out;
}

.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual,
.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual img {
	height: 100%;
	min-height: 320px;
}

.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual img {
	position: absolute;
	inset: 0;
}

.shirion-shop-department-card--systems .shirion-shop-department-card__visual img {
	object-position: 22% center;
}

.shirion-shop-department-card--components .shirion-shop-department-card__visual img {
	object-position: 62% center;
}

.shirion-shop-department-card:hover .shirion-shop-department-card__visual img {
	transform: scale(1.025);
}

.shirion-shop-department-card__body {
	display: flex;
	min-width: 0;
	flex: 1;
	flex-direction: column;
	padding: 1.15rem;
}

.shirion-shop-department-card--primary .shirion-shop-department-card__body {
	padding: 1.2rem 1.25rem 1.3rem;
}

.shirion-shop-department-card--spotlight .shirion-shop-department-card__body {
	grid-area: body;
	justify-content: center;
	padding: clamp(1.4rem, 3vw, 2.4rem);
}

.shirion-shop-department-card__head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.shirion-shop-department-card__icon {
	display: inline-flex;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
	align-items: center;
	justify-content: center;
	border-radius: 7px;
	color: var(--shirion-blue);
	background: #e8eefc;
}

.shirion-shop-department-card--spotlight .shirion-shop-department-card__icon {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.14);
}

.shirion-shop-department-card__icon .shirion-icon {
	width: 20px;
	height: 20px;
}

.shirion-shop-department-card h3 {
	margin: 0;
	font-size: clamp(1.08rem, 1.6vw, 1.35rem);
	font-weight: 950;
	line-height: 1.25;
	text-wrap: balance;
}

.shirion-shop-department-card--spotlight h3 {
	font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.shirion-shop-department-card h3 a,
.shirion-shop-department-card h3 a:visited {
	color: var(--shirion-navy);
	text-decoration: none;
}

.shirion-shop-department-card--spotlight h3 a,
.shirion-shop-department-card--spotlight h3 a:visited {
	color: #ffffff;
}

.shirion-shop-department-card__description {
	max-width: 34ch;
	margin: 0.8rem 0 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.65;
	text-wrap: pretty;
}

.shirion-shop-department-card ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0.95rem 0 1rem;
	padding: 0;
	list-style: none;
}

.shirion-shop-department-card li {
	margin: 0;
	line-height: 1.3;
}

.shirion-shop-department-card li a,
.shirion-shop-department-card li a:visited {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0.4rem 0.65rem;
	border-radius: 999px;
	color: #334861;
	background: #eef3f8;
	font-size: 0.86rem;
	font-weight: 750;
	text-decoration: none;
}

.shirion-shop-department-card--spotlight li a,
.shirion-shop-department-card--spotlight li a:visited {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.12);
}

.shirion-shop-department-card li a:hover,
.shirion-shop-department-card li a:focus-visible {
	color: #ffffff;
	background: var(--shirion-blue);
}

.shirion-shop-department-card--spotlight li a:hover,
.shirion-shop-department-card--spotlight li a:focus-visible {
	color: var(--shirion-navy);
	background: #ffffff;
}

.shirion-shop-department-card h3 a:hover,
.shirion-shop-department-card h3 a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.shirion-shop-department-card a:focus-visible,
.shirion-shop-expert a:focus-visible {
	outline: 3px solid var(--shirion-blue);
	outline-offset: 3px;
}

.shirion-shop-department-card--spotlight a:focus-visible {
	outline-color: var(--shirion-warm);
}

.shirion-shop-department-card__link,
.shirion-shop-department-card__link:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	margin-top: auto;
	color: var(--shirion-blue);
	font-size: 0.94rem;
	font-weight: 900;
	text-decoration: none;
}

.shirion-shop-department-card--spotlight .shirion-shop-department-card__link,
.shirion-shop-department-card--spotlight .shirion-shop-department-card__link:visited {
	color: var(--shirion-warm);
}

.shirion-shop-department-card__link:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.shirion-shop-department-card__link span,
.shirion-shop-expert a span {
	transition: transform 180ms ease-out;
}

.shirion-shop-department-card__link:hover span,
.shirion-shop-expert a:hover span {
	transform: translateX(-4px);
}

html[dir="ltr"] .shirion-shop-department-card__link span,
html[dir="ltr"] .shirion-shop-expert a span {
	transform: rotate(180deg);
}

.shirion-shop-expert {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	margin-top: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 14px;
	color: var(--shirion-navy);
	background: #fff4dd;
}

.shirion-shop-expert h3 {
	margin: 0;
	color: var(--shirion-navy);
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	font-weight: 950;
	line-height: 1.15;
	text-wrap: balance;
}

.shirion-shop-expert p {
	max-width: 780px;
	margin: 0.45rem 0 0;
	color: #34445a;
	font-weight: 700;
	line-height: 1.6;
}

.shirion-shop-expert a,
.shirion-shop-expert a:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 50px;
	padding: 0.75rem 1.2rem;
	border-radius: 8px;
	color: #ffffff;
	background: var(--shirion-navy);
	font-weight: 900;
	text-decoration: none;
	transition: background-color 180ms ease-out;
}

.shirion-shop-expert a:hover {
	background: var(--shirion-blue);
}

body.shirion-shop-directory .shirion-shop-new-products ul.products {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1120px) {
	.shirion-shop-directory__intro {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	}

	body.shirion-shop-directory .shirion-shop-new-products ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.shirion-shop-directory__intro {
		grid-template-columns: 1fr;
	}

	.shirion-shop-directory__copy {
		padding: clamp(1.5rem, 6vw, 2.5rem);
	}

	.shirion-shop-directory__visual {
		min-height: 250px;
		clip-path: none;
	}

	.shirion-shop-directory__visual img {
		height: 250px;
		min-height: 250px;
		object-position: 25% 42%;
	}

	.shirion-shop-departments__primary,
	.shirion-shop-departments__directory {
		grid-template-columns: 1fr;
	}

	.shirion-shop-departments__directory .shirion-shop-department-card + .shirion-shop-department-card {
		border-inline-start: 0;
		border-top: 1px solid var(--shirion-line);
	}

	.shirion-shop-department-card--primary {
		min-height: 430px;
	}

	.shirion-shop-department-card--spotlight,
	.shirion-shop-department-card--software {
		grid-template-columns: 1fr;
		grid-template-areas:
			"visual"
			"body";
	}

	.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual,
	.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual img {
		height: 260px;
		min-height: 260px;
	}

	.shirion-shop-expert {
		grid-template-columns: 1fr;
	}

	body.shirion-shop-directory .shirion-shop-new-products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 580px) {
	.shirion-shop-directory .woocommerce-products-header {
		margin-bottom: 2.5rem;
		border-radius: 10px;
	}

	.shirion-shop-directory .woocommerce-products-header__title.page-title {
		font-size: clamp(2.45rem, 14vw, 3.35rem);
		line-height: 1;
	}

	.shirion-shop-directory__shortcuts {
		gap: 0.3rem 0.9rem;
	}

	.shirion-shop-directory__visual,
	.shirion-shop-directory__visual img {
		height: 210px;
		min-height: 210px;
	}

	.shirion-shop-departments {
		padding: 1rem;
		border-radius: 10px;
	}

	.shirion-shop-departments__directory-shell,
	.shirion-shop-department-card--primary,
	.shirion-shop-department-card--spotlight {
		border-radius: 10px;
	}

	.shirion-shop-department-card--primary {
		min-height: 0;
	}

	.shirion-shop-department-card--primary .shirion-shop-department-card__visual,
	.shirion-shop-department-card--primary .shirion-shop-department-card__visual img {
		height: 178px;
		min-height: 178px;
	}

	.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual,
	.shirion-shop-department-card--spotlight .shirion-shop-department-card__visual img {
		height: 210px;
		min-height: 210px;
	}

	.shirion-shop-expert {
		padding: 1.25rem;
		border-radius: 10px;
	}

	.shirion-shop-expert a {
		width: 100%;
	}

	body.shirion-shop-directory .shirion-shop-new-products ul.products {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 340px) {
	.shirion-shop-directory__search {
		grid-template-columns: 1fr;
	}

	.shirion-shop-directory__search button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shirion-shop-directory__search button,
	.shirion-shop-department-card__visual img,
	.shirion-shop-department-card__link span,
	.shirion-shop-expert a,
	.shirion-shop-expert a span {
		transition: none;
	}
}
