/* =========================================================
   HomeGar Pro — design system
   ========================================================= */

:root {
	--hg-navy: #0f2a44;
	--hg-navy-2: #17395a;
	--hg-navy-3: #234b72;
	--hg-orange: #ff6b1a;
	--hg-orange-dark: #e85a0c;
	--hg-orange-soft: #fff1e8;
	--hg-green: #12a150;
	--hg-green-soft: #e8f7ee;
	--hg-red: #e5243b;
	--hg-yellow: #ffb400;
	--hg-bg: #f4f6f9;
	--hg-card: #ffffff;
	--hg-text: #1d2433;
	--hg-muted: #64708a;
	--hg-line: #e3e8ef;
	--hg-radius: 14px;
	--hg-radius-sm: 10px;
	--hg-shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 4px 14px rgba(15, 42, 68, .06);
	--hg-shadow-lg: 0 10px 30px rgba(15, 42, 68, .14);
	--hg-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hg-font-title: "Poppins", var(--hg-font);
	--hg-wrap: 1320px;
	--hg-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */

body.homegar {
	background: var(--hg-bg);
	color: var(--hg-text);
	font-family: var(--hg-font);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
.homegar h1, .homegar h2, .homegar h3, .homegar h4 {
	font-family: var(--hg-font-title);
	color: var(--hg-navy);
	letter-spacing: -.01em;
}
.homegar a { color: var(--hg-navy-3); text-decoration: none; }
.homegar a:hover { color: var(--hg-orange); }
.homegar a:focus-visible, .homegar button:focus-visible, .homegar input:focus-visible {
	outline: 3px solid rgba(255, 107, 26, .45);
	outline-offset: 2px;
}
/* Storefront met overflow-x: hidden sur body et #page, ce qui casse les éléments « sticky ». */
body.homegar, .homegar #page { overflow-x: clip; overflow-y: visible; }
.hg-wrap { max-width: var(--hg-wrap); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.hg-icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

.homegar .col-full { max-width: var(--hg-wrap); padding: 0 20px; box-sizing: border-box; }
.homegar.home .col-full { max-width: none; padding: 0; margin: 0; }
.homegar .site-content { padding-top: 0; }
.homegar.home .site-main { margin: 0; }

/* ---------- Boutons ---------- */

.hg-btn, .homegar .button, .homegar button.button, .homegar input[type="submit"], .homegar .wc-block-components-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--hg-orange);
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, transform .2s var(--hg-ease), box-shadow .2s;
	text-decoration: none;
}
.hg-btn:hover, .homegar .button:hover, .homegar button.button:hover, .homegar input[type="submit"]:hover {
	background: var(--hg-orange-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(255, 107, 26, .3);
}
.hg-btn--lg { padding: 14px 28px; font-size: 15px; }
.hg-btn--ghost { background: transparent; color: var(--hg-navy); box-shadow: inset 0 0 0 1.5px var(--hg-line); }
.hg-btn--ghost:hover { background: var(--hg-navy); color: #fff; box-shadow: none; }
.homegar .button.alt, .homegar button.button.alt, .homegar .checkout-button, .homegar #place_order {
	background: var(--hg-orange) !important;
	color: #fff !important;
}

/* ---------- Bandeau du haut ---------- */

.hg-topbar { background: var(--hg-navy); color: rgba(255, 255, 255, .88); font-size: 12.5px; font-weight: 500; }
.hg-topbar__inner { display: flex; justify-content: center; gap: 36px; padding-top: 7px; padding-bottom: 7px; overflow: hidden; white-space: nowrap; }
.hg-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.hg-topbar__item .hg-icon { color: var(--hg-orange); }

/* ---------- En-tête ---------- */

.homegar .site-header.hg-masthead {
	position: sticky;
	top: 0;
	z-index: 200;
	padding: 0;
	margin: 0;
	border: 0;
	background: #fff;
	box-shadow: 0 1px 0 var(--hg-line);
	transition: box-shadow .2s;
}
.admin-bar .site-header.hg-masthead { top: 32px; }
.hg-masthead.is-stuck { box-shadow: var(--hg-shadow-lg); }
.hg-masthead.is-stuck .hg-topbar { display: none; }

.hg-header__inner { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.hg-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--hg-navy) !important; flex-shrink: 0; }
.hg-logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--hg-orange), #ff9a3d); color: #fff; }
.hg-logo__text { font-family: var(--hg-font-title); font-weight: 800; font-size: 25px; letter-spacing: -.02em; }
.hg-logo__text b { color: var(--hg-orange); }

.hg-search { position: relative; flex: 1; display: flex; max-width: 720px; margin: 0; }
.hg-search input[type="search"] {
	flex: 1;
	height: 48px;
	padding: 0 56px 0 22px;
	border: 2px solid var(--hg-navy);
	border-radius: 999px;
	background: #fff;
	font-size: 15px;
	color: var(--hg-text);
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.hg-search input[type="search"]:focus { border-color: var(--hg-orange); box-shadow: 0 0 0 4px rgba(255, 107, 26, .15); outline: 0; }
.hg-search button {
	position: absolute; right: 5px; top: 5px;
	width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
	background: var(--hg-orange); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.hg-search button:hover { background: var(--hg-orange-dark); }
.hg-search__results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 50;
	background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow-lg); overflow: hidden;
}
.hg-search__item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--hg-text) !important; border-bottom: 1px solid var(--hg-line); }
.hg-search__item:hover, .hg-search__item.is-active { background: var(--hg-bg); }
.hg-search__item img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; background: #fff; }
.hg-search__item span { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.3; }
.hg-search__item b { color: var(--hg-orange); font-size: 14px; white-space: nowrap; }
.hg-search__all { display: block; padding: 12px 16px; text-align: center; font-weight: 600; font-size: 14px; }
.hg-search__empty { padding: 16px; color: var(--hg-muted); font-size: 14px; }

.hg-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hg-action { position: relative; display: flex; align-items: center; color: var(--hg-navy) !important; }
.hg-action, .hg-action__btn { gap: 10px; padding: 8px 10px; border-radius: 12px; transition: background .2s; }
.hg-action:hover, .hg-action__btn:hover { background: var(--hg-bg); }
.hg-action--fav { padding: 0; }
.hg-action__btn { display: flex; align-items: center; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; position: relative; }
.hg-action__label { display: flex; flex-direction: column; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: left; }
.hg-action__label small { font-size: 11.5px; font-weight: 500; color: var(--hg-muted); }
.hg-cart-count, .hg-fav-count {
	position: absolute; top: 2px; left: 26px;
	min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
	background: var(--hg-orange); color: #fff; font-size: 11px; font-weight: 700; line-height: 19px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.hg-cart-count.is-empty, .hg-fav-count.is-empty { display: none; }
.hg-cart-count.is-bump { animation: hg-bump .5s var(--hg-ease); }
@keyframes hg-bump { 40% { transform: scale(1.45); } }

.hg-favpanel {
	position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 340px;
	background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow-lg); overflow: hidden;
}
.hg-favpanel__head { padding: 14px 18px; font-family: var(--hg-font-title); font-weight: 700; color: var(--hg-navy); border-bottom: 1px solid var(--hg-line); }
.hg-favpanel__list { max-height: 380px; overflow: auto; }
.hg-favpanel__empty { padding: 22px 18px; color: var(--hg-muted); font-size: 14px; }
.hg-favpanel__item { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--hg-line); }
.hg-favpanel__item img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }
.hg-favpanel__item a { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--hg-text) !important; line-height: 1.3; }
.hg-favpanel__item b { display: block; color: var(--hg-orange); font-size: 13px; margin-top: 2px; }
.hg-favpanel__item button { border: 0; background: none; color: var(--hg-muted); cursor: pointer; padding: 4px; }

.hg-burger { display: none; border: 0; background: none; color: var(--hg-navy); padding: 6px; cursor: pointer; }

/* Barre de navigation */
.hg-nav { background: var(--hg-navy); position: relative; }
.hg-nav__inner { display: flex; align-items: center; gap: 8px; height: 48px; }
.hg-nav__all {
	display: inline-flex; align-items: center; gap: 10px; height: 100%; padding: 0 20px; border: 0;
	background: var(--hg-orange); color: #fff; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
}
.hg-nav__all:hover, .hg-nav__all[aria-expanded="true"] { background: var(--hg-orange-dark); }
.hg-nav__links { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hg-nav__links::-webkit-scrollbar { display: none; }
.hg-nav__links a {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
	color: rgba(255, 255, 255, .92) !important; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s;
}
.hg-nav__links a:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.hg-nav__hot { color: #ffb37f !important; font-weight: 700 !important; }

.hg-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff; box-shadow: var(--hg-shadow-lg); border-top: 3px solid var(--hg-orange); }
.hg-mega__inner { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; padding-top: 28px; padding-bottom: 32px; }
.hg-mega__col { display: flex; flex-direction: column; gap: 3px; }
.hg-mega__col a { padding: 5px 0; color: var(--hg-text) !important; font-size: 14px; }
.hg-mega__col a:hover { color: var(--hg-orange) !important; }
.hg-mega__title { font-family: var(--hg-font-title); font-weight: 700; font-size: 16px !important; color: var(--hg-navy) !important; margin-bottom: 6px; }
.hg-mega__title em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--hg-muted); background: var(--hg-bg); padding: 1px 8px; border-radius: 999px; margin-left: 4px; }
.hg-mega__sub { padding-left: 14px !important; color: var(--hg-muted) !important; font-size: 13px !important; }

