/**
 * EzWooShop - feuille de style principale.
 *
 * Tout le thème s'appuie sur les variables --ezwsh-* ; la palette active
 * est injectée inline (voir ezwsh_palette_css()) et écrase les valeurs
 * de repli ci-dessous (palette « Indigo Moderne »).
 *
 * Règle de compatibilité EzWooDrop : ne JAMAIS styler l'intérieur de
 * #ezwd-embed. La typographie et les liens sont scopés aux conteneurs du
 * thème (.ezwsh-*) ; seuls body/fond/police de base restent globaux.
 */

:root {
	/* Palette (repli : indigo). */
	--ezwsh-primary: #4f46e5;
	--ezwsh-primary-rgb: 79, 70, 229;
	--ezwsh-secondary: #3730a3;
	--ezwsh-secondary-rgb: 55, 48, 163;
	--ezwsh-accent: #f59e0b;
	--ezwsh-accent-rgb: 245, 158, 11;
	--ezwsh-bg: #ffffff;
	--ezwsh-bg-rgb: 255, 255, 255;
	--ezwsh-text: #0f172a;
	--ezwsh-text-rgb: 15, 23, 42;

	/* Déclinaisons. */
	--ezwsh-muted: rgba(var(--ezwsh-text-rgb), 0.62);
	--ezwsh-border: rgba(var(--ezwsh-text-rgb), 0.12);
	--ezwsh-soft: rgba(var(--ezwsh-primary-rgb), 0.07);
	--ezwsh-shadow: 0 8px 30px rgba(var(--ezwsh-text-rgb), 0.08);

	/* Tokens. */
	--ezwsh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--ezwsh-font-heading: var(--ezwsh-font);
	--ezwsh-radius: 8px;
	--ezwsh-btn-radius: 8px;
	--ezwsh-radius-lg: 16px;
	--ezwsh-container: 1200px;
	--ezwsh-gutter: 24px;
	--ezwsh-header-h: 68px;
}

/* ─────────────────────────────── Base ─────────────────────────────── */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ezwsh-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ezwsh-text);
	background: var(--ezwsh-bg);
}

.ezwsh-container {
	width: 100%;
	max-width: var(--ezwsh-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ezwsh-gutter);
	padding-right: var(--ezwsh-gutter);
}

.ezwsh-main {
	padding-top: 40px;
	padding-bottom: 64px;
	min-height: 40vh;
}

.ezwsh-main--narrow {
	max-width: 760px;
}

/* Gabarit Canvas : bord à bord, aucun espace imposé. */
.ezwsh-canvas {
	padding: 0;
	max-width: none;
}

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

.ezwsh-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 10px 16px;
	background: var(--ezwsh-primary);
	color: #fff;
}

.ezwsh-skip-link:focus {
	left: 0;
}

.ezwsh-icon {
	width: 22px;
	height: 22px;
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

/* Typographie scopée au thème (pas de fuite dans #ezwd-embed). */
.ezwsh-main h1,
.ezwsh-main h2,
.ezwsh-main h3,
.ezwsh-main h4 {
	line-height: 1.25;
	color: var(--ezwsh-text);
}

/* Police des titres (paire typographique du Customizer), scopée au thème. */
.ezwsh-main h1,
.ezwsh-main h2,
.ezwsh-main h3,
.ezwsh-main h4,
.ezwsh-header__title,
.ezwsh-footer-widget__title,
.ezwsh-product .summary .product_title {
	font-family: var(--ezwsh-font-heading);
}

.ezwsh-main a {
	color: var(--ezwsh-link, var(--ezwsh-primary));
}

.ezwsh-main a:hover {
	color: var(--ezwsh-secondary);
}

.ezwsh-main img {
	max-width: 100%;
	height: auto;
}

/* ────────────────────────────── Boutons ───────────────────────────── */

.ezwsh-btn,
.ezwsh-main a.ezwsh-btn,
.ezwsh-main .button,
.ezwsh-main button[type="submit"],
.ezwsh-main input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid var(--ezwsh-btn-bg, var(--ezwsh-primary));
	border-radius: var(--ezwsh-btn-radius);
	background: var(--ezwsh-btn-bg, var(--ezwsh-primary));
	color: var(--ezwsh-btn-text, #fff);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.ezwsh-btn:hover,
.ezwsh-main a.ezwsh-btn:hover,
.ezwsh-main .button:hover,
.ezwsh-main button[type="submit"]:hover,
.ezwsh-main input[type="submit"]:hover {
	background: var(--ezwsh-btn-bg-hover, var(--ezwsh-secondary));
	border-color: var(--ezwsh-btn-bg-hover, var(--ezwsh-secondary));
	color: var(--ezwsh-btn-text, #fff);
}

.ezwsh-btn--ghost,
.ezwsh-main a.ezwsh-btn--ghost {
	background: transparent;
	color: var(--ezwsh-primary);
}

.ezwsh-btn--lg {
	padding: 15px 32px;
	font-size: 17px;
}

/* ─────────────────────────── Formulaires ──────────────────────────── */

.ezwsh-main input[type="text"],
.ezwsh-main input[type="email"],
.ezwsh-main input[type="url"],
.ezwsh-main input[type="tel"],
.ezwsh-main input[type="password"],
.ezwsh-main input[type="search"],
.ezwsh-main input[type="number"],
.ezwsh-main select,
.ezwsh-main textarea,
.ezwsh-header__search input[type="search"] {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
	font-family: inherit;
	font-size: 15px;
}

.ezwsh-main input:focus,
.ezwsh-main select:focus,
.ezwsh-main textarea:focus,
.ezwsh-header__search input:focus {
	outline: 2px solid rgba(var(--ezwsh-primary-rgb), 0.5);
	outline-offset: 1px;
	border-color: var(--ezwsh-primary);
}

/* ──────────────── Zones de widgets du parcours d'achat ────────────── */

.ezwsh-zone--below-header,
.ezwsh-zone--below-content {
	padding: 20px 0;
}

.ezwsh-zone--below-content {
	border-top: 1px solid var(--ezwsh-border);
}

.ezwsh-zone--product-extra,
.ezwsh-zone--cart-extra,
.ezwsh-zone--checkout-extra {
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
	font-size: 14px;
}

.ezwsh-zone--thankyou-extra {
	margin-top: 32px;
}

.ezwsh-zone--copyright-extra {
	font-size: 13px;
}

.ezwsh-zone--copyright-extra p {
	margin: 0;
}

.ezwsh-zone--mini-cart-empty {
	text-align: center;
	padding: 8px 0 16px;
}

.ezwsh-zone-widget {
	margin-bottom: 12px;
}

.ezwsh-zone-widget:last-child {
	margin-bottom: 0;
}

.ezwsh-zone-widget__title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 8px;
}

.ezwsh-zone img {
	max-width: 100%;
	height: auto;
}

/* ─────────────────── Shortcodes (carrousel produits) ──────────────── */

.ezwsh-sc {
	margin: 0;
}

.ezwsh-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ezwsh-carousel__viewport {
	flex: 1;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.ezwsh-carousel__viewport::-webkit-scrollbar {
	display: none;
}

/* La piste réutilise ul.products mais en ligne (défilement horizontal). */
.ezwsh-main .ezwsh-carousel__viewport ul.products.ezwsh-carousel__track,
.ezwsh-carousel__viewport ul.products.ezwsh-carousel__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 1fr);
	grid-template-columns: none;
	gap: 20px;
	margin: 0;
	padding: 4px;
}

.ezwsh-carousel__track li.product {
	scroll-snap-align: start;
}

.ezwsh-carousel__nav {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--ezwsh-border);
	border-radius: 50%;
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ezwsh-carousel__nav:hover {
	background: var(--ezwsh-primary);
	border-color: var(--ezwsh-primary);
	color: #fff;
}

.ezwsh-carousel__nav:disabled {
	opacity: 0.35;
	cursor: default;
}

.ezwsh-carousel__nav--prev .ezwsh-icon {
	transform: rotate(180deg);
}

@media (max-width: 600px) {
	.ezwsh-carousel__nav {
		display: none;
	}

	.ezwsh-carousel__viewport ul.products.ezwsh-carousel__track {
		grid-auto-columns: minmax(70%, 1fr);
	}
}

/* Grille de produits en shortcode : mêmes cartes que la boutique. */
.ezwsh-sc-products ul.products,
.ezwsh-main .ezwsh-sc-products ul.products {
	margin-bottom: 0;
}

/* ───────────────────────── Barre d'annonce ────────────────────────── */

.ezwsh-topbar {
	background: var(--ezwsh-topbar-bg, var(--ezwsh-accent));
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
}

.ezwsh-topbar__inner {
	padding-top: 8px;
	padding-bottom: 8px;
}

.ezwsh-topbar a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ─────────────────── Résultats de recherche instantanée ───────────── */

.ezwsh-search-form {
	position: relative;
}

.ezwsh-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 300;
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	box-shadow: var(--ezwsh-shadow);
	overflow: hidden;
}

