/*
 * UniMarket – maquette « UniMarket responsive » : en-tête, menus, accueil.
 * Uniquement de la présentation. Chargé après um-design.css.
 */

:root {
	--um-navy: #007bff; /* bleu du logo */
	--um-navy-2: #0062cc; /* bleu du logo, survol */
	--um-or: #ff6600; /* orange du logo */
	--um-or-2: #e65c00; /* orange du logo, survol */
	--um-text: #111518;
	--um-muted: #6b7486;
	--um-border: #e3e8f1;
	--um-soft: #f3f6fb;
	--um-nav: #edf2fa;
	--um-card-r: 12px;
	--um-wrap: 1240px;
	--um-gutter: 16px;
	--um-shadow-1: 0 1px 2px rgba(0, 63, 133, 0.06), 0 4px 14px rgba(0, 63, 133, 0.06);
	--um-shadow-2: 0 12px 30px rgba(0, 63, 133, 0.14);
	--um-bnav-h: 62px;
}

/* ------------------------------------------------------------------
 * 0. Bases
 * --------------------------------------------------------------- */

.um-ui #header {
	display: none !important; /* En-tête Blocksy remplacé par .um-hdr */
}
.um-wrap {
	box-sizing: border-box;
	width: 100%;
	max-width: calc(var(--um-wrap) + 2 * var(--um-gutter));
	margin-inline: auto;
	padding-inline: var(--um-gutter);
}
.um-hdr *,
.um-home *,
.um-drawer *,
.um-bnav * {
	box-sizing: border-box;
}
.um-hdr ul,
.um-home ul,
.um-drawer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.um-hdr li,
.um-home li,
.um-drawer li {
	margin: 0;
}
.um-i {
	flex: none;
	display: block;
}
.um-show-sm {
	display: none;
}

.um-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	border-radius: 8px;
	background: var(--um-or);
	color: #fff !important;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.um-btn:hover,
.um-btn:focus-visible {
	background: var(--um-or-2);
	box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3);
}
.um-btn:active {
	transform: translateY(1px);
}

/* ------------------------------------------------------------------
 * 1. En-tête
 * --------------------------------------------------------------- */

.um-hdr {
	position: relative;
	z-index: 60;
	background: #fff;
	color: var(--um-text);
	font-size: 14px;
}
.um-hdr a {
	text-decoration: none;
}

/* Barre du haut */
.um-topbar {
	background: var(--um-navy);
	color: #fff;
	font-size: 13px;
}
.um-topbar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.um-topbar__hello {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-weight: 500;
}
.um-topbar__promo {
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 12px;
}
.um-topbar__links {
	display: flex;
	align-items: center;
}
.um-topbar__links li {
	display: flex;
	align-items: center;
	padding-inline: 12px;
}
.um-topbar__links li + li:last-child {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
}
.um-topbar__links li:last-child {
	padding-inline-end: 0;
}
.um-topbar__links a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #fff !important;
}
.um-topbar__links a:hover {
	color: #ffe0cc !important;
}

/* Logo, recherche, icônes */
.um-mainbar__in {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 92px;
}
.um-logo {
	flex: none;
	display: inline-flex;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}
.um-logo__uni {
	color: var(--um-navy);
}
.um-logo__market {
	color: var(--um-or);
}
.um-search {
	display: flex;
	flex: 1;
	max-width: 480px;
	margin: 0 0 0 auto;
	border: 1px solid #d5dce8;
	border-radius: 8px;
	overflow: hidden;
	background: #f8fafd;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.um-search:focus-within {
	border-color: var(--um-or);
	box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.14);
}
.um-search .um-search__input {
	flex: 1;
	min-width: 0;
	height: 46px !important;
	min-height: 0 !important;
	margin: 0;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--um-text);
	font-size: 14px;
}
.um-search .um-search__input:focus {
	outline: 0;
}
.um-search .um-search__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--um-or);
	color: #fff;
	cursor: pointer;
}
.um-search .um-search__btn:hover {
	background: var(--um-or-2);
}
.um-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-inline-start: 24px;
}
.um-actions a {
	position: relative;
	display: flex;
	color: var(--um-navy) !important;
}
.um-actions a:hover {
	color: var(--um-or) !important;
}
.um-cart-count {
	position: absolute;
	top: -8px;
	right: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--um-or);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}
.um-burger {
	display: none;
}

