@font-face {
	font-family: "Assistant";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/assistant-latin.woff2") format("woff2");
}

:root {
	--hec-background: #fff;
	--hec-text: #121212;
	--hec-muted-text: #666;
	--hec-border: #e8e8e8;
	--hec-accent: #3459c7;
	--hec-sale-badge: #3459c7;
	--hec-button-background: #121212;
	--hec-button-text: #fff;
	--hec-container-width: 1100px;
	--hec-header-height: 145px;
	--hec-radius: 0;
	--hec-focus: #0b57d0;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--hec-background);
	color: rgba(18, 18, 18, .75);
	font-family: Assistant, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.8;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--hec-text); }
button, input, select, textarea { font: inherit; }

:focus-visible {
	outline: 2px solid var(--hec-focus);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	left: 1rem;
	top: 1rem;
	padding: .75rem 1rem;
	background: #fff;
	z-index: 9999;
}

.hec-container {
	width: min(calc(100% - 48px), var(--hec-container-width));
	margin-inline: auto;
}

.hec-announcement {
	min-height: 43px;
	display: grid;
	place-items: center;
	border-bottom: 1px solid var(--hec-border);
	color: var(--hec-text);
	letter-spacing: .08em;
	text-align: center;
}

.hec-announcement p { margin: 6px 16px; }

.hec-site-header { border-bottom: 1px solid var(--hec-border); background: #fff; }

.hec-header-inner {
	width: min(calc(100% - 80px), 1200px);
	min-height: var(--hec-header-height);
	margin-inline: auto;
	display: grid;
	grid-template-columns: 90px 1fr auto;
	align-items: center;
	column-gap: 48px;
	padding: 20px 50px;
}

.hec-brand, .custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: 90px; height: 90px; object-fit: contain; }
.hec-site-name { display: block; line-height: 1.2; font-weight: 600; text-decoration: none; }

.hec-menu, .hec-footer-menu, .hec-footer-legal ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hec-menu { display: flex; align-items: center; gap: 34px; }
.hec-menu a { color: rgba(18, 18, 18, .75); text-decoration: none; }
.hec-menu a:hover, .hec-menu a:focus-visible { color: var(--hec-text); text-decoration: underline; }

.hec-header-actions { display: flex; align-items: center; gap: 14px; }
.hec-icon-button, .hec-mobile-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 8px;
	border: 0;
	background: transparent;
	color: var(--hec-text);
	cursor: pointer;
}
.hec-icon-button svg, .hec-mobile-toggle svg, .hec-social-links svg {
	width: 25px;
	height: 25px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hec-cart-count {
	position: absolute;
	right: 0;
	top: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--hec-accent);
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
}
.hec-mobile-toggle { display: none; }
.hec-icon-close { display: none; }
.hec-mobile-toggle[aria-expanded="true"] .hec-icon-open { display: none; }
.hec-mobile-toggle[aria-expanded="true"] .hec-icon-close { display: block; }

.hec-header-search { border-top: 1px solid var(--hec-border); padding: 16px 0; }
.hec-header-search[hidden] { display: none; }
.woocommerce-product-search { display: flex; max-width: 560px; margin-left: auto; }
.woocommerce-product-search input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid #999; }
.woocommerce-product-search button { padding: 10px 20px; border: 1px solid #121212; background: #121212; color: #fff; }

.hec-storefront { padding: 68px 0 90px; }
.hec-catalog h1, .hec-content h1, .woocommerce-products-header__title {
	margin: 0 0 36px;
	color: var(--hec-text);
	font-size: clamp(2rem, 3vw, 2.1rem);
	font-weight: 400;
	line-height: 1.2;
}

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 8px;
	margin: 0;
	padding: 0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}
