/* HerMad Merch 0.1.0 — isolé à la page merch. */
body.hermad-merch-context,
body.hermad-merch-order-context {
	--hm-merch-bg: #0d0d0f;
	--hm-merch-panel: rgba(27, 27, 31, .92);
	--hm-merch-border: rgba(255, 255, 255, .09);
	--hm-merch-text: #f4f6ff;
	--hm-merch-muted: #c8ccd8;
	--hm-merch-muted-2: #9499a8;
	--hm-merch-purple: #5f258d;
	--hm-merch-purple-deep: #571f63;
}

body.hermad-merch-context .hermad-page-panel {
	padding: clamp(22px, 4vw, 42px);
}

body.hermad-merch-context .hermad-page-title {
	margin-bottom: clamp(24px, 4vw, 42px);
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 400;
	letter-spacing: .035em;
	text-transform: uppercase;
}

.hermad-merch-catalog {
	display: grid;
	gap: 54px;
}

.hermad-merch-product {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	gap: clamp(30px, 5vw, 64px);
	align-items: start;
	padding-top: 52px;
	border-top: 1px solid var(--hm-merch-border);
}

.hermad-merch-product.is-first {
	padding-top: 0;
	border-top: 0;
}

.hermad-merch-gallery {
	min-width: 0;
}

.hermad-merch-gallery__main {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #f4f2ef;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.07);
}

.hermad-merch-gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
}

.hermad-merch-gallery__thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	overflow-x: auto;
	padding: 1px 1px 4px;
}

.hermad-merch-gallery__thumb {
	width: 86px;
	height: 105px;
	flex: 0 0 auto;
	padding: 0;
	border: 1px solid var(--hm-merch-border);
	border-radius: 10px;
	overflow: hidden;
	background: #f4f2ef;
	cursor: pointer;
	opacity: .68;
	transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}

.hermad-merch-gallery__thumb:hover,
.hermad-merch-gallery__thumb.is-active {
	opacity: 1;
	border-color: rgba(255,255,255,.55);
}

.hermad-merch-gallery__thumb:hover {
	transform: translateY(-1px);
}

.hermad-merch-gallery__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 !important;
}

.hermad-merch-summary {
	position: sticky;
	top: calc(var(--hermad-header-h, 72px) + 24px);
	padding-top: 10px;
	color: var(--hm-merch-text);
}

.hermad-merch-summary__eyebrow {
	margin: 0 0 8px !important;
	color: var(--hermad-purple, var(--hm-merch-purple));
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.hermad-merch-summary__title {
	margin: 0 !important;
	color: #fff !important;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
	font-weight: 400 !important;
	line-height: 1.22;
	letter-spacing: .015em;
}

.hermad-merch-summary__price {
	margin-top: 18px;
	color: #fff;
	font-size: 1.55rem;
	font-weight: 800;
}

.hermad-merch-summary__price del {
	color: var(--hm-merch-muted-2);
	font-size: .8em;
	font-weight: 500;
}

.hermad-merch-summary__price ins {
	color: #fff;
	text-decoration: none;
}

.hermad-merch-summary__description {
	margin-top: 24px;
	color: var(--hm-merch-muted);
	font-size: 1rem;
	line-height: 1.62;
}

.hermad-merch-summary__description p {
	margin: 0 0 12px;
}

.hermad-merch-summary__description p:last-child {
	margin-bottom: 0;
}

.hermad-merch-summary__purchase {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--hm-merch-border);
}

.hermad-merch-summary__purchase form.cart,
.hermad-merch-context .woocommerce div.product form.cart {
	margin: 0;
}

.hermad-merch-summary__purchase table.variations,
.hermad-merch-context .woocommerce div.product table.variations {
	width: 100%;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
}

.hermad-merch-summary__purchase table.variations tr,
.hermad-merch-summary__purchase table.variations th,
.hermad-merch-summary__purchase table.variations td,
.hermad-merch-context .woocommerce div.product table.variations tr,
.hermad-merch-context .woocommerce div.product table.variations th,
.hermad-merch-context .woocommerce div.product table.variations td {
	border: 0;
	background: transparent;
}

.hermad-merch-summary__purchase table.variations th.label,
.hermad-merch-context .woocommerce div.product table.variations th.label {
	display: block;
	padding: 0 0 8px;
	text-align: left;
}