/* Barre des catégories */
.um-catnav {
	background: var(--um-nav);
	border-block: 1px solid #e2e9f5;
}
.um-catnav__in {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 50px;
}
.um-allcats {
	position: relative;
	flex: none;
}
.um-hdr .um-allcats__btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 38px;
	margin: 0;
	padding: 0 18px;
	border: 0;
	border-radius: 4px;
	background: var(--um-or);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
}
.um-hdr .um-allcats__btn:hover,
.um-hdr .um-allcats__btn[aria-expanded="true"] {
	background: var(--um-or-2);
}
.um-catnav__list {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}
.um-catnav__list::-webkit-scrollbar {
	display: none;
}
.um-catnav__list a {
	display: block;
	padding: 14px 6px;
	color: var(--um-text) !important;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: inset 0 -2px 0 transparent;
	transition: color 0.2s, box-shadow 0.2s;
}
.um-catnav__list a:hover,
.um-catnav__list a[aria-current="page"] {
	color: var(--um-or) !important;
	box-shadow: inset 0 -2px 0 var(--um-or);
}

/* Panneau « Toutes les catégories » : menu principal complet du site */
.um-allcats__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 80;
	width: min(880px, calc(100vw - 32px));
	max-height: 70vh;
	padding: 22px 24px;
	overflow-y: auto;
	border: 1px solid var(--um-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: var(--um-shadow-2);
}
.um-allcats__panel[hidden] {
	display: none;
}
.um-menu--mega {
	columns: 3 220px;
	column-gap: 28px;
}
.um-menu--mega > li {
	break-inside: avoid;
	margin-bottom: 14px !important;
}
.um-menu--mega > li > a {
	display: block;
	padding: 4px 0;
	color: var(--um-navy) !important;
	font-weight: 700;
}
.um-menu--mega .sub-menu a {
	display: block;
	padding: 3px 0;
	color: var(--um-muted) !important;
	font-size: 13.5px;
}
.um-menu--mega a:hover {
	color: var(--um-or) !important;
}
.um-menu--mega .sub-menu .sub-menu {
	padding-inline-start: 10px;
}

/* ------------------------------------------------------------------
 * 2. Accueil
 * --------------------------------------------------------------- */

.home.um-ui #main,
.home.um-ui .site-main {
	background: #fff;
}
.um-home {
	padding-bottom: 32px;
	color: var(--um-text);
}
.um-home a {
	text-decoration: none;
}

