/** Shopify CDN: Minification failed

Line 23:18 Expected identifier but found whitespace
Line 23:20 Unexpected "{"
Line 23:30 Expected ":"
Line 24:23 Expected identifier but found whitespace
Line 24:25 Unexpected "{"
Line 24:35 Expected ":"
Line 25:20 Expected identifier but found whitespace
Line 25:22 Unexpected "{"
Line 25:32 Expected ":"
Line 26:17 Expected identifier but found whitespace
... and 29 more hidden warnings

**/
/* =====================================================
   UNGER Distributeur - Theme CSS v2
   Mises à jour : mini-cart drawer, filtres facettés AJAX,
   sticky add-to-cart mobile, recherche prédictive, account
   ===================================================== */

:root {
  --color-primary: {{ settings.color_primary }};
  --color-primary-dark: {{ settings.color_primary_dark }};
  --color-secondary: {{ settings.color_secondary }};
  --color-accent: {{ settings.color_accent }};
  --color-text: {{ settings.color_text }};
  --color-text-light: {{ settings.color_text_light }};
  --color-bg: {{ settings.color_background }};
  --color-bg-alt: {{ settings.color_background_alt }};
  --color-border: {{ settings.color_border }};
  --font-headings: {{ settings.type_header_font.family }}, {{ settings.type_header_font.fallback_families }};
  --font-body: {{ settings.type_body_font.family }}, {{ settings.type_body_font.fallback_families }};
  --container: 1320px;
  --container-narrow: 1080px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
  --transition: 200ms cubic-bezier(.4,0,.2,1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--color-text);
  background: var(--color-bg); line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--color-text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-headings); font-weight: 700; line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.visually-hidden { position:absolute; clip:rect(0 0 0 0); width:1px; height:1px; overflow:hidden; }