.hermad-merch-summary__purchase table.variations th.label label,
.hermad-merch-context .woocommerce div.product table.variations th.label label {
	color: #fff;
	font-size: .79rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.hermad-merch-summary__purchase table.variations td.value,
.hermad-merch-context .woocommerce div.product table.variations td.value {
	display: block;
	padding: 0;
}

.hermad-merch-summary select,
.hermad-merch-context .woocommerce div.product select {
	width: 100%;
	min-height: 50px;
	padding: 0 14px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 9px;
	background: #111216;
	color: #fff;
	box-shadow: none;
	cursor: pointer;
}

.hermad-merch-summary select:focus,
.hermad-merch-context .woocommerce div.product select:focus {
	border-color: rgba(161,15,211,.7);
	outline: 2px solid rgba(161,15,211,.22);
	outline-offset: 1px;
}

.hermad-merch-summary .reset_variations,
.hermad-merch-context .woocommerce div.product .reset_variations {
	display: inline-block;
	margin-top: 8px;
	color: var(--hm-merch-muted-2) !important;
	font-size: .82rem;
}

.hermad-merch-summary .woocommerce-variation-price {
	margin: 10px 0 14px;
	font-size: 1.15rem;
	font-weight: 800;
}

.hermad-merch-summary .woocommerce-variation-availability,
.hermad-merch-context .woocommerce div.product .woocommerce-variation-availability {
	margin: 8px 0;
}

.hermad-merch-summary .stock,
.hermad-merch-context .woocommerce div.product .stock {
	color: var(--hm-merch-muted);
	font-weight: 700;
}

.hermad-merch-summary .stock.out-of-stock,
.hermad-merch-context .woocommerce div.product .stock.out-of-stock {
	color: #ff9a8f;
}

.hermad-merch-summary form.cart .quantity,
.hermad-merch-context .woocommerce div.product form.cart .quantity {
	float: none;
	display: inline-block;
	margin: 0 8px 0 0;
}

.hermad-merch-summary .quantity .qty,
.hermad-merch-context .woocommerce div.product .quantity .qty {
	width: 68px;
	height: 50px;
	box-sizing: border-box;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 9px;
	background: #111216;
	color: #fff;
	text-align: center;
}

.hermad-merch-summary form.cart .button,
.hermad-merch-context .woocommerce div.product form.cart .button {
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid var(--hermad-purple-deep, var(--hm-merch-purple-deep));
	border-radius: 9px;
	background: var(--hermad-purple-deep, var(--hm-merch-purple-deep));
	color: #fff;
	font-weight: 800;
	letter-spacing: .015em;
	box-shadow: none;
	cursor: pointer;
	transition: filter .18s ease, transform .18s ease;
}

.hermad-merch-summary form.cart .button:hover,
.hermad-merch-context .woocommerce div.product form.cart .button:hover {
	filter: brightness(1.12);
	transform: translateY(-1px);
}

.hermad-merch-summary form.cart .button.disabled,
.hermad-merch-summary form.cart .button:disabled,
.hermad-merch-context .woocommerce div.product form.cart .button.disabled,
.hermad-merch-context .woocommerce div.product form.cart .button:disabled {
	opacity: .42;
	cursor: not-allowed;
	transform: none;
}

.hermad-merch-summary__shipping {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0 !important;
	color: var(--hm-merch-muted-2);
	font-size: .9rem;
}

.hermad-merch-empty,
.hermad-merch-message {
	padding: 24px;
	border: 1px solid var(--hm-merch-border);
	border-radius: 14px;
	color: var(--hm-merch-muted);
	background: rgba(255,255,255,.025);
}

/* Compatibilité avec le shortcode WooCommerce [product_page] déjà en place. */
body.hermad-merch-context .hermad-entry-content > .woocommerce {
	color: var(--hm-merch-text);
}

body.hermad-merch-context .hermad-entry-content > .woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	gap: clamp(30px, 5vw, 64px);
	align-items: start;
}

body.hermad-merch-context .woocommerce div.product div.images,
body.hermad-merch-context .woocommerce div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

body.hermad-merch-context .woocommerce div.product div.images img {
	border-radius: 16px;
	background: #f4f2ef;
}

body.hermad-merch-context .woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 12px;
}

body.hermad-merch-context .woocommerce div.product div.images .flex-control-thumbs li {
	float: none;
	width: 86px;
}

body.hermad-merch-context .woocommerce div.product div.summary {
	position: sticky;
	top: calc(var(--hermad-header-h, 72px) + 24px);
	padding-top: 10px;
}

body.hermad-merch-context .woocommerce div.product .product_title {
	margin: 0 !important;
	color: #fff;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.25rem);
	font-weight: 400;
	line-height: 1.22;
}

body.hermad-merch-context .woocommerce div.product p.price,
body.hermad-merch-context .woocommerce div.product span.price {
	margin: 18px 0 0;
	color: #fff;
	font-size: 1.55rem;
	font-weight: 800;
}

body.hermad-merch-context .woocommerce-product-details__short-description {
	margin-top: 24px;
	color: var(--hm-merch-muted);
	line-height: 1.62;
}

body.hermad-merch-context .woocommerce div.product form.cart {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--hm-merch-border);
}

body.hermad-merch-context .woocommerce div.product .product_meta,
body.hermad-merch-context .woocommerce div.product .woocommerce-tabs,
body.hermad-merch-context .woocommerce .related.products,
body.hermad-merch-context .woocommerce .upsells.products {
	display: none !important;
}

body.hermad-merch-context .woocommerce-message,
body.hermad-merch-context .woocommerce-info,
body.hermad-merch-context .woocommerce-error {
	border: 1px solid var(--hm-merch-border);
	border-top-color: var(--hermad-purple, var(--hm-merch-purple));
	border-radius: 10px;
	background: rgba(255,255,255,.04);
	color: #fff;
}

@media (max-width: 820px) {
	.hermad-merch-product,
	body.hermad-merch-context .hermad-entry-content > .woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hermad-merch-summary,
	body.hermad-merch-context .woocommerce div.product div.summary {
		position: static;
		padding-top: 0;
	}

	.hermad-merch-gallery__main {
		border-radius: 13px;
	}
}

@media (max-width: 560px) {
	body.hermad-merch-context .hermad-page-panel {
		padding: 18px;
	}

	.hermad-merch-product {
		padding-top: 36px;
	}

	.hermad-merch-gallery__thumb,
	body.hermad-merch-context .woocommerce div.product div.images .flex-control-thumbs li {
		width: 72px;
		height: 88px;
	}

	.hermad-merch-summary form.cart .quantity,
	body.hermad-merch-context .woocommerce div.product form.cart .quantity {
		margin-right: 6px;
	}

	.hermad-merch-summary form.cart .button,
	body.hermad-merch-context .woocommerce div.product form.cart .button {
		padding-inline: 16px;
	}
}

/* Confirmation et accès au panier. */
body.hermad-merch-context .woocommerce-notices-wrapper,
body.hermad-merch-context > .woocommerce-notices-wrapper {
	max-width: 100%;
}

body.hermad-merch-context .woocommerce-message,
body.hermad-merch-context .woocommerce-info,
body.hermad-merch-context .woocommerce-error {
	position: relative;
	margin: 0 0 18px !important;
	padding: 16px 18px !important;
	border: 1px solid var(--hm-merch-border) !important;
	border-left: 3px solid var(--hermad-purple, var(--hm-merch-purple)) !important;
	border-radius: 10px;
	background: rgba(255,255,255,.045) !important;
	color: #fff !important;
	list-style: none;
}