.ezwsh-search-results__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-search-results__item:last-child {
	border-bottom: 0;
}

.ezwsh-search-results__item:hover {
	background: var(--ezwsh-soft);
}

.ezwsh-search-results__item img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: var(--ezwsh-radius);
	flex: none;
}

.ezwsh-search-results__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ezwsh-search-results__title {
	font-weight: 600;
	font-size: 14px;
	color: var(--ezwsh-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ezwsh-search-results__price {
	font-size: 13px;
	font-weight: 700;
	color: var(--ezwsh-accent);
}

.ezwsh-search-results__price del {
	color: var(--ezwsh-muted);
	font-weight: 400;
	margin-right: 4px;
}

.ezwsh-search-results__price ins {
	text-decoration: none;
}

/* ─────────────────────────────── Header ───────────────────────────── */

.ezwsh-header {
	background: var(--ezwsh-header-bg, var(--ezwsh-bg));
	border-bottom: 1px solid var(--ezwsh-border);
	position: relative;
	z-index: 100;
}

.ezwsh-has-sticky-header .ezwsh-header {
	position: sticky;
	top: 0;
}

.admin-bar.ezwsh-has-sticky-header .ezwsh-header {
	top: 32px;
}

.ezwsh-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--ezwsh-header-h);
}

.ezwsh-header__brand {
	display: flex;
	align-items: center;
}

.ezwsh-header__brand img {
	max-height: 48px;
	width: auto;
	display: block;
}

.ezwsh-header__title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--ezwsh-header-text, var(--ezwsh-text));
	text-decoration: none;
}

.ezwsh-header__title:hover {
	color: var(--ezwsh-primary);
}

.ezwsh-header__nav {
	flex: 1;
}

ul.ezwsh-nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ezwsh-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: var(--ezwsh-radius);
	color: var(--ezwsh-header-text, var(--ezwsh-text));
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
}

.ezwsh-nav a:hover,
.ezwsh-nav .current-menu-item > a {
	color: var(--ezwsh-primary);
	background: var(--ezwsh-soft);
}

/* Sous-menus (niveau 2). */
.ezwsh-nav li {
	position: relative;
}

.ezwsh-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	box-shadow: var(--ezwsh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ezwsh-nav li:hover > .sub-menu,
.ezwsh-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ezwsh-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.ezwsh-header__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ezwsh-text);
	cursor: pointer;
	position: relative;
	text-decoration: none;
}

.ezwsh-header__action:hover {
	background: var(--ezwsh-soft);
	color: var(--ezwsh-primary);
}

.ezwsh-cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--ezwsh-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ezwsh-header__search {
	border-top: 1px solid var(--ezwsh-border);
	padding: 14px 0;
	background: var(--ezwsh-bg);
}

.ezwsh-search-form {
	display: flex;
	gap: 10px;
}

.ezwsh-search-form__field {
	flex: 1;
}

.ezwsh-search-form__submit {
	flex: none;
	width: auto;
}

/* Preset « Épuré » : logo centré, actions à droite, nav dessous. */
.ezwsh-header--epure .ezwsh-header__inner {
	flex-wrap: wrap;
	justify-content: center;
	padding-top: 14px;
	padding-bottom: 6px;
}

.ezwsh-header--epure .ezwsh-header__brand {
	order: 1;
	flex-basis: 100%;
	justify-content: center;
}

.ezwsh-header--epure .ezwsh-header__nav {
	order: 2;
	flex: none;
	flex-basis: 100%;
}

.ezwsh-header--epure ul.ezwsh-nav {
	justify-content: center;
}

.ezwsh-header--epure .ezwsh-header__actions {
	position: absolute;
	right: var(--ezwsh-gutter);
	top: 16px;
	margin: 0;
}

.ezwsh-header--epure .ezwsh-header__burger {
	position: absolute;
	left: var(--ezwsh-gutter);
	top: 16px;
}

/* ──────────────────────────── Menu mobile ─────────────────────────── */

.ezwsh-header__burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: var(--ezwsh-radius);
	background: transparent;
	color: var(--ezwsh-text);
	cursor: pointer;
}

.ezwsh-mobile-nav {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.ezwsh-mobile-nav__overlay {
	position: absolute;
	inset: 0;
	background: rgba(var(--ezwsh-text-rgb), 0.45);
}

.ezwsh-mobile-nav__panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: min(320px, 85vw);
	z-index: 1;
	padding: 20px;
	background: var(--ezwsh-bg);
	box-shadow: var(--ezwsh-shadow);
	overflow-y: auto;
}

.ezwsh-mobile-nav__close {
	display: flex;
	margin-left: auto;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--ezwsh-soft);
	color: var(--ezwsh-text);
	cursor: pointer;
}

.ezwsh-mobile-nav__menu {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.ezwsh-mobile-nav__menu a {
	display: block;
	padding: 12px 10px;
	border-radius: var(--ezwsh-radius);
	color: var(--ezwsh-text);
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
}

.ezwsh-mobile-nav__menu a:hover {
	background: var(--ezwsh-soft);
	color: var(--ezwsh-primary);
}

.ezwsh-mobile-nav__menu .sub-menu {
	list-style: none;
	margin: 0;
	padding-left: 16px;
}

/* ─────────────────────────────── Footer ───────────────────────────── */

.ezwsh-footer {
	margin-top: auto;
	background: var(--ezwsh-footer-bg, var(--ezwsh-secondary));
	color: rgba(255, 255, 255, 0.85);
}

.ezwsh-footer a {
	color: #fff;
	text-decoration: none;
}

.ezwsh-footer a:hover {
	text-decoration: underline;
}

.ezwsh-footer__widgets {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-top: 48px;
	padding-bottom: 32px;
}

.ezwsh-footer-widget__title {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	margin: 0 0 14px;
}

.ezwsh-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 18px;
	padding-bottom: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 14px;
}

.ezwsh-footer--epure .ezwsh-footer__bottom {
	border-top: 0;
	justify-content: center;
	flex-direction: column;
	gap: 8px;
}

.ezwsh-footer__copyright {
	margin: 0;
}

ul.ezwsh-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ─────────────────────────── Contenu / blog ───────────────────────── */

.ezwsh-page-header {
	margin-bottom: 32px;
}

.ezwsh-page-header__title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	margin: 0 0 8px;
}

