/*
Theme Name: π-Store
Description: Minimal child theme for the π-Store storefront.
Template: twentytwentyfive
Version: 1.0.4
Text Domain: intellekt
*/

:root {
	--intellekt-ink: #16191d;
	--intellekt-paper: #fff;
	--intellekt-line: #dfe3e8;
	--intellekt-accent: #316ec9;
	--intellekt-danger: #c62934;
	--intellekt-commerce: #ffd814;
	--intellekt-commerce-hover: #f7ca00;
	--intellekt-muted: #f2f4f7;
	--intellekt-content-wide: 80rem;
	--intellekt-page-gutter: clamp(1rem, 4vw, 3rem);
}

body {
	color: var(--intellekt-ink);
	background: var(--intellekt-paper);
}

a {
	text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid var(--intellekt-accent);
	outline-offset: 4px;
}

.site-header {
	position: relative;
	border-bottom: 0;
	background: var(--intellekt-paper);
	box-shadow: 0 0.25rem 1rem rgba(22, 25, 29, 0.06);
}

.site-header__inner {
	margin-block-start: 0;
	padding-top: 0;
	padding-bottom: 0;
}

.site-header__identity-band {
	background: var(--intellekt-accent);
}

.site-header__brand,
.site-footer__brand {
	color: var(--intellekt-ink);
	font-size: clamp(1.4rem, 2vw, 1.65rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

/* Wordmark «π-Store» (functions.php intellekt_store_wordmark): letters in the theme
   font, not an image; the leading π is the accent by weight and size. On the blue
   band it is white (5.0:1 on --intellekt-accent); brand red is not used for text there. */
.store-wordmark {
	display: inline-flex;
	align-items: baseline;
	white-space: nowrap;
}

.store-wordmark__lead {
	margin-right: 0.03em;
	/* Kept near x-height: a larger Manrope π reads as «П»/«TT». */
	font-size: 1.1em;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
}

.site-header__brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.site-header__top,
.site-header__menu-row,
.site-header__commerce,
.site-header__fallback {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.35rem;
}

.site-header__top {
	position: relative;
	justify-content: space-between;
	min-height: 3.5rem;
	color: #fff;
}

.site-header__contacts {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	font-size: 0.8rem;
	line-height: 1.25;
}

.site-header__phone {
	color: var(--intellekt-ink);
	font-weight: 700;
	text-decoration: none;
}

.site-header__address {
	color: #5c6570;
}

.site-header__top .site-header__brand,
.site-header__top .site-header__phone,
.site-header__top .site-header__address {
	color: #fff;
}

.site-header__socials {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.site-header__socials a {
	box-sizing: border-box;
	display: inline-flex;
	flex: 0 0 1.85rem;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	min-width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	color: #fff;
	background: rgba(255, 255, 255, 0.14);
	transition: color 160ms ease, background-color 160ms ease;
}

.site-header__socials a:hover {
	color: var(--intellekt-accent);
	background: #fff;
}

.site-header__socials svg {
	display: block;
	flex: 0 0 1rem;
	width: 1rem;
	min-width: 1rem;
	max-width: none;
	height: 1rem;
	overflow: visible;
	fill: currentColor;
}

.site-header__menu-row {
	position: relative;
	justify-content: flex-start;
	min-height: 3.25rem;
	margin-top: 0;
	border-top: 0;
}

.site-header__commerce {
	justify-content: flex-end;
}

.site-header__menu-row .site-header__commerce {
	margin-left: auto !important;
}

.site-header__fallback a,
.site-header__commerce a,
.site-footer .wp-block-navigation-item__content {
	color: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
}

.site-header__fallback a:hover,
.site-header__commerce a:hover {
	color: var(--intellekt-accent);
}

.site-footer .wp-block-navigation-item__content:hover,
.site-header__brand:hover,
.site-footer__brand:hover {
	color: #fff;
	text-decoration: underline;
}

.site-header__top a:focus-visible,
.site-footer a:focus-visible {
	outline-color: #fff;
}

.storefront-hero {
	border-bottom: 0;
	color: #fff;
	background: var(--intellekt-accent) !important;
}

.storefront-hero > * {
	max-width: 48rem;
	margin-right: auto;
	margin-left: auto;
}

/* The site title block (blogname «π-Store»): no uppercase, it would turn π into Π. */
.storefront-hero__eyebrow {
	margin-bottom: 0.5rem;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.storefront-hero h1,
.storefront-hero__lead {
	color: #fff;
}

.storefront-hero h1 {
	max-width: 18ch;
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: clamp(2rem, 3.5vw, 2.75rem);
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.storefront-hero__lead {
	max-width: 42rem;
	margin-top: 0;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.45;
}

.storefront-hero .wp-block-buttons {
	margin-top: 1.25rem;
}

.storefront-hero .wp-block-button__link {
	padding: 0.7rem 1.05rem;
	font-size: 0.95rem;
}

.storefront-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	color: var(--intellekt-accent);
	background: #fff;
}

.storefront-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	color: #245ba9;
	background: #f2f6fc;
}

.storefront-hero .is-style-outline .wp-block-button__link {
	border-color: #fff;
	color: #fff;
}

.storefront-hero .is-style-outline .wp-block-button__link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

.wp-block-button__link {
	border-radius: 0.55rem;
	padding: 0.8rem 1.2rem;
	font-weight: 700;
	transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.is-style-outline .wp-block-button__link {
	border-color: currentColor;
}

.storefront-section > h2 {
	margin-bottom: 1.25rem;
	font-size: 1.5rem;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.site-header__inner,
.site-footer__inner,
.storefront-section,
.news-index__inner {
	box-sizing: border-box;
	width: min(calc(100% - (2 * var(--intellekt-page-gutter))), var(--intellekt-content-wide));
	max-width: none !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.storefront-section__intro {
	max-width: 42rem;
	margin-top: -0.75rem;
	margin-bottom: 2rem;
	color: #4b554e;
}

.storefront-directions {
	gap: 1rem;
}

.storefront-directions > .wp-block-column {
	min-width: 10rem;
	padding: 1.25rem;
	border-top: 2px solid var(--intellekt-accent);
	background: var(--intellekt-muted);
}

.storefront-directions h3 {
	margin-top: 0;
	margin-bottom: 0.6rem;
	font-size: 1.1rem;
}

.storefront-directions p {
	margin-bottom: 0;
	font-size: 0.92rem;
}

.storefront-section--categories > .wp-block-woocommerce-product-categories {
	width: 100%;
	max-width: none;
}

.storefront-section--categories .wc-block-product-categories-list--depth-0 {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.storefront-section--categories .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
	min-width: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

.storefront-section--categories .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--intellekt-ink);
	text-decoration: none;
}

.storefront-section--categories .wc-block-product-categories-list-item__image {
	box-sizing: border-box;
	flex: 0 0 auto;
	width: 100%;
	max-width: none !important;
	inline-size: 100% !important;
	margin: 0;
	aspect-ratio: 4 / 3;
	border: 0;
	overflow: hidden;
	background: #fff;
}

.storefront-section--categories .wc-block-product-categories-list-item__image img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.65rem;
}

.storefront-section--categories .wc-block-product-categories-list-item__name {
	display: block;
	padding: 0.8rem 0.9rem 0.95rem;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.storefront-section--categories .wc-block-product-categories-list--depth-1 {
	display: none;
}

.storefront-section--products {
	border-top: 1px solid var(--intellekt-line);
	border-bottom: 1px solid var(--intellekt-line);
}

.wc-block-product,
.wc-block-product-category {
	padding: 0.75rem;
	border: 1px solid transparent;
	background: #fff;
	transition: border-color 160ms ease, transform 160ms ease;
}

.wc-block-product:hover,
.wc-block-product-category:hover {
	border-color: var(--intellekt-line);
	transform: translateY(-2px);
}

.wc-block-components-product-sale-badge {
	display: none !important;
}

.wc-block-product.sale {
	border-color: transparent;
	box-shadow: none;
}

.wc-block-product.sale .wc-block-components-product-price ins {
	color: var(--intellekt-danger);
	font-weight: 750;
	text-decoration: none;
}

.wc-block-components-product-name,
.wc-block-product-category__title,
.wp-block-post-title a {
	color: var(--intellekt-ink);
	font-weight: 650;
}

.wc-block-components-product-price {
	font-weight: 700;
}

.catalog-root > .wp-block-woocommerce-breadcrumbs,
.catalog-category > .wp-block-woocommerce-breadcrumbs {
	margin-bottom: 0.75rem;
	font-size: 0.82rem;
}

.catalog-root > h1,
.catalog-category > .wp-block-query-title {
	margin-top: 0;
	margin-bottom: 1.25rem;
	font-size: clamp(1.85rem, 3.2vw, 2.6rem);
	line-height: 1.08;
}

.catalog-root .wc-block-product-categories-list-item__image {
	display: none;
}

.catalog-root > .wp-block-woocommerce-product-categories > .wc-block-product-categories-list--depth-0 {
	columns: 3;
	column-gap: 3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.catalog-root .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item {
	box-sizing: border-box;
	display: inline-block;
	break-inside: avoid;
	width: 100%;
	margin: 0;
	padding: 0 0 1.35rem;
	border: 0;
	background: transparent;
	vertical-align: top;
}

.catalog-root .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a {
	display: block;
	color: var(--intellekt-ink);
	font-size: 1.05rem;
	font-weight: 750;
	line-height: 1.25;
	text-decoration: none;
}

.catalog-root .wc-block-product-categories-list--depth-1 {
	display: grid;
	gap: 0.28rem;
	margin: 0.45rem 0 0;
	padding: 0;
	list-style: none;
}

.catalog-root .wc-block-product-categories-list--depth-1 > .wc-block-product-categories-list-item {
	margin: 0;
	padding: 0;
	font-size: 0.88rem;
	line-height: 1.3;
}

.catalog-root .wc-block-product-categories-list--depth-1 a {
	display: block;
	color: #48515c;
	padding: 0.08rem 0;
	text-decoration: none;
}

.catalog-root .wc-block-product-categories-list--depth-0 > .wc-block-product-categories-list-item > a:hover,
.catalog-root .wc-block-product-categories-list--depth-1 a:hover {
	color: var(--intellekt-accent);
	text-decoration: underline;
}

.catalog-root .wc-block-product-categories-list-item-count {
	display: none;
}

.catalog-category > .wp-block-term-description {
	max-width: 62rem;
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.catalog-category__toolbar {
	margin-top: 0.5rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.catalog-category__layout {
	display: grid;
	grid-template-columns: 16rem minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.catalog-category__filters {
	position: sticky;
	top: 1rem;
	padding: 0 1.25rem 0 0;
	border: 0;
	background: transparent;
}

.catalog-category__filters > h2 {
	margin-top: 0;
	margin-bottom: 0.9rem;
	font-size: 1.05rem !important;
	line-height: 1.3;
}

.catalog-category__filters h3 {
	margin-top: 0;
	margin-bottom: 0.65rem;
	font-size: 0.9rem !important;
	line-height: 1.3;
}

.catalog-category__filters .wc-block-product-filters__overlay-content {
	gap: 0 !important;
}

.catalog-category__filters .wp-block-woocommerce-product-filter-price,
.catalog-category__filters .wp-block-woocommerce-product-filter-status {
	margin: 0;
	padding: 0.75rem 0;
	border: 0;
}

.catalog-category__filters .wp-block-woocommerce-product-filter-active {
	margin: 0 0 0.4rem;
}

.catalog-category__filters .wc-block-product-filter-removable-chips__items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.catalog-category__filters .wc-block-product-filter-removable-chips__item {
	box-sizing: border-box;
	gap: 0.25rem;
	width: auto;
	min-height: 1.75rem;
	padding: 0.22rem 0.35rem 0.22rem 0.5rem !important;
	border: 0 !important;
	border-radius: 0.45rem;
	background: #f0f2f5;
	font-size: 0.78rem;
	line-height: 1.2;
}

.catalog-category__filters .wc-block-product-filter-removable-chips__label {
	font: inherit;
}

.catalog-category__filters .wc-block-product-filter-removable-chips__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1rem;
	height: 1rem;
	min-height: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #5c6673;
}

.catalog-category__filters .wc-block-product-filter-removable-chips__remove-icon {
	width: 0.8rem;
	height: 0.8rem;
}

.catalog-category__filters .wc-block-product-filter-checkbox-list__item {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.catalog-category__filters .wc-block-product-filter-checkbox-list__label {
	gap: 0.5rem;
	padding: 0.15rem 0;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer;
}

.catalog-category__filters .wc-block-product-filter-checkbox-list__label,
.catalog-category__filters .wc-block-product-filter-checkbox-list__text-wrapper,
.catalog-category__filters .wc-block-product-filter-checkbox-list__count {
	font-size: 0.86rem;
	line-height: 1.35;
}

.catalog-category__filters fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.catalog-category__filters .wc-block-product-filter-checkbox-list__item:has(input[value="outofstock"]) {
	display: none;
}

.catalog-category__filters .wc-block-product-filter-price-slider__content {
	display: grid !important;
	grid-template-areas: "price-slider price-slider" "left-input right-input" !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 0.5rem !important;
}

.catalog-category__filters .wc-block-product-filter-price-slider__range {
	grid-column: 1 / -1;
}

.catalog-category__filters .wc-block-product-filter-price-slider__left,
.catalog-category__filters .wc-block-product-filter-price-slider__right {
	min-width: 0;
	width: 100% !important;
	max-width: none !important;
}

.catalog-category__filters .wc-block-product-filter-price-slider__left input,
.catalog-category__filters .wc-block-product-filter-price-slider__right input {
	box-sizing: border-box;
	width: 100% !important;
	height: 2.125rem;
	min-width: 0;
	max-width: 100% !important;
	min-height: 2.125rem;
	padding: 0.35rem 0.5rem;
	border: 1px solid #c9d0d8;
	border-radius: 0.45rem;
	color: var(--intellekt-ink);
	background: #fff;
	font-family: inherit;
	font-size: 0.8125rem;
	font-style: normal;
	font-weight: 400;
	line-height: 1.2;
}

.catalog-category .wc-block-product-template {
	column-gap: 0.85rem;
	row-gap: 1.5rem;
}

.catalog-category .wc-block-product-template > .wc-block-product {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0.75rem;
	border: 0;
	border-radius: 0.7rem;
	background: #fff;
	box-shadow: none;
}

.catalog-category .wc-block-product-template > .wc-block-product::after {
	position: absolute;
	right: 0.75rem;
	bottom: -0.75rem;
	left: 0.75rem;
	height: 1px;
	background: rgba(22, 25, 29, 0.14);
	content: "";
}

.catalog-category .wc-block-product-template > .wc-block-product:hover {
	background: #f6f7f9;
	box-shadow: none;
	transform: none;
}

.catalog-category .wp-block-woocommerce-product-image {
	margin: 0 0 0.75rem !important;
}

.catalog-category .wc-block-components-product-image img[data-testid="product-image"] {
	object-fit: contain !important;
	border-radius: 0.25rem;
	background: #fff;
}

.woocommerce.single-product span.onsale {
	top: 0.75rem;
	right: auto;
	left: 0.75rem;
	z-index: 2;
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0.48rem 1.15rem 0.48rem 0.72rem;
	border: 0;
	border-radius: 0.2rem 0 0 0.2rem;
	background: var(--intellekt-danger) !important;
	clip-path: polygon(0 0, calc(100% - 0.55rem) 0, 100% 50%, calc(100% - 0.55rem) 100%, 0 100%);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.woocommerce.single-product .woocommerce-product-gallery {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.65rem;
	align-items: start;
}

.woocommerce.single-product .woocommerce-product-gallery__image img {
	border-radius: 0.25rem;
	cursor: zoom-in;
}

.single-product .pswp__bg {
	background: #fff !important;
}

.single-product .pswp__top-bar,
.single-product .pswp__caption {
	background: rgba(255, 255, 255, 0.92) !important;
}

.single-product .pswp__button {
	filter: invert(1);
}

.single-product .pswp__counter,
.single-product .pswp__caption__center {
	color: var(--intellekt-ink);
}

.woocommerce.single-product .woocommerce-product-gallery .flex-viewport {
	grid-row: 1;
	grid-column: 1;
	min-width: 0;
	width: 100% !important;
}

.woocommerce.single-product .flex-control-thumbs {
	display: flex;
	grid-row: 2;
	grid-column: 1;
	gap: 0.75rem;
	box-sizing: border-box;
	width: 100%;
	margin: 0 !important;
	padding: 0.125rem 0.125rem 0.5rem;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	list-style: none;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.woocommerce.single-product .flex-control-thumbs li {
	box-sizing: border-box;
	flex: 0 0 5rem;
	width: 5rem !important;
	height: 5rem;
	margin: 0 !important;
	float: none !important;
	overflow: hidden;
	border: 1px solid var(--intellekt-line);
	border-radius: 0.25rem;
	background: #fff;
	cursor: pointer;
	scroll-snap-align: start;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

.woocommerce.single-product .flex-control-thumbs img {
	box-sizing: border-box;
	display: block;
	width: 100% !important;
	height: 100% !important;
	padding: 0.25rem;
	object-fit: contain;
	border-radius: 0.25rem;
	opacity: 0.72;
	transition: opacity 140ms ease;
}

.woocommerce.single-product .flex-control-thumbs li:hover {
	border-color: #9ba6b2;
}

.woocommerce.single-product .flex-control-thumbs li:hover img,
.woocommerce.single-product .flex-control-thumbs img.flex-active {
	opacity: 1;
}

.woocommerce.single-product .flex-control-thumbs li:has(img.flex-active) {
	border-color: var(--intellekt-accent);
	box-shadow: 0 0 0 1px var(--intellekt-accent);
}

@media (min-width: 782px) {
	.woocommerce.single-product .woocommerce-product-gallery {
		grid-template-columns: 6rem minmax(0, 1fr);
		grid-template-rows: auto;
		column-gap: 0.75rem;
		row-gap: 0;
	}

	.woocommerce.single-product .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
		grid-row: 1;
		grid-column: 1 / -1;
		min-width: 0;
		width: 100% !important;
	}

	.woocommerce.single-product .woocommerce-product-gallery .flex-viewport {
		grid-row: 1;
		grid-column: 2;
	}

	.woocommerce.single-product .flex-control-thumbs {
		grid-row: 1;
		grid-column: 1;
		flex-direction: column;
		width: 6rem;
		max-height: min(26.5rem, 35vw);
		padding: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		scrollbar-gutter: stable;
		scroll-snap-type: y proximity;
	}

	.woocommerce.single-product span.onsale {
		left: 6.75rem;
	}
}

.single-product .wp-block-woocommerce-product-collection .wc-block-components-product-image img[data-testid="product-image"] {
	object-fit: contain !important;
	background: #fff;
}

.catalog-category .wp-block-post-title {
	min-height: 2.7em;
	margin: 0 0 0.4rem;
	font-size: 0.875rem !important;
	line-height: 1.35;
}

.catalog-category .wp-block-woocommerce-product-price {
	margin: 0 0 0.8rem;
}

.catalog-category .wp-block-woocommerce-product-button {
	align-items: flex-start;
	justify-content: flex-start;
	margin: auto 0 0 !important;
}

.catalog-category .wp-block-woocommerce-product-button .wp-block-button__link {
	min-height: 2.5rem;
	margin-bottom: 0 !important;
	padding: 0.65rem 1rem !important;
	border-radius: 0.55rem;
	color: var(--intellekt-ink);
	background: var(--intellekt-commerce);
}

.catalog-category .wp-block-woocommerce-product-button .wp-block-button__link:hover {
	color: var(--intellekt-ink);
	background: var(--intellekt-commerce-hover);
}

.catalog-category .woocommerce-ordering {
	margin: 0 !important;
}

.catalog-category .woocommerce-ordering .orderby {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	height: 2.25rem;
	min-height: 2.25rem;
	max-width: 100%;
	padding: 0.4rem 2rem 0.4rem 0.7rem;
	border: 1px solid var(--intellekt-line);
	border-radius: 0.45rem;
	color: var(--intellekt-ink);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2316191d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 0.9rem;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.2;
	cursor: pointer;
}

.catalog-category .woocommerce-ordering .orderby:hover {
	border-color: #9ba6b2;
}

.catalog-category .woocommerce-ordering .orderby:focus-visible {
	border-color: var(--intellekt-accent);
}

.checkout-page {
	box-sizing: border-box;
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

.checkout-page > .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 1.5rem;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	line-height: 1.12;
}

.checkout-page .wp-block-woocommerce-checkout {
	margin-top: 0;
}

.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-cart .add_to_cart_button,
.woocommerce-cart .wc-block-components-totals-coupon__button {
	box-sizing: border-box;
	min-height: 2.5rem;
	padding: 0.65rem 1rem !important;
	border: 0 !important;
	border-radius: 0.55rem !important;
	color: var(--intellekt-ink) !important;
	background: var(--intellekt-commerce) !important;
	font-family: inherit;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-cart .add_to_cart_button:hover,
.woocommerce-cart .wc-block-components-totals-coupon__button:hover {
	color: var(--intellekt-ink) !important;
	background: var(--intellekt-commerce-hover) !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.7rem 1.1rem !important;
	border: 0 !important;
	border-radius: 0.55rem !important;
	color: var(--intellekt-ink) !important;
	background: var(--intellekt-commerce) !important;
	font-family: inherit;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.woocommerce-account .woocommerce-button {
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.7rem 1.1rem !important;
	border: 0 !important;
	border-radius: 0.55rem !important;
	color: var(--intellekt-ink) !important;
	background: var(--intellekt-commerce) !important;
	font-family: inherit;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	transition: background-color 160ms ease, color 160ms ease;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.woocommerce-account .woocommerce-button:hover {
	color: var(--intellekt-ink) !important;
	background: var(--intellekt-commerce-hover) !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-combobox-control input,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-textarea {
	box-sizing: border-box;
	min-height: 2.75rem;
	border: 1px solid var(--intellekt-line) !important;
	border-radius: 0.45rem !important;
	color: var(--intellekt-ink);
	background-color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 400;
}

.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-combobox-control input:focus,
.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-textarea:focus,
.woocommerce-account .woocommerce form .form-row .woocommerce-Input.input-text:focus {
	border-color: var(--intellekt-accent) !important;
	box-shadow: 0 0 0 1px var(--intellekt-accent);
	outline: 0;
}

.woocommerce-account .woocommerce {
	max-width: 46rem;
}

.woocommerce-account form.woocommerce-form {
	box-sizing: border-box;
	width: 100%;
	max-width: 46rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	border: 1px solid var(--intellekt-line);
	border-radius: 0.75rem;
	background: #fff;
}

.woocommerce-account .woocommerce form .form-row .woocommerce-Input.input-text {
	box-sizing: border-box;
	min-height: 2.75rem;
	padding: 0.65rem 0.8rem;
	border: 1px solid var(--intellekt-line);
	border-radius: 0.45rem;
	color: var(--intellekt-ink);
	background: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 400;
}

.woocommerce-account form .form-row label,
.woocommerce-account .woocommerce-form__label {
	font-size: 0.9rem;
	line-height: 1.35;
}

.single-product main.wp-block-group {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

.single-product main > .wp-block-columns {
	gap: clamp(1.5rem, 3vw, 3rem);
	margin-top: 1.25rem;
}

.single-product .wp-block-post-title {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.5rem;
	line-height: 1.2;
}

.single-product .wp-block-woocommerce-product-price .has-large-font-size {
	font-size: 1.35rem !important;
	line-height: 1.25;
}

.single-product .wp-block-post-excerpt__excerpt {
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.55;
}

.single-product .wp-block-add-to-cart-form .stock {
	margin: 0.75rem 0;
	font-size: 0.9rem;
	line-height: 1.35;
}

.single-product .single_add_to_cart_button {
	width: auto;
	min-height: 0;
	padding: 0.72rem 1.2rem !important;
	border-radius: 0.65rem !important;
	font-size: 0.95rem !important;
	line-height: 1.2;
}

.single-product .wp-block-woocommerce-product-meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.6rem;
	margin-top: 1.1rem;
	font-size: 0.85rem;
	line-height: 1.4;
}

.single-product .product-meta__primary {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	gap: 0.55rem;
}

.single-product .product-meta__primary > *,
.single-product .taxonomy-product_brand {
	margin: 0;
}

.single-product .wc-block-components-product-sku {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	column-gap: 0.4rem;
	align-items: start;
	min-width: 0;
	width: 100%;
}

.single-product .wc-block-components-product-sku .sku {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.single-product .wp-block-intellekt-product-identity {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	min-width: 0;
	gap: 0.55rem;
}

.single-product .product-identity__value {
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.single-product .taxonomy-product_cat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	min-width: 0;
	width: 100%;
}

.single-product .taxonomy-product_cat .wp-block-post-terms__prefix {
	margin-bottom: 0.05rem;
	font-weight: 700;
}

.single-product .taxonomy-product_cat .wp-block-post-terms__separator {
	display: none;
}

.single-product .taxonomy-product_cat a {
	position: relative;
	box-sizing: border-box;
	display: block;
	width: 100%;
	padding-left: 1rem;
	overflow-wrap: anywhere;
	white-space: normal;
}

.single-product .taxonomy-product_cat a::before {
	position: absolute;
	left: 0.15rem;
	content: "•";
}

.single-product .wp-block-woocommerce-product-details {
	margin-top: 2.5rem;
	font-size: 1rem;
	line-height: 1.55;
}

.single-product .wp-block-woocommerce-product-details .wc-tabs {
	margin-bottom: 1.5rem;
}

.single-product .wp-block-woocommerce-product-details .wc-tabs li {
	font-size: 0.95rem;
	line-height: 1.3;
}

.single-product .woocommerce-Tabs-panel {
	max-width: 64rem;
}

.single-product .woocommerce-Tabs-panel > h2 {
	margin-top: 1.5rem;
	margin-bottom: 0.9rem;
	font-size: 1.5rem;
	line-height: 1.2;
}

.single-product .woocommerce-Tabs-panel > p {
	margin-top: 0;
	margin-bottom: 0.9rem;
	font-size: 1rem;
	line-height: 1.55;
}

.single-product .shop_attributes {
	width: 100%;
	max-width: 64rem;
	border-collapse: collapse;
}

.single-product .shop_attributes tr {
	border-bottom: 1px solid var(--intellekt-line);
}

.single-product .shop_attributes th,
.single-product .shop_attributes td {
	padding: 0.65rem 0.75rem;
	font-size: 0.95rem;
	line-height: 1.45;
	vertical-align: top;
}

.single-product .shop_attributes th {
	width: 42%;
	font-weight: 650;
	text-align: left;
}

.single-product .shop_attributes td p {
	margin: 0;
	font: inherit;
}

/* Tables of the description (recording modes of a camera) scroll sideways inside their own box: the HTML comes from
   Hub without classes, so the table itself is the scroll container; the page never scrolls sideways. Text keeps the
   reading width of the panel, a table may use the whole content width before it scrolls. */
.single-product .woocommerce-Tabs-panel--description {
	max-width: none;
}

.single-product .woocommerce-Tabs-panel--description > :not(table) {
	max-width: 64rem;
}

.single-product .woocommerce-Tabs-panel--description table {
	display: block;
	max-width: 100%;
	margin: 0 0 1.5rem;
	overflow-x: auto;
	border-collapse: collapse;
}

.single-product .woocommerce-Tabs-panel--description tr {
	border-bottom: 1px solid var(--intellekt-line);
}

.single-product .woocommerce-Tabs-panel--description thead tr {
	background: var(--intellekt-muted);
}

.single-product .woocommerce-Tabs-panel--description th,
.single-product .woocommerce-Tabs-panel--description td {
	padding: 0.5rem;
	font-size: 0.9rem;
	line-height: 1.4;
	text-align: left;
	vertical-align: top;
}

.single-product .woocommerce-Tabs-panel--description th {
	font-weight: 650;
}

.single-product [data-collection="woocommerce/product-collection/related"] > .wp-block-heading {
	font-size: 1.5rem;
	line-height: 1.2;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-product {
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-direction: column;
	height: auto;
	padding: 0.75rem;
	border: 0;
	border-radius: 0.7rem;
	background: #fff;
	box-shadow: none;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-product::after {
	position: absolute;
	right: 0.75rem;
	bottom: -0.75rem;
	left: 0.75rem;
	height: 1px;
	background: rgba(22, 25, 29, 0.14);
	content: "";
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-product:hover {
	background: #f6f7f9;
	box-shadow: none;
	transform: none;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-image {
	margin: 0 0 0.75rem !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image {
	aspect-ratio: 1;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image img[data-testid="product-image"] {
	width: 100%;
	height: 100%;
	object-fit: contain !important;
	border-radius: 0.25rem;
	background: #fff;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-post-title {
	min-height: 2.7em;
	margin: 0 0 0.4rem !important;
	font-size: 0.875rem !important;
	line-height: 1.35;
	text-align: start !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-price {
	margin: 0 0 1rem !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price {
	text-align: start !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-button {
	align-items: flex-start;
	justify-content: flex-start;
	margin: auto 0 0 !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-button .wp-block-button__link {
	min-height: 2.5rem;
	margin-bottom: 0 !important;
	padding: 0.65rem 1rem !important;
	border-radius: 0.55rem;
	color: #16191d !important;
	background: #ffd814 !important;
}

.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-button .wp-block-button__link:hover {
	color: #16191d !important;
	background: #f7ca00 !important;
}

@media (min-width: 782px) {
	.woocommerce.single-product .shop_attributes {
		table-layout: fixed;
	}

	.woocommerce.single-product .shop_attributes th {
		width: 30%;
	}
}

.storefront-news-query,
.news-index__query {
	width: 100%;
	max-width: none;
}

.storefront-news-grid,
.news-index__grid {
	gap: 1rem;
}

.storefront-news-grid > .wp-block-post,
.news-index__grid > .wp-block-post {
	display: flex;
}

.news-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	min-height: 100%;
	padding: 1.25rem;
	border: 1px solid var(--intellekt-line);
	background: #fff;
}

.news-card .wp-block-post-date {
	margin: 0 0 0.65rem;
	color: #68716b;
	font-size: 0.8rem;
}

.news-card .wp-block-post-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.1rem, 1.6vw, 1.35rem);
	line-height: 1.25;
}

.news-card .wp-block-post-excerpt {
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: 0;
	font-size: 0.93rem;
	line-height: 1.55;
}

.news-card .wp-block-post-excerpt__more-text {
	margin-top: auto;
	padding-top: 1rem;
}

.news-index h1 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
}

.news-index__intro {
	max-width: 46rem;
	margin-top: 0;
	margin-bottom: 2rem;
	color: #4b554e;
	font-size: 1rem;
}

.site-footer {
	margin-block-start: 0;
	padding: 3rem var(--intellekt-page-gutter) 1.5rem;
	border-top: 0;
	color: #fff;
	background: var(--intellekt-accent);
}

.site-footer__inner {
	box-sizing: border-box;
	width: min(100%, var(--intellekt-content-wide));
	margin: 0 auto;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(15rem, 1.35fr) repeat(3, minmax(10rem, 1fr));
	gap: 2rem clamp(1.5rem, 3vw, 3rem);
}

.site-footer__about,
.site-footer__section {
	min-width: 0;
}

.site-footer__section {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.875rem;
	font-style: normal;
	line-height: 1.45;
}

.site-footer__heading {
	margin: 0 0 0.25rem;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 750;
	line-height: 1.3;
}

.site-footer__links {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	margin: 0;
}

.site-footer__section a,
.site-footer__links a {
	color: #fff;
	text-decoration: none;
}

.site-footer__section a:hover,
.site-footer__links a:hover {
	color: #fff;
	text-decoration: underline;
}

.site-footer__contacts span,
.site-footer__contacts small,
.site-footer__disclosure {
	color: rgba(255, 255, 255, 0.78);
}

.site-footer__contacts small {
	font-size: 0.75rem;
}

.site-footer__demo-label {
	display: inline-flex;
	margin: 1rem 0 0;
	padding: 0.35rem 0.65rem;
	border-radius: 0.35rem;
	color: var(--intellekt-ink);
	background: var(--intellekt-commerce);
	font-size: 0.75rem;
	font-weight: 750;
	line-height: 1.25;
}

.site-footer__disclosure {
	max-width: 26rem;
	margin: 0.75rem 0 0;
	font-size: 0.78rem;
	line-height: 1.45;
}

.site-footer__note {
	margin-top: 0.35rem;
	margin-bottom: 0;
	font-size: 0.9rem;
}

.site-footer__brand,
.site-footer__note,
.site-footer .wp-block-navigation-item__content {
	color: #fff;
}

.site-footer__bottom {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-top: 2.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.22);
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.75rem;
	line-height: 1.45;
}

.site-footer__bottom p {
	max-width: 38rem;
	margin: 0;
}

.legal-page {
	box-sizing: border-box;
	max-width: 56rem;
	margin: 0 auto;
	padding: clamp(1.5rem, 4vw, 3rem) var(--intellekt-page-gutter) 4rem;
}

.legal-page > * + * {
	margin-block-start: 1rem;
}

.legal-page h2 {
	margin-top: 2rem;
	font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
	font-size: 0.95rem;
	line-height: 1.65;
}

.legal-page__demo {
	padding: 1rem 1.1rem;
	border-left: 0.25rem solid var(--intellekt-commerce-hover);
	border-radius: 0.25rem;
	background: #fff8d7;
}

@media (max-width: 960px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 0;
	}

	.site-footer__inner {
		padding: 0;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.site-footer__bottom {
		flex-direction: column;
		margin-top: 1.75rem;
	}

	.site-footer {
		padding-top: 2.25rem;
		padding-bottom: 1.25rem;
	}

	.site-header__top,
	.site-header__menu-row,
	.site-header__commerce,
	.site-header__fallback {
		gap: 0.75rem 1rem;
	}

	.site-header__top {
		align-items: flex-start;
		flex-direction: column;
		min-height: 0;
		padding-top: 0.875rem;
		padding-bottom: 0.75rem;
	}

	.site-header__contacts {
		justify-content: flex-start;
		width: 100%;
		font-size: 0.76rem;
	}

	.site-header__menu-row {
		min-height: 0;
		padding-top: 0.75rem;
		padding-bottom: 0.875rem;
	}

	.site-header__menu-row .site-header__commerce {
		justify-content: flex-start;
		margin-left: 0 !important;
	}

	.storefront-hero h1 {
		max-width: none;
	}

	.storefront-section--categories .wc-block-product-categories-list--depth-0 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.storefront-news-grid,
	.news-index__grid {
		grid-template-columns: 1fr;
	}

	.catalog-root > .wp-block-woocommerce-product-categories > .wc-block-product-categories-list--depth-0 {
		columns: 1;
		column-gap: 0;
	}

	.catalog-category__layout {
		grid-template-columns: 1fr;
	}

	.catalog-category__filters {
		position: static;
	}

	.wc-block-product,
	.wc-block-product-category,
	.news-card {
		padding: 0.9rem;
	}
}

@media (min-width: 721px) and (max-width: 1080px) {
	.storefront-directions {
		flex-wrap: wrap !important;
	}

	.storefront-directions > .wp-block-column {
		box-sizing: border-box !important;
		flex-basis: calc(50% - 0.5rem) !important;
		width: calc(50% - 0.5rem) !important;
		max-width: calc(50% - 0.5rem) !important;
	}

	.storefront-section--categories .wc-block-product-categories-list--depth-0 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.catalog-root > .wp-block-woocommerce-product-categories > .wc-block-product-categories-list--depth-0 {
		columns: 2;
		column-gap: 2rem;
	}
}

/* Keep the content hierarchy stable regardless of WordPress block presets. */
main h1 {
	font-size: 1.75rem !important;
	line-height: 1.2 !important;
}

main h2 {
	font-size: 1.375rem !important;
	line-height: 1.25 !important;
}

main h3 {
	font-size: 1.125rem !important;
	line-height: 1.3 !important;
}

main h4 {
	font-size: 1.0625rem !important;
	line-height: 1.35 !important;
}

main h5 {
	font-size: 1rem !important;
	line-height: 1.4 !important;
}

main h6 {
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
}

.single-product h1.wp-block-post-title {
	font-size: 1.5rem !important;
	line-height: 1.2 !important;
}

.single-product .woocommerce-Tabs-panel > h2,
.single-product [data-collection="woocommerce/product-collection/related"] > .wp-block-heading {
	font-size: 1.25rem !important;
	line-height: 1.25 !important;
}

.wc-block-product .wp-block-post-title {
	font-size: 0.875rem !important;
	line-height: 1.35 !important;
}

.catalog-category__filters > h2 {
	font-size: 1rem !important;
	line-height: 1.3 !important;
}

.catalog-category__filters h3 {
	font-size: 0.875rem !important;
	line-height: 1.3 !important;
}

.news-card .wp-block-post-title {
	font-size: 1.125rem !important;
	line-height: 1.3 !important;
}

@media (min-width: 782px) {
	main h1 {
		font-size: 2rem !important;
	}

	main h2 {
		font-size: 1.5rem !important;
	}

	main h3 {
		font-size: 1.25rem !important;
	}

	main h4 {
		font-size: 1.125rem !important;
	}

	.news-card .wp-block-post-title {
		font-size: 1.25rem !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