/* Bandeau de confiance */
.um-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.um-trust li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 0;
	color: var(--um-navy);
}
.um-trust strong {
	display: block;
	color: var(--um-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.um-trust small {
	display: block;
	color: var(--um-muted);
	font-size: 12px;
	line-height: 1.35;
}
.um-trust--top {
	margin: 16px auto 0;
	padding: 14px 24px;
	border: 1px solid var(--um-border);
	border-radius: 6px;
	background: #f7f9fd;
	max-width: 1060px;
}
.um-trust--bottom {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 16px;
}
.um-trust--bottom li {
	justify-content: flex-start;
	padding: 16px 18px;
	border: 1px solid var(--um-border);
	border-radius: 10px;
	background: #f7f9fd;
}

/* Bandeau principal */
.um-hero {
	position: relative;
	margin-top: 16px;
}
.um-hero__track {
	position: relative;
	display: grid;
	overflow: hidden;
	border-radius: 14px;
	box-shadow: var(--um-shadow-1);
}
.um-slide {
	grid-area: 1 / 1;
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	min-height: 300px;
	padding: 40px 52px 56px;
	background: linear-gradient(100deg, #fbf3ec 0%, #f6e7da 45%, #efd9c6 100%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s;
}
.um-slide.is-active {
	opacity: 1;
	visibility: visible;
}
.um-slide--2 {
	background: linear-gradient(100deg, #eef4ff 0%, #dfeaff 55%, #c9dcff 100%);
}
.um-slide--3 {
	background: linear-gradient(100deg, #fff1e7 0%, #ffe2cf 55%, #ffd2b4 100%);
}
.um-slide__text {
	position: relative;
	z-index: 2;
	max-width: 560px;
}
.um-home .um-slide__title {
	margin: 0 0 14px;
	color: var(--um-navy);
	font-size: clamp(30px, 4.1vw, 54px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
}
.um-slide__title em {
	display: block;
	color: var(--um-or);
	font-style: normal;
}
.um-slide--2 .um-slide__title,
.um-slide--3 .um-slide__title {
	font-size: clamp(26px, 3.2vw, 42px);
}
.um-slide__lead {
	margin: 0 0 24px;
	color: #2a3346;
	font-size: clamp(14px, 1.45vw, 19px);
	line-height: 1.45;
}
.um-slide--1 .um-slide__lead {
	max-width: 360px;
}
.um-slide--2 .um-slide__lead,
.um-slide--3 .um-slide__lead {
	font-size: clamp(13px, 1.2vw, 16px);
}
.um-btn--hero {
	min-height: 52px;
	padding: 0 28px;
	font-size: 17px;
}
.um-slide__visual {
	position: relative;
	align-self: stretch;
	min-height: 220px;
}

/* Visuel diapositive 1 : vrais produits en promotion */
.um-collage__img {
	position: absolute;
	width: 46%;
	aspect-ratio: 1;
	object-fit: cover;
	border: 5px solid #fff;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(76, 44, 18, 0.18);
}
.um-collage__img--1 {
	right: 30%;
	bottom: -6%;
	z-index: 3;
	width: 50%;
}
.um-collage__img--2 {
	right: 2%;
	bottom: 4%;
	z-index: 2;
	width: 36%;
	transform: rotate(5deg);
}
.um-collage__img--3 {
	left: -4%;
	bottom: 30%;
	z-index: 1;
	width: 30%;
	transform: rotate(-6deg);
}
.um-collage__script {
	position: absolute;
	top: -12px;
	right: 4%;
	z-index: 4;
	margin: 0;
	color: var(--um-navy);
	font-family: "Caveat", "Segoe Script", cursive;
	font-size: clamp(20px, 2.1vw, 28px);
	line-height: 1.05;
	transform: rotate(-8deg);
}

/* Visuels diapositives 2 et 3 : images existantes du site */
.um-slide__photo img {
	position: absolute;
	inset: -40px -52px -56px 0;
	width: calc(100% + 52px);
	height: calc(100% + 96px);
	object-fit: cover;
	object-position: center 30%;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
	mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.um-slide__photo--promo img {
	object-position: center 75%;
}

.um-hero__dots {
	position: absolute;
	left: calc(var(--um-gutter) + 52px);
	bottom: 18px;
	z-index: 5;
	display: flex;
	gap: 8px;
}
.um-hero__dots button {
	width: 10px;
	height: 10px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 63, 133, 0.25);
	cursor: pointer;
	transition: width 0.25s, background-color 0.25s;
}
.um-hero__dots button.is-active {
	width: 22px;
	background: var(--um-navy);
}

/* Sections */
.um-section {
	margin-top: 30px;
}
.um-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.um-section__head--mobile {
	display: none;
}
.um-home .um-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--um-navy);
	font-size: clamp(19px, 1.9vw, 24px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.um-section__title .um-i {
	color: var(--um-or);
}
.um-section__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--um-navy) !important;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}
.um-section__more:hover {
	color: var(--um-or) !important;
}
.um-section__intro {
	margin: -6px 0 14px;
	color: var(--um-muted);
	font-size: 14px;
}

/* Catégories */
.um-catgrid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px !important;
}
.um-cat a {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--um-border);
	border-radius: 10px;
	background: #f2f6fc;
	box-shadow: var(--um-shadow-1);
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.um-cat a:hover {
	transform: translateY(-3px);
	border-color: #ffc7a6;
	box-shadow: var(--um-shadow-2);
}
.um-cat__img {
	display: block;
	aspect-ratio: 1.2;
	overflow: hidden;
	background: #fff;
}
.um-cat__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}
.um-cat a:hover .um-cat__img img {
	transform: scale(1.05);
}
.um-cat__name {
	display: block;
	padding: 12px 40px 12px 12px;
	color: var(--um-text);
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
}
.um-cat__go {
	position: absolute;
	right: 10px;
	bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	color: var(--um-navy);
	box-shadow: 0 2px 6px rgba(0, 63, 133, 0.15);
}

/* Cartes produits */
.um-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}
.um-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--um-border);
	border-radius: var(--um-card-r);
	background: #fff;
	box-shadow: var(--um-shadow-1);
	transition: transform 0.25s, box-shadow 0.25s;
}
.um-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--um-shadow-2);
}
.um-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1.1;
	overflow: hidden;
	background: #fff;
}
.um-card__media img,
.um-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.4s;
}
.um-card:hover .um-card__media img {
	transform: scale(1.04);
}
.um-card__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--um-or);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
.um-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 12px 14px 14px;
}
.um-home .um-card__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}
.um-card__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	min-height: 2.7em;
	color: var(--um-text) !important;
}
.um-card__title a:hover {
	color: var(--um-or) !important;
}
.um-card__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 10px;
	margin-bottom: 6px;
}
.um-card__price .price,
.um-card__price > span,
.um-card__price ins {
	display: contents;
}
.um-card__price ins .amount,
.um-card__price > .amount,
.um-card__price > .woocommerce-Price-amount {
	order: 1;
	color: var(--um-or);
	font-size: 19px;
	font-weight: 800;
	text-decoration: none;
}
.um-card__price ins {
	text-decoration: none;
}
.um-card__price del {
	order: 2;
	color: #8b93a3;
	font-size: 13px;
	font-weight: 400;
}
.um-card__price del .amount {
	color: inherit;
}
.um-card__rating {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	color: var(--um-muted);
	font-size: 12px;
}
.um-stars {
	position: relative;
	display: inline-block;
	font-size: 15px;
	letter-spacing: 2px;
	line-height: 1;
}
.um-stars::before {
	content: "★★★★★";
	color: #dfe3ea;
}
.um-stars::after {
	content: "★★★★★";
	position: absolute;
	inset: 0;
	width: var(--um-rating, 0%);
	overflow: hidden;
	color: #f5a623;
	white-space: nowrap;
}
.um-btn--card {
	width: 100%;
	min-height: 42px;
	margin-top: auto;
	padding: 0 12px;
	border-radius: 6px;
	font-size: 14.5px;
}
.um-card__price + .um-btn--card,
.um-card__rating + .um-btn--card {
	margin-top: auto;
}
.um-card__body > .um-btn--card {
	margin-top: auto;
}
.um-card__body > *:nth-last-child(2) {
	margin-bottom: 12px;
}