.ezwsh-page-header__desc {
	color: var(--ezwsh-muted);
}

.ezwsh-entry {
	margin-bottom: 48px;
}

.ezwsh-entry__title {
	font-size: clamp(1.6rem, 4vw, 2.2rem);
	margin: 0 0 10px;
}

.ezwsh-entry__title a {
	color: var(--ezwsh-text);
	text-decoration: none;
}

.ezwsh-entry__title a:hover {
	color: var(--ezwsh-primary);
}

.ezwsh-entry__meta {
	color: var(--ezwsh-muted);
	font-size: 14px;
	margin: 0 0 16px;
}

.ezwsh-entry__thumb img {
	border-radius: var(--ezwsh-radius-lg);
	display: block;
}

.ezwsh-entry__more {
	font-weight: 600;
	text-decoration: none;
}

.ezwsh-none {
	text-align: center;
	padding: 48px 0;
}

/* ─────────────────────────────── Accueil ──────────────────────────── */

.ezwsh-front {
	padding-top: 0;
}

.ezwsh-hero {
	background:
		radial-gradient(1000px 400px at 85% -10%, rgba(var(--ezwsh-accent-rgb), 0.14), transparent 60%),
		linear-gradient(135deg, var(--ezwsh-soft), transparent 55%);
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-hero__inner {
	padding-top: 72px;
	padding-bottom: 80px;
	text-align: center;
	max-width: 820px;
}

.ezwsh-hero__title {
	font-size: clamp(2.1rem, 6vw, 3.4rem);
	letter-spacing: -0.03em;
	margin: 0 0 14px;
}

.ezwsh-hero__tagline {
	font-size: clamp(1.05rem, 2.5vw, 1.3rem);
	color: var(--ezwsh-muted);
	margin: 0 0 28px;
}

.ezwsh-front-section {
	padding: 56px 0;
}

.ezwsh-front-section--alt {
	background: var(--ezwsh-soft);
}

.ezwsh-front-section__title {
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	margin: 0 0 28px;
	text-align: center;
}

.ezwsh-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ezwsh-cat-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 22px;
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ezwsh-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--ezwsh-shadow);
}

.ezwsh-cat-card__img {
	border-radius: var(--ezwsh-radius);
	margin-bottom: 10px;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 3 / 2;
}

.ezwsh-cat-card__name {
	font-weight: 700;
	color: var(--ezwsh-text);
}

.ezwsh-cat-card__count {
	font-size: 14px;
	color: var(--ezwsh-muted);
}

/* ─────────────────────── Accueil mono-produit ─────────────────────── */

.ezwsh-mono-hero {
	background:
		radial-gradient(900px 380px at 15% -10%, rgba(var(--ezwsh-accent-rgb), 0.12), transparent 60%),
		linear-gradient(315deg, var(--ezwsh-soft), transparent 55%);
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-mono-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	padding-top: 56px;
	padding-bottom: 64px;
}

.ezwsh-mono-hero__media {
	position: relative;
}

.ezwsh-mono-hero__media img {
	width: 100%;
	height: auto;
	border-radius: var(--ezwsh-radius-lg);
	box-shadow: var(--ezwsh-shadow);
	display: block;
}

.ezwsh-mono-hero__title {
	font-size: clamp(2rem, 5vw, 3rem);
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.ezwsh-mono-hero__rating {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.ezwsh-mono-hero__rating .star-rating {
	margin: 0;
}

.ezwsh-mono-hero__rating-count {
	color: var(--ezwsh-muted);
	font-size: 14px;
}

.ezwsh-mono-hero__price {
	font-size: 28px;
	font-weight: 800;
	color: var(--ezwsh-accent);
	margin: 0 0 14px;
}

.ezwsh-mono-hero__price del {
	font-size: 20px;
	font-weight: 400;
	color: var(--ezwsh-muted);
}

.ezwsh-mono-hero__price ins {
	text-decoration: none;
}

.ezwsh-mono-hero__desc {
	color: var(--ezwsh-muted);
	font-size: 17px;
	margin-bottom: 20px;
}

.ezwsh-mono-hero__cart form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.ezwsh-mono-hero__cart form.cart.variations_form {
	display: block;
}

.ezwsh-mono-hero__cart form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 12px;
}

.ezwsh-mono-hero__cart form.cart table.variations th,
.ezwsh-mono-hero__cart form.cart table.variations td {
	padding: 6px 8px 6px 0;
	text-align: left;
}

.ezwsh-mono-hero__cart .button {
	font-size: 17px;
	padding: 14px 32px;
}

ul.ezwsh-mono-hero__reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ezwsh-muted);
	font-size: 14px;
}

ul.ezwsh-mono-hero__reassure li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

ul.ezwsh-mono-hero__reassure .ezwsh-icon {
	width: 16px;
	height: 16px;
	color: #16a34a;
}

.ezwsh-mono-desc {
	max-width: 820px;
}

.ezwsh-mono-reviews {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ezwsh-mono-review {
	margin: 0;
	padding: 22px;
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
}

.ezwsh-mono-review cite {
	font-style: normal;
	font-weight: 700;
	font-size: 14px;
}

@media (max-width: 860px) {
	.ezwsh-mono-hero__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ezwsh-mono-reviews {
		grid-template-columns: 1fr;
	}
}

/* ───────────────────────────── Pagination ─────────────────────────── */

.ezwsh-main .pagination,
.ezwsh-main .woocommerce-pagination {
	text-align: center;
	margin-top: 32px;
}

.ezwsh-main .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	margin: 0 2px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	color: var(--ezwsh-text);
	text-decoration: none;
}

.ezwsh-main .page-numbers.current {
	background: var(--ezwsh-primary);
	border-color: var(--ezwsh-primary);
	color: #fff;
}

/* ─────────────────────────── Commentaires ─────────────────────────── */

.ezwsh-comments {
	margin-top: 48px;
	border-top: 1px solid var(--ezwsh-border);
	padding-top: 32px;
}

.ezwsh-comments__list {
	list-style: none;
	padding: 0;
}

/* ───────────────────────────── Responsive ─────────────────────────── */

@media (max-width: 960px) {
	.ezwsh-header__nav {
		display: none;
	}

	.ezwsh-header__burger {
		display: inline-flex;
	}

	.ezwsh-header--epure .ezwsh-header__inner {
		flex-wrap: nowrap;
		justify-content: flex-start;
		padding-top: 0;
		padding-bottom: 0;
	}

	.ezwsh-header--epure .ezwsh-header__brand {
		flex-basis: auto;
		order: 0;
		margin: 0 auto;
	}

	.ezwsh-header--epure .ezwsh-header__burger,
	.ezwsh-header--epure .ezwsh-header__actions {
		position: static;
	}

	.ezwsh-footer__widgets {
		grid-template-columns: repeat(2, 1fr);
	}

	.ezwsh-cat-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ═══════════════════════════ WooCommerce ══════════════════════════ */

/* ── Boutique : en-tête + barre d'outils ── */

.ezwsh-shop-header {
	margin-bottom: 20px;
}

.ezwsh-shop-header .page-title,
.ezwsh-shop-header .woocommerce-products-header__title {
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	margin: 0 0 6px;
}

.ezwsh-main .term-description {
	color: var(--ezwsh-muted);
	max-width: 720px;
}

.ezwsh-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
	padding: 10px 16px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-main .woocommerce-result-count {
	margin: 0;
	color: var(--ezwsh-muted);
	font-size: 14px;
}

.ezwsh-main .woocommerce-ordering {
	margin: 0;
}

.ezwsh-main .woocommerce-ordering select {
	width: auto;
	padding: 8px 32px 8px 12px;
	font-size: 14px;
}

/* ── Grille produits + cartes ── */

.ezwsh-main ul.products {
	display: grid;
	grid-template-columns: repeat(var(--ezwsh-shop-cols, 4), 1fr);
	gap: 24px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

/* Le clearfix ::before/::after de WooCommerce deviendrait un item de
   grille vide (case blanche avant le premier produit) : on le neutralise. */
.ezwsh-main ul.products::before,
.ezwsh-main ul.products::after {
	display: none;
}

.ezwsh-main ul.products.columns-2 { --ezwsh-shop-cols: 2; }
.ezwsh-main ul.products.columns-3 { --ezwsh-shop-cols: 3; }
.ezwsh-main ul.products.columns-4 { --ezwsh-shop-cols: 4; }
.ezwsh-main ul.products.columns-5 { --ezwsh-shop-cols: 5; }

.ezwsh-main ul.products li.product {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	overflow: hidden;
	position: relative;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ezwsh-main ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--ezwsh-shadow);
}

.ezwsh-main ul.products li.product > a {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
	color: inherit;
}

.ezwsh-card__media {
	display: block;
	position: relative;
	background: rgba(var(--ezwsh-text-rgb), 0.03);
}

.ezwsh-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0 !important;
	transition: transform 0.25s ease;
}

