.mhps,
.mhps * {
	box-sizing: border-box;
}
.mhps {
	--mhps-orange: #ef5902;
	--mhps-orange-dark: #ef5902;
	--mhps-outlet-orange: #ef5902;
	--mhps-black: #151923;
	--mhps-muted: #666c76;
	--mhps-line: #e6e8ec;
	--mhps-soft: #f6f7f9;
	--mhps-green: #16a34a;
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: 28px 0 0;
	color: var(--mhps-black);
	font-family: Poppins, Arial, Helvetica, sans-serif;
	background: #fff;
}
.mhps-footer-only {
	margin-bottom: 0 !important;
	padding-top: 0;
	padding-bottom: 0 !important;
	background: #242424;
}
.mhps-footer-only + *,
.mhps-footer-only:last-child {
	margin-bottom: 0 !important;
}
/* Fond blanc externe limite a la page d'accueil uniquement.
   Evite d'impacter les autres pages qui utilisent les shortcodes Matelec
   comme le footer ou l'annuaire des marques. */
body.home:has(.mhps:not(.mhps-footer-only)),
body.front-page:has(.mhps:not(.mhps-footer-only)),
body.home .website-wrapper:has(.mhps:not(.mhps-footer-only)),
body.front-page .website-wrapper:has(.mhps:not(.mhps-footer-only)),
body.home .main-page-wrapper:has(.mhps:not(.mhps-footer-only)),
body.front-page .main-page-wrapper:has(.mhps:not(.mhps-footer-only)),
body.home .site-content:has(.mhps:not(.mhps-footer-only)),
body.front-page .site-content:has(.mhps:not(.mhps-footer-only)),
body.home .entry-content:has(.mhps:not(.mhps-footer-only)),
body.front-page .entry-content:has(.mhps:not(.mhps-footer-only)) {
	background: #fff !important;
}
.entry-content:has(.mhps-footer-only),
.site-content:has(.mhps-footer-only),
.main-page-wrapper:has(.mhps-footer-only) {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.mhps a {
	color: inherit;
	text-decoration: none;
}
.mhps img {
	max-width: 100%;
	display: block;
}
.mhps [hidden] {
	display: none !important;
}
.mhps-section {
	margin: 0 0 34px;
}
.mhps-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 18px;
}
.mhps-section-head h2,
.mhps-reference h2,
.mhps-about h2,
.mhps-contact h2 {
	margin: 0;
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: 0;
}
.mhps-section-head a {
	position: relative;
	color: var(--mhps-black);
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
	padding-right: 18px;
}
.mhps-section-head a:after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--mhps-orange);
	border-right: 2px solid var(--mhps-orange);
	transform: translateY(-50%) rotate(45deg);
}
.mhps-brand-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 14px;
}
.mhps-brand-card {
	min-height: 78px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	box-shadow: 0 10px 28px rgba(15, 20, 30, .06);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mhps-brand-card:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 89, 2, .35);
	box-shadow: 0 16px 34px rgba(15, 20, 30, .1);
}
.mhps-brand-card img {
	display: block;
	width: auto;
	max-width: 86%;
	max-height: 48px;
	object-fit: contain;
}
.mhps-brand-card span {
	font-size: clamp(18px, 1.7vw, 26px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
}
.mhps.mhps-brand-directory {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 36px;
}
.mhps-brand-directory-head {
	align-items: flex-end;
}
.mhps-brand-directory-head p {
	margin: 8px 0 0;
	color: var(--mhps-muted);
	font-size: 14px;
	font-weight: 600;
}
.mhps-brand-search {
	position: relative;
	margin: 0 0 18px;
	max-width: 560px;
}
.mhps-brand-search svg {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 20px;
	height: 20px;
	color: var(--mhps-orange);
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 2;
}
.mhps .mhps-brand-search input[type="search"] {
	appearance: none;
	display: block;
	width: 100%;
	height: 56px !important;
	min-height: 56px !important;
	margin: 0 !important;
	padding: 0 16px 0 54px !important;
	border: 1px solid var(--mhps-line) !important;
	border-radius: 7px !important;
	background: #fff !important;
	color: var(--mhps-black) !important;
	font: 700 15px/56px Poppins, Arial, sans-serif !important;
	box-shadow: none !important;
}
.mhps .mhps-brand-search input[type="search"]::placeholder {
	color: var(--mhps-black);
	font-weight: 500;
	opacity: 1;
}
.mhps-brand-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 24px;
}
.mhps-brand-alphabet a {
	min-width: 34px;
	min-height: 34px;
	border: 1px solid var(--mhps-line);
	border-radius: 6px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mhps-black);
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 20px rgba(15, 20, 30, .04);
	transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.mhps-brand-alphabet a:hover {
	background: var(--mhps-orange);
	border-color: var(--mhps-orange);
	color: #fff;
	transform: translateY(-1px);
}
.mhps-brand-letter-group {
	margin: 0 0 28px;
}
.mhps-brand-letter-group h3 {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--mhps-line);
	color: var(--mhps-orange);
	font-size: 24px;
	line-height: 1;
	font-weight: 900;
}
.mhps-brand-directory-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}
.mhps-brand-directory-card {
	min-width: 0;
	min-height: 112px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	display: grid;
	grid-template-columns: 86px 1fr;
	gap: 4px 14px;
	align-items: center;
	padding: 14px;
	box-shadow: 0 8px 22px rgba(15, 20, 30, .035);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mhps-brand-directory-card:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 89, 2, .38);
	box-shadow: 0 14px 30px rgba(15, 20, 30, .08);
}
.mhps-brand-directory-logo {
	grid-row: span 2;
	width: 86px;
	height: 70px;
	border-radius: 7px;
	background: var(--mhps-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	overflow: hidden;
}
.mhps-brand-directory-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.mhps-brand-directory-logo span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: 100%;
	color: var(--mhps-black);
	font-size: var(--mhps-brand-text-size, 18px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: 0;
	text-align: center;
	overflow: hidden;
	overflow-wrap: anywhere;
	word-break: normal;
}
.mhps-brand-directory-card strong {
	min-width: 0;
	align-self: end;
	color: var(--mhps-black);
	font-size: 15px;
	line-height: 1.25;
	font-weight: 900;
	overflow-wrap: anywhere;
}
.mhps-brand-directory-card small {
	align-self: start;
	color: var(--mhps-muted);
	font-size: 12px;
	font-weight: 700;
}
.mhps-brand-empty {
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: var(--mhps-soft);
	padding: 20px;
	color: var(--mhps-muted);
	font-size: 14px;
	font-weight: 700;
	text-align: center;
}
.mhps-category-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
}
.mhps-category-card {
	min-height: 206px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	padding: 18px 16px 16px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 22px rgba(15, 20, 30, .035);
	transition: transform .18s ease, border-color .18s ease;
}
.mhps-category-card:hover {
	transform: translateY(-2px);
	border-color: rgba(239, 89, 2, .38);
}
.mhps-category-card img {
	width: 100%;
	height: 112px;
	object-fit: contain;
	margin: 0 auto 12px;
}
.mhps-category-card strong {
	font-size: 14px;
	line-height: 1.25;
	font-weight: 800;
	min-height: 36px;
	text-align: center;
}
.mhps-category-card span {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--mhps-muted);
	text-align: center;
}
.mhps-reference {
	position: relative;
	display: grid;
	grid-template-columns: minmax(300px, 39%) 1fr;
	gap: 34px;
	align-items: center;
	margin: 18px 0 34px;
	padding: 30px 36px;
	border-radius: 8px;
	background: linear-gradient(110deg, #fff4ec 0%, #fffaf6 42%, #f8f9fb 100%);
	border: 1px solid #f0e5dc;
	overflow: hidden;
}
.mhps-reference.is-searching {
	cursor: progress;
}
.mhps-reference-media img {
	width: 100%;
	height: 286px;
	object-fit: contain;
}
.mhps-reference-panel p {
	margin: 8px 0 20px;
	color: var(--mhps-muted);
	font-size: 15px;
}
.mhps-reference-search {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 10px;
	margin-bottom: 16px;
}
.mhps input,
.mhps textarea,
.mhps select {
	width: 100%;
	border: 1px solid var(--mhps-line);
	border-radius: 7px;
	background: #fff;
	color: var(--mhps-black);
	font: 500 14px/1.4 Poppins, Arial, sans-serif;
	padding: 14px 16px;
	box-shadow: none;
	outline: none;
}
.mhps input:focus,
.mhps textarea:focus,
.mhps select:focus {
	border-color: var(--mhps-orange);
	box-shadow: 0 0 0 3px rgba(239, 89, 2, .12);
}
.mhps button,
.mhps-product-button {
	border: 1px solid var(--mhps-orange);
	border-radius: 6px;
	background: #fff;
	color: var(--mhps-orange);
	font: 800 14px/1 Poppins, Arial, sans-serif;
	padding: 0 22px;
	min-height: 54px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	text-decoration: none;
	transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.mhps button:hover,
.mhps-product-button:hover {
	background: var(--mhps-orange);
	color: #fff;
	border-color: var(--mhps-orange);
	transform: translateY(-1px);
}
.mhps button:disabled,
.mhps button:disabled:hover {
	background: #f3f4f6;
	border-color: #d8dbe1;
	color: #8b929d;
	cursor: wait;
	transform: none;
	box-shadow: none;
}
.mhps-reference.is-searching .mhps-reference-actions button {
	opacity: .58;
}
.mhps-reference-overlay {
	position: absolute;
	inset: 0;
	z-index: 8;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(2px);
}
.mhps-reference-loader {
	width: min(360px, 100%);
	border: 1px solid rgba(239, 89, 2, .24);
	border-radius: 8px;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 24px 22px;
	color: var(--mhps-black);
	text-align: center;
	box-shadow: 0 20px 54px rgba(15, 20, 30, .14);
}
.mhps-reference-loader span {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 4px solid rgba(239, 89, 2, .18);
	border-top-color: var(--mhps-orange);
	animation: mhps-spin .82s linear infinite;
}
.mhps-reference-loader strong {
	font-size: 17px;
	line-height: 1.2;
	font-weight: 900;
}
.mhps-reference-loader small {
	color: var(--mhps-muted);
	font-size: 13px;
	line-height: 1.4;
	font-weight: 600;
}
@keyframes mhps-spin {
	to {
		transform: rotate(360deg);
	}
}
.mhps-reference-actions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.mhps-reference-actions button {
	min-height: 138px;
	padding: 16px 14px;
	border: 1px solid var(--mhps-line);
	background: #fff;
	color: var(--mhps-black);
	flex-direction: column;
	gap: 8px;
	box-shadow: 0 10px 28px rgba(15, 20, 30, .05);
}
.mhps-reference-actions button:hover {
	background: var(--mhps-orange);
	color: #fff;
	border-color: var(--mhps-orange);
}
.mhps-reference-actions button:hover span {
	color: #fff;
}
.mhps svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.mhps-reference-actions strong {
	font-size: 14px;
	font-weight: 800;
}
.mhps-reference-actions span {
	max-width: 150px;
	color: var(--mhps-muted);
	font-size: 12px;
	line-height: 1.35;
}
.mhps-reference-status {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--mhps-muted);
	font-size: 12px;
}
.mhps-reference-status span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 2px solid var(--mhps-green);
	position: relative;
	flex: 0 0 14px;
}
.mhps-reference-status span:after {
	content: "";
	position: absolute;
	left: 3px;
	top: 3px;
	width: 6px;
	height: 3px;
	border-left: 2px solid var(--mhps-green);
	border-bottom: 2px solid var(--mhps-green);
	transform: rotate(-45deg);
}
.mhps-hidden-file {
	display: none !important;
}
.mhps-camera {
	margin-top: 16px;
	padding: 12px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
}
.mhps-camera video {
	width: 100%;
	max-height: 320px;
	border-radius: 6px;
	background: #0f172a;
	object-fit: cover;
}
.mhps-camera div {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}
.mhps-results {
	margin-top: 16px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	padding: 14px;
}
.mhps-results h3 {
	margin: 0 0 10px;
	font-size: 16px;
}
.mhps-result-item {
	display: grid;
	grid-template-columns: 58px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 10px 0;
	border-top: 1px solid var(--mhps-line);
}
.mhps-result-item:first-of-type {
	border-top: 0;
}
.mhps-result-item img {
	width: 58px;
	height: 58px;
	object-fit: contain;
}
.mhps-result-item strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}
.mhps-result-item span {
	display: block;
	margin-top: 4px;
	color: var(--mhps-orange);
	font-weight: 800;
}
.mhps-product-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}
.mhps-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.mhps-product-card {
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(15, 20, 30, .035);
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mhps-product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(239, 89, 2, .38);
	box-shadow: 0 18px 38px rgba(15, 20, 30, .11);
}
.mhps-product-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 148px;
	padding: 18px;
}
.mhps-product-image img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform .2s ease;
}
.mhps-product-card:hover .mhps-product-image img {
	transform: scale(1.045);
}
.mhps-product-image .product-labels {
	position: absolute !important;
	top: 12px !important;
	left: 18px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 2;
	margin: 0 !important;
}
.mhps-product-image .product-label {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 50px !important;
	padding: 5px 10px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background-color: var(--mhps-green) !important;
	color: #fff !important;
	white-space: nowrap !important;
	word-break: normal !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	box-shadow: none !important;
}
.mhps-product-image .product-label.mhps-outlet-label {
	background-color: var(--mhps-outlet-orange, #ef5902) !important;
	color: #fff !important;
	font-size: 10px !important;
}
.mhps-product-body {
	padding: 0 12px 12px;
}
.mhps-product-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 50px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 800;
}
.mhps-price {
	margin-top: 8px;
	color: var(--mhps-black);
	font-size: 14px;
	font-weight: 900;
}
.mhps-price del {
	margin-left: 4px;
	color: #a6a8ad;
	font-size: 12px;
	font-weight: 600;
}
.mhps-stock {
	margin: 8px 0 10px;
	color: var(--mhps-green);
	font-size: 12px;
	font-weight: 700;
}
.mhps-product-button {
	width: 100%;
	min-height: 40px;
	font-size: 12px;
	padding: 0 12px;
}
.mhps-product-card:hover .mhps-product-button {
	background: var(--mhps-orange);
	color: #fff;
	border-color: var(--mhps-orange);
}
.mhps-guide-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.mhps-guide-card {
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 22px rgba(15, 20, 30, .035);
}
.mhps-guide-card img {
	width: 100%;
	height: 145px;
	object-fit: cover;
}
.mhps-guide-card div {
	padding: 16px;
}
.mhps-guide-card span {
	display: inline-flex;
	margin-bottom: 10px;
	border-radius: 4px;
	background: var(--mhps-orange);
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 5px 8px;
}
.mhps-guide-card h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.25;
}
.mhps-guide-card p {
	min-height: 42px;
	margin: 10px 0;
	color: var(--mhps-muted);
	font-size: 13px;
	line-height: 1.45;
}
.mhps-guide-card small {
	color: var(--mhps-muted);
	font-size: 12px;
}
.mhps-about {
	display: grid;
	grid-template-columns: 1fr 48%;
	align-items: stretch;
	gap: 24px;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
}
.mhps-about-text {
	padding: 28px 26px;
}
.mhps-about-text p {
	margin: 14px 0 28px;
	color: var(--mhps-black);
	font-size: 15px;
	line-height: 1.65;
}
.mhps-stat-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}
.mhps-stat-grid div {
	min-width: 0;
}
.mhps-stat-grid svg {
	width: 40px;
	height: 40px;
	color: var(--mhps-orange);
	margin-bottom: 10px;
}
.mhps-stat-grid strong,
.mhps-stat-grid span {
	display: block;
	font-size: 12px;
	line-height: 1.3;
}
.mhps-stat-grid strong {
	font-weight: 900;
}
.mhps-stat-grid span {
	color: var(--mhps-muted);
}
.mhps-about-image {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
}
.mhps-contact {
	display: grid;
	grid-template-columns: minmax(300px, .9fr) 1fr 300px;
	gap: 22px;
	align-items: stretch;
	padding: 24px;
	border-radius: 8px;
	background: var(--mhps-soft);
}
.mhps-contact-faq > p {
	display: none;
}
.mhps-faq-list {
	display: grid;
	gap: 10px;
	margin-top: 16px;
}
.mhps-faq-list details {
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}
.mhps-faq-list summary {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px 42px 12px 14px;
	color: var(--mhps-black);
	font-size: 13px;
	line-height: 1.3;
	font-weight: 900;
	cursor: pointer;
	list-style: none;
}
.mhps-faq-list summary::-webkit-details-marker {
	display: none;
}
.mhps-faq-list summary:after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--mhps-orange);
	border-bottom: 2px solid var(--mhps-orange);
	transform: translateY(-65%) rotate(45deg);
	transition: transform .18s ease;
}
.mhps-faq-list details[open] summary:after {
	transform: translateY(-30%) rotate(225deg);
}
.mhps-faq-list details p {
	margin: 0;
	padding: 0 14px 14px;
	color: var(--mhps-muted);
	font-size: 13px;
	line-height: 1.55;
}
.mhps-faq-list details p a {
	color: var(--mhps-orange);
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.mhps-contact-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.mhps-contact-form h2 {
	margin-bottom: 4px;
}
.mhps-contact-form select {
	height: 42px;
	min-height: 42px;
	padding: 0 16px;
	line-height: 42px;
}
.mhps-form-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.mhps-contact-form button {
	width: 100%;
}
.mhps-form-status {
	min-height: 20px;
	font-size: 13px;
	font-weight: 700;
}
.mhps-help-card {
	padding: 28px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--mhps-line);
}
.mhps-help-card svg {
	color: var(--mhps-orange);
	width: 38px;
	height: 38px;
}
.mhps-help-card h3 {
	margin: 14px 0 8px;
	font-size: 18px;
}
.mhps-help-card p,
.mhps-help-card li {
	color: var(--mhps-muted);
	font-size: 13px;
	line-height: 1.5;
}
.mhps-help-card ul {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.mhps-help-card li {
	position: relative;
	padding-left: 22px;
	margin-top: 12px;
}
.mhps-help-card li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--mhps-orange);
	border-bottom: 2px solid var(--mhps-orange);
	transform: rotate(-45deg);
}
.mhps-help-card .mhps-opening-hours {
	display: grid;
	gap: 4px;
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 7px;
	background: #fff7f2;
	color: var(--mhps-black);
	font-weight: 800;
}
.mhps-services {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 0 0 0;
	border: 1px solid var(--mhps-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 18px 42px rgba(15, 20, 30, .16);
	transform: translateY(22px);
}
.mhps-services div {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 6px 12px;
	padding: 20px;
	border-left: 1px solid var(--mhps-line);
}
.mhps-services div:first-child {
	border-left: 0;
}
.mhps-services svg {
	grid-row: span 2;
	color: var(--mhps-orange);
}
.mhps-services strong {
	font-size: 14px;
	line-height: 1.2;
}
.mhps-services span {
	color: var(--mhps-muted);
	font-size: 12px;
	line-height: 1.3;
}
.mhps-footer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: -22px;
	margin-bottom: 0;
	display: grid;
	grid-template-columns: 1.75fr repeat(3, minmax(0, .95fr));
	gap: 36px;
	padding: 96px clamp(28px, 4vw, 72px) 40px;
	border-radius: 0;
	background: #242424;
	color: #fff;
}
.mhps-footer-copyright {
	grid-column: 1 / -1;
	margin: 0 calc(0px - clamp(28px, 4vw, 72px)) -40px;
	padding: 18px clamp(28px, 4vw, 72px) 20px;
	border-top: 3px solid var(--mhps-orange);
	background: #1d1d1d;
	color: #b8b8b8;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
}
/* Le shortcode footer seul peut etre place dans un conteneur boxed
   sur les pages produit : on laisse le footer sortir en pleine largeur. */