body.hermad-merch-context .woocommerce-message::before,
body.hermad-merch-context .woocommerce-info::before,
body.hermad-merch-context .woocommerce-error::before {
	display: none !important;
}

body.hermad-merch-context .woocommerce-message .button,
body.hermad-merch-context .woocommerce-info .button,
body.hermad-merch-context .woocommerce-error .button {
	float: right;
	margin: -6px 0 -6px 18px;
	padding: 10px 14px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 8px;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
}

.hermad-merch-cartbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 28px;
	padding: 15px 16px;
	border: 1px solid rgba(161,15,211,.38);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(95,37,141,.18), rgba(255,255,255,.025));
	color: #fff;
}

.hermad-merch-cartbar__summary {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-width: 0;
}

.hermad-merch-cartbar__label {
	font-weight: 850;
}

.hermad-merch-cartbar__meta {
	color: var(--hm-merch-muted-2);
	font-size: .9rem;
}

.hermad-merch-cartbar__button {
	flex: 0 0 auto;
	padding: 11px 16px;
	border-radius: 8px;
	background: var(--hermad-purple-deep, var(--hm-merch-purple-deep));
	color: #fff !important;
	font-weight: 850;
	text-decoration: none !important;
	transition: filter .18s ease, transform .18s ease;
}

.hermad-merch-cartbar__button:hover {
	filter: brightness(1.12);
	transform: translateY(-1px);
}

@media (max-width: 560px) {
	.hermad-merch-cartbar {
		align-items: stretch;
		flex-direction: column;
	}

	.hermad-merch-cartbar__summary {
		justify-content: space-between;
	}

	.hermad-merch-cartbar__button {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}

	body.hermad-merch-context .woocommerce-message .button,
	body.hermad-merch-context .woocommerce-info .button,
	body.hermad-merch-context .woocommerce-error .button {
		float: none;
		display: block;
		width: fit-content;
		margin: 10px 0 0;
	}
}


/* =========================================================
   Fiche produit WooCommerce de secours (/produit/...)
   La vitrine principale reste /merch/, mais une URL produit directe
   conserve le même langage visuel et le même tunnel d'achat.
   ========================================================= */
body.hermad-merch-product-context .woocommerce-breadcrumb,
body.hermad-merch-product-context .product_meta,
body.hermad-merch-product-context .woocommerce-tabs,
body.hermad-merch-product-context .related.products,
body.hermad-merch-product-context .upsells.products,
body.hermad-merch-product-context #secondary,
body.hermad-merch-product-context .widget-area {
	display: none !important;
}

body.hermad-merch-product-context .woocommerce {
	width: min(100% - 36px, 1120px);
	margin: 0 auto;
	color: var(--hm-merch-text);
}

body.hermad-merch-product-context .woocommerce #primary,
body.hermad-merch-product-context .woocommerce-page #primary,
body.hermad-merch-product-context .content-area {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.hermad-merch-product-context .woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
	column-gap: clamp(30px, 5vw, 64px);
	row-gap: 18px;
	align-items: start;
	margin: 0;
}

body.hermad-merch-product-context .woocommerce div.product div.images,
body.hermad-merch-product-context .woocommerce div.product div.summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

body.hermad-merch-product-context .woocommerce div.product div.images {
	grid-column: 1;
	grid-row: 1 / span 3;
}

body.hermad-merch-product-context .woocommerce div.product div.summary {
	grid-column: 2;
	grid-row: 1 / span 3;
	position: sticky;
	top: calc(var(--hermad-header-h, 72px) + 24px);
	padding-top: 10px;
}

body.hermad-merch-product-context .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	margin: 0;
}

body.hermad-merch-product-context .woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 16px;
	background: #f4f2ef;
}

body.hermad-merch-product-context .woocommerce div.product div.images img {
	display: block;
	width: 100%;
	border-radius: 16px;
	background: #f4f2ef;
}

body.hermad-merch-product-context .woocommerce div.product div.images .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

body.hermad-merch-product-context .woocommerce div.product div.images .flex-control-thumbs li {
	float: none !important;
	width: 86px !important;
	height: 105px;
	overflow: hidden;
	border: 1px solid var(--hm-merch-border);
	border-radius: 10px;
	background: #f4f2ef;
}

body.hermad-merch-product-context .woocommerce div.product div.images .flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

body.hermad-merch-product-context .woocommerce div.product .product_title {
	margin: 0 !important;
	color: #fff !important;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
	font-size: clamp(1.55rem, 3vw, 2.25rem) !important;
	font-weight: 400 !important;
	line-height: 1.22;
	letter-spacing: .015em;
}

body.hermad-merch-product-context .woocommerce div.product p.price,
body.hermad-merch-product-context .woocommerce div.product span.price {
	margin: 18px 0 0;
	color: #fff;
	font-size: 1.55rem;
	font-weight: 800;
}

body.hermad-merch-product-context .woocommerce-product-details__short-description {
	margin-top: 24px;
	color: var(--hm-merch-muted);
	font-size: 1rem;
	line-height: 1.62;
}

body.hermad-merch-product-context .woocommerce-product-details__short-description p {
	margin: 0 0 12px;
}

body.hermad-merch-product-context .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

body.hermad-merch-product-context .woocommerce div.product form.cart {
	margin-top: 30px;
	padding-top: 24px;
	border-top: 1px solid var(--hm-merch-border);
}

body.hermad-merch-product-context .hermad-merch-product-back {
	grid-column: 1 / -1;
	margin: 0 0 20px;
}

body.hermad-merch-product-context .hermad-merch-product-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hm-merch-muted-2);
	font-size: .9rem;
	font-weight: 750;
	text-decoration: none;
	transition: color .18s ease;
}

body.hermad-merch-product-context .hermad-merch-product-back a:hover {
	color: #fff;
}

body.hermad-merch-product-context .hermad-merch-product-eyebrow {
	margin-bottom: 8px !important;
}

body.hermad-merch-product-context .hermad-merch-product-shipping {
	margin-top: 18px !important;
}