.ezwsh-main ul.products li.product:hover .ezwsh-card__media img {
	transform: scale(1.04);
}

.ezwsh-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 4px;
}

.ezwsh-main ul.products li.product .woocommerce-loop-product__title {
	font-size: 15px;
	font-weight: 600;
	color: var(--ezwsh-text);
	padding: 0;
	margin: 0;
	line-height: 1.4;
}

.ezwsh-main ul.products li.product .price {
	color: var(--ezwsh-accent);
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.ezwsh-main ul.products li.product .price del {
	color: var(--ezwsh-muted);
	font-weight: 400;
	opacity: 1;
	margin-right: 6px;
}

.ezwsh-main ul.products li.product .price ins {
	text-decoration: none;
}

.ezwsh-main ul.products li.product .star-rating {
	margin: 2px 0;
}

.ezwsh-main ul.products li.product .button,
.ezwsh-main ul.products li.product .added_to_cart {
	margin: 10px 16px 16px;
	text-align: center;
}

.ezwsh-main ul.products li.product .added_to_cart {
	display: inline-block;
	font-weight: 600;
}

/* Badge promo. La règle .woocommerce ul.products li.product .onsale de
   WooCommerce est plus spécifique : on l'égale pour garder le badge à gauche. */
.ezwsh-main ul.products li.product .onsale,
.ezwsh-main span.onsale {
	position: absolute;
	top: 12px;
	left: 12px;
	right: auto;
	bottom: auto;
	width: auto;
	z-index: 2;
	min-height: 0;
	min-width: 0;
	padding: 4px 12px;
	margin: 0 !important;
	border-radius: 999px;
	background: var(--ezwsh-sale-bg, var(--ezwsh-accent));
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.6;
}

/* Image alternée au survol. */
.ezwsh-card__img-flip {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.25s ease;
	z-index: 1;
}

.ezwsh-main ul.products li.product:hover .ezwsh-card__img-flip {
	opacity: 1;
}

/* Catégorie au-dessus du titre. */
.ezwsh-card__cat {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ezwsh-muted);
}

/* Nombre d'avis à côté des étoiles. */
.ezwsh-main ul.products li.product .star-rating {
	display: inline-block;
	vertical-align: middle;
}

.ezwsh-card__rating-count {
	display: inline-block;
	margin-left: 6px;
	font-size: 13px;
	color: var(--ezwsh-muted);
	vertical-align: middle;
}

/* Badge « Rupture ». */
.ezwsh-main .ezwsh-badge-oos {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(var(--ezwsh-text-rgb), 0.75);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.6;
}

/* Alignement centré des cartes. */
.ezwsh-cards-center .ezwsh-main ul.products li.product .ezwsh-card__body,
body.ezwsh-cards-center ul.products li.product .ezwsh-card__body {
	align-items: center;
	text-align: center;
}

/* Bouton d'achat : masqué / au survol. */
body.ezwsh-cards-btn-hidden ul.products li.product .button {
	display: none;
}

@media (hover: hover) {
	body.ezwsh-cards-btn-hover ul.products li.product .button {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity 0.18s ease, transform 0.18s ease, background 0.15s ease;
	}

	body.ezwsh-cards-btn-hover ul.products li.product:hover .button,
	body.ezwsh-cards-btn-hover ul.products li.product:focus-within .button {
		opacity: 1;
		transform: none;
	}
}

/* Sous-catégories au-dessus de la grille. */
.ezwsh-shop-subcats {
	margin-bottom: 28px;
}

/* Badge « Nouveau ». */
.ezwsh-main .ezwsh-badge-new {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--ezwsh-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.6;
}

/* ── Fiche produit ── */

.ezwsh-product-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
	margin-bottom: 48px;
}

.ezwsh-main .woocommerce-product-gallery {
	width: 100% !important;
	float: none !important;
	position: relative;
}

.ezwsh-main .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.ezwsh-main .woocommerce-product-gallery img {
	border-radius: var(--ezwsh-radius-lg);
}

.ezwsh-main .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.ezwsh-main .woocommerce-product-gallery .flex-control-thumbs li {
	width: 80px;
	float: none;
	cursor: pointer;
}

.ezwsh-main .woocommerce-product-gallery .flex-control-thumbs img {
	border-radius: var(--ezwsh-radius);
	border: 2px solid transparent;
	opacity: 0.7;
}

.ezwsh-main .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.ezwsh-main .woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: var(--ezwsh-primary);
	opacity: 1;
}

.ezwsh-product .summary {
	width: 100% !important;
	float: none !important;
	margin: 0;
}

.ezwsh-product .summary .product_title {
	font-size: clamp(1.6rem, 3.5vw, 2.2rem);
	margin: 0 0 10px;
	line-height: 1.2;
}

.ezwsh-product .summary .price {
	font-size: 26px;
	font-weight: 800;
	color: var(--ezwsh-accent);
	margin: 0 0 14px;
}

.ezwsh-product .summary .price del {
	font-size: 18px;
	font-weight: 400;
	color: var(--ezwsh-muted);
	opacity: 1;
}

.ezwsh-product .summary .price ins {
	text-decoration: none;
}

.ezwsh-product .summary .woocommerce-product-details__short-description {
	color: var(--ezwsh-muted);
	font-size: 16px;
	margin-bottom: 18px;
}

.ezwsh-product .summary form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: stretch;
	margin: 0 0 22px;
	padding: 18px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-product .summary form.cart.variations_form {
	display: block;
}

.ezwsh-product .summary form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.ezwsh-product .summary form.cart table.variations {
	width: 100%;
	margin-bottom: 14px;
	border-collapse: collapse;
}

.ezwsh-product .summary form.cart table.variations th,
.ezwsh-product .summary form.cart table.variations td {
	padding: 6px 0;
	text-align: left;
	vertical-align: middle;
}

.ezwsh-product .summary form.cart .button {
	flex: 1;
	font-size: 16px;
}

.ezwsh-product .summary .product_meta {
	padding-top: 16px;
	border-top: 1px solid var(--ezwsh-border);
	font-size: 14px;
	color: var(--ezwsh-muted);
	display: grid;
	gap: 4px;
}

.ezwsh-product .summary .product_meta span {
	display: block;
}

