/*
Theme Name: MHS Theme
Theme URI: https://stampile-online.cloud
Author: Codex
Description: Configurable WooCommerce theme with MHS-style header, homepage sections and footer.
Version: 0.1.3
Update URI: https://azsolutions.ro/mhs-theme
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: mhs-theme
*/

:root {
	--mhs-page: #f7fbf5;
	--mhs-surface: #ffffff;
	--mhs-surface-soft: #edf8ec;
	--mhs-ink: #172017;
	--mhs-muted: #667262;
	--mhs-line: #dcebd7;
	--mhs-green: #46a35f;
	--mhs-green-dark: #2f7d49;
	--mhs-green-soft: #e6f6e8;
	--mhs-amber: #f2be54;
	--mhs-blue: #3f8eb8;
	--mhs-red: #c95b5b;
	--mhs-radius: 8px;
	--mhs-shadow: 0 12px 30px rgba(18, 35, 24, 0.1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--mhs-page);
	color: var(--mhs-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
}

body.drawer-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--mhs-green);
}

img,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

.mhs-shell {
	margin: 0 auto;
	max-width: 1440px;
	padding: 0 24px;
}

.mhs-header {
	background: var(--mhs-surface);
	border-bottom: 1px solid var(--mhs-line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.mhs-topbar {
	background: var(--mhs-green-dark);
	color: #f5fbf3;
	font-size: 13px;
}

.mhs-topbar-inner {
	align-items: center;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	min-height: 34px;
}

.mhs-top-note,
.mhs-top-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.mhs-top-links a {
	color: #f5fbf3;
	opacity: 0.9;
}

.mhs-top-links a:hover {
	color: #ffffff;
	opacity: 1;
}

.mhs-brand-row {
	align-items: center;
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(230px, 1fr) minmax(260px, auto);
	min-height: 82px;
}

.mhs-brand {
	align-items: center;
	display: inline-flex;
	gap: 12px;
	min-width: 0;
}

.mhs-brand-logo {
	align-items: center;
	background: var(--mhs-green-dark);
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	font-size: 18px;
	font-weight: 900;
	height: 52px;
	justify-content: center;
	overflow: hidden;
	width: 58px;
}

.mhs-brand-logo img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.mhs-brand-name {
	display: block;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.05;
}

.mhs-brand-slogan {
	color: var(--mhs-muted);
	display: block;
	font-size: 13px;
	margin-top: 4px;
}

.mhs-support {
	align-items: center;
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	display: flex;
	gap: 12px;
	justify-self: end;
	min-width: 250px;
	padding: 12px 14px;
}

.mhs-support-icon,
.mhs-benefit-icon,
.mhs-nav-icon,
.mhs-footer-icon {
	align-items: center;
	background: var(--mhs-green-soft);
	border-radius: 8px;
	color: var(--mhs-green-dark);
	display: inline-flex;
	flex: 0 0 auto;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.mhs-support-icon svg,
.mhs-benefit-icon svg,
.mhs-nav-icon svg,
.mhs-footer-icon svg {
	height: 24px;
	width: 24px;
}

.mhs-support-label {
	color: var(--mhs-muted);
	display: block;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.mhs-support strong,
.mhs-support a {
	display: block;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.25;
}

.mhs-nav-row {
	background: var(--mhs-green);
	color: #ffffff;
}

.mhs-nav-row-inner {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: 220px minmax(280px, 1fr) auto;
	min-height: 58px;
}

.mhs-category-toggle,
.mhs-header-action,
.mhs-search-button,
.mhs-slider-button,
.mhs-mobile-close {
	align-items: center;
	border: 0;
	border-radius: var(--mhs-radius);
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
}

.mhs-category-toggle {
	background: var(--mhs-green-dark);
	color: #ffffff;
	gap: 10px;
	min-height: 44px;
	padding: 0 14px;
	width: 100%;
}

.mhs-search-form {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0;
	position: relative;
}

.mhs-search-form input[type="search"] {
	background: #ffffff;
	border: 0;
	border-radius: var(--mhs-radius);
	color: var(--mhs-ink);
	min-height: 44px;
	padding: 0 14px;
	width: 100%;
}

.mhs-search-button {
	background: var(--mhs-amber);
	color: var(--mhs-ink);
	min-height: 44px;
	padding: 0 18px;
}

.mhs-search-results {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	color: var(--mhs-ink);
	left: 0;
	max-height: min(420px, 70vh);
	overflow: auto;
	padding: 8px;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 70;
}

.mhs-search-result {
	align-items: center;
	border-radius: var(--mhs-radius);
	display: grid;
	gap: 10px;
	grid-template-columns: 54px minmax(0, 1fr);
	padding: 8px;
}

.mhs-search-result:hover {
	background: var(--mhs-surface-soft);
}

.mhs-search-result img {
	aspect-ratio: 1;
	background: #ffffff;
	border: 1px solid var(--mhs-line);
	border-radius: 6px;
	object-fit: contain;
	padding: 4px;
	width: 54px;
}

.mhs-search-result-body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.mhs-search-result-body strong,
.mhs-search-result-body span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mhs-search-result-body span {
	color: var(--mhs-muted);
	font-size: 12px;
}

.mhs-header-actions {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: flex-end;
}

.mhs-mobile-home {
	display: none;
}

.mhs-header-action {
	background: rgba(255, 255, 255, 0.13);
	color: #ffffff;
	gap: 8px;
	min-height: 44px;
	padding: 0 13px;
}

.mhs-header-action strong {
	background: #ffffff;
	border-radius: 999px;
	color: var(--mhs-green-dark);
	font-size: 12px;
	min-width: 22px;
	padding: 2px 7px;
	text-align: center;
}

.mhs-mobile-overlay {
	background: rgba(9, 18, 12, 0.48);
	bottom: 0;
	display: none;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 90;
}

.drawer-open .mhs-mobile-overlay {
	display: block;
}

.mhs-category-drawer {
	background: var(--mhs-surface);
	box-shadow: var(--mhs-shadow);
	height: 100vh;
	left: 0;
	max-width: 380px;
	overflow: auto;
	position: fixed;
	top: 0;
	transform: translateX(-105%);
	transition: transform 180ms ease;
	width: calc(100vw - 34px);
	z-index: 100;
}

.drawer-open .mhs-category-drawer {
	transform: translateX(0);
}

.mhs-drawer-head {
	align-items: center;
	background: var(--mhs-green-dark);
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	padding: 16px;
}

.mhs-drawer-head strong {
	font-size: 17px;
}

.mhs-mobile-close {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	height: 38px;
	width: 38px;
}

.mhs-category-tree,
.mhs-category-tree ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mhs-category-tree {
	padding: 10px;
}

.mhs-category-tree ul {
	border-left: 2px solid var(--mhs-line);
	margin-left: 12px;
}

.mhs-category-tree ul[hidden] {
	display: none;
}

.mhs-category-row {
	align-items: center;
	display: grid;
	gap: 4px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.mhs-category-tree a {
	align-items: center;
	border-radius: var(--mhs-radius);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 9px 10px;
}

.mhs-category-tree a:hover {
	background: var(--mhs-surface-soft);
}

.mhs-category-expand {
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	color: var(--mhs-green-dark);
	cursor: pointer;
	font-size: 0;
	height: 32px;
	position: relative;
	width: 32px;
}

.mhs-category-expand::before,
.mhs-category-expand::after {
	background: currentColor;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.mhs-category-expand::before {
	height: 2px;
	width: 12px;
}

.mhs-category-expand::after {
	height: 12px;
	width: 2px;
}

.mhs-category-expand[aria-expanded="true"]::after {
	display: none;
}

.mhs-count {
	color: var(--mhs-muted);
	font-size: 12px;
}

.mhs-main {
	padding: 24px 0 46px;
}

.mhs-slider {
	background: var(--mhs-green-dark);
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	margin-bottom: 16px;
	overflow: hidden;
	position: relative;
}

.mhs-slide {
	background-position: center;
	background-repeat: no-repeat;
	display: none;
	height: clamp(300px, 28vw, 420px);
	min-height: 0;
	position: relative;
}

.mhs-slide-fit-cover {
	background-size: cover;
}

.mhs-slide-fit-contain {
	background-size: contain;
}

.mhs-slide::before {
	background: linear-gradient(90deg, rgba(13, 24, 15, 0.84), rgba(13, 24, 15, 0.46), rgba(13, 24, 15, 0.08));
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.mhs-slide.is-active {
	display: block;
}

.mhs-slide-content {
	color: #ffffff;
	max-width: 600px;
	padding: 54px 54px 64px;
	position: relative;
	z-index: 1;
}

.mhs-kicker {
	color: var(--mhs-amber);
	display: block;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.mhs-slide h1,
.mhs-slide h2 {
	font-size: 42px;
	line-height: 1.04;
	margin: 0 0 12px;
}

.mhs-slide p {
	color: #e3efdf;
	font-size: 17px;
	margin: 0 0 22px;
}

.mhs-button {
	align-items: center;
	background: var(--mhs-green);
	border-radius: var(--mhs-radius);
	color: #ffffff;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
}

.mhs-button:hover {
	background: var(--mhs-green-dark);
	color: #ffffff;
}

.mhs-slider-controls {
	bottom: 18px;
	display: flex;
	gap: 8px;
	position: absolute;
	right: 18px;
	z-index: 2;
}

.mhs-slider-button {
	background: rgba(255, 255, 255, 0.92);
	color: var(--mhs-green-dark);
	height: 40px;
	width: 40px;
}

.mhs-slider-dots {
	align-items: center;
	bottom: 18px;
	display: flex;
	gap: 7px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	z-index: 2;
}

.mhs-slider-dots button {
	background: rgba(255, 255, 255, 0.62);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 9px;
	padding: 0;
	width: 9px;
}

.mhs-slider-dots button.is-active {
	background: #ffffff;
	width: 24px;
}

.mhs-slider[data-mhs-slider] {
	cursor: grab;
	touch-action: pan-y;
}

.mhs-slider.is-dragging {
	cursor: grabbing;
}

.mhs-benefits {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-bottom: 22px;
}

.mhs-benefit {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: 0 8px 18px rgba(18, 35, 24, 0.06);
	display: grid;
	gap: 10px;
	justify-items: center;
	min-width: 0;
	padding: 18px 14px;
	text-align: center;
}

.mhs-benefit .mhs-benefit-icon {
	background: transparent;
	color: #111111;
	height: 58px;
	width: 58px;
}

.mhs-benefit .mhs-benefit-icon svg {
	height: 44px;
	width: 44px;
}

.mhs-benefit strong,
.mhs-benefit span {
	display: block;
}

.mhs-benefit strong {
	font-size: 15px;
	line-height: 1.2;
}

.mhs-benefit span {
	color: var(--mhs-muted);
	font-size: 13px;
}

.mhs-section {
	content-visibility: auto;
	contain-intrinsic-size: 1px 620px;
	margin-top: 24px;
}

.mhs-section-head {
	align-items: flex-end;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.mhs-section-head h1,
.mhs-section-head h2 {
	font-size: 24px;
	line-height: 1.15;
	margin: 0;
}

.mhs-section-link {
	color: var(--mhs-green);
	font-size: 14px;
	font-weight: 900;
}

.mhs-simple-banner {
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	display: block;
	overflow: hidden;
	width: 100%;
}

.mhs-simple-banner img {
	aspect-ratio: 1920 / 360;
	display: block;
	height: auto;
	max-height: 360px;
	min-height: 150px;
	object-fit: cover;
	width: 100%;
}

.mhs-simple-banner-fit-contain img {
	background: #ffffff;
	object-fit: contain;
}

.mhs-tabs {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	overflow: hidden;
}

.mhs-tab-buttons {
	background: var(--mhs-surface-soft);
	border-bottom: 1px solid var(--mhs-line);
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mhs-tab-button {
	background: transparent;
	border: 0;
	border-right: 1px solid var(--mhs-line);
	color: var(--mhs-muted);
	cursor: pointer;
	font-weight: 900;
	min-height: 54px;
	padding: 0 14px;
}

.mhs-tab-button:last-child {
	border-right: 0;
}

.mhs-tab-button.is-active {
	background: var(--mhs-green);
	color: #ffffff;
}

.mhs-tab-panel {
	display: none;
	padding: 16px;
}

.mhs-tab-panel.is-active {
	display: block;
}

.mhs-product-grid,
.woocommerce ul.products {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mhs-product-card,
.woocommerce ul.products li.product {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: 0 8px 20px rgba(18, 35, 24, 0.07);
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	min-width: 0;
	overflow: hidden;
	padding: 0 !important;
	width: auto !important;
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
	color: inherit;
	display: flex;
	flex: 1;
	flex-direction: column;
}

.mhs-product-image {
	align-items: center;
	aspect-ratio: 1 / 0.86;
	background: #ffffff;
	border-bottom: 1px solid var(--mhs-line);
	display: flex;
	justify-content: center;
	padding: 16px;
	position: relative;
}

.mhs-stock-ribbon {
	border-radius: 999px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
	left: 10px;
	line-height: 1;
	padding: 7px 9px;
	position: absolute;
	top: 10px;
	z-index: 1;
}

.mhs-stock-ribbon.is-in-stock {
	background: var(--mhs-green);
}

.mhs-stock-ribbon.is-out-stock {
	background: var(--mhs-red);
}

.mhs-product-image img,
.woocommerce ul.products li.product img {
	max-height: 100%;
	object-fit: contain;
	width: auto;
}

.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 0.86;
	border-bottom: 1px solid var(--mhs-line);
	margin: 0 auto 12px;
	padding: 16px;
}

.mhs-product-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
}

.mhs-product-category {
	color: var(--mhs-blue);
	font-size: 12px;
	font-weight: 900;
}

.mhs-product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	font-size: 15px;
	line-height: 1.32;
	margin: 0;
	min-height: calc(15px * 1.32 * 3);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 14px;
}

.mhs-product-title a:hover {
	color: var(--mhs-green);
}

.mhs-product-meta {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.mhs-badge {
	border-radius: 999px;
	display: inline-flex;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
	padding: 7px 9px;
}

.mhs-badge-sku {
	background: #edf5fb;
	color: var(--mhs-blue);
}

.mhs-badge-brand {
	background: #f5f0df;
	color: #756226;
}

.mhs-badge-stock {
	background: var(--mhs-green-soft);
	color: var(--mhs-green-dark);
}

.mhs-badge-oos {
	background: #fae9e7;
	color: var(--mhs-red);
}

.mhs-price-row {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-top: auto;
}

.mhs-price,
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--mhs-green-dark);
	font-size: 18px;
	font-weight: 900;
}

.woocommerce ul.products li.product .price {
	margin: 10px 0 0;
	padding: 0 14px;
}

.woocommerce ul.products li.product .star-rating {
	margin-left: 14px;
	margin-right: 14px;
}

.mhs-card-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	align-items: center;
	background: var(--mhs-green);
	border: 0;
	border-radius: var(--mhs-radius);
	color: #ffffff;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-height: 40px;
	padding: 0 13px;
}

.woocommerce ul.products li.product .button {
	align-self: stretch;
	display: flex !important;
	margin: 14px !important;
	min-height: 44px;
	text-align: center;
	width: auto;
}

.woocommerce ul.products li.product .mhs-product-actions {
	margin: 0 14px 14px;
}

.mhs-card-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--mhs-green-dark);
	color: #ffffff;
}

.mhs-product-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mhs-list-toggle {
	align-items: center;
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	color: var(--mhs-green-dark);
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 6px;
	justify-content: center;
	min-height: 36px;
	padding: 0 10px;
}

.mhs-list-toggle svg {
	height: 16px;
	width: 16px;
}

.mhs-list-toggle.is-active {
	background: var(--mhs-green);
	border-color: var(--mhs-green);
	color: #ffffff;
}

.mhs-loop-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 8px 14px 0;
}

.mhs-category-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mhs-category-card {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: 0 8px 20px rgba(18, 35, 24, 0.07);
	display: grid;
	gap: 10px;
	overflow: hidden;
	padding: 16px;
}

.mhs-category-card-has-image {
	padding: 0;
}

.mhs-category-image {
	aspect-ratio: 16 / 9;
	background: var(--mhs-surface-soft);
	display: block;
	overflow: hidden;
	width: 100%;
}

.mhs-category-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.mhs-category-card-body {
	display: grid;
	gap: 6px;
}

.mhs-category-card-has-image .mhs-category-card-body {
	padding: 4px 16px 16px;
}

.mhs-category-card-body strong {
	font-size: 17px;
}

.mhs-category-card-body span {
	color: var(--mhs-muted);
	font-size: 13px;
}

.mhs-shop-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 300px minmax(0, 1fr);
}

.mhs-shop-banner .mhs-slider {
	margin-bottom: 24px;
}

.mhs-shop-sidebar {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	overflow: hidden;
	position: sticky;
	top: 188px;
}

.mhs-filter-block + .mhs-filter-block {
	border-top: 1px solid var(--mhs-line);
}

.mhs-filter-title {
	background: var(--mhs-green-dark);
	color: #ffffff;
	font-size: 13px;
	font-weight: 900;
	margin: 0;
	padding: 13px 16px;
	text-transform: uppercase;
}

.mhs-filter-list {
	display: grid;
	gap: 5px;
	list-style: none;
	margin: 0;
	padding: 12px;
}

.mhs-filter-list a {
	align-items: center;
	border-radius: var(--mhs-radius);
	color: var(--mhs-muted);
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 8px 10px;
}

.mhs-filter-choice {
	align-items: center;
	display: flex;
	gap: 8px;
	min-width: 0;
}

.mhs-filter-choice span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mhs-checkbox {
	align-items: center;
	background: #ffffff;
	border: 1px solid #b9c8b3;
	border-radius: 4px;
	display: inline-flex;
	flex: 0 0 auto;
	height: 16px;
	justify-content: center;
	width: 16px;
}

.mhs-filter-list a.is-active .mhs-checkbox {
	background: var(--mhs-green);
	border-color: var(--mhs-green);
}

.mhs-filter-list a.is-active .mhs-checkbox::after {
	border: solid #ffffff;
	border-width: 0 2px 2px 0;
	content: "";
	height: 8px;
	transform: rotate(45deg) translate(-1px, -1px);
	width: 4px;
}

.mhs-filter-list a:hover,
.mhs-filter-list a.is-active {
	background: var(--mhs-surface-soft);
	color: var(--mhs-green-dark);
}

.mhs-active-filter-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 12px 12px 0;
}

.mhs-active-filter-list a {
	align-items: center;
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: 999px;
	color: var(--mhs-green-dark);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 8px;
	padding: 7px 9px;
}

.mhs-active-filter-list a span {
	font-size: 14px;
	line-height: 1;
}

.mhs-clear-filters {
	color: var(--mhs-red);
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	margin: 10px 12px 12px;
}

.mhs-content-panel {
	min-width: 0;
}

.mhs-breadcrumbs {
	color: var(--mhs-muted);
	font-size: 13px;
	font-weight: 800;
	margin: 0 0 12px;
}

.mhs-breadcrumbs a {
	color: var(--mhs-green-dark);
}

.woocommerce-page .mhs-content-panel {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	padding: 20px;
}

.mhs-product-single .mhs-content-panel {
	width: 100%;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce .mhs-per-page-form {
	align-items: center;
	display: flex;
	float: right;
	gap: 8px;
	margin: 0 0 16px 12px;
}

.woocommerce .mhs-per-page-form label,
.woocommerce .mhs-per-page-form span {
	color: var(--mhs-muted);
	font-size: 13px;
	font-weight: 800;
}

.woocommerce .mhs-per-page-form select {
	background: #ffffff;
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	color: var(--mhs-ink);
	min-height: 38px;
	padding: 0 28px 0 10px;
}

.woocommerce div.product {
	min-width: 0;
}

.woocommerce div.product .product_title {
	font-size: 30px;
	line-height: 1.16;
}

.mhs-remote-product-gallery {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	box-sizing: border-box;
	margin-bottom: 24px;
	overflow: hidden;
}

.woocommerce div.product div.images.mhs-remote-product-gallery {
	float: left;
	margin-bottom: 2em;
	width: 48%;
}

.mhs-remote-product-main {
	align-items: center;
	background: #ffffff;
	display: flex;
	aspect-ratio: 1 / 0.9;
	min-height: 0;
	padding: 24px;
}

.mhs-remote-product-main img {
	display: block;
	margin: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.mhs-remote-product-thumbs {
	border-top: 1px solid var(--mhs-line);
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 12px;
}

.mhs-remote-product-thumbs a {
	align-items: center;
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	display: flex;
	justify-content: center;
	min-height: 86px;
	padding: 8px;
}

.mhs-remote-product-thumbs img {
	max-height: 74px;
	object-fit: contain;
	width: auto;
}

@media (max-width: 768px) {
	.woocommerce div.product div.images.mhs-remote-product-gallery {
		float: none;
		width: 100%;
	}
}

.mhs-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 12px;
}

.mhs-product-info-cards {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 18px 0 12px;
}

.mhs-product-info-card {
	align-items: center;
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	display: grid;
	gap: 10px;
	grid-template-columns: 38px minmax(0, 1fr);
	padding: 10px;
}

.mhs-product-info-icon {
	align-items: center;
	color: var(--mhs-green-dark);
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.mhs-product-info-icon svg {
	height: 28px;
	width: 28px;
}

.mhs-product-info-card strong,
.mhs-product-info-card span span {
	display: block;
}

.mhs-product-info-card strong {
	font-size: 13px;
	line-height: 1.2;
}

.mhs-product-info-card span span {
	color: var(--mhs-muted);
	font-size: 12px;
	line-height: 1.3;
}

.woocommerce div.product .summary .mhs-product-actions {
	clear: both;
	margin: 12px 0 18px;
	max-width: 360px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
	clear: both;
	margin-top: 28px;
}

.mhs-archive-description {
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	color: var(--mhs-muted);
	margin: 0 0 18px;
	padding: 14px 16px;
}

.mhs-archive-description-bottom {
	clear: both;
	margin: 22px 0 0;
}

.mhs-empty {
	background: var(--mhs-surface);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	padding: 18px;
}

.mhs-list-bar {
	bottom: 18px;
	display: flex;
	gap: 8px;
	position: fixed;
	right: 18px;
	z-index: 80;
}

.mhs-list-bar button {
	align-items: center;
	background: var(--mhs-green-dark);
	border: 0;
	border-radius: var(--mhs-radius);
	box-shadow: var(--mhs-shadow);
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	gap: 8px;
	min-height: 42px;
	padding: 0 12px;
}

.mhs-list-bar svg {
	height: 18px;
	width: 18px;
}

.mhs-list-bar strong {
	background: #ffffff;
	border-radius: 999px;
	color: var(--mhs-green-dark);
	font-size: 12px;
	min-width: 21px;
	padding: 2px 6px;
}

.mhs-list-modal[hidden],
.mhs-list-bar[hidden] {
	display: none;
}

.mhs-list-modal {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 120;
}

.mhs-list-modal-backdrop {
	background: rgba(9, 18, 12, 0.48);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.mhs-list-modal-panel {
	background: var(--mhs-surface);
	border-left: 1px solid var(--mhs-line);
	bottom: 0;
	box-shadow: var(--mhs-shadow);
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
	max-width: 520px;
	position: absolute;
	right: 0;
	top: 0;
	width: min(100%, 520px);
}

.mhs-list-modal-panel header {
	align-items: center;
	background: var(--mhs-green-dark);
	color: #ffffff;
	display: flex;
	justify-content: space-between;
	padding: 14px 16px;
}

.mhs-list-modal-panel header button {
	background: rgba(255, 255, 255, 0.14);
	border: 0;
	border-radius: var(--mhs-radius);
	color: #ffffff;
	cursor: pointer;
	font-weight: 900;
	height: 34px;
	width: 34px;
}

.mhs-list-modal-body {
	display: grid;
	gap: 10px;
	overflow: auto;
	padding: 14px;
}

.mhs-list-item {
	align-items: center;
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	display: grid;
	gap: 10px;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	padding: 10px;
}

.mhs-list-item img {
	aspect-ratio: 1;
	border: 1px solid var(--mhs-line);
	border-radius: 6px;
	object-fit: contain;
	padding: 4px;
	width: 64px;
}

.mhs-list-item span {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.mhs-list-item a {
	font-weight: 900;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mhs-list-item small {
	color: var(--mhs-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mhs-list-item button {
	background: var(--mhs-surface-soft);
	border: 1px solid var(--mhs-line);
	border-radius: var(--mhs-radius);
	cursor: pointer;
	font-size: 12px;
	font-weight: 900;
	min-height: 34px;
}

.mhs-footer {
	background: var(--mhs-green-dark);
	color: #e9f2e6;
	margin-top: 30px;
	padding: 34px 0;
}

.mhs-footer-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(160px, 1fr)) minmax(230px, 1.2fr);
}

.mhs-footer-brand {
	display: grid;
	gap: 12px;
}

.mhs-footer-brand .mhs-brand {
	color: #ffffff;
}

.mhs-footer-brand p,
.mhs-footer-column li,
.mhs-footer-contact p {
	color: #bdcab8;
	font-size: 14px;
	margin: 0;
}

.mhs-footer-column h2,
.mhs-footer-contact h2 {
	color: #ffffff;
	font-size: 14px;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.mhs-footer-column ul {
	display: grid;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.mhs-footer-column a,
.mhs-footer-contact a {
	color: #e9f2e6;
}

.mhs-map {
	border: 0;
	border-radius: var(--mhs-radius);
	height: 180px;
	width: 100%;
}

.mhs-copyright {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #bdcab8;
	font-size: 13px;
	margin-top: 24px;
	padding-top: 18px;
}

@media (max-width: 1180px) {
	.mhs-benefits,
	.mhs-product-grid,
	.woocommerce ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

@media (max-width: 920px) {
	.mhs-shell {
		padding: 0 16px;
	}

	.mhs-topbar-inner,
	.mhs-brand-row,
	.mhs-nav-row-inner,
	.mhs-shop-layout {
		grid-template-columns: 1fr;
	}

	.mhs-topbar-inner {
		align-items: flex-start;
		padding-bottom: 8px;
		padding-top: 8px;
	}

	.mhs-brand-row {
		padding-bottom: 14px;
		padding-top: 14px;
	}

	.mhs-support {
		justify-self: stretch;
	}

	.mhs-nav-row-inner {
		padding-bottom: 12px;
		padding-top: 12px;
	}

	.mhs-header-actions {
		justify-content: stretch;
	}

	.mhs-header-action {
		flex: 1;
	}

	.mhs-slide {
		height: 280px;
	}

	.mhs-slide::before {
		background: rgba(13, 24, 15, 0.68);
	}

	.mhs-slide-content {
		padding: 38px 24px 62px;
	}

	.mhs-slide h1,
	.mhs-slide h2 {
		font-size: 32px;
	}

	.mhs-benefits,
	.mhs-product-grid,
	.woocommerce ul.products,
	.mhs-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mhs-shop-sidebar {
		position: static;
	}
}

@media (max-width: 560px) {
	.mhs-brand-name {
		font-size: 20px;
	}

	.mhs-search-form,
	.mhs-tab-buttons,
	.mhs-product-grid,
	.woocommerce ul.products,
	.mhs-category-grid,
	.mhs-footer-grid {
		grid-template-columns: 1fr;
	}

	.mhs-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.mhs-simple-banner img {
		aspect-ratio: 16 / 7;
		min-height: 120px;
	}

	.mhs-remote-product-main {
		aspect-ratio: 1 / 0.82;
		padding: 16px;
	}

	.mhs-price-row {
		align-items: stretch;
		flex-direction: column;
	}

	.mhs-card-button {
		width: 100%;
	}
}

@media (max-width: 760px) {
	.mhs-header {
		max-height: 20svh;
		overflow: visible;
	}

	.mhs-topbar {
		display: none;
	}

	.mhs-brand-shell {
		display: block;
	}

	.mhs-brand-row {
		align-items: center;
		display: flex;
		gap: 10px;
		justify-content: space-between;
		min-height: 38px;
		padding: 5px 0;
	}

	.mhs-brand {
		flex: 1 1 auto;
		justify-content: flex-start;
		min-height: 28px;
		min-width: 0;
		text-align: left;
	}

	.mhs-mobile-home {
		align-items: center;
		background: var(--mhs-green-soft);
		border: 1px solid var(--mhs-line);
		border-radius: var(--mhs-radius);
		color: var(--mhs-green-dark);
		display: inline-flex;
		flex: 0 0 auto;
		font-size: 12px;
		font-weight: 900;
		gap: 5px;
		height: 30px;
		justify-content: center;
		padding: 0 9px;
	}

	.mhs-mobile-home svg {
		height: 16px;
		width: 16px;
	}

	.mhs-brand-logo,
	.mhs-brand-slogan,
	.mhs-support {
		display: none;
	}

	.mhs-brand-name {
		font-size: 15px;
		line-height: 1.15;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.mhs-nav-row-inner {
		gap: 6px;
		grid-template-columns: minmax(82px, auto) minmax(0, 1fr) auto;
		min-height: 48px;
		padding-bottom: 4px;
		padding-top: 4px;
	}

	.mhs-category-toggle {
		font-size: 12px;
		gap: 5px;
		min-height: 38px;
		padding: 0 8px;
	}

	.mhs-nav-icon {
		background: rgba(255, 255, 255, 0.14);
		height: 26px;
		width: 26px;
	}

	.mhs-nav-icon svg {
		height: 17px;
		width: 17px;
	}

	.mhs-search-form {
		gap: 4px;
		grid-template-columns: minmax(0, 1fr) 38px;
		min-width: 0;
	}

	.mhs-search-form input[type="search"] {
		font-size: 13px;
		min-height: 38px;
		padding: 0 10px;
	}

	.mhs-search-button {
		font-size: 0;
		min-height: 38px;
		padding: 0;
		position: relative;
		width: 36px;
	}

	.mhs-search-button::before {
		border: 2px solid currentColor;
		border-radius: 50%;
		content: "";
		height: 13px;
		width: 13px;
	}

	.mhs-search-button::after {
		background: currentColor;
		content: "";
		height: 8px;
		position: absolute;
		transform: translate(8px, 8px) rotate(45deg);
		width: 2px;
	}

	.mhs-search-results {
		left: 50%;
		right: auto;
		top: calc(100% + 6px);
		transform: translateX(-50%);
		width: min(92vw, 420px);
	}

	.mhs-header-actions {
		gap: 4px;
		justify-content: flex-end;
	}

	.mhs-header-action {
		flex: 0 0 38px;
		gap: 0;
		height: 38px;
		min-height: 38px;
		padding: 0;
		position: relative;
		width: 38px;
	}

	.mhs-header-action span {
		clip: rect(0 0 0 0);
		height: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
		width: 1px;
	}

	.mhs-header-action svg {
		height: 19px;
		width: 19px;
	}

	.mhs-header-action strong {
		align-items: center;
		display: flex;
		font-size: 10px;
		height: 16px;
		justify-content: center;
		min-width: 16px;
		padding: 0;
		position: absolute;
		right: -4px;
		top: -5px;
	}

	.mhs-main {
		padding-top: 14px;
	}

	.mhs-slide {
		height: 240px;
	}

	.mhs-slider-controls {
		bottom: 12px;
		right: 12px;
	}

	.mhs-slider-dots {
		bottom: 14px;
	}

	.mhs-slide-content {
		padding: 24px 18px 54px;
	}

	.mhs-slide h1,
	.mhs-slide h2 {
		font-size: 25px;
	}

	.mhs-product-info-cards {
		grid-template-columns: 1fr;
	}

	.mhs-list-bar {
		bottom: 10px;
		left: 10px;
		right: 10px;
	}

	.mhs-list-bar button {
		flex: 1;
		justify-content: center;
		min-width: 0;
	}

	.mhs-list-item {
		grid-template-columns: 54px minmax(0, 1fr);
	}

	.mhs-list-item img {
		width: 54px;
	}

	.mhs-list-item button {
		grid-column: 1 / -1;
	}

	.mhs-slide p {
		font-size: 14px;
		margin-bottom: 14px;
	}

	.woocommerce .woocommerce-result-count,
	.woocommerce .woocommerce-ordering,
	.woocommerce .mhs-per-page-form {
		float: none;
		margin: 0 0 10px;
		width: 100%;
	}

	.woocommerce .mhs-per-page-form {
		justify-content: space-between;
	}

	.mhs-benefits {
		gap: 7px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin-bottom: 14px;
	}

	.mhs-benefit {
		gap: 4px;
		min-height: 92px;
		padding: 9px 7px;
	}

	.mhs-benefit .mhs-benefit-icon {
		height: 34px;
		width: 34px;
	}

	.mhs-benefit .mhs-benefit-icon svg {
		height: 26px;
		width: 26px;
	}

	.mhs-benefit strong {
		font-size: 12px;
		line-height: 1.15;
	}

	.mhs-benefit span {
		font-size: 11px;
		line-height: 1.15;
	}
}