body.hermad-merch-product-context .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
	width: 100%;
}

body.hermad-merch-product-context .hermad-merch-product-cartbar {
	grid-column: 1 / -1;
	margin-bottom: 24px;
}

/* Les wrappers WooCommerce natifs ne doivent pas réintroduire une colonne sidebar. */
body.hermad-merch-product-context #primary,
body.hermad-merch-product-context #main,
body.hermad-merch-product-context main.site-main {
	max-width: none;
}

@media (max-width: 820px) {
	body.hermad-merch-product-context .woocommerce {
		width: min(100% - 32px, 720px);
	}

	body.hermad-merch-product-context .woocommerce div.product {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	body.hermad-merch-product-context .woocommerce div.product div.images,
	body.hermad-merch-product-context .woocommerce div.product div.summary,
	body.hermad-merch-product-context .hermad-merch-product-back,
	body.hermad-merch-product-context .woocommerce-notices-wrapper,
	body.hermad-merch-product-context .hermad-merch-product-cartbar {
		grid-column: 1;
		grid-row: auto;
	}

	body.hermad-merch-product-context .woocommerce div.product div.summary {
		position: static;
		padding-top: 0;
	}
}

@media (max-width: 560px) {
	body.hermad-merch-product-context .woocommerce {
		width: min(100% - 28px, 520px);
	}

	body.hermad-merch-product-context .woocommerce div.product div.images .flex-control-thumbs li {
		width: 72px !important;
		height: 88px;
	}
}

/* =========================================================
   Fiche produit fallback v0.1.4
   Même renderer que /merch/ : aucune dépendance au HTML single-product natif.
   ========================================================= */
body.hermad-merch-product-context .hermad-merch-single-panel {
	position: relative;
}

body.hermad-merch-product-context .hermad-merch-single-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 18px;
}

body.hermad-merch-product-context .hermad-merch-single-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--hm-merch-muted-2);
	font-size: .9rem;
	font-weight: 750;
	text-decoration: none;
	transition: color .18s ease;
}

body.hermad-merch-product-context .hermad-merch-single-back:hover {
	color: #fff;
}

body.hermad-merch-product-context .hermad-merch-single-fallback .hermad-page-title {
	margin-bottom: clamp(24px, 4vw, 42px);
}

body.hermad-merch-product-context .hermad-merch-single-fallback .hermad-merch-catalog {
	margin-top: 0;
}

/* =========================================================
   HerMad Merch 0.1.5 — CTA WooCommerce gérés par le plugin
   Même langage visuel que le bouton Valider de l’Espace Pro.
   ========================================================= */
body.hermad-merch-context .hermad-merch-action,
body.hermad-merch-context .single_add_to_cart_button,
body.hermad-merch-context a.added_to_cart.wc-forward,
body.hermad-merch-context .woocommerce-message a.button.wc-forward,
body.hermad-merch-product-context .hermad-merch-action,
body.hermad-merch-product-context .single_add_to_cart_button,
body.hermad-merch-product-context a.added_to_cart.wc-forward,
body.hermad-merch-order-context #place_order,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button,
body.hermad-merch-order-context .wc-block-cart__submit-button {
	position: relative !important;
	box-sizing: border-box !important;
	min-height: 54px !important;
	padding: 0 48px 0 24px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1px solid rgba(95,37,141,.58) !important;
	border-radius: 10px !important;
	background: linear-gradient(135deg, rgba(95,37,141,.22), rgba(95,37,141,.075) 62%, rgba(255,255,255,.018)) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: .96rem !important;
	font-weight: 800 !important;
	line-height: 1.2 !important;
	letter-spacing: .015em !important;
	text-decoration: none !important;
	cursor: pointer !important;
	overflow: hidden !important;
	opacity: 1 !important;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 6px 18px rgba(0,0,0,.10) !important;
	transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

body.hermad-merch-context .hermad-merch-action,
body.hermad-merch-context .single_add_to_cart_button,
body.hermad-merch-context a.added_to_cart.wc-forward,
body.hermad-merch-product-context .hermad-merch-action,
body.hermad-merch-product-context .single_add_to_cart_button,
body.hermad-merch-product-context a.added_to_cart.wc-forward {
	min-width: 190px !important;
}

body.hermad-merch-context .hermad-merch-action::before,
body.hermad-merch-context .single_add_to_cart_button::before,
body.hermad-merch-context a.added_to_cart.wc-forward::before,
body.hermad-merch-context .woocommerce-message a.button.wc-forward::before,
body.hermad-merch-product-context .hermad-merch-action::before,
body.hermad-merch-product-context .single_add_to_cart_button::before,
body.hermad-merch-product-context a.added_to_cart.wc-forward::before,
body.hermad-merch-order-context #place_order::before,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button::before,
body.hermad-merch-order-context .wc-block-cart__submit-button::before {
	content: "" !important;
	position: absolute !important;
	inset: 0 auto 0 0 !important;
	width: 4px !important;
	height: auto !important;
	margin: 0 !important;
	background: var(--hermad-purple, var(--hm-merch-purple)) !important;
	transform: none !important;
}

body.hermad-merch-context .hermad-merch-action::after,
body.hermad-merch-context .single_add_to_cart_button::after,
body.hermad-merch-context a.added_to_cart.wc-forward::after,
body.hermad-merch-context .woocommerce-message a.button.wc-forward::after,
body.hermad-merch-product-context .hermad-merch-action::after,
body.hermad-merch-product-context .single_add_to_cart_button::after,
body.hermad-merch-product-context a.added_to_cart.wc-forward::after,
body.hermad-merch-order-context #place_order::after,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button::after,
body.hermad-merch-order-context .wc-block-cart__submit-button::after {
	content: "→" !important;
	position: absolute !important;
	right: 17px !important;
	top: 50% !important;
	left: auto !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	color: var(--hermad-purple, var(--hm-merch-purple)) !important;
	font-size: 1.22rem !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	opacity: 1 !important;
	background: none !important;
	transition: color .18s ease, transform .18s ease !important;
}

body.hermad-merch-context .hermad-merch-action:hover,
body.hermad-merch-context .hermad-merch-action:focus-visible,
body.hermad-merch-context .single_add_to_cart_button:hover,
body.hermad-merch-context .single_add_to_cart_button:focus-visible,
body.hermad-merch-context a.added_to_cart.wc-forward:hover,
body.hermad-merch-context a.added_to_cart.wc-forward:focus-visible,
body.hermad-merch-context .woocommerce-message a.button.wc-forward:hover,
body.hermad-merch-context .woocommerce-message a.button.wc-forward:focus-visible,
body.hermad-merch-product-context .hermad-merch-action:hover,
body.hermad-merch-product-context .hermad-merch-action:focus-visible,
body.hermad-merch-product-context .single_add_to_cart_button:hover,
body.hermad-merch-product-context .single_add_to_cart_button:focus-visible,
body.hermad-merch-product-context a.added_to_cart.wc-forward:hover,
body.hermad-merch-product-context a.added_to_cart.wc-forward:focus-visible,
body.hermad-merch-order-context #place_order:hover,
body.hermad-merch-order-context #place_order:focus-visible,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button:hover,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button:focus-visible,
body.hermad-merch-order-context .wc-block-cart__submit-button:hover,
body.hermad-merch-order-context .wc-block-cart__submit-button:focus-visible {
	transform: translateY(-2px) !important;
	border-color: rgba(95,37,141,.88) !important;
	background: linear-gradient(135deg, rgba(95,37,141,.30), rgba(95,37,141,.11) 62%, rgba(255,255,255,.026)) !important;
	color: #fff !important;
	box-shadow: 0 10px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045) !important;
}