/* Galerie large (option 60 %). */
body.ezwsh-pdp-g60 .ezwsh-product-top {
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

/* Description courte sous la galerie (option). */
.ezwsh-product > .woocommerce-product-details__short-description {
	max-width: 860px;
	margin: -16px 0 40px;
	color: var(--ezwsh-muted);
	font-size: 16px;
}

/* Espacement des paragraphes et listes dans les descriptions et contenus
   editoriaux. Avec theme.json, WordPress neutralise la marge par defaut des
   <p> dans .entry-content (onglet Description) : les paragraphes se collent et
   la description s'affiche "en bloc". On restaure l'espacement ici. Jamais
   applique a l'interieur de #ezwd-embed (regle de compatibilite EzWooDrop). */
.ezwsh-product .woocommerce-Tabs-panel p,
.ezwsh-product .woocommerce-product-details__short-description p,
.ezwsh-entry__content p {
	margin: 0 0 1em;
}
.ezwsh-product .woocommerce-Tabs-panel p:last-child,
.ezwsh-product .woocommerce-product-details__short-description p:last-child,
.ezwsh-entry__content p:last-child {
	margin-bottom: 0;
}
.ezwsh-product .woocommerce-Tabs-panel ul,
.ezwsh-product .woocommerce-Tabs-panel ol,
.ezwsh-entry__content ul,
.ezwsh-entry__content ol {
	margin: 0 0 1em;
	padding-left: 1.35em;
}
.ezwsh-product .woocommerce-Tabs-panel li,
.ezwsh-entry__content li {
	margin: 0.3em 0;
}

/* Navigation produit précédent / suivant. */
.ezwsh-pdp-nav {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
	font-size: 14px;
}

.ezwsh-pdp-nav a {
	color: var(--ezwsh-muted);
	text-decoration: none;
	font-weight: 500;
}

.ezwsh-pdp-nav a:hover {
	color: var(--ezwsh-primary);
}

.ezwsh-pdp-nav__next {
	margin-left: auto;
}

/* Barre d'achat collante. */
.ezwsh-sticky-atc {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 900;
	background: var(--ezwsh-bg);
	box-shadow: 0 -4px 20px rgba(var(--ezwsh-text-rgb), 0.12);
	animation: ezwsh-slide-up 0.25s ease;
}

.ezwsh-sticky-atc--bottom {
	bottom: 0;
}

.ezwsh-sticky-atc--top {
	top: 0;
	box-shadow: 0 4px 20px rgba(var(--ezwsh-text-rgb), 0.12);
}

.admin-bar .ezwsh-sticky-atc--top {
	top: 32px;
}

.ezwsh-sticky-atc__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.ezwsh-sticky-atc__img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: var(--ezwsh-radius);
	flex: none;
}

.ezwsh-sticky-atc__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ezwsh-sticky-atc__title {
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ezwsh-sticky-atc__price {
	color: var(--ezwsh-accent);
	font-weight: 700;
	font-size: 14px;
}

.ezwsh-sticky-atc__price del {
	color: var(--ezwsh-muted);
	font-weight: 400;
}

.ezwsh-sticky-atc__price ins {
	text-decoration: none;
}

.ezwsh-sticky-atc__btn {
	margin-left: auto;
	flex: none;
}

@keyframes ezwsh-slide-up {
	from {
		transform: translateY(12px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

@media (max-width: 600px) {
	.ezwsh-sticky-atc__img {
		display: none;
	}
}

/* Pastilles d'attributs (swatches). */
body.ezwsh-swatches-on .ezwsh-product form.cart table.variations select.ezwsh-swatches__select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ezwsh-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ezwsh-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 6px 16px;
	border: 2px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-btn-radius);
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color 0.12s ease, transform 0.12s ease;
}

.ezwsh-swatch:hover {
	border-color: var(--ezwsh-primary);
}

.ezwsh-swatch.is-selected {
	border-color: var(--ezwsh-primary);
	box-shadow: 0 0 0 3px rgba(var(--ezwsh-primary-rgb), 0.2);
}

.ezwsh-swatch--color {
	width: 38px;
	height: 38px;
	min-height: 0;
	padding: 0;
	border-radius: 50%;
	border-color: rgba(var(--ezwsh-text-rgb), 0.2);
}

.ezwsh-swatch--color.is-selected {
	border-color: var(--ezwsh-primary);
}

.ezwsh-swatch.is-disabled {
	opacity: 0.3;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Quantité avec steppers. */
.ezwsh-main .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	overflow: hidden;
	background: var(--ezwsh-bg);
}

.ezwsh-main .quantity .qty {
	width: 56px;
	border: 0;
	border-radius: 0;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.ezwsh-main .quantity .qty::-webkit-outer-spin-button,
.ezwsh-main .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ezwsh-main .quantity .ezwsh-qty-btn {
	width: 36px;
	border: 0;
	background: transparent;
	color: var(--ezwsh-text);
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
}

.ezwsh-main .quantity .ezwsh-qty-btn:hover {
	background: var(--ezwsh-soft);
	color: var(--ezwsh-primary);
}

/* Onglets. */
.ezwsh-main .woocommerce-tabs {
	margin-bottom: 48px;
}

.ezwsh-main .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 24px;
	padding: 0 0 0 0 !important;
	list-style: none;
	border-bottom: 2px solid var(--ezwsh-border);
	overflow: visible;
}

.ezwsh-main .woocommerce-tabs ul.tabs::before,
.ezwsh-main .woocommerce-tabs ul.tabs::after,
.ezwsh-main .woocommerce-tabs ul.tabs li::before,
.ezwsh-main .woocommerce-tabs ul.tabs li::after {
	display: none !important;
}

.ezwsh-main .woocommerce-tabs ul.tabs li {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
}

.ezwsh-main .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 18px;
	margin-bottom: -2px;
	border-bottom: 2px solid transparent;
	color: var(--ezwsh-muted);
	font-weight: 600;
	text-decoration: none;
}

.ezwsh-main .woocommerce-tabs ul.tabs li.active a {
	color: var(--ezwsh-primary);
	border-bottom-color: var(--ezwsh-primary);
}

.ezwsh-main .woocommerce-tabs .panel > h2:first-of-type {
	display: none;
}

/* Produits liés / upsells. */
.ezwsh-main .related > h2,
.ezwsh-main .upsells > h2,
.ezwsh-main .cross-sells > h2 {
	font-size: 1.5rem;
	margin: 0 0 20px;
}

/* Avis. */
.ezwsh-main #reviews .commentlist {
	list-style: none;
	padding: 0;
}

.ezwsh-main #reviews .comment_container {
	display: flex;
	gap: 14px;
	padding: 16px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	margin-bottom: 14px;
}

.ezwsh-main #reviews .comment_container img.avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	float: none;
	position: static;
	padding: 0;
	border: 0;
}

.ezwsh-main #reviews .comment-text {
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	flex: 1;
}

/* ── Panier ── */

.ezwsh-cart-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px;
	align-items: start;
}

.ezwsh-main .woocommerce-cart-form table.shop_table {
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	overflow: hidden;
}

.ezwsh-main table.shop_table th,
.ezwsh-main table.shop_table td {
	padding: 14px 12px;
	border-bottom: 1px solid var(--ezwsh-border);
	text-align: left;
	vertical-align: middle;
}

.ezwsh-main table.shop_table thead th {
	background: rgba(var(--ezwsh-text-rgb), 0.03);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ezwsh-muted);
}

.ezwsh-main table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

.ezwsh-main .woocommerce-cart-form .product-thumbnail img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--ezwsh-radius);
	display: block;
}

.ezwsh-main .woocommerce-cart-form .product-name a {
	font-weight: 600;
	text-decoration: none;
	color: var(--ezwsh-text);
}

.ezwsh-main .woocommerce-cart-form .product-remove .remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(var(--ezwsh-text-rgb), 0.06);
	color: var(--ezwsh-text) !important;
	font-size: 18px;
	text-decoration: none;
}