.mhps-footer-only .mhps-footer {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.mhps-footer-logo {
	width: 240px;
	height: auto;
	max-width: 100%;
	margin: 0 0 18px;
	object-fit: contain;
}
.mhps-footer p {
	color: #c5ccd5;
	font-size: 14px;
	line-height: 1.7;
}
.mhps-footer h3 {
	margin: 0 0 16px;
	color: var(--mhps-orange);
	font-size: 16px;
}
.mhps-footer a {
	display: block;
	margin: 0 0 10px;
	color: #c5ccd5;
	font-size: 14px;
}
.mhps-footer a:hover {
	color: #fff;
}
.mhps-footer-contact {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 18px;
	margin-top: 20px;
}
.mhps-footer-contact p {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 800;
	white-space: nowrap;
}
.mhps-footer-vat {
	margin-top: 6px;
	padding-left: 24px;
	color: #c5ccd5;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
}
.mhps-footer-contact svg {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 0;
	color: var(--mhps-orange);
}
.mhps-footer .mhps-footer-contact a {
	display: inline;
	margin: 0;
	color: #fff;
	font-size: inherit;
	font-weight: inherit;
}
.mhps-newsletter {
	position: relative;
	display: block;
	width: 278px;
	max-width: 100%;
}
.mhps-newsletter input {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding-right: 58px;
}
.mhps-newsletter button {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 36px;
	min-width: 36px;
	height: 36px;
	min-height: 36px;
	padding: 0;
	border-radius: 7px;
}
.mhps-newsletter svg {
	width: 18px;
	height: 18px;
}
.mhps-payments {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 34px;
}
.mhps-payments img {
	width: 86px;
	height: 52px;
	border-radius: 6px;
	background: #fff;
	padding: 9px 12px;
	object-fit: contain;
}
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}
@media (max-width: 1200px) {
	.mhps-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mhps-brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mhps-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mhps-product-columns { grid-template-columns: 1fr; }
	.mhps-contact { grid-template-columns: 1fr; }
	.mhps-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mhps-reference,
	.mhps-about {
		grid-template-columns: 1fr;
	}
	.mhps-guide-grid,
	.mhps-services {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mhps-stat-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.mhps-brand-directory-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.mhps {
		padding: 20px 12px 0;
	}
	.mhps-section-head {
		align-items: flex-start;
	}
	.mhps-category-grid,
	.mhps-product-grid,
	.mhps-guide-grid,
	.mhps-services,
	.mhps-footer,
	.mhps-reference-actions,
	.mhps-form-row {
		grid-template-columns: 1fr;
	}
	.mhps-brand-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mhps-brand-directory-head {
		align-items: flex-start;
	}
	.mhps-brand-directory-grid {
		grid-template-columns: 1fr;
	}
	.mhps-brand-directory-card {
		grid-template-columns: 74px 1fr;
		min-height: 96px;
		padding: 12px;
	}
	.mhps-brand-directory-logo {
		width: 74px;
		height: 62px;
	}
	.mhps-reference {
		padding: 22px 16px;
	}
	.mhps-reference-search {
		grid-template-columns: 1fr;
	}
	.mhps-category-card {
		min-height: 0;
	}
	.mhps-services div {
		border-left: 0;
		border-top: 1px solid var(--mhps-line);
	}
	.mhps-services div:first-child {
		border-top: 0;
	}
	.mhps-services {
		transform: translateY(14px);
	}
	.mhps-footer {
		margin-top: -14px;
		padding-top: 72px;
	}
}

.mhps-admin-featured {
	max-width: 1320px;
}
.mhps-admin-featured .mhps {
	padding-top: 18px;
}
.mhps-admin-featured .mhps-product-columns {
	align-items: start;
}
.mhps-admin-toolbar {
	display: flex;
	justify-content: flex-end;
	margin: 16px 0;
}
.mhps-admin-slot {
	position: relative;
	cursor: grab;
}
.mhps-admin-slot.is-dragging {
	opacity: .55;
	cursor: grabbing;
}
.mhps-admin-slot-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	padding: 9px 10px;
	border: 1px solid #edf0f3;
	background: #f6f7f7;
	border-radius: 8px 8px 0 0;
}
.mhps-admin-mode {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eef2f7;
	color: #1d2327;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}
.mhps-admin-search {
	position: relative;
	padding: 10px;
	border-right: 1px solid #edf0f3;
	border-bottom: 1px solid #edf0f3;
	border-left: 1px solid #edf0f3;
	border-top: 1px solid #edf0f3;
	border-radius: 0 0 8px 8px;
	background: #fff;
}
.mhps-admin-search input {
	width: 100%;
	min-height: 36px;
	border: 1px solid #cfd5dc;
	border-radius: 7px;
	padding: 0 10px;
	font-weight: 700;
}
.mhps-admin-results {
	position: absolute;
	z-index: 50;
	left: 10px;
	right: 10px;
	top: calc(100% - 8px);
	max-height: 280px;
	overflow: auto;
	border: 1px solid #cfd5dc;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 34px rgba(15, 20, 30, .16);
}
.mhps-admin-result {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 10px;
	align-items: center;
	width: 100%;
	padding: 9px;
	border: 0;
	border-bottom: 1px solid #edf0f3;
	background: #fff;
	text-align: left;
	cursor: pointer;
}
.mhps-admin-result:hover {
	background: #fff7f2;
}
.mhps-admin-result img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	background: #f6f7f7;
	border-radius: 6px;
}
.mhps-admin-result strong,
.mhps-admin-result small {
	display: block;
}
.mhps-admin-result strong {
	color: #151923;
	font-size: 12px;
	line-height: 1.25;
}
.mhps-admin-result small,
.mhps-admin-result-empty {
	color: #666c76;
	font-size: 11px;
	font-weight: 700;
}
.mhps-admin-result-empty {
	padding: 12px;
}
.mhps-admin-empty-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 290px;
	color: #666c76;
	font-weight: 800;
}

/* Footer shortcode sur fiches produit
   Dans Woodmart/Elementor, le shortcode est rendu dans main#main-content.container.
   On force donc le wrapper ET le footer a sortir du boxed, et on evite le clipping. */
body.single-product main#main-content:has(.mhps-footer-only),
body.single-product .wd-content-area:has(.mhps-footer-only),
body.single-product .single-product-page:has(.mhps-footer-only),
body.single-product .elementor:has(.mhps-footer-only),
body.single-product .elementor-element:has(.mhps-footer-only) {
	overflow: visible !important;
}

body.single-product .mhps.mhps-footer-only,
body > .mhps.mhps-footer-only.is-mhps-body-footer {
	position: relative !important;
	left: 50% !important;
	right: auto !important;
	width: 100vw !important;
	max-width: 100vw !important;
	min-width: 100vw !important;
	margin-left: -50vw !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
	padding: 0 !important;
	background: #242424 !important;
	clear: both !important;
}

body > .mhps.mhps-footer-only.is-mhps-body-footer {
	left: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
}

body.single-product .mhps.mhps-footer-only .mhps-footer,
body > .mhps.mhps-footer-only.is-mhps-body-footer .mhps-footer {
	position: relative !important;
	left: auto !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 0 !important;
}