body.hermad-merch-context .hermad-merch-action:hover::after,
body.hermad-merch-context .hermad-merch-action:focus-visible::after,
body.hermad-merch-context .single_add_to_cart_button:hover::after,
body.hermad-merch-context .single_add_to_cart_button:focus-visible::after,
body.hermad-merch-context a.added_to_cart.wc-forward:hover::after,
body.hermad-merch-context a.added_to_cart.wc-forward:focus-visible::after,
body.hermad-merch-context .woocommerce-message a.button.wc-forward:hover::after,
body.hermad-merch-context .woocommerce-message a.button.wc-forward:focus-visible::after,
body.hermad-merch-product-context .hermad-merch-action:hover::after,
body.hermad-merch-product-context .hermad-merch-action:focus-visible::after,
body.hermad-merch-product-context .single_add_to_cart_button:hover::after,
body.hermad-merch-product-context .single_add_to_cart_button:focus-visible::after,
body.hermad-merch-product-context a.added_to_cart.wc-forward:hover::after,
body.hermad-merch-product-context a.added_to_cart.wc-forward:focus-visible::after,
body.hermad-merch-order-context #place_order:hover::after,
body.hermad-merch-order-context #place_order:focus-visible::after,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button:hover::after,
body.hermad-merch-order-context .wc-block-components-checkout-place-order-button:focus-visible::after,
body.hermad-merch-order-context .wc-block-cart__submit-button:hover::after,
body.hermad-merch-order-context .wc-block-cart__submit-button:focus-visible::after {
	color: #fff !important;
	transform: translate(3px, -50%) !important;
}

body.hermad-merch-context .single_add_to_cart_button:disabled,
body.hermad-merch-context .single_add_to_cart_button.disabled,
body.hermad-merch-product-context .single_add_to_cart_button:disabled,
body.hermad-merch-product-context .single_add_to_cart_button.disabled {
	cursor: not-allowed !important;
	opacity: .58 !important;
	transform: none !important;
}

body.hermad-merch-context a.added_to_cart.wc-forward {
	margin-left: 10px;
	vertical-align: middle;
}

@media (max-width: 560px) {
	body.hermad-merch-context .hermad-merch-action,
	body.hermad-merch-context .single_add_to_cart_button,
	body.hermad-merch-context a.added_to_cart.wc-forward,
	body.hermad-merch-product-context .hermad-merch-action,
	body.hermad-merch-product-context .single_add_to_cart_button,
	body.hermad-merch-product-context a.added_to_cart.wc-forward,
	body.hermad-merch-order-context #place_order,
	body.hermad-merch-order-context .wc-block-components-checkout-place-order-button,
	body.hermad-merch-order-context .wc-block-cart__submit-button {
		min-height: 50px !important;
	}

	body.hermad-merch-context a.added_to_cart.wc-forward {
		margin: 10px 0 0;
	}
}



/* HerMad Merch 0.1.6 — pas d'encart de confirmation après ajout au panier. */
body.hermad-merch-context .woocommerce-notices-wrapper > .woocommerce-message,
body.hermad-merch-product-context .woocommerce-notices-wrapper > .woocommerce-message {
	display: none !important;
}


/* =========================================================
   HerMad Merch 0.1.8 — panier harmonisé avec l'identité HerMad
   WooCommerce Blocks + fallback panier classique.
   ========================================================= */
body.hermad-merch-cart-context {
	--hm-cart-surface: rgba(255,255,255,.018);
	--hm-cart-surface-strong: rgba(95,37,141,.075);
	--hm-cart-border: rgba(255,255,255,.09);
	--hm-cart-border-purple: rgba(95,37,141,.50);
	--hm-cart-muted: #b9bdc9;
}

body.hermad-merch-cart-context .wc-block-cart,
body.hermad-merch-cart-context .woocommerce-cart-form,
body.hermad-merch-cart-context .cart-collaterals {
	color: var(--hm-merch-text);
}

/* WooCommerce Cart Block */
body.hermad-merch-cart-context .wc-block-cart {
	column-gap: clamp(26px, 4vw, 54px);
	row-gap: 30px;
	align-items: start;
}

body.hermad-merch-cart-context .wc-block-cart__main {
	margin: 0 !important;
}

body.hermad-merch-cart-context .wc-block-cart-items {
	width: 100%;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 12px !important;
}

