/* =========================================================================
   Négoce îles — thème enfant Hummingbird / PrestaShop 9
   Système de design d'après le brief "1b — Structuré pro".
   Skin posé PAR-DESSUS Hummingbird (pas de build SCSS requis).
   ========================================================================= */

/* Polices auto-hébergées (journal #115) : plus aucune requête vers Google. Sous-ensembles latin + latin-ext,
   récupérés de fonts.googleapis.com le 2026-10-21 (Cormorant Garamond 500-700, Jost 300-600, DM Mono 400-500). */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/dm-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/dm-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/jost-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Couleurs */
  --ni-page: #ffffff;
  --ni-card: #fffdf9;
  --ni-ink: #23241f;         /* encre / titres */
  --ni-text: #5f5a50;        /* texte secondaire */
  --ni-text3: #6f6a60;       /* texte tertiaire */
  --ni-rule: #e5ddce;        /* filets clairs */
  --ni-rule2: #ece4d4;
  --ni-peacock: #3c5a54;     /* accent vert paon */
  --ni-peacock-hover: #26382f;
  --ni-gold: #c8a86a;
  --ni-ambient: #efe9dd;
  --ni-dark: #23241f;        /* newsletter */
  --ni-footer: #1b1c19;
  --ni-footer-sep: #33342f;
  --ni-footer-text: #a49f92;
  --ni-footer-title: #e9e3d6;

  /* Typographie */
  --ni-serif: 'Cormorant Garamond', Georgia, serif;
  --ni-sans: 'Jost', system-ui, sans-serif;
  --ni-mono: 'DM Mono', ui-monospace, monospace;

  /* Rythme */
  --ni-pad-x: 48px;
  --ni-section-y: 66px;
}