/* Bannières */
.um-banners {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-top: 30px;
}
.um-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 160px;
	overflow: hidden;
	padding: 22px 30px;
	border-radius: 12px;
	isolation: isolate;
	transition: transform 0.25s, box-shadow 0.25s;
}
.um-banner:hover {
	transform: translateY(-2px);
	box-shadow: var(--um-shadow-2);
}
.um-banner--blue {
	background: linear-gradient(105deg, #0062cc 0%, #007bff 100%);
	color: #fff;
}
.um-banner--peach {
	background: linear-gradient(105deg, #ffe8d8 0%, #ffd5b8 60%, #ffc59f 100%);
	color: var(--um-navy);
}
.um-banner__text {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	max-width: 58%;
}
.um-banner__title {
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 700;
	line-height: 1.15;
}
.um-banner__sub {
	margin: 2px 0 14px;
	font-size: clamp(14px, 1.35vw, 18px);
	font-weight: 500;
	opacity: 0.95;
}
.um-banner--blue .um-banner__sub {
	color: #fff;
}
.um-banner__btn {
	padding: 9px 22px;
	border-radius: 999px;
	background: var(--um-or);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
}
.um-banner:hover .um-banner__btn {
	background: var(--um-or-2);
}
.um-banner__img {
	position: absolute;
	top: 50%;
	right: 18px;
	z-index: 1;
	width: auto;
	height: 82%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
	transform: translateY(-50%) rotate(3deg);
}

/* Avis clients */
.um-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 12px;
	margin: 30px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--um-soft);
	color: var(--um-text);
	font-size: 14px;
	text-align: center;
}
.um-proof strong {
	color: var(--um-navy);
}

/* ------------------------------------------------------------------
 * 3. Tiroir (menu mobile)
 * --------------------------------------------------------------- */