/* Menu mobile */
.hg-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 42, 68, .5); }
.hg-drawer__panel { width: min(86vw, 360px); height: 100%; overflow-y: auto; background: #fff; display: flex; flex-direction: column; animation: hg-slide-in .3s var(--hg-ease); }
@keyframes hg-slide-in { from { transform: translateX(-100%); } }
.hg-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hg-line); }
.hg-drawer__head button { border: 0; background: none; color: var(--hg-navy); cursor: pointer; }
.hg-drawer__panel > a, .hg-drawer__group summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hg-line); color: var(--hg-navy) !important; font-weight: 600; cursor: pointer; list-style: none; }
.hg-drawer__group summary::-webkit-details-marker { display: none; }
.hg-drawer__group[open] summary .hg-icon { transform: rotate(90deg); }
.hg-drawer__group a { display: block; padding: 10px 18px 10px 30px; color: var(--hg-text) !important; font-size: 14px; border-bottom: 1px solid var(--hg-bg); }
.hg-drawer__hot { color: var(--hg-orange) !important; justify-content: flex-start !important; }

/* ---------- Sections ---------- */

.hg-section { margin-top: 44px; }
.hg-section__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.hg-section__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 24px; font-weight: 700; }
.hg-section__title .hg-icon { color: var(--hg-orange); }
.hg-section__more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--hg-navy-3) !important; }
.hg-section__more:hover { color: var(--hg-orange) !important; }

/* ---------- Héros ---------- */