.ezwsh-main .woocommerce-cart-form .product-remove .remove:hover {
	background: #dc2626;
	color: #fff !important;
}

.ezwsh-main .woocommerce-cart-form td.actions {
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-main .woocommerce-cart-form td.actions .coupon {
	display: inline-flex;
	gap: 10px;
	float: left;
}

.ezwsh-main .woocommerce-cart-form td.actions .coupon .input-text {
	width: 180px;
}

.ezwsh-main .woocommerce-cart-form td.actions > .button {
	float: right;
}

.ezwsh-main .cart-collaterals {
	width: 100%;
}

.ezwsh-main .cart_totals {
	width: 100% !important;
	float: none !important;
	padding: 24px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-main .cart_totals > h2 {
	margin: 0 0 16px;
	font-size: 1.3rem;
}

.ezwsh-main .cart_totals table.shop_table {
	border: 0;
}

.ezwsh-main .cart_totals table.shop_table th,
.ezwsh-main .cart_totals table.shop_table td {
	padding: 10px 0;
}

.ezwsh-main .wc-proceed-to-checkout {
	padding: 16px 0 0;
}

.ezwsh-main .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 17px;
}

.ezwsh-main .cross-sells {
	margin-top: 32px;
}

/* Panier vide. */
.ezwsh-main .cart-empty.woocommerce-info {
	text-align: center;
	font-size: 1.2rem;
}

.ezwsh-main .return-to-shop {
	text-align: center;
}

/* ── Checkout ── */

.ezwsh-checkout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 40px;
	align-items: start;
}

.ezwsh-checkout-grid__review {
	position: sticky;
	top: calc(var(--ezwsh-header-h) + 20px);
	padding: 24px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-checkout-grid__review #order_review_heading {
	margin: 0 0 16px;
	font-size: 1.3rem;
}

.ezwsh-main .woocommerce-checkout .col2-set {
	width: 100%;
	float: none;
	display: grid;
	gap: 24px;
}

.ezwsh-main .woocommerce-checkout .col2-set .col-1,
.ezwsh-main .woocommerce-checkout .col2-set .col-2 {
	width: 100%;
	float: none;
}

.ezwsh-main .woocommerce-billing-fields > h3,
.ezwsh-main .woocommerce-shipping-fields > h3,
.ezwsh-main .woocommerce-additional-fields > h3 {
	font-size: 1.2rem;
	margin: 0 0 14px;
}

.ezwsh-main .form-row {
	margin: 0 0 14px;
}

.ezwsh-main .form-row label {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 600;
}

.ezwsh-main .form-row .required {
	color: #dc2626;
	text-decoration: none;
}

.ezwsh-main .woocommerce-checkout table.shop_table {
	border: 0;
	font-size: 15px;
}

.ezwsh-main .woocommerce-checkout table.shop_table th,
.ezwsh-main .woocommerce-checkout table.shop_table td {
	padding: 10px 0;
}

.ezwsh-main #payment {
	background: transparent;
	border-radius: 0;
}

.ezwsh-main #payment ul.payment_methods {
	list-style: none;
	margin: 0 0 16px;
	padding: 0 0 16px;
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-main #payment ul.payment_methods li {
	margin-bottom: 8px;
}

.ezwsh-main #payment div.payment_box {
	position: relative;
	margin: 8px 0;
	padding: 12px 14px;
	border-radius: var(--ezwsh-radius);
	background: var(--ezwsh-soft);
	color: var(--ezwsh-text);
	font-size: 14px;
}

.ezwsh-main #payment div.payment_box::before {
	display: none;
}

.ezwsh-main #place_order {
	width: 100%;
	font-size: 17px;
	padding: 15px 24px;
}

/* ── Mon compte ── */

.ezwsh-account-grid {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.ezwsh-main .woocommerce-MyAccount-navigation {
	width: 100% !important;
	float: none !important;
	padding: 12px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-main .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ezwsh-main .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--ezwsh-radius);
	color: var(--ezwsh-text);
	font-weight: 500;
	text-decoration: none;
}

.ezwsh-main .woocommerce-MyAccount-navigation li a:hover {
	background: var(--ezwsh-soft);
	color: var(--ezwsh-primary);
}

.ezwsh-main .woocommerce-MyAccount-navigation li.is-active a {
	background: var(--ezwsh-primary);
	color: #fff;
}

.ezwsh-main .woocommerce-MyAccount-content {
	width: 100% !important;
	float: none !important;
}

.ezwsh-main .woocommerce-MyAccount-content table.shop_table {
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius-lg);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}

/* Réassurance checkout. Le bouton #place_order est flotté à droite par
   WooCommerce : sans clear, la liste se coince dans l'espace nul à côté du
   flottant (texte enroulé mot par mot). clear:both la place dessous, pleine
   largeur. */
.ezwsh-main .ezwsh-checkout-reassure {
	list-style: none;
	clear: both;
	width: 100%;
	margin: 16px 0 0;
	padding: 16px 0 0;
	font-size: 14px;
	color: var(--ezwsh-muted);
}

.ezwsh-main .ezwsh-checkout-reassure li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
}

.ezwsh-main .ezwsh-checkout-reassure li:last-child {
	margin-bottom: 0;
}

.ezwsh-main .ezwsh-checkout-reassure .ezwsh-icon {
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: #16a34a;
	flex: none;
}

/* Icônes sociales (pied de page). */
ul.ezwsh-social {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ezwsh-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	transition: background 0.15s ease;
}

.ezwsh-social a:hover {
	background: rgba(255, 255, 255, 0.25);
	text-decoration: none;
}

.ezwsh-social .ezwsh-icon {
	width: 18px;
	height: 18px;
}

/* ── Mini-panier coulissant ── */

.ezwsh-drawer {
	position: fixed;
	inset: 0;
	z-index: 1100;
}

.ezwsh-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(var(--ezwsh-text-rgb), 0.45);
}

.ezwsh-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 92vw);
	z-index: 1;
	display: flex;
	flex-direction: column;
	background: var(--ezwsh-bg);
	box-shadow: var(--ezwsh-shadow);
	animation: ezwsh-drawer-in 0.22s ease;
}

@keyframes ezwsh-drawer-in {
	from {
		transform: translateX(30px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

.ezwsh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-drawer__title {
	margin: 0;
	font-size: 1.1rem;
}

.ezwsh-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--ezwsh-soft);
	color: var(--ezwsh-text);
	cursor: pointer;
}

.ezwsh-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 20px;
}

.ezwsh-drawer__body ul.woocommerce-mini-cart {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
}

.ezwsh-drawer__body li.woocommerce-mini-cart-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 12px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--ezwsh-border);
	position: relative;
}

.ezwsh-drawer__body li.woocommerce-mini-cart-item a img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--ezwsh-radius);
	float: none;
	margin: 0;
	grid-column: 1;
	grid-row: 1 / 3;
}

.ezwsh-drawer__body li.woocommerce-mini-cart-item a:not(.remove) {
	font-weight: 600;
	color: var(--ezwsh-text);
	text-decoration: none;
	font-size: 14px;
}

.ezwsh-drawer__body li.woocommerce-mini-cart-item .remove {
	position: absolute;
	right: 0;
	top: 12px;
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(var(--ezwsh-text-rgb), 0.06);
	color: var(--ezwsh-text) !important;
	font-size: 16px;
	text-decoration: none;
}

.ezwsh-drawer__body li.woocommerce-mini-cart-item .remove:hover {
	background: #dc2626;
	color: #fff !important;
}