.um-drawer {
	position: fixed;
	inset: 0;
	z-index: 100000;
}
.um-drawer[hidden] {
	display: none;
}
.um-drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(9, 20, 45, 0.5);
	animation: um-fade 0.2s ease;
}
.um-drawer__panel {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	width: min(360px, 88vw);
	background: #fff;
	box-shadow: var(--um-shadow-2);
	animation: um-slide-in 0.25s ease;
}
.um-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	border-bottom: 1px solid var(--um-border);
}
.um-drawer__head .um-logo {
	font-size: 28px;
	text-decoration: none;
}
.um-drawer .um-drawer__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--um-soft);
	color: var(--um-navy);
	cursor: pointer;
}
.um-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 16px 28px;
	overscroll-behavior: contain;
}
.um-drawer__title {
	margin: 18px 0 8px;
	color: var(--um-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.um-drawer a {
	text-decoration: none;
}
.um-drawer__cats a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 4px;
	border-bottom: 1px solid #f0f2f6;
	color: var(--um-text) !important;
	font-weight: 600;
}
.um-drawer__cats img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: 10px;
}
.um-drawer__cats span {
	flex: 1;
}
.um-drawer__cats .um-i {
	color: #a3abba;
}
.um-menu--drawer li {
	position: relative;
}
.um-menu--drawer a {
	display: block;
	padding: 11px 44px 11px 4px;
	border-bottom: 1px solid #f0f2f6;
	color: var(--um-text) !important;
	font-weight: 500;
}
.um-menu--drawer .sub-menu {
	display: none;
	padding-inline-start: 14px !important;
}
.um-menu--drawer li.is-open > .sub-menu {
	display: block;
}
.um-menu--drawer .sub-menu a {
	color: var(--um-muted) !important;
	font-size: 14px;
	font-weight: 400;
}
.um-drawer .um-sub-toggle {
	position: absolute;
	top: 4px;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--um-navy);
	cursor: pointer;
	transition: transform 0.2s;
}
.um-drawer li.is-open > .um-sub-toggle {
	transform: rotate(90deg);
}
.um-drawer__contact {
	margin-top: 18px !important;
	padding: 12px !important;
	border-radius: 12px;
	background: var(--um-soft);
}
.um-drawer__contact a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 4px;
	color: var(--um-navy) !important;
	font-size: 14px;
	font-weight: 500;
	word-break: break-all;
}
html.um-lock,
html.um-lock body {
	overflow: hidden;
}
@keyframes um-fade {
	from { opacity: 0; }
}
@keyframes um-slide-in {
	from { transform: translateX(-100%); }
}

/* ------------------------------------------------------------------
 * 4. Barre de navigation mobile
 * --------------------------------------------------------------- */

.um-bnav {
	display: none;
}

/* ------------------------------------------------------------------
 * 5. Tablette et mobile
 * --------------------------------------------------------------- */

@media (max-width: 1199.98px) {
	.um-mainbar__in {
		gap: 22px;
	}
	.um-catnav__list {
		justify-content: flex-start;
		gap: 14px;
	}
	.um-catnav__list a {
		font-size: 13.5px;
	}
	.um-topbar__promo {
		display: none;
	}
	.um-catgrid {
		gap: 10px;
	}
	.um-cat__name {
		padding: 10px 34px 10px 10px;
		font-size: 12.5px;
	}
	.um-cat__go {
		right: 7px;
		bottom: 8px;
		width: 22px;
		height: 22px;
	}
	.um-products {
		gap: 16px;
	}
}