/* --- Bootstrap (Hummingbird) : bleu primaire #0b69f6 → vert paon -------- */
/* Liens des contenus CMS, compte, panier… + boutons/cases « primary ».      */
:root, [data-bs-theme=light] {
  --bs-primary: #3c5a54;
  --bs-primary-rgb: 60, 90, 84;
  --bs-primary-text-emphasis: #26382f;
  --bs-link-color: #3c5a54;
  --bs-link-color-rgb: 60, 90, 84;
  --bs-link-hover-color: #26382f;
  --bs-link-hover-color-rgb: 38, 56, 47;
  --bs-focus-ring-color: rgba(60, 90, 84, .25);
}
.btn-primary {
  --bs-btn-bg: #3c5a54; --bs-btn-border-color: #3c5a54;
  --bs-btn-hover-bg: #26382f; --bs-btn-hover-border-color: #26382f;
  --bs-btn-active-bg: #26382f; --bs-btn-active-border-color: #26382f;
  --bs-btn-disabled-bg: #3c5a54; --bs-btn-disabled-border-color: #3c5a54;
  --bs-btn-focus-shadow-rgb: 60, 90, 84;
}
.btn-outline-primary {
  --bs-btn-color: #3c5a54; --bs-btn-border-color: #3c5a54;
  --bs-btn-hover-bg: #3c5a54; --bs-btn-hover-border-color: #3c5a54;
  --bs-btn-active-bg: #26382f; --bs-btn-active-border-color: #26382f;
  --bs-btn-disabled-color: #3c5a54; --bs-btn-disabled-border-color: #3c5a54;
  --bs-btn-focus-shadow-rgb: 60, 90, 84;
}
.form-check-input:checked { background-color: #3c5a54; border-color: #3c5a54; }
.form-check-input:focus, .form-control:focus, .form-select:focus { border-color: #9db0a9; box-shadow: 0 0 0 .25rem rgba(60, 90, 84, .25); }

/* --- Base / typographie site ------------------------------------------- */
body { background: var(--ni-page); color: var(--ni-ink); font-family: var(--ni-sans); font-weight: 400; }
.negoceiles h1,.negoceiles h2,.negoceiles h3,.negoceiles .ni-serif { font-family: var(--ni-serif); }
.negoceiles a { color: inherit; text-decoration: none; }
.negoceiles img { max-width: 100%; display: block; }

/* Placeholder rayé (héros/visuels non fournis) */
.ni-ph {
  background:
    repeating-linear-gradient(135deg, #ece5d8 0 14px, #e4dccd 14px 28px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  color: #a89f8b; font-family: var(--ni-mono); font-size: 11px; padding: 14px;
}

/* ======================= 1. Bandeau pro (top bar) ====================== */
.ni-topbar {
  background: var(--ni-peacock); color: #e9f0ec;
  padding: 9px var(--ni-pad-x);
  display: flex; align-items: center; gap: 16px;
}
.ni-topbar .ni-tb-left { flex: 1 1 0; font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; }
.ni-topbar .ni-tb-right { flex: 1 1 0; display: flex; justify-content: flex-end; gap: 20px; }
.ni-topbar .ni-tb-right a { color: #e9f0ec !important; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }
.ni-topbar .ni-tb-right a:hover { color: #fff !important; }
/* Panier client connecté (widget ps_shoppingcart) : Hummingbird donne hauteur/marges à .blockcart → décalé sous « Compte pro » */
.ni-topbar .ni-tb-right { align-items: center; }
/* nom du client connecté à la place de « Compte pro » : coupé proprement s'il est long */
.ni-topbar .ni-tb-account { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ni-topbar .ni-blockcart-wrap,
.ni-topbar .ni-blockcart { display: flex; align-items: center; margin: 0; padding: 0; height: auto; min-height: 0; border: 0; background: none; line-height: inherit; }

/* ======================= 2. En-tête ==================================== */
.ni-header {
  background: var(--ni-card); border-bottom: 1px solid var(--ni-rule);
  padding: 20px var(--ni-pad-x);
  display: flex; align-items: center; gap: 32px;
}
.ni-header .ni-logo img { height: 54px; width: auto; }
.ni-search { flex: 1; display: flex; max-width: 420px; margin: 0 auto; border: 1px solid #d8cfbc; }
.ni-search input { flex: 1; border: 0; padding: 11px 14px; font-size: 13px; background: transparent; font-family: var(--ni-sans); }
.ni-search button { background: #23241f; color: #f7f4ef; border: 0; padding: 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.ni-header-actions { display: flex; gap: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ni-header-actions .ni-account { color: var(--ni-text3); }
.ni-header-actions .ni-cart { color: var(--ni-ink); }

/* ======================= 2b. Ligne utilitaire (recherche + compte) ===== */
.ni-utilitybar { background: var(--ni-card); border-bottom: 1px solid var(--ni-rule); }
.ni-utilitybar__inner { display: flex; align-items: center; gap: 24px; padding: 12px var(--ni-pad-x); max-width: 1440px; margin: 0 auto; }
.ni-utilitybar__search { flex: 1; max-width: 480px; }
.ni-utilitybar__actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
/* recherche (ps_searchbar) restylée */
.ni-utilitybar__search form,
.ni-utilitybar__search .ps-searchbar__form { display: flex; border: 1px solid #d8cfbc; background: #fff; }
.ni-utilitybar__search input[type="text"],
.ni-utilitybar__search input[name="s"] { flex: 1; border: 0; padding: 10px 14px 10px 40px; font-size: 13px; font-family: var(--ni-sans); background: transparent; }
.ni-utilitybar__search button { background: var(--ni-ink); color: #f7f4ef; border: 0; padding: 0 16px; cursor: pointer; }
.ni-action--account { color: var(--ni-text3) !important; }
.ni-action--cart { color: var(--ni-ink) !important; font-weight: 500; }
/* compte / panier : sobre, uppercase ; on masque langue/devise (mono FR/EUR) */
.ni-utilitybar__actions .language-selector,
.ni-utilitybar__actions .currency-selector,
.ni-utilitybar__actions .ps-languageselector,
.ni-utilitybar__actions .ps-currencyselector { display: none !important; }
.ni-utilitybar__actions a { color: var(--ni-ink); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }

/* ======================= 2c. Barre marque : logo + menu + recherche ==== */
.ni-brandbar { background: var(--ni-page); border-bottom: 1px solid var(--ni-rule); }
.ni-brandbar__inner { display: flex; align-items: center; gap: 32px; padding: 14px var(--ni-pad-x); max-width: 1440px; margin: 0 auto; }
.ni-brandbar__logo img { height: 80px; width: auto; display: block; }
/* recherche en bout de ligne à droite */
.ni-brandbar__search { margin-left: auto; flex: 0 1 300px; }
/* un seul cadre, sur le formulaire (le conteneur .search-widgets en avait un second → cadre dans le cadre, texte tronqué) */
.ni-brandbar__search .search-widgets { display: block; width: 100%; }
.ni-brandbar__search form { display: flex; align-items: center; width: 100%; border: 1px solid #d8cfbc; background: #fff; position: relative; }
.ni-brandbar__search input[type="text"],
.ni-brandbar__search input[name="s"] { flex: 1; border: 0; padding: 9px 12px 9px 36px; font-size: 12.5px; font-family: var(--ni-sans); background: transparent; width: 100%; }
.ni-brandbar__search .material-icons.search { position: absolute; left: 10px; font-size: 18px; color: var(--ni-text3); pointer-events: none; }
.ni-brandbar__search .material-icons.clear,
.ni-brandbar__search .clear { display: none !important; }

/* ======================= 2d. En-tête compact au défilement (> 900 px) ===
   Classe .is-compact posée par le script de header.tpl quand l'en-tête complet est sorti de l'écran.
   Bandeau pro conservé (mention | recherche centrée | compte + panier) + une ligne de menu seule, sans logo.
   La recherche reste dans le DOM de la barre marque (scripts ps_searchbar intacts) : seule sa position change. */
@media (min-width: 901px) {
  /* Hummingbird colle tout l'en-tête (#header.js-sticky-header, position: sticky) → remplacé par le mode compact */
  #header.header { position: relative; }
  .ni-hdr.is-compact .ni-hdr__bar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
    box-shadow: 0 2px 12px rgba(35, 36, 31, .12);
    animation: ni-hdr-in .2s ease-out;
  }
  .ni-hdr.is-compact .ni-topbar { height: 50px; padding-top: 0; padding-bottom: 0; }
  .ni-hdr.is-compact .ni-brandbar { position: static; }
  .ni-hdr.is-compact .ni-brandbar__inner { justify-content: center; padding-top: 10px; padding-bottom: 10px; }
  .ni-hdr.is-compact .ni-brandbar__logo { display: none; }
  /* recherche remontée au centre du bandeau (cadre positionné = .ni-hdr__bar fixe) */
  .ni-hdr.is-compact .ni-brandbar__search {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    height: 50px; width: clamp(260px, 32vw, 440px); margin: 0;
    display: flex; align-items: center;
  }
  .ni-hdr.is-compact .ni-brandbar__search form { border-color: transparent; }
  .ni-hdr.is-compact .ni-brandbar__search input[name="s"] { padding-top: 8px; padding-bottom: 8px; }
}
/* écrans moyens : la mention de gauche toucherait la recherche → masquée en mode compact */
@media (min-width: 901px) and (max-width: 1299.98px) {
  .ni-hdr.is-compact .ni-topbar .ni-tb-left { visibility: hidden; }
}
@keyframes ni-hdr-in { from { transform: translateY(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ni-hdr.is-compact .ni-hdr__bar { animation: none; }
}

/* ======================= 3. Menu de navigation ========================= */
.ni-nav {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.ni-nav a { font-size: 12.5px; text-transform: uppercase; font-weight: 500; letter-spacing: .06em; color: var(--ni-ink); white-space: nowrap; }
.ni-nav a:hover { color: var(--ni-peacock); }

/* Bouton hamburger + chevrons de sous-menu : mobile uniquement (activés ≤ 900 px) */
.ni-burger, .ni-nav__toggle { display: none; }
.ni-burger { flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--ni-rule); background: #fff; cursor: pointer; }
.ni-burger span { display: block; height: 2px; background: var(--ni-ink); transition: transform .2s, opacity .2s; }
.ni-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ni-burger.is-open span:nth-child(2) { opacity: 0; }
.ni-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Méga-menu (Collection Tahiti / Eau douce) : panneau compact ancré sous le lien, calqué sur la prod
   (~585 px, 4 colonnes, petites vignettes, libellés capitales, filet entre les deux groupes).
   Pont invisible (::before) + fermeture retardée (visibility .2s) pour traverser l'espace lien → panneau. */
.ni-brandbar { position: relative; z-index: 40; }
.ni-nav__item { position: relative; }
.ni-mega {
  position: absolute; left: -20px; top: calc(100% + 14px); width: 585px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 12px; padding: 20px;
  background: var(--ni-page); border-top: 2px solid var(--ni-ink); box-shadow: 0 6px 18px rgba(35, 36, 31, .12);
  visibility: hidden; opacity: 0; transition: opacity .15s ease, visibility 0s linear .2s;
}
.ni-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.ni-nav__item--has-sub:hover .ni-mega,
.ni-nav__item--has-sub:focus-within .ni-mega { visibility: visible; opacity: 1; transition-delay: 0s; }
.ni-nav__item--has-sub:hover > .ni-nav__link { color: var(--ni-peacock); }
.ni-mega__sep { grid-column: 1 / -1; border-top: 1px solid var(--ni-rule2); }
.ni-nav .ni-mega__cat { display: flex; flex-direction: column; align-items: center; gap: 6px; white-space: normal; }
.ni-mega__img { display: block; height: 56px; width: 100%; }
.ni-mega__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ni-mega__name { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 400; color: var(--ni-text); text-align: center; line-height: 1.3; }
.ni-mega__cat:hover .ni-mega__name { color: var(--ni-peacock); }

/* Vignettes produit (toutes les listes) : pas d'ajout direct au panier ni d'aperçu rapide — la plupart des
   produits ont des déclinaisons (taille, métal…) à choisir sur la fiche. La photo et le nom mènent à la fiche. */
.product-miniature__actions,
.product-miniature__quickview-button,
.product-miniature__quickview-touch { display: none !important; }

/* Listes produits avec colonne latérale (catégories, recherche…) : 4 par ligne au lieu de 3 (Hummingbird ≥ 1200 px). */
@media (min-width: 1200px) {
  .layout-left-column #js-product-list .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Page catégorie — colonne de gauche : photo de la catégorie + meilleures ventes (catalog/listing/category.tpl) */
.ni-catside__h1 { font-family: var(--ni-serif); font-size: 34px; font-weight: 500; line-height: 1.1; color: var(--ni-ink); margin: 0 0 18px; }
.ni-catside__cover { margin-bottom: 28px; border: 1px solid var(--ni-rule2); background: var(--ni-card); }
.ni-catside__cover img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.ni-catside__title { font-family: var(--ni-serif); font-size: 22px; font-weight: 500; color: var(--ni-ink); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ni-rule); }
.ni-best { list-style: none; margin: 0; padding: 0; counter-reset: ni-best; }
.ni-best li + li { border-top: 1px solid var(--ni-rule2); }
.ni-best__item { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--ni-ink); text-decoration: none; }
.ni-best__item img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--ni-rule2); }
.ni-best__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ni-best__name { font-size: 14px; line-height: 1.3; }
.ni-best__price { font-size: 13px; font-weight: 500; color: var(--ni-peacock); }
.ni-best__item:hover .ni-best__name { color: var(--ni-peacock); }

@media (max-width: 767.98px) {
  .ni-catside__cover, .ni-catside__best { display: none !important; }
  .ni-catside__h1 { font-size: 28px; margin-bottom: 8px; }
}

/* Page catégorie : les sous-catégories sont dans le méga-menu sur ordinateur → bloc Hummingbird masqué.
   Conservé sur mobile/tablette (pas de survol, le méga-menu y est désactivé). */
@media (min-width: 901px) {
  #category .subcategory { display: none; }
}

/* ======================= Layout sections =============================== */
.negoceiles-home section { padding-left: var(--ni-pad-x); padding-right: var(--ni-pad-x); }
.ni-section-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ni-rule); padding-bottom: 14px; margin-bottom: 26px; }
.ni-section-head h2 { font-size: 32px; font-weight: 600; margin: 0; }
.ni-section-head .ni-seeall { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ni-peacock); }

/* ======================= 4. Hero ======================================= */
.ni-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; padding: 0 !important; }
.ni-hero__text { padding: 76px 56px; display: flex; flex-direction: column; justify-content: center; }
.ni-hero__eyebrow { font-family: var(--ni-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .26em; color: var(--ni-peacock); margin-bottom: 22px; }
.ni-hero__title { font-family: var(--ni-serif); font-size: 56px; font-weight: 600; line-height: 1.06; margin: 0 0 22px; }
.ni-hero__lead { font-family: var(--ni-sans); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ni-text); max-width: 460px; margin: 0 0 28px; }
.ni-logincard { background: var(--ni-card); border: 1px solid var(--ni-rule); padding: 22px 24px; max-width: 440px; }
.ni-logincard__note { display: flex; gap: 10px; font-size: 13px; color: var(--ni-text); margin-bottom: 18px; }
.ni-logincard__note::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 4px; background: var(--ni-peacock); }
.ni-logincard__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ni-btn { display: inline-block; padding: 13px 22px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; border: 1px solid transparent; }
.ni-btn--dark { background: var(--ni-ink); color: #f7f4ef; }
.ni-btn--dark:hover { background: #000; }
.ni-btn--ghost { border-color: #c9bfa9; color: var(--ni-ink); }
.ni-btn--ghost:hover { border-color: var(--ni-peacock); color: var(--ni-peacock); }
.ni-hero__media { min-height: 460px; }

/* ======================= 5. Bandeau 4 arguments (cartes) =============== */
.ni-args { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 14px; padding-bottom: 8px; }
.ni-args__cell { padding: 26px 24px; background: var(--ni-card); border: 1px solid var(--ni-rule); text-align: center; }
.ni-args__cell h3 { font-family: var(--ni-serif); font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.ni-args__cell p { font-size: 12.5px; color: var(--ni-text3); margin: 0; }

/* ======================= 6. Nos collections =========================== */
.ni-collections { padding-top: var(--ni-section-y); }
.ni-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ni-tile { position: relative; height: 300px; overflow: hidden; background: #ece5d8 center/cover no-repeat; display: block; }
.ni-tile img,.ni-tile .ni-ph { width: 100%; height: 100%; object-fit: cover; }
.ni-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,20,15,.72)); }
.ni-tile__cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #f7f4ef; }
.ni-tile__tag { font-family: var(--ni-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.ni-tile__name { font-family: var(--ni-serif); font-size: 23px; font-weight: 600; margin-top: 4px; }

/* ======================= 7. Sélection de produits ===================== */
.ni-selection { padding-top: var(--ni-section-y); }
.ni-pricelock { border: 1px solid var(--ni-peacock); color: var(--ni-peacock); padding: 9px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.ni-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ni-pcard { background: var(--ni-card); border: 1px solid var(--ni-rule2); }
.ni-pcard__media { height: 220px; }
.ni-pcard__body { padding: 14px 15px 18px; }
.ni-pcard__name { font-family: var(--ni-serif); font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.ni-pcard__meta { display: flex; justify-content: space-between; align-items: baseline; }
.ni-pcard__ref { font-size: 12px; color: var(--ni-text3); }
.ni-pcard__price { color: var(--ni-peacock); font-weight: 500; }

/* Masquer le titre module redondant + lien "all products" anglais */
.ni-selection .ps-featuredproducts .section-title,
.ni-selection .ps-featuredproducts .module-products__footer,
.ni-selection .ps-featuredproducts .all-product-link,
.ni-selection .ps-featuredproducts .products-section-title { display: none !important; }
.ni-selection .ps-featuredproducts .module-products.container,
.ni-selection .ps-featuredproducts { padding-left: 0; padding-right: 0; }

/* Restyle des vignettes produit Hummingbird dans la sélection (flat, brief) */
.ni-selection .product-miniature,
.ni-selection .card,
.ni-selection .product-miniature .card { border-radius: 0 !important; box-shadow: none !important; border: 1px solid var(--ni-rule2) !important; background: var(--ni-card); }
.ni-selection .product-title,
.ni-selection .product-miniature .product-title a { font-family: var(--ni-serif); font-size: 18px; font-weight: 600; color: var(--ni-ink); }
.ni-selection .product-price-and-shipping .price,
.ni-selection .price { color: var(--ni-peacock); font-weight: 500; }
.ni-selection img { border-radius: 0 !important; }

/* ======================= 8. Savoir-faire & origine ==================== */
.ni-craft { background: var(--ni-ambient); padding: 56px !important; display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; margin-top: var(--ni-section-y); }
.ni-craft__media { min-height: 300px; height: 100%; background: #ece5d8 center/cover no-repeat; }
.ni-craft__eyebrow { font-family: var(--ni-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--ni-peacock); margin-bottom: 16px; }
.ni-craft h2 { font-family: var(--ni-serif); font-size: 40px; font-weight: 600; margin: 0 0 18px; }
.ni-craft p { font-family: var(--ni-sans); font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ni-text); }

/* ======================= 9. Chroniques (blog) ========================= */
.ni-chronicles { padding-top: var(--ni-section-y); }
.ni-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ni-acard { background: var(--ni-card); border: 1px solid var(--ni-rule2); display: flex; flex-direction: column; }
.ni-acard__media { display: block; height: 190px; background: #ece5d8 center/cover no-repeat; }
.ni-acard__title a { color: inherit; }
.ni-acard__body { padding: 16px 18px 20px; }
.ni-acard__date { font-family: var(--ni-mono); font-size: 10.5px; color: var(--ni-peacock); text-transform: uppercase; }
.ni-acard__title { font-family: var(--ni-serif); font-size: 21px; font-weight: 600; margin: 8px 0; }
.ni-acard__excerpt { font-size: 14px; color: var(--ni-text); line-height: 1.6; }
.ni-acard__link { display: inline-block; margin-top: 12px; font-size: 12.5px; color: var(--ni-peacock); text-transform: uppercase; letter-spacing: .06em; }

/* ======================= 10. Newsletter =============================== */
.ni-newsletter { background: var(--ni-dark); color: #e9e3d6; padding: 56px var(--ni-pad-x) !important; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-top: var(--ni-section-y); }
.ni-newsletter h2 { font-family: var(--ni-serif); font-size: 30px; font-weight: 600; margin: 0; color: #e9e3d6; }
.ni-newsletter form { display: flex; gap: 10px; }
.ni-newsletter input { background: #31322b; border: 0; color: #e9e3d6; padding: 13px 16px; font-size: 14px; min-width: 280px; font-family: var(--ni-sans); }
.ni-newsletter button { background: var(--ni-gold); color: var(--ni-ink); border: 0; padding: 13px 24px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; white-space: nowrap; }
/* widget ps_emailsubscription : mise en forme dans le bloc sombre */
/* (#116) pas de masquage du consentement RGPD ni des conditions de la newsletter : ils doivent rester visibles s'ils s'affichent */
.ni-newsletter form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ni-newsletter .form-group,
.ni-newsletter .input-wrapper { display: flex; gap: 10px; margin: 0; flex: 1; }
.ni-newsletter .alert { flex-basis: 100%; color: #e9e3d6; font-size: 13px; margin: 8px 0 0; }

/* Étiquette « Tarif pro » (prix masqués B2B) */
.ni-tarifpro { color: var(--ni-peacock); font-weight: 500; font-size: 14px; letter-spacing: .02em; }
.ni-selection .ni-tarifpro { font-size: 15px; }

/* ======================= 11. Footer =================================== */
.ni-footer { background: var(--ni-footer); color: var(--ni-footer-text); padding: 56px var(--ni-pad-x) 30px; }
.ni-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 30px; border-bottom: 1px solid var(--ni-footer-sep); }
.ni-footer__brand { font-family: var(--ni-serif); font-size: 26px; font-weight: 600; color: var(--ni-footer-title); margin-bottom: 14px; }
.ni-footer h4 { color: var(--ni-footer-title); font-family: var(--ni-sans); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.ni-footer a,.ni-footer p { color: var(--ni-footer-text); font-size: 13.5px; line-height: 1.9; }
.ni-footer a:hover { color: var(--ni-footer-title); }
.ni-footer__bottom { padding-top: 20px; font-size: 12px; color: var(--ni-footer-text); }

/* ======================= Responsive ================================== */
@media (max-width: 1024px) {
  :root { --ni-pad-x: 28px; }
  .ni-hero { grid-template-columns: 1fr; }
  .ni-hero__media { min-height: 320px; }
  .ni-args,.ni-tiles,.ni-products { grid-template-columns: repeat(2, 1fr); }
  .ni-articles { grid-template-columns: repeat(2, 1fr); }
  .ni-craft { grid-template-columns: 1fr; }
  .ni-hero__title { font-size: 42px; }
}
@media (max-width: 900px) {
  .ni-topbar { padding: 8px var(--ni-pad-x); font-size: 10px; }
  /* Compte pro + Panier restent accessibles : on masque la mention (déjà dans le héro), liens à droite. */
  .ni-topbar .ni-tb-left { display: none; }
  .ni-topbar .ni-tb-right { flex: 1 1 auto; gap: 16px; }
  .ni-topbar .ni-tb-right a { display: inline-block; padding: 6px 0; } /* zone tactile */
  .ni-brandbar__inner { flex-wrap: wrap; gap: 12px 14px; }
  .ni-brandbar__logo img { height: 60px; }
  /* Menu hamburger : une seule ligne logo | recherche (largeur restante) | bouton ☰ ; menu vertical déplié dessous */
  .ni-brandbar__logo { order: 1; flex: 0 0 auto; }
  /* base 0 : sinon la largeur « naturelle » du champ (~200 px) fait passer le bouton ☰ à la ligne */
  .ni-brandbar__search { order: 2; flex: 1 1 0; min-width: 0; margin-left: 0; }
  .ni-brandbar__search input[name="s"] { min-width: 0; text-overflow: ellipsis; }
  .ni-burger { display: inline-flex; order: 3; flex: 0 0 44px; margin-left: 0; }
  .ni-nav { order: 4; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--ni-rule); }
  .ni-nav.is-open { display: flex; }
  .ni-nav > a,
  .ni-nav .ni-nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--ni-rule2); white-space: normal; font-size: 13px; }
  .ni-nav__item { position: static; display: flex; flex-wrap: wrap; align-items: stretch; }
  .ni-nav__item > .ni-nav__link { flex: 1 1 auto; }
  .ni-nav__toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; border: 0; border-bottom: 1px solid var(--ni-rule2); background: none; color: var(--ni-ink); cursor: pointer; }
  .ni-nav__toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
  .ni-nav__item.is-open > .ni-nav__toggle::before { transform: rotate(-135deg); margin-top: 4px; }
  /* sous-catégories : liste de noms (sans vignettes), dépliée par le chevron */
  .ni-mega { display: none; position: static; width: 100%; flex: 1 1 100%; padding: 6px 0 12px 16px; grid-template-columns: 1fr 1fr; gap: 0 16px;
             border: 0; box-shadow: none; visibility: visible; opacity: 1; transition: none; }
  .ni-mega::before { display: none; }
  .ni-nav__item.is-open .ni-mega { display: grid; }
  .ni-mega__img { display: none; }
  .ni-nav .ni-mega__cat { align-items: flex-start; padding: 9px 0; }
  .ni-mega__name { text-align: left; font-size: 12.5px; }
  .ni-mega__sep { margin: 4px 0; }
}
@media (max-width: 640px) {
  .ni-topbar,.ni-header { flex-wrap: wrap; gap: 12px; }
  /* téléphone : liens Compte pro / Panier centrés */
  .ni-topbar { justify-content: center; row-gap: 2px; }
  .ni-topbar .ni-tb-right { flex: 1 1 100%; justify-content: center; gap: 28px; }
  /* téléphone : logo plus petit pour laisser de la place à la recherche sur la même ligne */
  .ni-brandbar__inner { gap: 12px 10px; padding: 10px 16px; }
  .ni-brandbar__logo img { height: 48px; }
  .ni-utilitybar__inner { flex-wrap: wrap; gap: 12px; }
  .ni-utilitybar__search { max-width: none; flex: 1 1 100%; order: 2; }
  .ni-utilitybar__actions { order: 1; margin-left: 0; }
  .ni-args,.ni-tiles,.ni-products,.ni-articles,.ni-footer__grid { grid-template-columns: 1fr; }
  .ni-hero__text { padding: 40px 24px; }
  .ni-hero__title { font-size: 34px; }
  .ni-newsletter { flex-direction: column; align-items: flex-start; }
}

/* --- Fiche produit : image à la taille de la prod (≈ 420 px de haut) ----- */
/* Hummingbird donne 55 % de la largeur à l'image (carrée) → ~713 px de haut. */
@media (min-width: 992px) {
  .page-product .product__container { grid-template-columns: 420px minmax(0, 1fr); gap: 48px; }
}