.skip-to-content-link:focus { position: fixed; top: 1rem; left: 1rem; background: #fff; padding: .5rem 1rem; z-index: 1000; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem;
  background: var(--color-primary); color: #fff;
  font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-transform: uppercase; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid var(--color-primary);
}
.btn:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: #fff; box-shadow: 0 6px 16px rgba(227,6,19,0.3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn--secondary { background: transparent; color: var(--color-primary); }
.btn--secondary:hover { background: var(--color-primary); color: #fff; }
.btn--dark { background: var(--color-text); border-color: var(--color-text); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.btn--full { width: 100%; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }

/* ===== ANNOUNCEMENT ===== */
.announcement-bar { background: var(--color-text); color: #fff; font-size: .85rem; text-align: center; padding: .55rem 1rem; font-weight: 500; }

/* ===== HEADER ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 100; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 0; }
.site-header__logo img { max-height: 50px; width: auto; }
.site-header__logo-text { font-family: var(--font-headings); font-size: 1.6rem; font-weight: 900; color: var(--color-primary); letter-spacing: -.02em; }
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a { font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; padding: .5rem 0; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions > a, .header-actions > button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; transition: background var(--transition); position: relative; }
.header-actions > a:hover, .header-actions > button:hover { background: var(--color-bg-alt); }
.cart-count { position: absolute; top: -2px; right: -2px; background: var(--color-primary); color: #fff; font-size: .7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.vat-toggle { display: inline-flex; background: var(--color-bg-alt); border-radius: 20px; padding: 3px; font-size: .8rem; font-weight: 700; }
.vat-toggle button { padding: .3rem .8rem; border-radius: 18px; color: var(--color-text-light); transition: all var(--transition); }
.vat-toggle button.active { background: var(--color-primary); color: #fff; }

/* ===== PREDICTIVE SEARCH ===== */
.search-trigger { position: relative; }
.predictive-search {
  position: absolute; top: 100%; right: 0; margin-top: .5rem;
  width: 460px; max-width: calc(100vw - 2rem);
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1rem; z-index: 110;
  display: none;
}
.predictive-search.is-open { display: block; }
.predictive-search input { width: 100%; padding: .75rem 1rem; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; }
.predictive-search input:focus { outline: none; border-color: var(--color-primary); }
.predictive-results { margin-top: 1rem; max-height: 60vh; overflow-y: auto; }
.predictive-result {
  display: flex; gap: .75rem; padding: .6rem; border-radius: var(--radius);
  transition: background var(--transition); align-items: center;
}
.predictive-result:hover { background: var(--color-bg-alt); }
.predictive-result__img { width: 48px; height: 48px; background: var(--color-bg-alt); border-radius: var(--radius); flex-shrink: 0; overflow: hidden; }
.predictive-result__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.predictive-result__body { flex: 1; min-width: 0; }
.predictive-result__title { font-size: .9rem; font-weight: 600; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.predictive-result__ref { font-size: .75rem; color: var(--color-text-light); }
.predictive-result__price { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.predictive-empty { text-align: center; padding: 2rem 0; color: var(--color-text-light); font-size: .9rem; }
.predictive-loading { text-align: center; padding: 1rem; color: var(--color-text-light); font-size: .85rem; }
@media (max-width: 600px) {
  .predictive-search { position: fixed; top: var(--header-h); left: 1rem; right: 1rem; width: auto; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(115deg, #1a1a1a 0%, #2a2a2a 50%, var(--color-primary) 200%);
  color: #fff; padding: clamp(3rem, 8vw, 6rem) 0; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle at 70% 50%, #1B7F3A, transparent 0%);
  pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero__eyebrow { display: inline-block; background: var(--color-primary); color: #fff; padding: .35rem .9rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; border-radius: 2px; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.05; margin-bottom: 1rem; }
.hero__sub { font-size: 1.15rem; opacity: .85; margin-bottom: 2rem; max-width: 540px; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__visual { background: rgba(255,255,255,0.05); border-radius: 8px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 5rem; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .hero__inner { grid-template-columns: 1fr; } .hero__visual { aspect-ratio: 16/9; } }

/* ===== USP STRIP (under hero) ===== */
.usp-strip { background: #fff; border-bottom: 1px solid var(--color-border); padding: 1.25rem 0; }
.usp-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 768px) { .usp-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
.usp { display: flex; align-items: center; gap: .75rem; }
.usp__icon { color: var(--color-primary); flex-shrink: 0; }
.usp__title { font-weight: 700; font-size: .9rem; margin: 0 0 .15rem; }
.usp__sub { font-size: .8rem; color: var(--color-text-light); margin: 0; line-height: 1.3; }

/* ===== SECTION HEADINGS ===== */
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-heading--left { text-align: left; }
.section-heading__eyebrow { color: var(--color-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: .5rem; }
.section-heading h2 { margin-bottom: .5rem; }
.section-heading p { color: var(--color-text-light); max-width: 640px; margin: 0 auto; }
.section-heading--left p { margin: 0; }

/* ===== GAMMES (3 cards: Classic / Pure Water / erGO) ===== */
.gammes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 800px) { .gammes-grid { grid-template-columns: 1fr; } }
.gamme-card {
  position: relative; padding: 2rem; border-radius: var(--radius);
  color: #fff; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gamme-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gamme-card--classic { background: linear-gradient(135deg, #1B7F3A 0%, #1B7F3A 100%); }
.gamme-card--purewater { background: linear-gradient(135deg, #0066B3 0%, #003F73 100%); }
.gamme-card--ergo { background: linear-gradient(135deg, #FFA300 0%, #CC7700 100%); }
.gamme-card__eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-bottom: .5rem; }
.gamme-card h3 { color: #fff; font-size: 1.8rem; margin-bottom: 1rem; }
.gamme-card p { font-size: .95rem; opacity: .9; margin-bottom: 1.5rem; }
.gamme-card a { color: #fff; font-weight: 700; text-transform: uppercase; font-size: .9rem; }
.gamme-card a::after { content: ' →'; transition: padding var(--transition); display: inline-block; }
.gamme-card:hover a::after { padding-left: .25rem; }

/* ===== COLLECTION CARD GRID ===== */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.collection-card { position: relative; background: var(--color-bg-alt); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; transition: transform var(--transition), box-shadow var(--transition); }
.collection-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.collection-card__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.collection-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%); }
.collection-card__content { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; color: #fff; }
.collection-card h3 { color: #fff; margin-bottom: .25rem; }
.collection-card__cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-transform: uppercase; font-size: .85rem; color: #fff; }
.collection-card__cta::after { content: '→'; transition: transform var(--transition); }
.collection-card:hover .collection-card__cta::after { transform: translateX(4px); }

/* ===== PRODUCT GRID & CARD ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-grid--list { grid-template-columns: 1fr; gap: 1rem; }
.product-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); position: relative; }
.product-card:hover { border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 1/1; background: var(--color-bg-alt); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; transition: transform var(--transition); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--color-bg-alt); }
.product-card__badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .25rem; z-index: 2; }
.badge { background: var(--color-primary); color: #fff; font-size: .7rem; font-weight: 700; padding: .25rem .6rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 2px; }
.badge--new { background: var(--color-accent); color: #1a1a1a; }
.badge--quote { background: var(--color-secondary); }
.badge--sale { background: #2a8a3a; }
.badge--stock { background: #2a8a3a; }
.badge--lowstock { background: #d97706; }
.badge--oos { background: #999; }
.product-card__quickadd {
  position: absolute; bottom: .75rem; right: .75rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-text); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}
.product-card:hover .product-card__quickadd { opacity: 1; transform: translateY(0); }
.product-card__quickadd:hover { background: var(--color-primary); }
.product-card__quickadd[disabled] { opacity: 0; pointer-events: none; }
.product-card__body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-card__ref { font-size: .75rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.product-card__title { font-size: .95rem; font-weight: 600; margin: 0 0 .75rem; line-height: 1.3; flex: 1; }
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--color-primary); }
.product-card__price { font-size: 1.15rem; font-weight: 700; color: var(--color-text); margin-bottom: .25rem; }
.product-card__price-suffix { font-size: .75rem; color: var(--color-text-light); font-weight: 500; }
.product-card__price-compare { text-decoration: line-through; color: var(--color-text-light); font-size: .85rem; margin-left: .35rem; font-weight: 500; }
.product-card__quote { color: var(--color-secondary); font-weight: 700; }
.product-card__stock { font-size: .78rem; margin-top: .35rem; }
.product-card__stock--in { color: #2a8a3a; }
.product-card__stock--low { color: #d97706; }
.product-card__stock--out { color: var(--color-text-light); }

/* ===== PRODUCT DETAIL ===== */
.product-page { padding: 2rem 0 4rem; }
.product-breadcrumb { font-size: .85rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.product-breadcrumb a { color: var(--color-text-light); }
.product-breadcrumb a:hover { color: var(--color-primary); }
.product-breadcrumb span { margin: 0 .35rem; }
.product-page__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .product-page__grid { grid-template-columns: 1fr; gap: 2rem; } }
.product-gallery__main { background: var(--color-bg-alt); border-radius: var(--radius); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; cursor: zoom-in; }
.product-gallery__main img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 2rem; transition: transform 400ms ease; }
.product-gallery__main:hover img { transform: scale(1.05); }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: .75rem; }
.product-gallery__thumb { aspect-ratio: 1/1; background: var(--color-bg-alt); border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; overflow: hidden; }
.product-gallery__thumb.active { border-color: var(--color-primary); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: .5rem; }

.product-info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .5rem; }
.product-info__refs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-info__ref { display: inline-block; background: var(--color-bg-alt); font-family: 'Courier New', monospace; font-size: .85rem; font-weight: 700; padding: .25rem .7rem; border-radius: 3px; color: var(--color-text-light); }
.product-info__ref--mic { background: #fff3cd; color: #856404; }
.product-info__lead { font-size: 1rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.product-info__price-block { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 1.5rem 0; margin: 1.5rem 0; }
.product-info__price-main { font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--color-text); }
.product-info__price-alt { color: var(--color-text-light); font-size: 1rem; margin-top: .25rem; }
.product-info__price-saving { color: #2a8a3a; font-weight: 700; font-size: .9rem; margin-top: .5rem; }
.product-info__price-quote { font-size: 1.25rem; color: var(--color-secondary); font-weight: 700; }
.product-info__stock { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .4rem .8rem; border-radius: 20px; font-size: .85rem; font-weight: 600; }
.product-info__stock--in { background: rgba(42,138,58,0.1); color: #2a8a3a; }
.product-info__stock--low { background: rgba(217,119,6,0.1); color: #d97706; }
.product-info__stock--out { background: var(--color-bg-alt); color: var(--color-text-light); }
.product-info__stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.product-variants { margin: 1.25rem 0; }
.variant-group { margin-bottom: 1rem; }
.variant-group__label { font-size: .85rem; font-weight: 600; margin-bottom: .5rem; display: block; }
.variant-group__value { color: var(--color-text-light); margin-left: .5rem; font-weight: 500; }
.variant-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-option {
  padding: .55rem 1rem; border: 2px solid var(--color-border);
  border-radius: var(--radius); font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
  background: #fff;
}
.variant-option:hover { border-color: var(--color-text); }
.variant-option.active { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.variant-option[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.qty-cart-row { display: flex; gap: .75rem; align-items: stretch; margin-bottom: 1rem; }
.qty-selector { display: inline-flex; align-items: center; border: 2px solid var(--color-border); border-radius: var(--radius); }
.qty-selector button { width: 44px; height: 50px; font-size: 1.2rem; font-weight: 700; color: var(--color-text-light); }
.qty-selector button:hover { color: var(--color-text); }
.qty-selector input { width: 60px; height: 50px; border: none; text-align: center; font-size: 1rem; font-weight: 700; background: transparent; }
.qty-selector input:focus { outline: none; }
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-info__cart-btn { flex: 1; }

.product-share { display: flex; gap: .5rem; margin-top: 1rem; align-items: center; }
.product-share__label { font-size: .85rem; color: var(--color-text-light); margin-right: .5rem; }
.product-share a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--color-bg-alt); border-radius: 50%; transition: background var(--transition); }
.product-share a:hover { background: var(--color-primary); color: #fff; }

.product-info__meta { background: var(--color-bg-alt); padding: 1rem 1.25rem; border-radius: var(--radius); margin-top: 1.5rem; font-size: .88rem; }
.product-info__meta p { margin: .3rem 0; color: var(--color-text-light); }
.product-info__meta strong { color: var(--color-text); }

.product-accordion { margin-top: 3rem; border-top: 1px solid var(--color-border); }
.product-accordion__item { border-bottom: 1px solid var(--color-border); }
.product-accordion__header { width: 100%; text-align: left; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 1.05rem; font-weight: 700; }
.product-accordion__header::after { content: '+'; font-size: 1.5rem; font-weight: 400; transition: transform var(--transition); }
.product-accordion__item.is-open .product-accordion__header::after { transform: rotate(45deg); }
.product-accordion__body { display: none; padding: 0 0 1.5rem; }
.product-accordion__item.is-open .product-accordion__body { display: block; }

.product-specs { width: 100%; border-collapse: collapse; }
.product-specs th, .product-specs td { text-align: left; padding: .65rem 1rem; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.product-specs th { background: var(--color-bg-alt); font-weight: 600; width: 35%; }

/* ===== STICKY ADD-TO-CART (mobile) ===== */
.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--color-border);
  padding: .75rem 1rem;
  display: none;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.sticky-atc__inner { display: flex; align-items: center; gap: .75rem; }
.sticky-atc__price { font-weight: 800; font-size: 1.1rem; }
.sticky-atc__btn { flex: 1; }
@media (max-width: 768px) { .sticky-atc.is-visible { display: block; } }

/* ===== ADVANTAGES ===== */
.advantages { background: var(--color-bg-alt); }
.advantages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.advantage { text-align: center; padding: 1.5rem 1rem; }
.advantage__icon { width: 64px; height: 64px; background: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.advantage h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.advantage p { color: var(--color-text-light); font-size: .9rem; margin: 0; }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--color-text); color: #fff; padding: 4rem 0; text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter p { opacity: .8; max-width: 540px; margin: 0 auto 2rem; }
.newsletter__form { display: flex; max-width: 520px; margin: 0 auto; gap: .5rem; }
.newsletter__form input { flex: 1; padding: .85rem 1rem; font-size: 1rem; border: none; border-radius: var(--radius); }

/* ===== FOOTER ===== */
.site-footer { background: #1a1a1a; color: #b0b0b0; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #b0b0b0; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 768px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .92rem; }
.site-footer__social { display: flex; gap: .75rem; margin-top: 1rem; }
.site-footer__social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; transition: background var(--transition); }
.site-footer__social a:hover { background: var(--color-primary); color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: .85rem; color: #888; }

/* ===== COLLECTION PAGE w/ FACETED FILTERS ===== */
.collection-header { background: var(--color-bg-alt); padding: 3rem 0; }
.collection-header h1 { margin-bottom: .5rem; }
.collection-header__count { color: var(--color-text-light); font-size: .95rem; }
.collection-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; padding: 2.5rem 0; }
@media (max-width: 900px) { .collection-layout { grid-template-columns: 1fr; } .collection-sidebar { order: 2; } }
.collection-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
.facet-search-bar { width: 100%; padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: .85rem; margin-bottom: 1rem; }
.facet-group { margin-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); padding-bottom: 1.25rem; }
.facet-group:last-child { border-bottom: none; }
.facet-group__title { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.facet-group__title::after { content: '−'; font-size: 1.2rem; transition: transform var(--transition); }
.facet-group.is-collapsed .facet-group__title::after { content: '+'; }
.facet-group.is-collapsed .facet-group__body { display: none; }
.facet-group__body { max-height: 320px; overflow-y: auto; padding-right: .25rem; }
.facet-option { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; font-size: .9rem; cursor: pointer; }
.facet-option:hover { color: var(--color-primary); }
.facet-option input { accent-color: var(--color-primary); }
.facet-option__count { color: var(--color-text-light); font-size: .8rem; margin-left: auto; }
.facet-option.is-disabled { opacity: .4; pointer-events: none; }
.facet-price { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .5rem; }
.facet-price input { padding: .4rem .5rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: .85rem; width: 100%; }

.collection-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.view-toggle { display: inline-flex; gap: .25rem; }
.view-toggle button { padding: .4rem .6rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.view-toggle button.active { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.sort-by { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.sort-by select { padding: .5rem .75rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: .9rem; background: #fff; }

.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.active-filter { display: inline-flex; align-items: center; gap: .35rem; background: var(--color-bg-alt); padding: .35rem .75rem; border-radius: 20px; font-size: .85rem; }
.active-filter button { color: var(--color-text-light); font-size: 1.2rem; line-height: 1; }
.active-filter button:hover { color: var(--color-primary); }
.active-filter--clear-all { background: transparent; color: var(--color-primary); font-weight: 700; cursor: pointer; }

.mobile-filter-toggle { display: none; }
@media (max-width: 900px) {
  .collection-sidebar { display: none; }
  .collection-sidebar.is-open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #fff; z-index: 200; padding: 1.5rem; overflow-y: auto; }
  .mobile-filter-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .collection-sidebar__close { display: none; }
  .collection-sidebar.is-open .collection-sidebar__close { display: inline-flex; position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; align-items: center; justify-content: center; }
}

/* ===== CART DRAWER ===== */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; transition: opacity var(--transition);
  z-index: 199;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 100vw;
  background: #fff; z-index: 200;
  transform: translateX(100%); transition: transform var(--transition);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; }
.cart-drawer__header h2 { font-size: 1.2rem; margin: 0; }
.cart-drawer__close { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background var(--transition); }
.cart-drawer__close:hover { background: var(--color-bg-alt); }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-drawer__item { display: grid; grid-template-columns: 64px 1fr auto; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); align-items: center; }
.cart-drawer__item-img { background: var(--color-bg-alt); border-radius: var(--radius); aspect-ratio: 1/1; overflow: hidden; }
.cart-drawer__item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-drawer__item-info h4 { font-size: .92rem; margin: 0 0 .15rem; }
.cart-drawer__item-info a { color: inherit; }
.cart-drawer__item-ref { font-size: .75rem; color: var(--color-text-light); }
.cart-drawer__item-price { font-weight: 700; font-size: .95rem; }
.cart-drawer__item-qty { display: inline-flex; border: 1px solid var(--color-border); border-radius: var(--radius); margin-top: .5rem; }
.cart-drawer__item-qty button { width: 28px; height: 28px; font-size: .9rem; }
.cart-drawer__item-qty input { width: 36px; height: 28px; text-align: center; border: none; font-size: .85rem; }
.cart-drawer__remove { color: var(--color-text-light); font-size: .8rem; background: none; padding: 0; }
.cart-drawer__remove:hover { color: var(--color-primary); }
.cart-drawer__empty { text-align: center; padding: 3rem 0; color: var(--color-text-light); }
.cart-drawer__footer { border-top: 1px solid var(--color-border); padding: 1.25rem 1.5rem; }
.cart-drawer__subtotal { display: flex; justify-content: space-between; margin-bottom: .5rem; font-weight: 700; }
.cart-drawer__tax { font-size: .8rem; color: var(--color-text-light); margin-bottom: 1rem; }
.cart-drawer__actions { display: grid; gap: .5rem; }

/* ===== CART PAGE ===== */
.cart-page { padding: 3rem 0; }
.cart-empty { text-align: center; padding: 3rem 0; }
.cart-empty p { color: var(--color-text-light); margin-bottom: 1.5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--color-border); }
.cart-item__media { background: var(--color-bg-alt); border-radius: var(--radius); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item__media img { max-width: 100%; max-height: 100%; object-fit: contain; padding: .5rem; }
.cart-item__info h4 { font-size: 1rem; margin: 0 0 .25rem; }
.cart-item__ref { font-size: .8rem; color: var(--color-text-light); }
.cart-item__remove { color: var(--color-text-light); font-size: .85rem; margin-top: .5rem; display: inline-block; background: none; padding: 0; }
.cart-item__remove:hover { color: var(--color-primary); }
.cart-summary { background: var(--color-bg-alt); border-radius: var(--radius); padding: 1.75rem; align-self: start; position: sticky; top: calc(var(--header-h) + 1rem); }
.cart-summary h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .95rem; }
.cart-summary__row--total { font-size: 1.25rem; font-weight: 700; border-top: 2px solid var(--color-text); margin-top: .75rem; padding-top: .75rem; }
.cart-summary__note { font-size: .8rem; color: var(--color-text-light); margin-top: 1rem; }

/* ===== ACCOUNT PAGES (refonte) ===== */
.account-page { padding: 3rem 0; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; }
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }
.account-sidebar { background: var(--color-bg-alt); padding: 1.5rem; border-radius: var(--radius); align-self: start; }
.account-sidebar__user { padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); margin-bottom: 1rem; }
.account-sidebar__user strong { display: block; }
.account-sidebar__user span { font-size: .85rem; color: var(--color-text-light); }
.account-sidebar__nav { list-style: none; padding: 0; margin: 0; }
.account-sidebar__nav li { margin-bottom: .25rem; }
.account-sidebar__nav a { display: block; padding: .6rem .8rem; border-radius: var(--radius); font-size: .92rem; font-weight: 500; }
.account-sidebar__nav a:hover { background: rgba(0,0,0,0.04); }
.account-sidebar__nav a.active { background: var(--color-text); color: #fff; }
.account-sidebar__logout { display: block; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--color-border); font-size: .85rem; color: var(--color-text-light); }

.account-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.account-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th { text-align: left; padding: .75rem; background: var(--color-bg-alt); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.orders-table td { padding: .75rem; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.status-pill { display: inline-block; padding: .2rem .65rem; border-radius: 12px; font-size: .75rem; font-weight: 600; }
.status-pill--paid { background: rgba(42,138,58,0.1); color: #2a8a3a; }
.status-pill--pending { background: rgba(217,119,6,0.1); color: #d97706; }
.status-pill--shipped { background: rgba(0,102,179,0.1); color: var(--color-secondary); }
.status-pill--default { background: var(--color-bg-alt); color: var(--color-text-light); }

.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: .75rem 1rem; border: 2px solid var(--color-border); border-radius: var(--radius); font-size: 1rem; font-family: inherit; transition: border-color var(--transition); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--color-primary); }

.b2b-banner { background: linear-gradient(135deg, var(--color-text) 0%, #2a2a2a 100%); color: #fff; padding: 2rem; border-radius: var(--radius); text-align: center; margin-bottom: 2rem; }
.b2b-banner h3 { color: #fff; margin-bottom: .5rem; }
.b2b-banner p { opacity: .85; margin-bottom: 1.25rem; }

/* ===== TOAST / NOTIFICATION ===== */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 250;
  background: var(--color-text); color: #fff;
  padding: 1rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
  font-size: .92rem;
  opacity: 0; transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
  max-width: 360px;
}
.toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.toast--success { background: #2a8a3a; }
.toast--error { background: #c0392b; }
@media (max-width: 600px) { .toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; } }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 1rem; }
.text-light { color: var(--color-text-light); }
.small { font-size: .85rem; }

.mobile-nav-toggle { display: none; }
@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-nav-toggle { display: inline-flex; }
  .site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1.5rem; box-shadow: var(--shadow-md); gap: 0; }
  .site-nav.is-open a { padding: .85rem 0; border-bottom: 1px solid var(--color-border); }
}

.b2b-discount-badge { background: var(--color-text); color: #fff; font-size: .7rem; padding: .15rem .5rem; border-radius: 2px; font-weight: 700; margin-left: .5rem; vertical-align: middle; }

@media print {
  .site-header, .site-footer, .product-accordion__nav, .qty-cart-row, .btn, .cart-drawer, .sticky-atc { display: none !important; }
}

/* =====================================================
   OVERRIDE COULEUR ROUGE → VERT UNGER OFFICIEL
   ===================================================== */

:root {
  --color-primary: #1B7F3A;
  --color-primary-dark: #145c2b;
}

/* LINKS + HOVER */
a:hover {
  color: var(--color-primary);
}

/* BUTTON PRIMARY */
.btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 16px rgba(27,127,58,0.35);
}

/* SECONDARY BUTTON */
.btn--secondary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
}

/* HEADER ACTIVE LINK UNDERLINE */
.site-nav a::after {
  background: var(--color-primary);
}

/* BADGES (nouveautés / stock / etc.) */
.badge {
  background: var(--color-primary);
}

/* HERO GLOW (remplace rouge implicite par vert) */
.hero {
  background: linear-gradient(
    115deg,
    #1a1a1a 0%,
    #2a2a2a 50%,
    var(--color-primary) 200%
  );
}

.hero::before {
  background: radial-gradient(
    circle at 70% 50%,
    rgba(27, 127, 58, 0.25),
    transparent 80%
  );
}

/* GAMMES */
.gamme-card--classic {
  background: linear-gradient(135deg, #1B7F3A 0%, #145c2b 100%);
}

/* TOAST SUCCESS */
.toast--success {
  background: var(--color-primary);
}

/* CART / ACTIVE STATES */
.status-pill--paid {
  background: rgba(27,127,58,0.1);
  color: var(--color-primary);
}

/* SEARCH / FOCUS */
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--color-primary);
}

/* COLLECTION ACTIVE FILTER */
.active-filter button:hover {
  color: var(--color-primary);
}