.ezwsh-drawer__body .woocommerce-mini-cart__total {
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
	font-size: 16px;
	border-bottom: 1px solid var(--ezwsh-border);
	margin-bottom: 16px;
}

.ezwsh-drawer__body .woocommerce-mini-cart__buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.ezwsh-drawer__body .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border: 1px solid var(--ezwsh-primary);
	border-radius: var(--ezwsh-btn-radius);
	background: transparent;
	color: var(--ezwsh-primary);
	font-weight: 600;
	text-decoration: none;
}

.ezwsh-drawer__body .woocommerce-mini-cart__buttons .button.checkout {
	background: var(--ezwsh-primary);
	color: #fff;
}

.ezwsh-drawer__body .woocommerce-mini-cart__buttons .button:hover {
	background: var(--ezwsh-secondary);
	border-color: var(--ezwsh-secondary);
	color: #fff;
}

.ezwsh-drawer__body .woocommerce-mini-cart__empty-message {
	text-align: center;
	color: var(--ezwsh-muted);
	padding: 32px 0;
}

/* ── Disposition boutique : barre latérale de filtres ── */

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

.ezwsh-shop-layout--right {
	grid-template-columns: minmax(0, 1fr) 250px;
}

.ezwsh-shop-layout--right .ezwsh-shop-sidebar-wrap {
	order: 2;
}

.ezwsh-shop-sidebar__head {
	display: none;
}

.ezwsh-shop-sidebar__overlay {
	display: none;
}

/* Le bouton « Filtres » ne sert que sur mobile quand la barre est visible. */
@media (min-width: 1025px) {
	body.ezwsh-shop-has-sidebar .ezwsh-filters-btn {
		display: none;
	}
}

@media (max-width: 1024px) {
	.ezwsh-shop-layout {
		grid-template-columns: 1fr;
	}

	/* La barre latérale devient un panneau off-canvas piloté par le bouton. */
	.ezwsh-shop-sidebar-wrap {
		position: fixed;
		inset: 0;
		z-index: 1100;
		visibility: hidden;
		pointer-events: none;
	}

	.ezwsh-shop-sidebar-wrap.is-open {
		visibility: visible;
		pointer-events: auto;
	}

	.ezwsh-shop-sidebar-wrap .ezwsh-shop-sidebar__overlay {
		display: block;
		position: absolute;
		inset: 0;
		background: rgba(var(--ezwsh-text-rgb), 0.45);
		opacity: 0;
		transition: opacity 0.2s ease;
	}

	.ezwsh-shop-sidebar-wrap.is-open .ezwsh-shop-sidebar__overlay {
		opacity: 1;
	}

	.ezwsh-shop-sidebar {
		position: absolute;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 88vw);
		background: var(--ezwsh-bg);
		box-shadow: var(--ezwsh-shadow);
		padding: 16px 20px;
		overflow-y: auto;
		transform: translateX(-102%);
		transition: transform 0.22s ease;
	}

	.ezwsh-shop-sidebar-wrap.is-open .ezwsh-shop-sidebar {
		transform: none;
	}

	.ezwsh-shop-sidebar__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-bottom: 12px;
		margin-bottom: 16px;
		border-bottom: 1px solid var(--ezwsh-border);
	}
}

/* Widgets de la barre latérale (mêmes styles que le tiroir). */
.ezwsh-shop-sidebar .ezwsh-filter-widget {
	margin-bottom: 26px;
}

.ezwsh-shop-sidebar .widget_product_categories ul,
.ezwsh-shop-sidebar .widget_layered_nav ul,
.ezwsh-shop-sidebar .widget_rating_filter ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ezwsh-shop-sidebar .widget_product_categories li,
.ezwsh-shop-sidebar .widget_layered_nav li,
.ezwsh-shop-sidebar .widget_rating_filter li {
	padding: 6px 0;
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-shop-sidebar .widget_product_categories li a,
.ezwsh-shop-sidebar .widget_layered_nav li a,
.ezwsh-shop-sidebar .widget_rating_filter li a {
	color: var(--ezwsh-text);
	text-decoration: none;
}

.ezwsh-shop-sidebar .widget_product_categories li a:hover,
.ezwsh-shop-sidebar .widget_layered_nav li a:hover,
.ezwsh-shop-sidebar .widget_layered_nav li.chosen a,
.ezwsh-shop-sidebar .widget_product_categories li.current-cat > a {
	color: var(--ezwsh-primary);
}

.ezwsh-shop-sidebar .widget_product_categories .children {
	padding-left: 14px;
	list-style: none;
}

.ezwsh-shop-sidebar .count {
	color: var(--ezwsh-muted);
	font-size: 13px;
}

.ezwsh-shop-sidebar .ui-slider .ui-slider-range,
.ezwsh-shop-sidebar .ui-slider .ui-slider-handle {
	background: var(--ezwsh-primary);
}

/* Menus déroulants Select2/SelectWoo (widget catégories en mode liste
   déroulante, tri…) : alignés sur les champs du thème. */
.ezwsh-shop-sidebar .select2-container .select2-selection--single,
.ezwsh-drawer .select2-container .select2-selection--single,
.ezwsh-main .select2-container .select2-selection--single {
	height: 42px;
	display: flex;
	align-items: center;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	background: var(--ezwsh-bg);
}

.ezwsh-shop-sidebar .select2-container .select2-selection--single .select2-selection__rendered,
.ezwsh-drawer .select2-container .select2-selection--single .select2-selection__rendered,
.ezwsh-main .select2-container .select2-selection--single .select2-selection__rendered {
	line-height: normal;
	padding: 0 32px 0 12px;
	color: var(--ezwsh-text);
	font-size: 15px;
	width: 100%;
}

.ezwsh-shop-sidebar .select2-container .select2-selection--single .select2-selection__arrow,
.ezwsh-drawer .select2-container .select2-selection--single .select2-selection__arrow,
.ezwsh-main .select2-container .select2-selection--single .select2-selection__arrow {
	height: 40px;
	right: 8px;
	top: 0;
}

/* La liste ouverte est attachée à <body> : on la style globalement
   (classes propres à Select2, sans risque de fuite ailleurs). */
html .select2-dropdown {
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	box-shadow: var(--ezwsh-shadow);
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
}

.select2-results__option {
	padding: 9px 12px;
	font-size: 14px;
}

html .select2-results__option--highlighted.select2-results__option--selectable,
html .select2-container--default .select2-results__option--highlighted[aria-selected],
html .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: var(--ezwsh-primary);
	color: #fff;
}

html .select2-container--open .select2-dropdown--below {
	border-bottom-left-radius: var(--ezwsh-radius);
	border-bottom-right-radius: var(--ezwsh-radius);
}

html .select2-container--open .select2-dropdown--above {
	border-top-left-radius: var(--ezwsh-radius);
	border-top-right-radius: var(--ezwsh-radius);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	padding: 8px 10px;
}

/* ── Tiroir de filtres (boutique) ── */

.ezwsh-drawer--left .ezwsh-drawer__panel {
	right: auto;
	left: 0;
	animation: ezwsh-drawer-in-left 0.22s ease;
}

@keyframes ezwsh-drawer-in-left {
	from {
		transform: translateX(-30px);
		opacity: 0;
	}

	to {
		transform: none;
		opacity: 1;
	}
}

.ezwsh-filters-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-btn-radius);
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ezwsh-filters-btn:hover {
	border-color: var(--ezwsh-primary);
	color: var(--ezwsh-primary);
}

.ezwsh-filters-btn .ezwsh-icon {
	width: 16px;
	height: 16px;
}

.ezwsh-filter-widget {
	margin-bottom: 26px;
}

.ezwsh-filter-widget__title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin: 0 0 12px;
}