body.hermad-merch-cart-context .wc-block-cart-items thead {
	display: none;
}

body.hermad-merch-cart-context .wc-block-cart-items tbody,
body.hermad-merch-cart-context .wc-block-cart-items tr,
body.hermad-merch-cart-context .wc-block-cart-items td {
	border: 0 !important;
}

body.hermad-merch-cart-context .wc-block-cart-items tr {
	position: relative;
	background: linear-gradient(135deg, rgba(95,37,141,.10), rgba(255,255,255,.018) 55%, rgba(255,255,255,.008));
	box-shadow: inset 0 0 0 1px var(--hm-cart-border);
}

body.hermad-merch-cart-context .wc-block-cart-items tr::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	border-radius: 12px 0 0 12px;
	background: var(--hermad-purple, var(--hm-merch-purple));
}

body.hermad-merch-cart-context .wc-block-cart-items td {
	padding-top: 20px !important;
	padding-bottom: 20px !important;
	vertical-align: middle !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__image {
	padding-left: 22px !important;
	padding-right: 18px !important;
	width: 122px !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__image img {
	display: block;
	width: 96px !important;
	height: 112px !important;
	object-fit: cover;
	border-radius: 10px !important;
	border: 1px solid rgba(255,255,255,.08);
	background: #f4f2ef;
}

body.hermad-merch-cart-context .wc-block-cart-item__product {
	padding-right: 18px !important;
}

body.hermad-merch-cart-context .wc-block-components-product-name {
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	text-decoration: none !important;
}

body.hermad-merch-cart-context .wc-block-components-product-name:hover {
	color: #fff !important;
	text-decoration: underline !important;
	text-decoration-color: rgba(95,37,141,.85) !important;
	text-underline-offset: 4px;
}

body.hermad-merch-cart-context .wc-block-components-product-price,
body.hermad-merch-cart-context .wc-block-cart-item__total-price-and-sale-badge-wrapper,
body.hermad-merch-cart-context .wc-block-components-product-metadata,
body.hermad-merch-cart-context .wc-block-components-product-details {
	color: var(--hm-cart-muted) !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__total-price-and-sale-badge-wrapper {
	justify-content: flex-end;
}

body.hermad-merch-cart-context .wc-block-components-product-price__value,
body.hermad-merch-cart-context .wc-block-cart-item__total-price-and-sale-badge-wrapper .wc-block-formatted-money-amount {
	color: #fff !important;
	font-weight: 800 !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__quantity {
	margin-top: 14px !important;
	display: flex;
	align-items: center;
	gap: 14px;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector {
	margin: 0 !important;
	min-height: 38px;
	border: 1px solid rgba(255,255,255,.13) !important;
	border-radius: 8px !important;
	background: rgba(0,0,0,.16) !important;
	overflow: hidden;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector::after {
	display: none !important;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector__button,
body.hermad-merch-cart-context .wc-block-components-quantity-selector__input {
	min-width: 34px !important;
	height: 36px !important;
	color: #fff !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector__button {
	font-size: 1rem !important;
	color: var(--hm-cart-muted) !important;
	transition: color .16s ease, background .16s ease;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector__button:hover {
	color: #fff !important;
	background: rgba(95,37,141,.16) !important;
}

body.hermad-merch-cart-context .wc-block-components-quantity-selector__input {
	font-weight: 800 !important;
	font-size: .9rem !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__remove-link {
	padding: 0 !important;
	color: var(--hermad-purple, var(--hm-merch-purple)) !important;
	font-size: .78rem !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	background: none !important;
	border: 0 !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__remove-link:hover {
	color: #fff !important;
	text-decoration: none !important;
}

/* Bloc récapitulatif. */
body.hermad-merch-cart-context .wc-block-cart__sidebar {
	position: sticky;
	top: calc(var(--hermad-header-h, 72px) + 24px);
	padding: 24px !important;
	border: 1px solid var(--hm-cart-border-purple) !important;
	border-radius: 12px !important;
	background: linear-gradient(145deg, rgba(95,37,141,.12), rgba(255,255,255,.018) 58%, rgba(255,255,255,.006)) !important;
	box-shadow: inset 3px 0 0 var(--hermad-purple, var(--hm-merch-purple));
}

body.hermad-merch-cart-context .wc-block-cart__totals-title {
	margin: 0 0 16px !important;
	padding: 0 0 14px !important;
	color: #fff !important;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif !important;
	font-size: .98rem !important;
	font-weight: 400 !important;
	letter-spacing: .045em !important;
	text-transform: uppercase !important;
	border-bottom: 1px solid var(--hm-cart-border) !important;
}

body.hermad-merch-cart-context .wc-block-components-totals-wrapper {
	padding: 14px 0 !important;
	border-top: 1px solid var(--hm-cart-border) !important;
}

body.hermad-merch-cart-context .wc-block-components-totals-wrapper:first-of-type {
	border-top: 0 !important;
}

body.hermad-merch-cart-context .wc-block-components-totals-item__label,
body.hermad-merch-cart-context .wc-block-components-totals-item__description {
	color: var(--hm-cart-muted) !important;
}

body.hermad-merch-cart-context .wc-block-components-totals-item__value {
	color: #fff !important;
	font-weight: 800 !important;
}

body.hermad-merch-cart-context .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.hermad-merch-cart-context .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	color: #fff !important;
	font-size: 1.08rem !important;
	font-weight: 900 !important;
}

body.hermad-merch-cart-context .wc-block-components-panel__button,
body.hermad-merch-cart-context .wc-block-components-totals-coupon-link {
	color: var(--hm-cart-muted) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
}

body.hermad-merch-cart-context .wc-block-components-panel__button:hover,
body.hermad-merch-cart-context .wc-block-components-totals-coupon-link:hover {
	color: #fff !important;
}

body.hermad-merch-cart-context .wc-block-cart__submit {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

body.hermad-merch-cart-context .wc-block-cart__submit-button {
	width: 100% !important;
}

/* Panier vide. */
body.hermad-merch-cart-context .wc-block-cart__empty-cart__title,
body.hermad-merch-cart-context .wc-block-cart__empty-cart__title.with-empty-cart-icon::before {
	color: #fff !important;
}

/* Fallback panier classique WooCommerce. */
body.hermad-merch-cart-context .woocommerce-cart-form table.shop_table,
body.hermad-merch-cart-context .cart_totals table.shop_table {
	border: 1px solid var(--hm-cart-border) !important;
	border-radius: 12px !important;
	background: var(--hm-cart-surface) !important;
	color: var(--hm-merch-text) !important;
	overflow: hidden;
}

body.hermad-merch-cart-context .woocommerce-cart-form table.shop_table th,
body.hermad-merch-cart-context .woocommerce-cart-form table.shop_table td,
body.hermad-merch-cart-context .cart_totals table.shop_table th,
body.hermad-merch-cart-context .cart_totals table.shop_table td {
	border-color: var(--hm-cart-border) !important;
	background: transparent !important;
	color: var(--hm-merch-text) !important;
}

body.hermad-merch-cart-context .woocommerce-cart-form .product-thumbnail img {
	width: 88px !important;
	border-radius: 9px !important;
}

body.hermad-merch-cart-context .woocommerce-cart-form a,
body.hermad-merch-cart-context .cart_totals a {
	color: #fff;
}

body.hermad-merch-cart-context .woocommerce-cart-form .product-remove a {
	color: var(--hermad-purple, var(--hm-merch-purple)) !important;
	background: transparent !important;
}

body.hermad-merch-cart-context .cart_totals {
	padding: 24px;
	border: 1px solid var(--hm-cart-border-purple);
	border-radius: 12px;
	background: linear-gradient(145deg, rgba(95,37,141,.12), rgba(255,255,255,.018) 58%, rgba(255,255,255,.006));
	box-shadow: inset 3px 0 0 var(--hermad-purple, var(--hm-merch-purple));
}

body.hermad-merch-cart-context .cart_totals h2 {
	margin-top: 0;
	color: #fff;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: .045em;
	text-transform: uppercase;
}

body.hermad-merch-cart-context .woocommerce .quantity .qty {
	color: #fff !important;
	background: rgba(0,0,0,.16) !important;
	border: 1px solid rgba(255,255,255,.13) !important;
	border-radius: 8px !important;
}

@media (max-width: 900px) {
	body.hermad-merch-cart-context .wc-block-cart__sidebar {
		position: static;
		margin-top: 8px;
	}
}

@media (max-width: 640px) {
	body.hermad-merch-cart-context .wc-block-cart-items {
		border-spacing: 0 10px !important;
	}

	body.hermad-merch-cart-context .wc-block-cart-items tr {
		border-radius: 10px;
	}

	body.hermad-merch-cart-context .wc-block-cart-item__image {
		padding-left: 14px !important;
		padding-right: 12px !important;
		width: 96px !important;
	}

	body.hermad-merch-cart-context .wc-block-cart-item__image img {
		width: 74px !important;
		height: 90px !important;
	}

	body.hermad-merch-cart-context .wc-block-cart-items td {
		padding-top: 14px !important;
		padding-bottom: 14px !important;
	}

	body.hermad-merch-cart-context .wc-block-cart__sidebar {
		padding: 20px !important;
	}
}


/* ================================================================
   HerMad Merch 0.1.9 — panier harmonisé avec le site HerMad
   ================================================================ */

/* Titre de page : même langage visuel que les grands titres du site. */
body.hermad-merch-cart-context .entry-title,
body.hermad-merch-cart-context .wp-block-post-title,
body.hermad-merch-cart-context main h1:first-of-type,
body.hermad-merch-cart-context .woocommerce > h1:first-child {
	margin: 30px auto 46px !important;
	color: var(--hermad-purple, var(--hm-merch-purple)) !important;
	font-family: "Michroma", "Source Sans Pro", Arial, sans-serif !important;
	font-size: clamp(1.72rem, 3vw, 2.18rem) !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: .045em !important;
	text-align: center !important;
	text-transform: uppercase !important;
}

/* Le contenu du panier reste centré et utilise la largeur utile du site. */
body.hermad-merch-cart-context .wp-block-woocommerce-cart,
body.hermad-merch-cart-context .woocommerce-cart-form + .cart-collaterals,
body.hermad-merch-cart-context .woocommerce {
	width: min(100%, 1100px);
	margin-inline: auto;
}

/* Cart Block : vraie composition desktop à deux colonnes. */
@media (min-width: 901px) {
	body.hermad-merch-cart-context .wc-block-cart {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(330px, 370px) !important;
		column-gap: clamp(34px, 4.5vw, 58px) !important;
		align-items: start !important;
		width: 100% !important;
		max-width: 1100px !important;
		margin-inline: auto !important;
	}

	body.hermad-merch-cart-context .wc-block-cart__main,
	body.hermad-merch-cart-context .wc-block-cart__sidebar {
		width: auto !important;
		max-width: none !important;
		float: none !important;
		margin: 0 !important;
	}

	body.hermad-merch-cart-context .wc-block-cart__main {
		grid-column: 1 !important;
	}

	body.hermad-merch-cart-context .wc-block-cart__sidebar {
		grid-column: 2 !important;
		position: sticky !important;
		top: calc(var(--hermad-header-h, 72px) + 24px) !important;
	}
}

/* Les lignes produit deviennent un peu plus nettes et plus aérées. */
body.hermad-merch-cart-context .wc-block-cart-items tr {
	border-radius: 10px !important;
	background: linear-gradient(135deg, rgba(95,37,141,.075), rgba(255,255,255,.014) 58%, rgba(255,255,255,.006)) !important;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.085) !important;
	overflow: hidden;
}

body.hermad-merch-cart-context .wc-block-cart-items tr::before {
	width: 3px !important;
	border-radius: 10px 0 0 10px !important;
}

body.hermad-merch-cart-context .wc-block-cart-item__image img {
	border-radius: 9px !important;
	box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* Le récapitulatif est plus fin et cohérent avec les documents de l'Espace Pro. */
body.hermad-merch-cart-context .wc-block-cart__sidebar {
	padding: 24px !important;
	border-radius: 11px !important;
	background: linear-gradient(145deg, rgba(95,37,141,.10), rgba(255,255,255,.014) 60%, rgba(255,255,255,.005)) !important;
	box-shadow: inset 3px 0 0 var(--hermad-purple, var(--hm-merch-purple)) !important;
}

body.hermad-merch-cart-context .wc-block-cart__totals-title {
	font-size: .96rem !important;
	letter-spacing: .055em !important;
}

/* Panier classique WooCommerce : même composition desktop. */
@media (min-width: 901px) {
	body.hermad-merch-cart-context .woocommerce:has(.woocommerce-cart-form) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(330px, 370px);
		column-gap: clamp(34px, 4.5vw, 58px);
		align-items: start;
	}

	body.hermad-merch-cart-context .woocommerce-cart-form {
		grid-column: 1;
	}

	body.hermad-merch-cart-context .cart-collaterals {
		grid-column: 2;
		margin: 0 !important;
	}

	body.hermad-merch-cart-context .cart-collaterals .cart_totals {
		float: none !important;
		width: 100% !important;
		margin: 0 !important;
	}
}

@media (max-width: 900px) {
	body.hermad-merch-cart-context .entry-title,
	body.hermad-merch-cart-context .wp-block-post-title,
	body.hermad-merch-cart-context main h1:first-of-type,
	body.hermad-merch-cart-context .woocommerce > h1:first-child {
		margin-bottom: 34px !important;
		font-size: clamp(1.48rem, 7vw, 1.9rem) !important;
	}

	body.hermad-merch-cart-context .wc-block-cart {
		display: block !important;
	}

	body.hermad-merch-cart-context .wc-block-cart__sidebar {
		position: static !important;
		width: 100% !important;
		margin-top: 26px !important;
	}
}


/* HerMad 0.2.7 - lisibilité du paiement WooCommerce classique. */
body.hermad-merch-checkout-context form.checkout #payment div.payment_box {
    background: #17141f;
    color: #e9e9f2;
}

body.hermad-merch-checkout-context form.checkout #payment div.payment_box::before {
    border-bottom-color: #17141f;
}

body.hermad-merch-checkout-context form.checkout #payment div.payment_box label,
body.hermad-merch-checkout-context form.checkout #payment div.payment_box legend {
    color: #e9e9f2;
}

body.hermad-merch-checkout-context form.checkout #payment div.payment_box a {
    color: #fff;
}
/* HerMad 0.2.8 - choix de livraison sur les checkouts classiques EN/PT. */body.hermad-merch-checkout-context .hermad-checkout-delivery {    margin: 0 0 28px;    clear: both;}body.hermad-merch-checkout-context .hermad-checkout-delivery [hidden],body.hermad-merch-checkout-context .hermad-checkout-delivery[hidden],body.hermad-merch-checkout-context form.hermad-delivery-enhanced .woocommerce-shipping-methods,body.hermad-merch-checkout-context form.hermad-pickup-active .woocommerce-shipping-fields {    display: none !important;}body.hermad-merch-checkout-context .hermad-checkout-delivery fieldset {    padding: 0;    margin: 0 0 20px;    border: 0;    min-width: 0;}body.hermad-merch-checkout-context .hermad-checkout-delivery legend {    padding: 0;    margin: 0 0 12px;    font-size: 1.12rem;    font-weight: 650;    color: #fff;}body.hermad-merch-checkout-context .hermad-delivery-switch {    display: grid;    grid-template-columns: repeat(2, minmax(0, 1fr));    gap: 4px;    padding: 4px;    background: #1b191f;    border-radius: 9px;}body.hermad-merch-checkout-context .hermad-delivery-type {    position: relative;    min-width: 0;    margin: 0;    cursor: pointer;}body.hermad-merch-checkout-context .hermad-delivery-type input {    position: absolute;    opacity: 0;    width: 1px;    height: 1px;}body.hermad-merch-checkout-context .hermad-delivery-type > span {    display: flex;    align-items: center;    justify-content: center;    gap: 9px;    min-height: 48px;    padding: 10px 12px;    border: 1px solid transparent;    border-radius: 6px;    color: #d4d4df;    overflow-wrap: anywhere;}body.hermad-merch-checkout-context .hermad-delivery-type svg {    flex-shrink: 0;}body.hermad-merch-checkout-context .hermad-delivery-type input:checked + span {    background: #30243e;    border-color: #9060ba;    color: #fff;}body.hermad-merch-checkout-context .hermad-delivery-type input:focus-visible + span {    outline: 2px solid #c499e8;    outline-offset: 2px;}body.hermad-merch-checkout-context .hermad-delivery-type input:disabled + span {    opacity: .45;    cursor: not-allowed;}body.hermad-merch-checkout-context .hermad-delivery-option {    display: flex;    align-items: flex-start;    gap: 12px;    margin: 0 0 10px;    padding: 16px;    border: 1px solid #686174;    border-radius: 6px;    color: #e9e9f2;    cursor: pointer;}body.hermad-merch-checkout-context .hermad-delivery-option input {    margin: 4px 0 0;    flex-shrink: 0;    accent-color: #a576cf;}body.hermad-merch-checkout-context .hermad-pickup-copy {    display: flex;    flex-direction: column;    gap: 7px;    min-width: 0;    overflow-wrap: anywhere;}body.hermad-merch-checkout-context .hermad-pickup-copy strong {    color: #fff;}body.hermad-merch-checkout-context .hermad-pickup-price {    flex-shrink: 0;    margin-left: auto;    font-size: .9em;}@media (max-width: 480px) {    body.hermad-merch-checkout-context .hermad-delivery-option {        gap: 9px;        padding: 12px;    }}