.woocommerce ul.products li.product a { text-decoration: none; }
.hec-card-image { position: relative; display: block; font-size: 0; line-height: 0; }
.woocommerce ul.products li.product a img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	margin: 0 0 18px;
	background: #f5f5f5;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	margin: 0 0 6px;
	color: var(--hec-text);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
}
.woocommerce ul.products li.product .price {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 12px;
	margin: 0;
	color: var(--hec-text);
	font-size: 16px;
	font-weight: 400;
}
.woocommerce ul.products li.product .price del { color: var(--hec-muted-text); opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; font-weight: 400; }
.woocommerce span.onsale {
	min-width: 0;
	min-height: 0;
	left: 10px;
	top: 10px;
	bottom: auto;
	padding: 3px 16px;
	border-radius: 18px;
	background: var(--hec-sale-badge);
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 24px;
}
.woocommerce ul.products li.product .hec-card-image span.onsale { top: auto; bottom: 28px; }
.woocommerce ul.products .button { display: none !important; }

.hec-commerce, .hec-content { padding-block: 48px 90px; }
.single-product .hec-commerce { padding-top: 48px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr); gap: 40px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images { text-align: center; }
.woocommerce div.product div.images img { width: 100%; max-width: 548px; aspect-ratio: 1; object-fit: cover; margin-inline: auto; }
.single-product .woocommerce-product-gallery__trigger { display: none !important; }
.single-product .hec-static-product-image { display: block; cursor: default; }
.single-product .product_meta { display: none; }
.woocommerce div.product .product_title {
	margin: 0 0 22px;
	color: var(--hec-text);
	font-size: clamp(2.4rem, 4.4vw, 3.5rem);
	font-weight: 400;
	line-height: 1.2;
}
.woocommerce div.product p.price { color: var(--hec-text); font-size: 18px; }
.woocommerce div.product p.price ins { text-decoration: none; font-weight: 400; }
.woocommerce div.product form.cart { display: grid; gap: 12px; margin: 28px 0 0; }
.woocommerce div.product form.cart .quantity { float: none; width: 142px; margin: 0; justify-self: start; }
.woocommerce .quantity .qty { width: 142px; min-height: 47px; border: 1px solid #999; }
.woocommerce div.product form.cart .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	min-height: 47px;
	padding: 12px 30px;
	border: 1px solid var(--hec-text);
	border-radius: var(--hec-radius);
	background: #fff;
	color: var(--hec-text);
	font-weight: 400;
	line-height: 21px;
}
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; background: #fff; color: #121212; }
.woocommerce div.product form.cart .hec-buy-now {
	width: 100%;
	background: var(--hec-button-background);
	color: var(--hec-button-text);
}
.woocommerce div.product form.cart .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #292929; color: #fff; }
.hec-secure-payment {
	display: grid;
	gap: 12px;
	margin: 52px 0 24px;
	padding: 22px 0;
	border-block: 1px solid var(--hec-border);
	color: var(--hec-text);
}
.hec-secure-payment__heading { display: flex; align-items: center; gap: 9px; font-size: 18px; }
.hec-security-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.hec-payment-label { color: var(--hec-muted-text); font-size: 14px; }
.hec-payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.hec-payment-card { display: block; width: 54px; height: 34px; }
.hec-payment-card svg { display: block; width: 54px; height: 34px; }
.hec-payment-card--visa rect { fill: #fff; stroke: #d8d8d8; }
.hec-payment-card--visa text { fill: #1434cb; font: italic 700 15px Arial, sans-serif; }
.hec-payment-card--mastercard rect { fill: #fff; stroke: #d8d8d8; }
.hec-payment-card--mastercard circle:first-of-type { fill: #eb001b; }
.hec-payment-card--mastercard circle:last-of-type { fill: #f79e1b; fill-opacity: .88; }
.hec-payment-card--amex rect { fill: #2f79bd; }
.hec-payment-card--amex text { fill: #fff; font: 700 7px Arial, sans-serif; letter-spacing: .2px; }
.hec-payment-card--diners rect { fill: #fff; stroke: #d8d8d8; }
.hec-payment-card--diners circle { fill: #fff; stroke: #0079be; stroke-width: 2; }
.hec-payment-card--diners path { fill: none; stroke: #0079be; stroke-width: 1.7; }
.hec-payment-card--diners text { fill: #0079be; font: 700 5px Arial, sans-serif; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { grid-column: 1 / -1; }
.woocommerce div.product .related { margin-top: 40px; }
.woocommerce div.product .related > h2 { color: var(--hec-text); font-size: 30px; font-weight: 400; }

.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--hec-accent); background: #f7f7f7; }
.woocommerce-error { border-top-color: #b42318; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 47px;
	padding: 10px 12px;
	border: 1px solid #999;
	border-radius: 0;
}
.woocommerce table.shop_table { border-radius: 0; }
.woocommerce-checkout #payment { background: #f6f6f6; border-radius: 0; }

.hec-site-footer { border-top: 1px solid var(--hec-border); color: rgba(18, 18, 18, .75); }
.hec-footer-main {
	min-height: 300px;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 40px;
	padding-block: 50px;
}
.hec-footer-main h2 { margin: 0 0 20px; color: var(--hec-text); font-size: 28px; font-weight: 400; }
.hec-footer-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hec-footer-menu a { text-decoration: none; }
.hec-social-links { display: flex; gap: 16px; }
.hec-social-links a { display: grid; place-items: center; width: 44px; height: 44px; }
.hec-footer-legal { border-top: 1px solid var(--hec-border); padding: 26px 0; font-size: 13px; letter-spacing: .04em; }
.hec-footer-legal .hec-container { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.hec-footer-legal p { margin: 0; }
.hec-footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hec-footer-legal li + li::before { content: "·"; margin-right: 14px; }

@media (max-width: 1024px) {
	.hec-header-inner { width: min(calc(100% - 32px), 960px); padding-inline: 20px; column-gap: 28px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 18px; }
	.woocommerce div.product { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); }
}

@media (max-width: 767px) {
	:root { --hec-header-height: 92px; }
	.hec-container { width: min(calc(100% - 32px), var(--hec-container-width)); }
	.hec-announcement { font-size: 14px; letter-spacing: .04em; }
	.hec-header-inner {
		width: 100%;
		min-height: var(--hec-header-height);
		grid-template-columns: 44px 1fr auto;
		gap: 8px;
		padding: 12px 16px;
	}
	.hec-mobile-toggle { display: grid; }
	.hec-brand { justify-self: center; }
	.custom-logo { width: 68px; height: 68px; }
	.hec-primary-navigation {
		display: none;
		position: absolute;
		z-index: 50;
		left: 0;
		right: 0;
		top: 136px;
		padding: 20px 24px 28px;
		border-bottom: 1px solid var(--hec-border);
		background: #fff;
	}
	.admin-bar .hec-primary-navigation { top: 182px; }
	.hec-primary-navigation.is-open { display: block; }
	.hec-menu { align-items: stretch; flex-direction: column; gap: 0; }
	.hec-menu a { display: block; padding: 10px 4px; }
	.hec-header-actions { gap: 0; }
	.hec-header-actions .hec-icon-button { width: 40px; height: 44px; padding: 8px; }
	.hec-header-actions .hec-icon-button:nth-child(2) { display: none; }
	.hec-storefront, .hec-content, .hec-commerce { padding-block: 42px 64px; }
	.hec-catalog h1 { margin-bottom: 28px; }
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
	.woocommerce span.onsale { left: 8px; padding-inline: 12px; font-size: 12px; }
	.woocommerce div.product { display: block; }
	.woocommerce div.product div.summary { margin-top: 28px; }
	.woocommerce div.product .product_title { font-size: 38px; }
	.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related { margin-top: 42px; }
	.hec-footer-main { min-height: 260px; grid-template-columns: 1fr; align-items: start; }
	.hec-footer-legal .hec-container { display: block; }
	.hec-footer-legal ul { margin-top: 12px; }
}

@media (max-width: 374px) {
	.woocommerce ul.products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