.ezwsh-filter-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ezwsh-filter-widget ul li {
	padding: 6px 0;
	border-bottom: 1px solid var(--ezwsh-border);
}

.ezwsh-filter-widget ul li a {
	color: var(--ezwsh-text);
	text-decoration: none;
}

.ezwsh-filter-widget ul li a:hover,
.ezwsh-filter-widget ul li.chosen a {
	color: var(--ezwsh-primary);
}

.ezwsh-filter-widget .price_slider_amount .button {
	padding: 8px 16px;
	font-size: 13px;
}

.ezwsh-drawer__body .ui-slider .ui-slider-range,
.ezwsh-drawer__body .ui-slider .ui-slider-handle {
	background: var(--ezwsh-primary);
}

/* ── Compte à rebours de fin de promo ── */

.ezwsh-countdown {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 18px;
	padding: 12px 16px;
	border: 1px dashed var(--ezwsh-accent);
	border-radius: var(--ezwsh-radius);
	background: rgba(var(--ezwsh-accent-rgb), 0.07);
}

.ezwsh-countdown__label {
	font-size: 14px;
	font-weight: 600;
}

.ezwsh-countdown__boxes {
	display: inline-flex;
	gap: 6px;
}

.ezwsh-countdown__box {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 44px;
	padding: 5px 8px;
	border-radius: var(--ezwsh-radius);
	background: var(--ezwsh-bg);
	border: 1px solid var(--ezwsh-border);
}

.ezwsh-countdown__box b {
	font-size: 17px;
	line-height: 1.2;
	color: var(--ezwsh-accent);
}

.ezwsh-countdown__box i {
	font-style: normal;
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--ezwsh-muted);
}

/* ── Barre « livraison gratuite » ── */

.ezwsh-freeship {
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid var(--ezwsh-border);
	border-radius: var(--ezwsh-radius);
	background: rgba(var(--ezwsh-text-rgb), 0.02);
}

.ezwsh-freeship__msg {
	margin: 0 0 8px;
	font-size: 13.5px;
	font-weight: 600;
}

.ezwsh-freeship--done .ezwsh-freeship__msg {
	color: #16a34a;
}

.ezwsh-freeship__bar {
	display: block;
	height: 8px;
	border-radius: 99px;
	background: rgba(var(--ezwsh-text-rgb), 0.08);
	overflow: hidden;
}

.ezwsh-freeship__fill {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--ezwsh-primary), var(--ezwsh-accent));
	transition: width 0.4s ease;
}

.ezwsh-freeship--done .ezwsh-freeship__fill {
	background: #16a34a;
}

/* ── Checkout épuré ── */

body.ezwsh-checkout-clean .ezwsh-header__nav,
body.ezwsh-checkout-clean .ezwsh-header__actions,
body.ezwsh-checkout-clean .ezwsh-header__burger,
body.ezwsh-checkout-clean .ezwsh-header__search,
body.ezwsh-checkout-clean .ezwsh-footer__widgets,
body.ezwsh-checkout-clean .ezwsh-footer__nav {
	display: none !important;
}

body.ezwsh-checkout-clean .ezwsh-header__inner {
	justify-content: center;
}

body.ezwsh-checkout-clean .ezwsh-footer__bottom {
	justify-content: center;
}

/* ── Notices ── */

.ezwsh-main .woocommerce-message,
.ezwsh-main .woocommerce-info,
.ezwsh-main .woocommerce-error {
	position: relative;
	margin: 0 0 20px;
	padding: 14px 18px 14px 18px;
	border: 1px solid var(--ezwsh-border);
	border-left: 4px solid var(--ezwsh-primary);
	border-radius: var(--ezwsh-radius);
	background: var(--ezwsh-bg);
	color: var(--ezwsh-text);
	list-style: none;
	box-shadow: var(--ezwsh-shadow);
}

.ezwsh-main .woocommerce-message::before,
.ezwsh-main .woocommerce-info::before,
.ezwsh-main .woocommerce-error::before {
	display: none;
}

.ezwsh-main .woocommerce-message {
	border-left-color: #16a34a;
}

.ezwsh-main .woocommerce-error {
	border-left-color: #dc2626;
}

.ezwsh-main .woocommerce-message .button,
.ezwsh-main .woocommerce-info .button {
	float: right;
	margin-left: 12px;
	padding: 8px 16px;
	font-size: 14px;
}

/* ── Blocs WooCommerce (pages panier/checkout créées en blocs) ── */

/* La couleur de lien du thème ne doit pas rendre les boutons blocs illisibles. */
.ezwsh-main a.wc-block-components-button,
.ezwsh-main .wc-block-components-button,
.ezwsh-main .wc-block-components-checkout-place-order-button {
	color: #fff;
}

.ezwsh-main .wc-block-components-button:hover {
	color: #fff;
}

/* Étoiles d'avis : couleur accent. */
.ezwsh-main .star-rating span::before,
.ezwsh-main p.stars a:hover::after,
.ezwsh-main p.stars a::after {
	color: var(--ezwsh-accent);
}

/* ── Responsive WooCommerce ── */

@media (max-width: 1024px) {
	.ezwsh-main ul.products,
	.ezwsh-main ul.products.columns-4,
	.ezwsh-main ul.products.columns-5 {
		--ezwsh-shop-cols: 3;
	}

	.ezwsh-cart-grid,
	.ezwsh-checkout-grid {
		grid-template-columns: 1fr;
	}

	.ezwsh-checkout-grid__review {
		position: static;
	}
}

@media (max-width: 860px) {
	.ezwsh-product-top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ezwsh-account-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.ezwsh-main ul.products,
	.ezwsh-main ul.products.columns-3,
	.ezwsh-main ul.products.columns-4,
	.ezwsh-main ul.products.columns-5 {
		--ezwsh-shop-cols: 2;
	}

	/* Tableau panier empilé. */
	.ezwsh-main table.shop_table_responsive thead {
		display: none;
	}

	.ezwsh-main table.shop_table_responsive tr {
		display: block;
		border-bottom: 1px solid var(--ezwsh-border);
		padding: 10px 0;
	}

	.ezwsh-main table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		border: 0;
		padding: 6px 14px;
		text-align: right;
	}

	.ezwsh-main table.shop_table_responsive td::before {
		content: attr(data-title);
		font-weight: 600;
		text-align: left;
	}

	.ezwsh-main table.shop_table_responsive td.product-remove::before,
	.ezwsh-main table.shop_table_responsive td.product-thumbnail::before,
	.ezwsh-main table.shop_table_responsive td.actions::before {
		display: none;
	}

	.ezwsh-main .woocommerce-cart-form td.actions .coupon {
		float: none;
		width: 100%;
		margin-bottom: 10px;
	}

	.ezwsh-main .woocommerce-cart-form td.actions .coupon .input-text {
		flex: 1;
		width: auto;
	}

	.ezwsh-main .woocommerce-cart-form td.actions > .button {
		float: none;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.ezwsh-main ul.products,
	.ezwsh-main ul.products.columns-2,
	.ezwsh-main ul.products.columns-3,
	.ezwsh-main ul.products.columns-4,
	.ezwsh-main ul.products.columns-5 {
		--ezwsh-shop-cols: 1;
	}
}

@media (max-width: 600px) {
	:root {
		--ezwsh-gutter: 16px;
	}

	.ezwsh-footer__widgets {
		grid-template-columns: 1fr;
	}

	.ezwsh-cat-grid {
		grid-template-columns: 1fr;
	}

	.ezwsh-footer__bottom {
		flex-direction: column;
		text-align: center;
	}

	.admin-bar.ezwsh-has-sticky-header .ezwsh-header {
		top: 0;
	}
}