@media (max-width: 1023.98px) {
	/* En-tête mobile : menu, logo, panier puis recherche */
	.um-topbar,
	.um-catnav,
	.um-actions__account {
		display: none !important;
	}
	.um-mainbar__in {
		display: grid;
		grid-template-columns: 44px 1fr 44px;
		gap: 10px 8px;
		min-height: 0;
		padding-block: 10px 12px;
	}
	.um-hdr .um-burger {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 10px;
		background: transparent;
		color: var(--um-navy);
		cursor: pointer;
	}
	.um-logo {
		justify-self: center;
		font-size: 30px;
	}
	.um-hdr .um-burger {
		grid-area: 1 / 1;
	}
	.um-logo {
		grid-area: 1 / 2;
	}
	.um-actions {
		grid-area: 1 / 3;
		justify-content: flex-end;
		margin: 0;
	}
	.um-actions__cart {
		margin-inline-end: 8px;
	}
	.um-search {
		grid-area: 2 / 1 / 3 / -1;
		max-width: none;
		margin: 0;
	}
	.um-search .um-search__input {
		height: 42px !important;
	}
	.um-search .um-search__btn {
		width: 50px;
	}

	.um-trust--top {
		margin-top: 2px;
		padding: 10px 8px;
	}
	.um-trust--top li {
		gap: 8px;
	}
	.um-trust--top small {
		display: none;
	}
	.um-trust--top strong {
		font-size: 12px;
		font-weight: 500;
	}
	.um-trust--top .um-i {
		width: 24px;
		height: 24px;
	}
	.um-trust--bottom {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.um-slide {
		padding: 32px 32px 48px;
	}
	.um-hero__dots {
		left: calc(var(--um-gutter) + 32px);
	}
	.um-slide__photo img {
		inset: -32px -32px -48px 0;
		width: calc(100% + 32px);
		height: calc(100% + 80px);
	}

	.um-products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.um-products > li:nth-child(4) {
		display: none;
	}

	/* Barre de navigation mobile */
	.um-has-bnav .um-bnav {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 9990;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		height: calc(var(--um-bnav-h) + env(safe-area-inset-bottom, 0px));
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border-top: 1px solid var(--um-border);
		background: #fff;
		box-shadow: 0 -4px 18px rgba(0, 63, 133, 0.08);
	}
	.um-bnav a,
	.um-bnav button {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #5b6578 !important;
		font: inherit;
		font-size: 11px;
		font-weight: 500;
		text-decoration: none;
		cursor: pointer;
	}
	.um-bnav [aria-current="page"] {
		color: var(--um-or) !important;
	}
	.um-bnav__icon {
		position: relative;
	}
	.um-bnav .um-cart-count {
		top: -7px;
		right: -11px;
		min-width: 18px;
		height: 18px;
		font-size: 10px;
	}
	body.um-has-bnav {
		padding-bottom: calc(var(--um-bnav-h) + env(safe-area-inset-bottom, 0px));
	}
	/* Boutons flottants existants au-dessus de la barre */
	body.um-has-bnav .um-wa-float {
		bottom: calc(var(--um-bnav-h) + 14px + env(safe-area-inset-bottom, 0px));
	}
	body.um-has-bnav #callnowbutton {
		bottom: calc(var(--um-bnav-h) + 14px + env(safe-area-inset-bottom, 0px)) !important;
	}
	body.um-has-bnav .ct-back-to-top {
		bottom: calc(var(--um-bnav-h) + 84px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

@media (max-width: 767.98px) {
	:root {
		--um-gutter: 12px;
	}
	.um-hide-sm {
		display: none;
	}
	.um-show-sm {
		display: inline;
	}
	.um-logo {
		font-size: 28px;
	}

	.um-trust--top {
		gap: 4px;
	}
	.um-trust--top li {
		justify-content: flex-start;
	}

	/* Bandeau principal : texte à gauche, visuel en bas à droite */
	.um-hero {
		margin-top: 12px;
	}
	.um-slide {
		display: block;
		min-height: 200px;
		padding: 18px 16px 34px;
	}
	.um-slide__text {
		max-width: 62%;
	}
	.um-home .um-slide__title {
		margin-bottom: 8px;
		font-size: 22px;
		line-height: 1.08;
	}
	.um-slide--2 .um-slide__title,
	.um-slide--3 .um-slide__title {
		font-size: 19px;
	}
	.um-slide__lead {
		margin-bottom: 14px;
		font-size: 12.5px !important;
		line-height: 1.4;
	}
	.um-slide--2 .um-slide__lead,
	.um-slide--3 .um-slide__lead {
		display: -webkit-box;
		overflow: hidden;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
	}
	.um-btn--hero {
		gap: 6px;
		min-height: 36px;
		padding: 0 12px;
		border-radius: 6px;
		font-size: 12.5px;
	}
	.um-btn--hero .um-i {
		width: 15px;
		height: 15px;
	}
	.um-slide__visual {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 48%;
		min-height: 0;
	}
	.um-collage__script {
		display: none;
	}
	.um-collage__img {
		border-width: 3px;
		border-radius: 12px;
	}
	.um-collage__img--1 {
		right: 22%;
		bottom: 8%;
		width: 62%;
	}
	.um-collage__img--2 {
		right: 3%;
		bottom: 40%;
		width: 42%;
	}
	.um-collage__img--3 {
		display: none;
	}
	.um-slide__photo img {
		inset: 0;
		width: 100%;
		height: 100%;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%);
		mask-image: linear-gradient(90deg, transparent 0, #000 35%);
	}
	.um-hero__dots {
		left: calc(var(--um-gutter) + 16px);
		bottom: 12px;
	}
	.um-hero__dots button {
		width: 8px;
		height: 8px;
	}
	.um-hero__dots button.is-active {
		width: 18px;
	}

	/* Sections */
	.um-section {
		margin-top: 24px;
	}
	.um-section__head--mobile {
		display: flex;
	}
	.um-home .um-section__title {
		gap: 6px;
		font-size: 17px;
	}
	.um-section__title .um-i {
		width: 22px;
		height: 22px;
	}
	.um-section__more {
		font-size: 13px;
	}

	/* Catégories : 4 + 3 comme la maquette */
	.um-catgrid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 12px 8px;
		margin-top: 0 !important;
	}
	.um-cat {
		grid-column: span 3;
	}
	.um-cat:nth-child(n + 5) {
		grid-column: span 4;
	}
	.um-cat a {
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}
	.um-cat a:hover {
		transform: none;
		box-shadow: none;
	}
	.um-cat__img {
		aspect-ratio: 1;
		border-radius: 8px;
		box-shadow: var(--um-shadow-1);
	}
	.um-cat:nth-child(n + 5) .um-cat__img {
		aspect-ratio: 1.15;
	}
	.um-cat__name {
		padding: 6px 0 0;
		font-size: 11px;
		font-weight: 500;
		text-align: center;
	}
	.um-cat__go {
		display: none;
	}

	/* Produits : 2 colonnes */
	.um-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.um-products > li:nth-child(4) {
		display: flex;
	}
	.um-card__media {
		aspect-ratio: 1.15;
	}
	.um-card__badge {
		top: 8px;
		left: 8px;
		padding: 3px 8px;
		font-size: 12px;
	}
	.um-card__body {
		padding: 8px 10px 10px;
	}
	.um-home .um-card__title {
		margin-bottom: 4px;
		font-size: 12.5px;
	}
	.um-card__price {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		margin-bottom: 4px;
	}
	.um-card__price ins .amount,
	.um-card__price > .amount,
	.um-card__price > .woocommerce-Price-amount {
		font-size: 15.5px;
	}
	.um-card__price del {
		font-size: 11.5px;
	}
	.um-card__body > *:nth-last-child(2) {
		margin-bottom: 8px;
	}
	.um-btn--card {
		gap: 6px;
		min-height: 34px;
		font-size: 12px;
	}
	.um-btn--card .um-i {
		width: 15px;
		height: 15px;
	}

	/* Bannières empilées */
	.um-banners {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 24px;
	}
	.um-banner {
		min-height: 128px;
		padding: 16px 18px;
	}
	.um-banner__img {
		right: 12px;
		height: 78%;
	}
	.um-banner__sub {
		margin-bottom: 10px;
	}
	.um-banner__btn {
		padding: 7px 16px;
		font-size: 13px;
	}

	.um-proof {
		font-size: 13px;
	}
	.um-trust--bottom {
		gap: 8px;
	}
	.um-trust--bottom li {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 12px;
	}
	.um-trust--bottom strong {
		font-size: 13px;
	}
	.um-trust--bottom small {
		font-size: 11.5px;
	}
}

@media (max-width: 380px) {
	.um-slide__text {
		max-width: 64%;
	}
	.um-home .um-slide__title {
		font-size: 20px;
	}
	.um-trust--top strong {
		font-size: 11px;
	}
	.um-trust--top .um-i {
		width: 20px;
		height: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.um-slide,
	.um-card,
	.um-cat a,
	.um-banner,
	.um-drawer__overlay,
	.um-drawer__panel {
		animation: none !important;
		transition: none !important;
	}
}

/* ------------------------------------------------------------------
 * 6. Neutralise le style de boutons global (kit Elementor) sur nos
 *    boutons d'interface
 * --------------------------------------------------------------- */

body.um-ui .um-burger,
body.um-ui .um-bnav button,
body.um-ui .um-drawer__close,
body.um-ui .um-sub-toggle,
body.um-ui .um-hero__dots button {
	box-shadow: none !important;
	text-transform: none;
	letter-spacing: normal;
}
body.um-ui .um-burger,
body.um-ui .um-bnav button,
body.um-ui .um-sub-toggle {
	background: transparent !important;
}
body.um-ui .um-bnav button {
	color: #5b6578 !important;
}

/* Petits ordinateurs (1024–1199 px) : tout tient sur une ligne */
@media (min-width: 1024px) and (max-width: 1199.98px) {
	.um-hdr .um-allcats__btn {
		padding: 0 14px;
		font-size: 13px;
	}
	.um-catnav__in {
		gap: 12px;
	}
	.um-catnav__list {
		gap: 4px;
		justify-content: space-between;
	}
	.um-catnav__list a {
		padding-inline: 4px;
		font-size: 12.5px;
	}
	.um-cat__name {
		padding: 10px 26px 10px 9px;
		font-size: 11.5px;
		hyphens: manual;
		overflow-wrap: normal;
		word-break: normal;
	}
	.um-cat__go {
		right: 5px;
		width: 20px;
		height: 20px;
	}
}

/* ------------------------------------------------------------------
 * 7. Logo officiel (icône + nom UNIMARKET en dessous)
 * --------------------------------------------------------------- */

.um-logo {
	display: block;
	line-height: 0;
}
.um-logo picture {
	display: block;
}
.um-logo .um-logo__img {
	display: block;
	width: auto;
	height: 84px;
	max-width: none;
}
.um-mainbar__in {
	min-height: 104px;
	padding-block: 10px;
}
.um-drawer__head .um-logo__img {
	height: 52px;
}
@media (max-width: 1023.98px) {
	.um-mainbar__in {
		min-height: 0;
		padding-block: 8px 12px;
	}
	.um-logo .um-logo__img {
		height: 62px;
	}
	.um-drawer__head .um-logo__img {
		height: 52px;
	}
}
@media (max-width: 767.98px) {
	.um-logo .um-logo__img {
		height: 58px;
	}
}

/* Textes des bannières : couleurs du logo */
.um-banner--blue .um-banner__title,
.um-banner--blue .um-banner__sub {
	color: #fff;
}
.um-banner--peach .um-banner__title {
	color: #007bff;
}
.um-banner--peach .um-banner__sub {
	color: #ff6600;
}

/* Menu mobile ouvert : bouton de fermeture discret, boutons flottants masqués */
body.um-ui .um-drawer .um-drawer__close {
	background: var(--um-soft) !important;
	color: var(--um-navy) !important;
}
html.um-lock #callnowbutton,
html.um-lock .um-wa-float {
	display: none !important;
}

/* ------------------------------------------------------------------
 * Visibilité par appareil (réglages du Personnaliseur)
 * --------------------------------------------------------------- */

@media (max-width: 767.98px) {
	.um-vis-desktop {
		display: none !important;
	}
}
@media (min-width: 768px) {
	.um-vis-mobile {
		display: none !important;
	}
}

/* Bannière orange (réglage) */
.um-banner--orange {
	background: linear-gradient(105deg, #e65c00 0%, #ff6600 100%);
	color: #fff;
}
.um-banner--orange .um-banner__title,
.um-banner--orange .um-banner__sub {
	color: #fff;
}
.um-banner--orange .um-banner__btn {
	background: #007bff;
}

/* Blocs libres de l'accueil */
.um-free {
	display: grid;
	gap: 20px;
	align-items: center;
	padding: 22px;
	border: 1px solid var(--um-border);
	border-radius: var(--um-card-r);
	background: #fff;
}
.um-free__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	border-radius: 10px;
}
.um-free__text {
	margin: 8px 0 14px;
	color: var(--um-text);
}
@media (min-width: 768px) {
	.um-free:has(.um-free__media) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.um-free--img-right .um-free__media {
		order: 2;
	}
}

/* Compte à rebours sur les cartes produits */
.um-countdown--card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 6px;
	margin: 2px 0 8px;
	padding: 5px 8px;
	border-radius: 8px;
	background: #fff3eb;
	color: #b34700;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}
.um-countdown--card .um-countdown__time {
	display: inline-flex;
	gap: 3px;
	font-variant-numeric: tabular-nums;
}
.um-countdown--card .um-countdown__u {
	display: inline-flex;
	align-items: baseline;
	gap: 1px;
}
.um-countdown--card .um-countdown__u b {
	color: #ff6600;
	font-size: 13px;
}
.um-countdown--card.is-over {
	background: #f1f3f6;
	color: #4b5563;
}

/* Blocs UniMarket dans Elementor / codes courts : même espacement que l'accueil */
.um-home.um-block {
	padding-bottom: 0;
}
.elementor > .e-con:last-child .um-home.um-block,
.elementor > .elementor-section:last-child .um-home.um-block {
	padding-bottom: 32px;
}
/* Conteneurs flex d'Elementor : largeur explicite, sinon hauteur mal calculée */
.e-con > [class*="elementor-widget-um-"],
.e-con > .elementor-widget-shortcode:has(.um-block) {
	width: 100%;
}

/* Bannières sur téléphone : boutons sur une seule ligne, même taille */
@media (max-width: 767.98px) {
	.um-banner__btn {
		max-width: 100%;
		padding: 7px 14px;
		font-size: 12.5px;
		line-height: 1.4;
		white-space: nowrap;
	}
	.um-banner__img {
		z-index: 1;
	}
}
@media (max-width: 400px) {
	.um-banner__text {
		max-width: 62%;
	}
	.um-banner__btn {
		padding: 7px 12px;
		font-size: 12px;
	}
}
.um-banner__btn {
	white-space: nowrap;
}
@media (max-width: 340px) {
	.um-banner__btn {
		padding: 6px 10px;
		font-size: 11px;
	}
}