.hg-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-top: 22px; }
.hg-hero__slider { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--hg-shadow); min-height: 400px; }
.hg-hero__track { display: flex; height: 100%; transition: transform .7s var(--hg-ease); }
.hg-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; padding: 48px 56px; box-sizing: border-box; color: #fff; position: relative; overflow: hidden; }
.hg-slide::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -80px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.hg-slide--0 { background: linear-gradient(120deg, var(--hg-navy) 0%, var(--hg-navy-3) 100%); }
.hg-slide--1 { background: linear-gradient(120deg, #0e5a3a 0%, var(--hg-green) 100%); }
.hg-slide--2 { background: linear-gradient(120deg, #a33a06 0%, var(--hg-orange) 100%); }
.hg-slide--3 { background: linear-gradient(120deg, #3b2a7a 0%, #6a4fd6 100%); }
.hg-slide__text { position: relative; z-index: 1; }
.hg-slide__kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(4px); }
.hg-slide h2 { color: #fff !important; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 16px 0 10px; font-weight: 800; }
.hg-slide p { font-size: 17px; color: rgba(255, 255, 255, .9); margin: 0 0 24px; }
.hg-slide p strong, .hg-slide p .amount { color: #fff; font-size: 22px; font-weight: 800; }
.hg-slide .hg-btn--cta { background: #fff; color: var(--hg-navy); }
.hg-slide .hg-btn--cta:hover { background: var(--hg-orange); color: #fff; }
.hg-slide__img { position: relative; z-index: 1; display: grid; place-items: center; height: 100%; }
.hg-slide__img img { max-height: 320px; width: auto; object-fit: contain; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); transform: rotate(-2deg); transition: transform .6s var(--hg-ease); }
.hg-slide:hover .hg-slide__img img { transform: rotate(0) scale(1.03); }

.hg-hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--hg-navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--hg-shadow); opacity: 0; transition: opacity .2s; z-index: 2; }
.hg-hero__slider:hover .hg-hero__nav { opacity: 1; }
.hg-hero__nav--prev { left: 16px; }
.hg-hero__nav--next { right: 16px; }
.hg-hero__dots { position: absolute; left: 56px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.hg-hero__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s var(--hg-ease), background .3s; }
.hg-hero__dots button.is-active { width: 30px; background: #fff; }

.hg-hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.hg-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding: 20px 22px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: var(--hg-shadow); color: var(--hg-text) !important; transition: transform .3s var(--hg-ease), box-shadow .3s; min-height: 190px; }
.hg-promo:hover { transform: translateY(-3px); box-shadow: var(--hg-shadow-lg); }
.hg-promo img { position: absolute; right: 10px; bottom: 10px; width: 120px; height: 120px; object-fit: contain; transition: transform .4s var(--hg-ease); }
.hg-promo:hover img { transform: scale(1.08); }
.hg-promo__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hg-promo--deal { background: linear-gradient(135deg, #fff 40%, #ffe3e6); }
.hg-promo--deal .hg-promo__tag { background: var(--hg-red); color: #fff; }
.hg-promo--new { background: linear-gradient(135deg, #fff 40%, var(--hg-green-soft)); }
.hg-promo--new .hg-promo__tag { background: var(--hg-green); color: #fff; }
.hg-promo__big { font-family: var(--hg-font-title); font-size: 46px; font-weight: 800; color: var(--hg-red); line-height: 1; margin: 12px 0 6px; }
.hg-promo__name { max-width: 58%; font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--hg-navy); margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hg-promo__price { margin-top: 8px; font-weight: 800; color: var(--hg-orange); font-size: 18px; }
.hg-promo__price del { color: var(--hg-muted); font-weight: 500; font-size: 13px; }

/* ---------- Confiance ---------- */

.hg-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hg-trust--home { margin-top: 22px; background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); padding: 18px 22px; }
.hg-trust__item { display: flex; align-items: center; gap: 14px; }
.hg-trust__item .hg-icon { color: var(--hg-orange); padding: 10px; background: var(--hg-orange-soft); border-radius: 12px; box-sizing: content-box; }
.hg-trust__item strong { display: block; color: var(--hg-navy); font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.hg-trust__item span { font-size: 13px; color: var(--hg-muted); }

/* ---------- Catégories ---------- */

.hg-cats { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; }
.hg-cat { flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px; background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); color: var(--hg-text) !important; transition: transform .3s var(--hg-ease), box-shadow .3s; }
.hg-cat:hover { transform: translateY(-4px); box-shadow: var(--hg-shadow-lg); }
.hg-cat__img { width: 96px; height: 96px; border-radius: 50%; background: var(--hg-bg); display: grid; place-items: center; overflow: hidden; margin-bottom: 4px; transition: box-shadow .3s; }
.hg-cat:hover .hg-cat__img { box-shadow: 0 0 0 3px var(--hg-orange); }
.hg-cat__img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.hg-cat__name { font-weight: 600; font-size: 13.5px; line-height: 1.25; color: var(--hg-navy); }
.hg-cat__count { font-size: 12px; color: var(--hg-muted); }

/* ---------- Carrousel ---------- */

.hg-carousel { position: relative; }
.hg-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 16px; scrollbar-width: none; }
.hg-carousel__track::-webkit-scrollbar { display: none; }
.hg-carousel__track > * { scroll-snap-align: start; }
.hg-carousel__nav { position: absolute; top: calc(50% - 30px); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--hg-navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--hg-shadow-lg); transition: opacity .2s, transform .2s, background .2s; }
.hg-carousel__nav:hover { background: var(--hg-orange); color: #fff; }
.hg-carousel__nav--prev { left: -18px; }
.hg-carousel__nav--next { right: -18px; }
.hg-carousel__nav[disabled] { opacity: 0; pointer-events: none; }

/* ---------- Carte produit ---------- */

.hg-card { position: relative; display: flex; flex-direction: column; background: var(--hg-card); border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); overflow: hidden; transition: transform .3s var(--hg-ease), box-shadow .3s; min-width: 0; }
.hg-card:hover { transform: translateY(-4px); box-shadow: var(--hg-shadow-lg); }
.hg-card__media { position: relative; aspect-ratio: 1; background: #fff; }
.hg-card__img { position: absolute; inset: 0; display: block; padding: 14px; }
.hg-card__img img { position: absolute; inset: 14px; width: calc(100% - 28px) !important; height: calc(100% - 28px) !important; object-fit: contain; margin: 0 !important; transition: opacity .4s, transform .5s var(--hg-ease); }
.hg-card__alt { opacity: 0; }
.hg-card:hover .hg-card__alt { opacity: 1; }
.hg-card:hover .hg-card__main { transform: scale(1.04); }
.hg-card:hover .hg-card__img:has(.hg-card__alt) .hg-card__main { opacity: 0; }
.hg-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; z-index: 2; pointer-events: none; }
.hg-badge { align-self: flex-start; padding: 4px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; line-height: 1.2; color: #fff; }
.hg-badge--sale { background: var(--hg-red); }
.hg-badge--new { background: var(--hg-green); }
.hg-badge--best { background: var(--hg-navy); }
.hg-badge--pre { background: #6a4fd6; }
.hg-fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--hg-muted); display: grid; place-items: center; cursor: pointer; box-shadow: var(--hg-shadow); transition: color .2s, transform .2s var(--hg-ease); }
.hg-fav:hover { color: var(--hg-red); transform: scale(1.1); }
.hg-fav.is-on { color: var(--hg-red); }
.hg-fav.is-on svg { fill: currentColor; }
.hg-card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; border-top: 1px solid var(--hg-bg); }
.hg-card__brand { font-size: 11.5px; font-weight: 700; color: var(--hg-muted); text-transform: uppercase; letter-spacing: .05em; }
.hg-card__title { margin: 0; font-family: var(--hg-font); font-size: 14px !important; font-weight: 500; line-height: 1.35; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hg-card__title a { color: var(--hg-text) !important; }
.hg-card__title a:hover { color: var(--hg-orange) !important; }
.hg-card__price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-family: var(--hg-font-title); font-size: 20px; font-weight: 800; color: var(--hg-navy); }
.hg-card__price ins { order: -1; text-decoration: none; color: var(--hg-red); background: none; font-weight: 800; }
.hg-card__price del { font-family: var(--hg-font); font-size: 13px; font-weight: 500; color: var(--hg-muted); opacity: 1; }
.hg-card__price .screen-reader-text { position: absolute; }
.hg-card__stock { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--hg-green); }
.hg-stockbar { font-size: 12px; font-weight: 600; color: var(--hg-red); }
.hg-stockbar span { display: block; height: 6px; border-radius: 999px; background: #fde2e5; margin-bottom: 4px; position: relative; overflow: hidden; }
.hg-stockbar span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--left); background: linear-gradient(90deg, var(--hg-red), var(--hg-orange)); border-radius: inherit; }
.hg-stockbar em { font-style: normal; }
.hg-card__cta { margin-top: 6px; }
.hg-card__cta .hg-btn { width: 100%; padding: 10px 14px; }
.hg-card__cta .added_to_cart { display: none; }
.hg-btn.loading { opacity: .7; pointer-events: none; }
.hg-btn.added { background: var(--hg-green); }

.hg-stars { display: flex; align-items: center; gap: 6px; }
.hg-stars__bar { position: relative; display: inline-block; width: 84px; height: 15px; background: linear-gradient(90deg, var(--hg-yellow) var(--pct), #d8dee8 var(--pct)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.6.9 5L7.5 11.6 3 14l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 15'%3E%3Cg%3E%3Cpath id='s' d='M7.5 0l2.2 4.6 5 .7-3.6 3.6.9 5L7.5 11.6 3 14l.9-5L.3 5.3l5-.7z'/%3E%3Cuse href='%23s' x='17'/%3E%3Cuse href='%23s' x='34'/%3E%3Cuse href='%23s' x='51'/%3E%3Cuse href='%23s' x='68'/%3E%3C/g%3E%3C/svg%3E") no-repeat; }
.hg-stars__count { font-size: 12px; color: var(--hg-muted); }

/* ---------- Promos ---------- */

.hg-deals { background: linear-gradient(180deg, var(--hg-navy) 0, var(--hg-navy) 230px, transparent 230px); padding-top: 30px; }
.hg-deals .hg-section__title, .hg-deals .hg-section__title .hg-icon { color: #fff; }
.hg-deals .hg-section__title .hg-icon { color: var(--hg-yellow); }
.hg-deals__head .hg-section__more { color: #fff !important; }
.hg-deals__head .hg-section__more:hover { color: var(--hg-orange) !important; }
.hg-deals__sub { color: rgba(255, 255, 255, .8); font-size: 14px; margin-right: auto; }
.hg-countdown { display: flex; align-items: center; gap: 6px; color: #fff; margin-right: auto; font-size: 13px; }
.hg-countdown span { margin-right: 4px; color: rgba(255, 255, 255, .75); }
.hg-countdown b { display: inline-grid; place-items: center; min-width: 36px; height: 34px; border-radius: 8px; background: var(--hg-red); font-family: var(--hg-font-title); font-size: 16px; }

/* ---------- Onglets ---------- */

.hg-tabs__bar { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.hg-tabs__btn { padding: 10px 22px; border: 0; border-radius: 999px; background: #fff; color: var(--hg-navy); font-family: var(--hg-font-title); font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: var(--hg-shadow); transition: background .2s, color .2s; white-space: nowrap; }
.hg-tabs__btn:hover { color: var(--hg-orange); }
.hg-tabs__btn.is-active { background: var(--hg-navy); color: #fff; }
.hg-tabs__panel:not([hidden]) { animation: hg-fade .4s var(--hg-ease); }
@keyframes hg-fade { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Bannière phare ---------- */

.hg-spotlight { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 30px; padding: 44px 56px; border-radius: 22px; background: radial-gradient(circle at 85% 40%, rgba(255, 107, 26, .35), transparent 50%), linear-gradient(120deg, var(--hg-navy), var(--hg-navy-2)); color: #fff !important; overflow: hidden; box-shadow: var(--hg-shadow); }
.hg-spotlight h2 { color: #fff !important; font-size: clamp(28px, 3vw, 40px); margin: 14px 0 8px; font-weight: 800; }
.hg-spotlight p { color: rgba(255, 255, 255, .85); font-size: 16px; margin: 0 0 22px; }
.hg-spotlight .amount { color: var(--hg-yellow); font-weight: 800; }
.hg-spotlight__img { display: grid; place-items: center; }
.hg-spotlight__img img { max-height: 280px; width: auto; object-fit: contain; background: #fff; border-radius: 20px; padding: 16px; transition: transform .6s var(--hg-ease); }
.hg-spotlight:hover .hg-spotlight__img img { transform: scale(1.05) rotate(-1deg); }

/* ---------- Puces de sous-catégories ---------- */

.hg-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: -6px 0 16px; }
.hg-chip { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--hg-line); color: var(--hg-navy) !important; font-size: 13px; font-weight: 500; transition: background .2s, color .2s; }
.hg-chip:hover { background: var(--hg-navy); color: #fff !important; box-shadow: none; }

/* ---------- Marques ---------- */

.hg-brands { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hg-brands__track { display: flex; gap: 14px; width: max-content; animation: hg-marquee 40s linear infinite; }
.hg-brands:hover .hg-brands__track { animation-play-state: paused; }
@keyframes hg-marquee { to { transform: translateX(-50%); } }
.hg-brand { display: grid; place-items: center; min-width: 150px; height: 72px; padding: 0 22px; background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); font-family: var(--hg-font-title); font-weight: 700; font-size: 17px; letter-spacing: .03em; text-transform: uppercase; color: var(--hg-navy-3) !important; transition: color .2s, transform .3s var(--hg-ease); }
.hg-brand:hover { color: var(--hg-orange) !important; transform: translateY(-3px); }
.hg-brand img { max-height: 44px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.hg-brand:hover img { filter: none; opacity: 1; }

/* ---------- Avis ---------- */

.hg-reviews { background: #fff; padding: 40px 0 26px; }
.hg-reviews__score { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--hg-muted); }
.hg-reviews__score b { font-family: var(--hg-font-title); font-size: 30px; color: var(--hg-navy); }
.hg-reviews .hg-carousel__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
.hg-review { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 22px; border-radius: var(--hg-radius); background: var(--hg-bg); }
.hg-review blockquote { margin: 0; padding: 0; border: 0; font-size: 14.5px; font-style: normal; line-height: 1.55; color: var(--hg-text); flex: 1; }
.hg-review blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 44px; line-height: .6; color: var(--hg-orange); margin-bottom: 4px; }
.hg-review figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.hg-review figcaption strong { color: var(--hg-navy); font-size: 14px; }
.hg-review__verified { display: inline-flex; align-items: center; gap: 4px; color: var(--hg-green); font-weight: 600; }
.hg-review__product { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--hg-line); color: var(--hg-muted) !important; }
.hg-review__product img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 8px; }
.hg-review__product span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }

/* ---------- Récemment consultés ---------- */

.hg-recent__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hg-mini { display: flex; align-items: center; gap: 12px; padding: 10px; background: #fff; border-radius: var(--hg-radius-sm); box-shadow: var(--hg-shadow); color: var(--hg-text) !important; transition: transform .2s; }
.hg-mini:hover { transform: translateY(-2px); }
.hg-mini img { width: 58px; height: 58px; object-fit: contain; }
.hg-mini span { font-size: 13px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hg-mini b { display: block; color: var(--hg-orange); font-size: 13.5px; margin-top: 3px; }

/* ---------- Newsletter + pied de page ---------- */

.hg-newsletter { margin-top: 56px; background: linear-gradient(110deg, var(--hg-orange), #ff8f3f); color: #fff; }
.hg-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 32px; padding-bottom: 32px; flex-wrap: wrap; }
.hg-newsletter__text { display: flex; align-items: center; gap: 18px; }
.hg-newsletter h2 { color: #fff !important; margin: 0 0 4px; font-size: 22px; }
.hg-newsletter p { margin: 0; color: rgba(255, 255, 255, .9); }
.hg-newsletter__form { position: relative; display: flex; gap: 8px; flex: 1; max-width: 480px; margin: 0; }
.hg-newsletter__form input { flex: 1; height: 50px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 15px; background: #fff; box-shadow: none; }
.hg-newsletter__form .hg-btn { height: 50px; padding: 0 26px; background: var(--hg-navy); }
.hg-newsletter__form .hg-btn:hover { background: var(--hg-navy-3); box-shadow: none; }
.hg-newsletter__msg { position: absolute; left: 20px; top: calc(100% + 6px); margin: 0; font-size: 13px; font-weight: 600; }

.homegar .site-footer.hg-footer { background: var(--hg-navy); color: rgba(255, 255, 255, .75); padding: 0; margin: 0; }
.hg-footer__trust { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; }
.hg-footer .hg-trust__item strong { color: #fff; }
.hg-footer .hg-trust__item span { color: rgba(255, 255, 255, .6); }
.hg-footer .hg-trust__item .hg-icon { background: rgba(255, 255, 255, .08); }
.hg-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: 42px; padding-bottom: 42px; }
.hg-footer__cols h3 { color: #fff !important; font-size: 15px; margin: 0 0 14px; }
.hg-footer__cols a:not(.hg-logo) { display: block; padding: 4px 0; color: rgba(255, 255, 255, .72) !important; font-size: 14px; }
.hg-footer__cols a:not(.hg-logo):hover { color: var(--hg-orange) !important; }
.hg-footer__about .hg-logo { color: #fff !important; }
.hg-footer__about p { margin-top: 14px; font-size: 14px; max-width: 340px; }
.hg-footer__bottom { background: rgba(0, 0, 0, .2); }
.hg-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; flex-wrap: wrap; }
.hg-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.hg-pay span { padding: 5px 10px; border-radius: 6px; background: #fff; color: var(--hg-navy); font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }

/* ---------- Pages WooCommerce : commun ---------- */

.homegar .woocommerce-breadcrumb { margin: 0; padding: 16px 0 6px; font-size: 13px; color: var(--hg-muted); background: none; }
.homegar .woocommerce-breadcrumb a { color: var(--hg-muted); }
.homegar .woocommerce-breadcrumb a:hover { color: var(--hg-orange); }
.homegar .storefront-breadcrumb { margin: 0; padding: 0; background: none; }
.homegar .storefront-breadcrumb .col-full { padding-top: 0; }
.homegar .woocommerce-breadcrumb a:first-of-type::before { display: none; }
.homegar .onsale { border: 0; border-radius: 7px; background: var(--hg-red); color: #fff; font-weight: 700; padding: 4px 9px; }
.homegar .star-rating span::before { color: var(--hg-yellow); }
.homegar .star-rating::before { color: #d8dee8; opacity: 1; }
.homegar .woocommerce-message, .homegar .woocommerce-info, .homegar .woocommerce-error, .homegar .woocommerce-noreviews {
	border-radius: var(--hg-radius-sm); background: #fff; color: var(--hg-text); box-shadow: var(--hg-shadow); border-left: 4px solid var(--hg-green); padding: 14px 18px;
}
.homegar .woocommerce-error { border-left-color: var(--hg-red); }
.homegar .woocommerce-info { border-left-color: var(--hg-navy-3); }
.homegar .woocommerce-message a.button, .homegar .woocommerce-info a.button { float: right; padding: 7px 14px; background: var(--hg-navy); }
.homegar input[type="text"], .homegar input[type="email"], .homegar input[type="tel"], .homegar input[type="number"], .homegar input[type="password"], .homegar input[type="search"]:not(#hg-search-input), .homegar select, .homegar textarea {
	border: 1.5px solid var(--hg-line); border-radius: var(--hg-radius-sm); background: #fff; box-shadow: none; padding: 10px 14px; color: var(--hg-text);
}
.homegar input:focus, .homegar select:focus, .homegar textarea:focus { border-color: var(--hg-orange); outline: 0; }

/* ---------- Catalogue ---------- */

.hg-catalog .woocommerce-products-header { padding: 6px 0 4px; }
.hg-catalog .woocommerce-products-header__title { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.hg-catalog .term-description { color: var(--hg-muted); max-width: 900px; }
.hg-chips--archive { margin: 8px 0 18px; }
.hg-chips--archive em { font-style: normal; font-size: 11.5px; color: var(--hg-muted); margin-left: 3px; }
.hg-chip:hover em { color: rgba(255, 255, 255, .7); }

.hg-catalog .storefront-sorting { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 10px 14px; background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); font-size: 14px; }
.hg-catalog .storefront-sorting .woocommerce-ordering { order: 3; margin: 0 0 0 auto; float: none; }
.hg-catalog .storefront-sorting .woocommerce-result-count { order: 2; margin: 0; float: none; padding: 0; color: var(--hg-muted); }
.hg-catalog .storefront-sorting .woocommerce-ordering select { padding: 8px 34px 8px 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.hg-catalog .storefront-sorting .woocommerce-pagination { order: 5; margin: 0; float: none; padding: 0; border: 0; }
.hg-catalog .storefront-sorting:last-of-type { background: none; box-shadow: none; justify-content: center; margin-top: 10px; }
.hg-catalog .storefront-sorting:last-of-type .woocommerce-pagination { margin: 0 auto; }
.hg-view { order: 4; display: flex; gap: 4px; }
.hg-view button { width: 38px; height: 38px; border: 0; border-radius: 10px; background: var(--hg-bg); color: var(--hg-muted); display: grid; place-items: center; cursor: pointer; }
.hg-view button.is-active { background: var(--hg-navy); color: #fff; }
.hg-filter-open { order: 1; display: none; align-items: center; gap: 8px; padding: 9px 16px; border: 0; border-radius: 999px; background: var(--hg-navy); color: #fff; font-weight: 600; cursor: pointer; }

.homegar ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 20px; padding: 0; }
.homegar ul.products::before, .homegar ul.products::after { display: none; }
.homegar.hg-catalog ul.products { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.homegar ul.products li.product.hg-li { width: auto !important; float: none !important; margin: 0 !important; padding: 0; background: none; box-shadow: none; text-align: left; display: flex; }
.homegar ul.products li.product.hg-li:hover { transform: none; box-shadow: none; }
.homegar ul.products li.product.hg-li .hg-card { width: 100%; }

/* Vue liste */
.homegar ul.products.hg-list { grid-template-columns: 1fr !important; }
.hg-list .hg-card { flex-direction: row; }
.hg-list .hg-card__media { flex: 0 0 220px; aspect-ratio: auto; min-height: 220px; }
.hg-list .hg-card__body { border-top: 0; border-left: 1px solid var(--hg-bg); padding: 18px 22px; }
.hg-list .hg-card__title { font-size: 16px !important; min-height: 0; }
.hg-list .hg-card__cta .hg-btn { width: auto; padding: 11px 26px; }

/* Pagination */
.homegar .woocommerce-pagination .page-numbers { display: flex; gap: 6px; border: 0; }
.homegar .woocommerce-pagination .page-numbers li { border: 0; }
.homegar .woocommerce-pagination .page-numbers a, .homegar .woocommerce-pagination .page-numbers span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 10px; background: #fff; color: var(--hg-navy); font-weight: 600; box-shadow: var(--hg-shadow); }
.homegar .woocommerce-pagination .page-numbers .current { background: var(--hg-navy); color: #fff; }

/* Filtres */
.hg-filters { align-self: start; }
.hg-filters__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hg-filters__head strong { font-family: var(--hg-font-title); font-size: 18px; color: var(--hg-navy); }
.hg-filters__head a { font-size: 13px; font-weight: 600; color: var(--hg-red) !important; }
.hg-filters__close { display: none; border: 0; background: none; color: var(--hg-navy); cursor: pointer; }
.hg-filter { background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); padding: 16px 18px; margin-bottom: 14px; }
.hg-filter h3 { margin: 0 0 12px; font-size: 14.5px; font-weight: 700; }
.hg-filter ul { list-style: none; margin: 0; padding: 0; }
.hg-filter__cats a, .hg-filter__checks a { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--hg-text) !important; font-size: 14px; }
.hg-filter__cats a:hover, .hg-filter__checks a:hover { color: var(--hg-orange) !important; }
.hg-filter em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--hg-muted); background: var(--hg-bg); padding: 1px 8px; border-radius: 999px; }
.hg-filter__cats > li > a { font-weight: 600; }
.hg-filter__cats ul { display: none; padding-left: 12px; border-left: 2px solid var(--hg-line); margin: 2px 0 6px 4px; }
.hg-filter__cats li.is-open ul { display: block; }
.hg-filter__cats a.is-current { color: var(--hg-orange) !important; font-weight: 700; }
.hg-filter__checks--scroll { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.hg-check { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #c5cdd9; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.is-on .hg-check { background: var(--hg-orange); border-color: var(--hg-orange); }
.is-on .hg-check::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.hg-filter__checks a.is-on { font-weight: 600; }
.hg-filter__price { display: flex; gap: 8px; align-items: flex-end; margin: 0 0 10px; }
.hg-filter__price label { flex: 1; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--hg-muted); }
.hg-filter__price input { width: 100%; padding: 8px 10px !important; }
.hg-filter__price .hg-btn { padding: 10px 14px; }
.hg-filter__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.hg-filter__presets .hg-chip { font-size: 12.5px; padding: 6px 11px; }
.hg-filters__overlay { display: none; }

/* ---------- Fiche produit ---------- */

.single-product .hg-masthead + .storefront-breadcrumb { margin-bottom: 4px; }
.single-product div.product { overflow: visible; position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.single-product div.product > * { grid-column: 1 / -1; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery { grid-column: 1; background: #fff; border-radius: 20px; box-shadow: var(--hg-shadow); padding: 18px; position: relative; }
.single-product div.product .summary { grid-column: 2; position: sticky; top: 140px; background: #fff; border-radius: 20px; box-shadow: var(--hg-shadow); padding: 26px 28px; }
.single-product div.product > .onsale { grid-column: 1; position: absolute; top: 16px; left: 16px; z-index: 5; margin: 0; min-width: 0; min-height: 0; line-height: 1.2; font-size: 14px; }
.single-product .woocommerce-product-gallery .flex-viewport { border-radius: 14px; }
.single-product .woocommerce-product-gallery img { border-radius: 14px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin-top: 12px !important; overflow-x: auto; scrollbar-width: thin; }
.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 76px; width: 76px !important; margin: 0 !important; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; border: 2px solid transparent; opacity: .65; padding: 3px; background: #fff; transition: opacity .2s, border-color .2s; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .single-product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--hg-orange); }
.single-product .woocommerce-product-gallery__trigger { top: 26px !important; right: 26px !important; z-index: 5; background: #fff !important; border-radius: 50% !important; box-shadow: var(--hg-shadow); }

.hg-pbrand { display: inline-block; margin-bottom: 8px; padding: 4px 12px; border-radius: 999px; background: var(--hg-bg); color: var(--hg-navy-3) !important; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.single-product .summary .product_title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin: 0 0 10px; font-weight: 700; }
.single-product .summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13.5px; }
.single-product .summary .woocommerce-product-rating .star-rating { margin: 0; }
.single-product .summary .woocommerce-review-link { color: var(--hg-navy-3); }
.single-product .summary p.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 6px; padding: 14px 0 0; border-top: 1px solid var(--hg-line); font-family: var(--hg-font-title); font-size: 34px; font-weight: 800; color: var(--hg-navy); }
.single-product .summary p.price ins { order: -1; color: var(--hg-red); text-decoration: none; background: none; font-weight: 800; }
.single-product .summary p.price del { font-family: var(--hg-font); font-size: 17px; font-weight: 500; color: var(--hg-muted); opacity: 1; }
.hg-saving { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 8px; background: #ffe8eb; color: var(--hg-red); font-size: 13.5px; font-weight: 600; }
.hg-saving .amount { font-weight: 800; }
.hg-preorder { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: #efeaff; color: #4b33b5; font-weight: 600; font-size: 14px; }
.single-product .summary .woocommerce-product-details__short-description { color: #3d475c; font-size: 14.5px; margin-bottom: 16px; }
.single-product .summary .woocommerce-product-details__short-description ul { margin: 0 0 0 18px; }
.single-product .summary form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; padding: 0; }
.single-product .summary form.cart .quantity input.qty { width: 74px; height: 52px; border-radius: 999px; text-align: center; font-weight: 700; font-size: 16px; }
.single-product .summary .single_add_to_cart_button { flex: 1; height: 52px; font-size: 16px !important; border-radius: 999px !important; box-shadow: 0 8px 20px rgba(255, 107, 26, .28); }
.single-product .summary form.variations_form { display: block; }
.single-product .summary table.variations { margin: 0 0 12px; }
.single-product .summary table.variations th, .single-product .summary table.variations td { display: block; padding: 0 0 6px; background: none; text-align: left; }
.single-product .summary table.variations select { width: 100%; }
.single-product .summary .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; gap: 10px; flex-wrap: wrap; }
.single-product .summary .reset_variations { font-size: 13px; }
.hg-buybox { margin: 16px 0; padding: 14px 16px; border-radius: 14px; background: var(--hg-bg); display: grid; gap: 9px; }
.hg-buybox__row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--hg-muted); }
.hg-buybox__row .hg-icon { color: var(--hg-orange); }
.hg-buybox__row strong { color: var(--hg-navy); }
.hg-buybox__row--ok .hg-icon, .hg-buybox__row--ok strong { color: var(--hg-green); }
.hg-buybox__row--ko .hg-icon, .hg-buybox__row--ko strong { color: var(--hg-red); }
.single-product .summary .product_meta { font-size: 12.5px; color: var(--hg-muted); border-top: 1px solid var(--hg-line); padding-top: 12px; margin: 0; }
.single-product .summary .product_meta > span { display: block; margin-bottom: 3px; }

.single-product .woocommerce-tabs { margin-top: 26px; padding: 0; background: #fff; border-radius: 20px; box-shadow: var(--hg-shadow); overflow: hidden; }
.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 4px; width: auto !important; float: none !important; margin: 0 !important; padding: 0 18px; border-bottom: 1px solid var(--hg-line); overflow-x: auto; scrollbar-width: none; }
.single-product .woocommerce-tabs ul.tabs::before { display: none; }
.single-product .woocommerce-tabs ul.tabs li { border: 0 !important; margin: 0; padding: 0; background: none; flex-shrink: 0; }
.single-product .woocommerce-tabs ul.tabs li::after, .single-product .woocommerce-tabs ul.tabs li::before { display: none !important; }
.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 18px 16px 15px; font-family: var(--hg-font-title); font-weight: 600; font-size: 15px; color: var(--hg-muted); border-bottom: 3px solid transparent; }
.single-product .woocommerce-tabs ul.tabs li.active a { color: var(--hg-navy); border-bottom-color: var(--hg-orange); }
.single-product .woocommerce-tabs .panel { width: auto !important; float: none !important; margin: 0 !important; padding: 26px 30px; }
.single-product .woocommerce-tabs .panel > h2:first-child { font-size: 20px; margin-top: 0; }
.single-product .woocommerce-tabs table.shop_attributes { border: 0; }
.single-product .woocommerce-tabs table.shop_attributes th, .single-product .woocommerce-tabs table.shop_attributes td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--hg-line); background: none; font-style: normal; }
.single-product .woocommerce-tabs table.shop_attributes tr:nth-child(even) th, .single-product .woocommerce-tabs table.shop_attributes tr:nth-child(even) td { background: var(--hg-bg); }
.single-product #reviews .commentlist { padding: 0; margin: 0 0 20px; }
.single-product #reviews .commentlist li { list-style: none; margin: 0 0 12px; padding: 18px; border-radius: var(--hg-radius); background: var(--hg-bg); }
.single-product #reviews .commentlist li .avatar { display: none; }
.single-product #reviews .commentlist li .comment-text { width: auto; float: none; padding: 0; margin: 0; border: 0; }
.single-product #reviews .comment-text .meta { font-size: 13px; color: var(--hg-muted); margin-bottom: 6px; }
.single-product #reviews .comment-text .meta strong { color: var(--hg-navy); font-size: 14px; }
.single-product #reviews .comment-text .woocommerce-review__verified { color: var(--hg-green); font-style: normal; font-weight: 600; }
.single-product #reviews .comment-text .star-rating { float: none; margin-bottom: 6px; }
.single-product #review_form_wrapper { padding: 20px; border-radius: var(--hg-radius); border: 1.5px dashed var(--hg-line); }
.single-product .hg-section { margin-top: 36px; }

.hg-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); box-shadow: 0 -6px 24px rgba(15, 42, 68, .12); transform: translateY(110%); transition: transform .35s var(--hg-ease); }
.hg-stickybuy.is-visible { transform: none; }
.hg-stickybuy__inner { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.hg-stickybuy img { width: 52px; height: 52px; object-fit: contain; border-radius: 8px; }
.hg-stickybuy__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hg-stickybuy__info strong { font-size: 14px; color: var(--hg-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hg-stickybuy__info span { font-family: var(--hg-font-title); font-weight: 800; color: var(--hg-navy); }
.hg-stickybuy__info ins { color: var(--hg-red); text-decoration: none; background: none; }
.hg-stickybuy__info del { font-size: 12px; color: var(--hg-muted); font-weight: 500; }

/* ---------- Panier latéral ---------- */

.hg-locked { overflow: hidden; }
.hg-cartdrawer { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 42, 68, .5); display: flex; justify-content: flex-end; }
.hg-cartdrawer[hidden] { display: none; }
.hg-cartdrawer__panel { width: min(92vw, 420px); height: 100%; background: #fff; display: flex; flex-direction: column; animation: hg-slide-left .3s var(--hg-ease); }
@keyframes hg-slide-left { from { transform: translateX(100%); } }
.hg-cartdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--hg-line); }
.hg-cartdrawer__head strong { display: flex; align-items: center; gap: 10px; font-family: var(--hg-font-title); font-size: 18px; color: var(--hg-navy); }
.hg-cartdrawer__head strong .hg-icon { color: var(--hg-orange); }
.hg-cartdrawer__head button { border: 0; background: none; color: var(--hg-navy); cursor: pointer; }
.hg-shipbar { padding: 14px 20px; background: var(--hg-green-soft); font-size: 13.5px; }
.hg-shipbar p { margin: 0 0 8px; color: var(--hg-text); }
.hg-shipbar span { display: block; height: 7px; border-radius: 999px; background: rgba(18, 161, 80, .18); position: relative; overflow: hidden; }
.hg-shipbar span::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: var(--hg-green); border-radius: inherit; transition: width .5s var(--hg-ease); }
.hg-cartdrawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.hg-cartdrawer .woocommerce-mini-cart { flex: 1; overflow-y: auto; margin: 0; padding: 8px 20px; list-style: none; }
.hg-cartdrawer .woocommerce-mini-cart-item { position: relative; display: block; min-height: 72px; padding: 14px 30px 14px 84px !important; border-bottom: 1px solid var(--hg-line); font-size: 14px; }
.hg-cartdrawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 14px; width: 68px !important; height: 68px; object-fit: contain; border-radius: 10px; background: var(--hg-bg); margin: 0 !important; float: none !important; }
.hg-cartdrawer .woocommerce-mini-cart-item > a:not(.remove) { color: var(--hg-text) !important; font-weight: 500; line-height: 1.35; display: block; }
.hg-cartdrawer .woocommerce-mini-cart-item .quantity { display: block; margin-top: 4px; color: var(--hg-muted); }
.hg-cartdrawer .woocommerce-mini-cart-item .quantity .amount { color: var(--hg-navy); font-weight: 700; }
.hg-cartdrawer .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 14px; left: auto !important; width: 24px; height: 24px; line-height: 22px; text-align: center; border-radius: 50%; color: var(--hg-muted) !important; background: var(--hg-bg); font-size: 16px; }
.hg-cartdrawer .woocommerce-mini-cart-item a.remove:hover { background: var(--hg-red); color: #fff !important; }
.hg-cartdrawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 0; padding: 16px 20px 6px; border-top: 1px solid var(--hg-line); font-size: 15px; }
.hg-cartdrawer .woocommerce-mini-cart__total .amount { font-family: var(--hg-font-title); font-weight: 800; font-size: 20px; color: var(--hg-navy); }
.hg-cartdrawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 10px 20px 20px; }
.hg-cartdrawer .woocommerce-mini-cart__buttons .button { margin: 0; padding: 14px 10px; }
.hg-cartdrawer .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--hg-bg); color: var(--hg-navy); }
.hg-cartdrawer .woocommerce-mini-cart__buttons .button:not(.checkout):hover { background: var(--hg-line); box-shadow: none; }
.hg-cartdrawer .woocommerce-mini-cart__empty-message { padding: 40px 20px; text-align: center; color: var(--hg-muted); }

/* ---------- Panier / commande (blocs WooCommerce) ---------- */

.woocommerce-cart .entry-header, .woocommerce-checkout .entry-header, .woocommerce-account .entry-header { padding: 10px 0 0; margin-bottom: 18px; }
.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title, .woocommerce-account .entry-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.homegar .wp-block-woocommerce-cart, .homegar .wp-block-woocommerce-checkout { background: #fff; border-radius: 20px; box-shadow: var(--hg-shadow); padding: 24px 28px; }
.homegar .wc-block-components-sidebar { background: var(--hg-bg); border-radius: 16px; padding: 18px 20px !important; }
.homegar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--hg-font-title); font-weight: 800; color: var(--hg-navy); }
.homegar .wc-block-cart__submit-button, .homegar .wc-block-components-checkout-place-order-button { background: var(--hg-orange) !important; color: #fff !important; border-radius: 999px !important; font-weight: 700 !important; min-height: 52px; }
.homegar .wc-block-components-product-name { color: var(--hg-navy) !important; font-weight: 600; }
.homegar .wc-block-components-text-input input, .homegar .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: var(--hg-radius-sm) !important; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li { border: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--hg-text); }
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--hg-navy); color: #fff; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before { display: none; }
.woocommerce-account .woocommerce-MyAccount-content, .woocommerce-account .u-columns.col2-set { background: #fff; border-radius: var(--hg-radius); box-shadow: var(--hg-shadow); padding: 24px; }

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
	.hg-carousel__track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
	.hg-reviews .hg-carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
	.hg-action__label { display: none; }
}
@media (max-width: 1024px) {
	.hg-hero { grid-template-columns: 1fr; }
	.hg-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.hg-carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
	.hg-trust { grid-template-columns: repeat(2, 1fr); }
	.hg-footer__cols { grid-template-columns: 1fr 1fr; }
	.hg-carousel__nav { display: none; }
}
@media (max-width: 1024px) {
	.homegar ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hg-filter-open { display: inline-flex; }
	.hg-catalog .content-area { width: 100% !important; float: none !important; margin: 0 !important; }
	.hg-filters { position: fixed; top: 0; left: 0; bottom: 0; z-index: 1001; width: min(88vw, 340px) !important; margin: 0 !important; padding: 18px 16px; overflow-y: auto; background: var(--hg-bg); transform: translateX(-105%); transition: transform .3s var(--hg-ease); }
	.hg-filters-open .hg-filters { transform: none; }
	.hg-filters__close { display: block; }
	.hg-filters-open .hg-filters__overlay { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(15, 42, 68, .5); }
	.single-product div.product { grid-template-columns: 1fr; gap: 18px; }
	.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { grid-column: 1; }
	.single-product div.product .summary { position: static; }
}
@media (max-width: 782px) {
	.admin-bar .site-header.hg-masthead { top: 0; }
}
@media (max-width: 768px) {
	body.homegar { font-size: 14px; }
	.hg-wrap, .homegar .col-full { padding-left: 16px; padding-right: 16px; }
	.hg-topbar__inner { justify-content: flex-start; animation: hg-marquee 22s linear infinite; width: max-content; padding-left: 16px; }
	.hg-topbar { overflow: hidden; }
	.hg-header__inner { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
	.hg-burger { display: block; margin-left: -6px; }
	.hg-logo__mark { width: 34px; height: 34px; }
	.hg-logo__text { font-size: 21px; }
	.hg-search { order: 3; flex-basis: 100%; max-width: none; }
	.hg-search input[type="search"] { height: 44px; }
	.hg-search button { width: 34px; height: 34px; }
	.hg-action--fav .hg-favpanel { position: fixed; top: 70px; left: 16px; right: 16px; width: auto; }
	.hg-nav { display: none; }
	.hg-masthead.is-stuck .hg-search { display: none; }

	.hg-section { margin-top: 32px; }
	.hg-section__title { font-size: 20px; }
	.hg-hero { margin-top: 14px; gap: 12px; }
	.hg-hero__slider { min-height: 0; border-radius: 16px; }
	.hg-slide { grid-template-columns: 1fr; padding: 26px 22px 54px; text-align: left; gap: 14px; }
	.hg-slide__img { order: -1; }
	.hg-slide__img img { max-height: 170px; padding: 10px; border-radius: 16px; }
	.hg-slide p { font-size: 15px; margin-bottom: 16px; }
	.hg-hero__dots { left: 22px; bottom: 18px; }
	.hg-hero__nav { display: none; }
	.hg-hero__side { gap: 12px; }
	.hg-promo { min-height: 160px; padding: 14px; border-radius: 16px; }
	.hg-promo img { width: 60px; height: 60px; right: 8px; bottom: 8px; }
	.hg-promo__big { font-size: 34px; }
	.hg-promo__name { max-width: calc(100% - 62px); font-size: 12.5px; -webkit-line-clamp: 3; }

	.hg-trust { grid-template-columns: 1fr 1fr; gap: 12px; }
	.hg-trust--home { padding: 14px; }
	.hg-trust__item { gap: 10px; }
	.hg-trust__item .hg-icon { width: 22px; height: 22px; padding: 8px; }
	.hg-trust__item strong { font-size: 13px; }
	.hg-trust__item span { font-size: 12px; }

	.hg-cat { flex-basis: 108px; padding: 12px 8px; }
	.hg-cat__img { width: 72px; height: 72px; }

	.hg-carousel__track { grid-auto-columns: calc((100% - 12px) / 2.15); gap: 12px; }
	.hg-reviews .hg-carousel__track { grid-auto-columns: 82%; }
	.hg-card__body { padding: 10px 11px 12px; }
	.hg-card__title { font-size: 13px !important; }
	.hg-card__price { font-size: 17px; }
	.hg-card__cta .hg-btn span { font-size: 13px; }
	.hg-fav { width: 34px; height: 34px; }

	.hg-deals { background: linear-gradient(180deg, var(--hg-navy) 0, var(--hg-navy) 190px, transparent 190px); padding-top: 22px; }
	.hg-spotlight { grid-template-columns: 1fr; padding: 26px 22px; gap: 16px; }
	.hg-spotlight__img { order: -1; }
	.hg-spotlight__img img { max-height: 180px; }

	.hg-newsletter__inner { padding-top: 26px; padding-bottom: 38px; }
	.hg-newsletter__text .hg-icon { display: none; }
	.hg-newsletter h2 { font-size: 19px; }
	.hg-newsletter__form { flex-basis: 100%; }
	.hg-newsletter__form .hg-btn { padding: 0 18px; }
	.hg-footer__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
	.hg-footer__about { grid-column: 1 / -1; }

	.homegar ul.products, .homegar.hg-catalog ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.hg-catalog .storefront-sorting { padding: 8px 10px; gap: 8px; }
	.hg-catalog .storefront-sorting .woocommerce-result-count { display: none; }
	.hg-catalog .storefront-sorting .woocommerce-ordering { margin: 0; flex: 1; }
	.hg-catalog .storefront-sorting .woocommerce-ordering select { width: 100%; }
	.hg-view { display: none; }
	.hg-list .hg-card { flex-direction: column; }
	.hg-list .hg-card__media { flex: none; aspect-ratio: 1; min-height: 0; }
	.single-product div.product .summary { padding: 20px 18px; border-radius: 16px; }
	.single-product div.product .woocommerce-product-gallery { padding: 10px; border-radius: 16px; }
	.single-product .summary p.price { font-size: 28px; }
	.single-product .woocommerce-tabs .panel { padding: 20px 18px; }
	.single-product .woocommerce-tabs ul.tabs { padding: 0 6px; }
	.hg-stickybuy__inner { gap: 10px; }
	.hg-stickybuy img { display: none; }
	.hg-stickybuy .hg-btn--lg { padding: 12px 18px; font-size: 14px; }
	.homegar .wp-block-woocommerce-cart, .homegar .wp-block-woocommerce-checkout { padding: 16px 14px; border-radius: 16px; }
	.woocommerce-message a.button { float: none; display: flex; margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Mise en page compacte (ordinateur, zoom navigateur 100 %)
   ========================================================= */

@media (min-width: 1025px) {
	:root { --hg-wrap: 1440px; --hg-radius: 12px; }
	body.homegar { font-size: 14px; }
	.hg-wrap, .homegar .col-full { padding-left: 24px; padding-right: 24px; }

	/* En-tête */
	.hg-topbar { font-size: 12px; }
	.hg-topbar__inner { padding-top: 5px; padding-bottom: 5px; }
	.hg-header__inner { gap: 22px; padding-top: 10px; padding-bottom: 10px; }
	.hg-logo__mark { width: 34px; height: 34px; border-radius: 10px; }
	.hg-logo__text { font-size: 22px; }
	.hg-search input[type="search"] { height: 42px; font-size: 14px; }
	.hg-search button { width: 34px; height: 34px; top: 4px; right: 4px; }
	.hg-action, .hg-action__btn { padding: 6px 8px; }
	.hg-action__label { font-size: 13px; }
	.hg-action__label small { font-size: 11px; }
	.hg-nav__inner { height: 40px; }
	.hg-nav__all { padding: 0 16px; font-size: 13.5px; }
	.hg-nav__links a { padding: 6px 12px; font-size: 13.5px; }

	/* Sections */
	.hg-section { margin-top: 28px; }
	.hg-section__head { margin-bottom: 12px; }
	.hg-section__title { font-size: 20px; }
	.hg-section__more { font-size: 13px; }

	/* Héros */
	.hg-hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; margin-top: 14px; }
	.hg-hero__slider { min-height: 0; height: 290px; border-radius: 16px; }
	.hg-hero__side { height: 290px; grid-template-rows: 1fr 1fr; }
	.hg-promo__tag { font-size: 10.5px; padding: 3px 8px; }
	.hg-promo__name { -webkit-line-clamp: 2; margin-top: 4px; }
	.hg-promo img { width: 84px; height: 84px; right: 10px; bottom: 50%; transform: translateY(50%); }
	.hg-promo:hover img { transform: translateY(50%) scale(1.06); }
	.hg-promo__big { font-size: 32px; margin: 6px 0 2px; }
	.hg-promo__price { margin-top: 4px; font-size: 16px; }
	.hg-slide { padding: 24px 48px; }
	.hg-slide h2 { font-size: clamp(26px, 2.8vw, 38px); margin: 12px 0 8px; }
	.hg-slide p { font-size: 15px; margin-bottom: 18px; }
	.hg-slide p strong, .hg-slide p .amount { font-size: 19px; }
	.hg-slide__img img { max-height: 200px; padding: 12px; border-radius: 16px; }
	.hg-hero__dots { left: 48px; bottom: 16px; }
	.hg-hero__side { gap: 14px; }
	.hg-promo { min-height: 0; padding: 12px 16px; border-radius: 16px; }
	.hg-promo img { width: 96px; height: 96px; }
	.hg-promo__big { font-size: 38px; margin: 8px 0 4px; }
	.hg-promo__name { font-size: 13px; }

	/* Confiance */
	.hg-trust--home { margin-top: 14px; padding: 12px 18px; }
	.hg-trust__item { gap: 10px; }
	.hg-trust__item .hg-icon { width: 22px; height: 22px; padding: 8px; }
	.hg-trust__item strong { font-size: 13.5px; }
	.hg-trust__item span { font-size: 12px; }
	.hg-footer__trust { padding: 18px 0; }

	/* Catégories */
	.hg-cats { gap: 10px; }
	.hg-cat { flex-basis: 118px; padding: 12px 8px; gap: 4px; }
	.hg-cat__img { width: 74px; height: 74px; }
	.hg-cat__name { font-size: 12.5px; }
	.hg-cat__count { font-size: 11.5px; }

	/* Carrousels : 6 produits visibles */
	.hg-carousel__track { grid-auto-columns: calc((100% - 5 * 12px) / 6); gap: 12px; padding-bottom: 12px; }
	.hg-reviews .hg-carousel__track { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
	.hg-carousel__nav { width: 38px; height: 38px; }

	/* Cartes produits */
	.hg-card__img { padding: 10px; }
	.hg-card__img img { inset: 10px; width: calc(100% - 20px) !important; height: calc(100% - 20px) !important; }
	.hg-card__body { gap: 4px; padding: 10px 12px 12px; }
	.hg-card__brand { font-size: 10.5px; }
	.hg-card__title { font-size: 13px !important; }
	.hg-card__price { font-size: 17px; }
	.hg-card__price del { font-size: 12px; }
	.hg-card__stock, .hg-stockbar { font-size: 11.5px; }
	.hg-card__cta { margin-top: 4px; }
	.hg-card__cta .hg-btn { padding: 8px 12px; font-size: 13px; }
	.hg-badge { font-size: 11px; padding: 3px 7px; }
	.hg-fav { width: 32px; height: 32px; top: 8px; right: 8px; }
	.hg-fav .hg-icon { width: 17px; height: 17px; }
	.hg-stars__bar { transform: scale(.88); transform-origin: left center; }

	/* Promos, bannière, avis, marques */
	.hg-deals { padding-top: 20px; background: linear-gradient(180deg, var(--hg-navy) 0, var(--hg-navy) 180px, transparent 180px); }
	.hg-spotlight { padding: 28px 48px; border-radius: 16px; }
	.hg-spotlight h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 6px; }
	.hg-spotlight p { font-size: 14.5px; margin-bottom: 16px; }
	.hg-spotlight__img img { max-height: 200px; }
	.hg-reviews { padding: 26px 0 16px; }
	.hg-review { padding: 16px; gap: 8px; }
	.hg-review blockquote { font-size: 13.5px; }
	.hg-brand { height: 56px; min-width: 130px; font-size: 15px; }
	.hg-tabs__bar { margin-bottom: 12px; }
	.hg-tabs__btn { padding: 8px 18px; font-size: 14px; }
	.hg-chips { margin-bottom: 12px; }
	.hg-chip { padding: 5px 12px; font-size: 12.5px; }

	/* Newsletter et pied de page */
	.hg-newsletter { margin-top: 36px; }
	.hg-newsletter__inner { padding-top: 20px; padding-bottom: 20px; }
	.hg-newsletter h2 { font-size: 19px; }
	.hg-newsletter__form input, .hg-newsletter__form .hg-btn { height: 44px; }
	.hg-footer__cols { padding-top: 28px; padding-bottom: 28px; gap: 28px; }
	.hg-footer__cols a:not(.hg-logo) { padding: 3px 0; font-size: 13.5px; }

	/* Catalogue */
	.homegar.hg-catalog ul.products { grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
	.hg-catalog .woocommerce-products-header__title { font-size: 26px; margin-bottom: 4px; }
	.hg-catalog .storefront-sorting { padding: 8px 12px; margin-bottom: 12px; }
	.hg-view button { width: 34px; height: 34px; }
	.hg-filter { padding: 12px 14px; margin-bottom: 10px; }
	.hg-filter h3 { font-size: 13.5px; margin-bottom: 8px; }
	.hg-filter__cats a, .hg-filter__checks a { padding: 4px 0; font-size: 13px; }
	.hg-filters__head strong { font-size: 16px; }
	.homegar .woocommerce-breadcrumb { padding: 10px 0 4px; font-size: 12.5px; }

	/* Fiche produit */
	.single-product div.product { gap: 22px; }
	.single-product div.product .woocommerce-product-gallery { padding: 12px; border-radius: 16px; }
	.single-product div.product .summary { padding: 20px 22px; border-radius: 16px; top: 110px; }
	.single-product .summary .product_title { font-size: clamp(20px, 1.8vw, 26px); }
	.single-product .summary p.price { font-size: 28px; padding-top: 10px; margin-bottom: 4px; }
	.hg-saving { margin-bottom: 10px; }
	.single-product .summary .woocommerce-product-details__short-description { margin-bottom: 10px; }
	.single-product .summary form.cart { margin: 12px 0 6px; }
	.single-product .summary .single_add_to_cart_button, .single-product .summary form.cart .quantity input.qty { height: 46px; }
	.hg-buybox { margin: 12px 0; padding: 10px 14px; gap: 6px; }
	.hg-buybox__row { font-size: 13px; }
	.single-product .woocommerce-tabs { margin-top: 18px; border-radius: 16px; }
	.single-product .woocommerce-tabs ul.tabs li a { padding: 13px 14px 11px; font-size: 14px; }
	.single-product .woocommerce-tabs .panel { padding: 18px 22px; }
}

/* Corps du site réduit (l'en-tête garde sa taille) */
@media (min-width: 1025px) {
	.homegar #content, .homegar .storefront-breadcrumb, .hg-newsletter, .homegar .site-footer.hg-footer { zoom: .85; }
	.hg-cart-count, .hg-fav-count { left: 18px; top: 0; }
	/* Même largeur que l'en-tête malgré la réduction */
	.homegar #content .hg-wrap, .homegar #content .col-full, .homegar.home #content .col-full .hg-wrap, .homegar .storefront-breadcrumb .col-full, .hg-newsletter .hg-wrap, .hg-footer .hg-wrap { max-width: calc(var(--hg-wrap) / .85); padding-left: calc(24px / .85); padding-right: calc(24px / .85); }
	.homegar.home #content .col-full { max-width: none; padding: 0; }
}

/* Rayons : les cartes occupent toute la largeur, défilement horizontal s'il y en a trop */
.hg-cats { scrollbar-width: thin; scrollbar-color: var(--hg-line) transparent; }
@media (min-width: 769px) {
	.hg-cat { flex: 1 0 150px; }
}

/* =========================================================
   Fiche produit « place de marché » (galerie | détails | achat)
   ========================================================= */

.single-product div.product.hg-pp { display: block; overflow: visible; margin-top: 4px; padding: 22px 24px 8px; background: #fff; border: 1px solid #e3e6e6; border-radius: 8px; font-size: 14px; }
.single-product div.product.hg-pp > * { grid-column: auto; }
.hg-pp a { color: #2162a1; }
.hg-pp a:hover { color: var(--hg-orange); text-decoration: underline; }
.hg-pp__top { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 38fr) 290px; gap: 28px; align-items: start; }

/* Galerie : vignettes verticales à gauche */
.single-product div.product.hg-pp .woocommerce-product-gallery { position: relative; top: 0; width: auto !important; float: none !important; margin: 0 !important; padding: 0; background: none; border-radius: 0; box-shadow: none; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
.single-product .hg-pp .woocommerce-product-gallery .flex-viewport, .single-product .hg-pp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; border-radius: 6px; }
.single-product .hg-pp .woocommerce-product-gallery img { border-radius: 6px; max-height: 520px; object-fit: contain; }
.single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 8px; margin: 0 !important; max-height: 520px; overflow-y: auto; scrollbar-width: none; }
.single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; width: 58px !important; }
.single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs img { width: 58px; height: 58px; object-fit: contain; padding: 3px; border: 1px solid #d5d9d9; border-radius: 6px; opacity: 1; }
.single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs img.flex-active, .single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs img:hover { border-color: var(--hg-orange); box-shadow: 0 0 0 2px rgba(255, 107, 26, .25); }
.single-product .hg-pp .woocommerce-product-gallery__trigger { top: 10px !important; right: 10px !important; }
.single-product .hg-pp > .onsale { display: none; }

/* Colonne détails */
.hg-pp__brand { font-size: 13px; }
.hg-pp__title { margin: 4px 0 6px; font-family: var(--hg-font) !important; font-size: 22px !important; font-weight: 500; line-height: 1.3; color: #0f1111 !important; letter-spacing: 0; }
.hg-pp__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #e3e6e6; font-size: 13px; }
.hg-pp__rating b { color: #0f1111; }
.hg-pp__flag { padding: 2px 8px; border-radius: 4px; background: var(--hg-navy); color: #fff; font-size: 11.5px; font-weight: 600; }
.hg-pp__pricebox { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid #e3e6e6; }
.hg-pp__pct { color: #cc0c39; font-size: 26px; font-weight: 300; }
.hg-pp__price { font-size: 28px; font-weight: 500; color: #0f1111; }
.hg-pp__price del { display: none; }
.hg-pp__price ins { text-decoration: none; background: none; }
.hg-pp__was, .hg-pp__tax { flex-basis: 100%; font-size: 12.5px; color: #565959; }
.hg-pp__keys { width: 100%; margin: 12px 0 4px; border: 0; border-collapse: collapse; font-size: 13.5px; }
.hg-pp__keys th, .hg-pp__keys td { padding: 5px 0; border: 0; background: none !important; vertical-align: top; text-align: left; }
.hg-pp__keys th { width: 38%; font-weight: 700; color: #0f1111; }
.hg-pp__about { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e3e6e6; }
.hg-pp__about h2, .hg-pp__block h2 { margin: 0 0 8px; font-family: var(--hg-font) !important; font-size: 17px !important; font-weight: 700; color: #0f1111 !important; }
.hg-pp__about ul { margin: 0 0 0 18px; }
.hg-pp__about p, .hg-pp__about li { margin-bottom: 6px; color: #0f1111; line-height: 1.5; }

/* Bloc d'achat */
.hg-pp__buy { position: sticky; top: 120px; padding: 16px 18px; border: 1px solid #d5d9d9; border-radius: 8px; background: #fff; }
.hg-pp__buyprice { font-size: 26px; font-weight: 500; color: #0f1111; }
.hg-pp__buyprice del { display: block; font-size: 13px; color: #565959; font-weight: 400; }
.hg-pp__buyprice ins { text-decoration: none; background: none; color: #0f1111; }
.hg-pp__save { margin: 2px 0 0; font-size: 13px; color: #cc0c39; font-weight: 600; }
.hg-pp__ship { display: flex; gap: 8px; margin: 12px 0 6px; font-size: 13.5px; color: #0f1111; }
.hg-pp__ship .hg-icon { color: var(--hg-green); margin-top: 1px; }
.hg-pp__pre { margin: 12px 0 6px; padding: 8px 10px; border-radius: 6px; background: #efeaff; color: #4b33b5; font-weight: 600; font-size: 13px; }
.hg-pp__stock { margin: 0 0 10px; font-size: 17px; font-weight: 500; }
.hg-pp__stock.is-ok { color: #007600; }
.hg-pp__stock.is-ko { color: #cc0c39; }
.hg-pp__form form.cart { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; }
.hg-pp__form form.cart .quantity { margin: 0; }
.hg-pp__form form.cart .quantity input.qty { width: 100%; height: 36px; padding: 0 12px; border: 1px solid #d5d9d9; border-radius: 8px; background: #f0f2f2; text-align: left; font-weight: 500; box-shadow: 0 2px 5px rgba(15, 17, 17, .1); }
.hg-pp__form .single_add_to_cart_button, .hg-pp__now { display: flex; align-items: center; justify-content: center; width: 100%; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 14px !important; font-weight: 500 !important; box-shadow: none !important; text-decoration: none !important; }
.homegar .hg-pp .hg-pp__form button.single_add_to_cart_button.button { background: #ffd814 !important; color: #0f1111 !important; }
.homegar .hg-pp .hg-pp__form button.single_add_to_cart_button.button:hover { background: #f7ca00 !important; transform: none; }
.hg-pp__now { margin-top: 8px; background: var(--hg-orange); color: #fff !important; }
.hg-pp__now:hover { background: var(--hg-orange-dark); color: #fff !important; }
.hg-pp__form table.variations { margin: 0 0 6px; }
.hg-pp__form table.variations th, .hg-pp__form table.variations td { display: block; padding: 0 0 4px; background: none; text-align: left; }
.hg-pp__form table.variations select { width: 100%; }
.hg-pp__form .single_variation_wrap .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; }
.hg-pp__facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 14px 0 0; font-size: 12.5px; }
.hg-pp__facts dt { color: #565959; font-weight: 400; }
.hg-pp__facts dd { margin: 0; color: #0f1111; }
.hg-pp__fav.hg-fav { position: static; width: 100%; height: 34px; margin-top: 14px; border: 1px solid #d5d9d9; border-radius: 8px; box-shadow: none; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #0f1111; background: #fff; }
.hg-pp__fav.hg-fav:hover { transform: none; background: #f7fafa; }

/* Sections du bas */
.hg-pp__block { margin-top: 22px; padding-top: 18px; border-top: 1px solid #e3e6e6; }
.hg-pp__block .hg-section__title { font-family: var(--hg-font); font-size: 18px; font-weight: 700; color: #0f1111; }
.hg-pp__cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.hg-pp__content { color: #0f1111; line-height: 1.6; }
.hg-pp__content img { max-width: 100%; height: auto; }
.hg-pp__specs table { width: 100%; border: 1px solid #e3e6e6; border-collapse: collapse; font-size: 13px; }
.hg-pp__specs th, .hg-pp__specs td { padding: 8px 12px; border: 0; border-bottom: 1px solid #e3e6e6; text-align: left; vertical-align: top; }
.hg-pp__specs th { width: 42%; background: #f3f3f3 !important; font-weight: 600; color: #0f1111; }
.hg-pp__specs td { background: #fff !important; }
.hg-pp__reviews { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; }
.hg-pp__score { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.hg-pp__count { margin: 4px 0 12px; color: #565959; font-size: 13px; }
.hg-pp__bar { display: grid; grid-template-columns: 62px 1fr 42px; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #2162a1; }
.hg-pp__bar i { height: 18px; border: 1px solid #d5d9d9; border-radius: 4px; background: linear-gradient(90deg, #de7921 var(--pct), #f0f2f2 var(--pct)); }
.hg-pp__bar em { font-style: normal; text-align: right; }
.hg-pp__list #reviews { margin: 0; }
.hg-pp__list #reviews h2.woocommerce-Reviews-title { display: none; }
.hg-pp__list #reviews .commentlist { padding: 0; margin: 0 0 16px; }
.hg-pp__list #reviews .commentlist li { list-style: none; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid #e3e6e6; background: none; border-radius: 0; }
.hg-pp__list #reviews .commentlist li .avatar { display: none; }
.hg-pp__list #reviews .comment-text { width: auto; float: none; margin: 0; padding: 0; border: 0; }
.hg-pp__list #reviews .comment-text .star-rating { float: none; margin: 0 0 4px; }
.hg-pp__list #reviews .woocommerce-review__verified { color: #c45500; font-style: normal; font-weight: 600; }
.hg-pp__list #review_form_wrapper { padding: 16px; border: 1px solid #e3e6e6; border-radius: 8px; }

@media (max-width: 1200px) {
	.hg-pp__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.hg-pp__buy { grid-column: 2; position: static; }
	.hg-pp__gallery { grid-row: span 2; }
}
@media (max-width: 1024px) {
	.single-product div.product.hg-pp { display: block; }
}
@media (max-width: 768px) {
	.single-product div.product.hg-pp { padding: 14px 12px; border-radius: 0; border-left: 0; border-right: 0; margin: 0 -16px; }
	.hg-pp__top, .hg-pp__cols, .hg-pp__reviews { grid-template-columns: 1fr; gap: 16px; }
	.hg-pp__buy { grid-column: auto; }
	.hg-pp__gallery { grid-row: auto; }
	.single-product .hg-pp .woocommerce-product-gallery { position: static; grid-template-columns: 1fr; }
	.single-product .hg-pp .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
	.single-product .hg-pp .woocommerce-product-gallery .flex-viewport, .single-product .hg-pp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 1; }
	.hg-pp__title { font-size: 19px !important; }
}

/* Fiche produit : corrections de priorité et contenu importé */
.single-product div.product.hg-pp .woocommerce-product-gallery { padding: 0 !important; background: none; box-shadow: none; border-radius: 0; }
.hg-pp__form form.cart > *:empty { display: none; }
.hg-pp__form form.cart { gap: 8px; }
.hg-pp__content h2, .hg-pp__content h3 { margin: 18px 0 8px; font-family: var(--hg-font) !important; font-size: 16px !important; font-weight: 700; color: #0f1111 !important; }
.hg-pp__content ul { margin: 0 0 12px 18px; }
.hg-pp__content li { margin-bottom: 4px; }
.hg-pp__content table { width: 100%; margin: 8px 0 16px; border: 1px solid #e3e6e6; border-collapse: collapse; font-size: 13px; }
.hg-pp__content table th, .hg-pp__content table td { padding: 7px 12px !important; border: 0; border-bottom: 1px solid #e3e6e6; background: none; text-align: left; vertical-align: top; }
.hg-pp__content table tr > :first-child { width: 42%; background: #f3f3f3; font-weight: 600; }
.single-product div.product.hg-pp .hg-pp__form form.cart { margin: 0 !important; padding: 0 !important; }
@media (max-width: 768px) {
	.single-product div.product.hg-pp .woocommerce-product-gallery { grid-template-columns: minmax(0, 1fr); }
	.single-product div.product.hg-pp .woocommerce-product-gallery .flex-viewport, .single-product div.product.hg-pp .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 1; grid-row: 1; }
	.single-product div.product.hg-pp .woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; max-height: none; overflow-x: auto; }
}

/* Photos dans les avis */
.hg-rphoto { margin: 4px 0 14px; }
.hg-rphoto__drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed #c5cdd9; border-radius: 8px; background: #fff; cursor: pointer; font-size: 13.5px; color: #0f1111; transition: border-color .2s, background .2s; }
.hg-rphoto__drop:hover, .hg-rphoto__drop.is-over { border-color: var(--hg-orange); background: var(--hg-orange-soft); }
.hg-rphoto__drop .hg-icon { color: var(--hg-orange); }
.hg-rphoto__drop small { color: #565959; }
.hg-rphoto__drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hg-rphoto__preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hg-rphoto__preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; border: 1px solid #d5d9d9; }
.hg-rphoto__error { width: 100%; margin: 0; color: #cc0c39; font-size: 13px; }
.hg-rphotos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hg-rphotos img { width: 84px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid #d5d9d9; transition: transform .2s; }
.hg-rphotos a:hover img { transform: scale(1.04); }

/* Pied de page : 5 colonnes avec contact et pages légales */
.hg-footer__cols { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.hg-footer__cols nav { display: flex; flex-direction: column; }
.hg-footer__contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.hg-footer__contact li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .75); }
.hg-footer__contact .hg-icon { color: var(--hg-orange); }
.hg-footer__contact a { padding: 0 !important; color: #fff !important; font-weight: 600; }
.hg-footer__contact a:hover { color: var(--hg-orange) !important; }
.hg-footer__cols h3 { position: relative; padding-bottom: 10px; }
.hg-footer__cols h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--hg-orange); }
.hg-footer__bottom-inner { gap: 12px 24px; }
.hg-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-right: auto; }
.hg-footer__legal a { color: rgba(255, 255, 255, .7) !important; font-size: 13px; }
.hg-footer__legal a:hover { color: var(--hg-orange) !important; }
@media (max-width: 1024px) {
	.hg-footer__cols { grid-template-columns: 1fr 1fr; }
	.hg-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
	.hg-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
