/**
 * MH Guide — one stylesheet for the whole guide (mobile first).
 * Brand tokens shared with the shop (navy / orange, Roboto served by the shop).
 */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/themes/horeca-chr/assets/fonts/roboto-v29-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/themes/horeca-chr/assets/fonts/roboto-v29-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("/themes/horeca-chr/assets/fonts/roboto-v29-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 400; font-display: swap; src: url("/themes/horeca-chr/assets/fonts/roboto-v29-latin-italic.woff2") format("woff2"); }

:root {
  --navy: #0c193a;
  --navy-2: #1b2a52;
  --orange: #e65021;
  --orange-dark: #cf4419;
  --orange-soft: #fff3ee;
  --green: #1f9d55;
  --text: #3d4659;
  --muted: #7d8799;
  --line: #e6e9ef;
  --line-2: #d5dae3;
  --soft: #f5f7fa;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(12, 25, 58, .04), 0 12px 32px rgba(12, 25, 58, .07);
  --wrap: 1240px;
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 400 16px/1.6 Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
.mhg-ico { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.mhg-skip {
  position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
  color: #fff; background: var(--navy); border-radius: 10px; text-decoration: none;
}
.mhg-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.mhg-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Buttons & links ------------------------------------------------------ */
.mhg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  font-size: 15.5px; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.mhg-btn--primary { color: #fff; background: var(--orange); box-shadow: 0 8px 20px rgba(230, 80, 33, .22); }
.mhg-btn--primary:hover { background: var(--orange-dark); }
.mhg-btn--ghost { color: var(--navy); background: #fff; border-color: var(--line-2); }
.mhg-btn--ghost:hover { border-color: var(--navy); }
.mhg-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--orange); text-decoration: none;
}
.mhg-link:hover { text-decoration: underline; }

/* ===================================================================== */
/* Header                                                                 */
/* ===================================================================== */
.mhg-header { position: sticky; top: -58px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }

.mhg-topbar { display: none; color: rgba(255, 255, 255, .86); background: var(--navy); font-size: 12.5px; }
.mhg-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.mhg-topbar__usps, .mhg-topbar__right { display: flex; align-items: center; gap: 22px; }
.mhg-usp { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.mhg-usp .mhg-ico { color: #ff8a5c; }
.mhg-topbar__tel { font-weight: 700; color: #fff; text-decoration: none; }
.mhg-grating { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; white-space: nowrap; }
.mhg-grating:hover > span:last-child { text-decoration: underline; }
.mhg-grating__g { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #fff; border-radius: 50%; }
.mhg-grating strong small { font-size: .85em; font-weight: 500; opacity: .7; }
.mhg-grating__stars {
  position: relative; display: inline-block; width: 70px; height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23ffffff' fill-opacity='.28' d='M7 .6l1.9 4 4.3.4-3.3 2.9 1 4.3L7 9.9l-3.9 2.3 1-4.3L.8 5l4.3-.4z'/%3E%3C/svg%3E") 0 0 / 14px 13px repeat-x;
}
.mhg-grating__stars > span {
  position: absolute; inset: 0 auto 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 13'%3E%3Cpath fill='%23fbbc04' d='M7 .6l1.9 4 4.3.4-3.3 2.9 1 4.3L7 9.9l-3.9 2.3 1-4.3L.8 5l4.3-.4z'/%3E%3C/svg%3E") 0 0 / 14px 13px repeat-x;
}

/* HT / TTC switch (same localStorage key and html class as the shop) */
.mh-taxswitch { display: inline-flex; gap: 2px; padding: 2px; background: rgba(255, 255, 255, .1); border-radius: 999px; }
.mh-taxswitch button {
  height: 22px; padding: 0 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
  color: rgba(255, 255, 255, .72); background: transparent; border: 0; border-radius: 999px; cursor: pointer;
}
.mh-taxswitch button[aria-pressed="true"] { color: var(--navy); background: #fff; }
[data-mh-tax="incl"], html.mh-tax-incl [data-mh-tax="excl"] { display: none !important; }
html.mh-tax-incl [data-mh-tax="incl"] { display: inline !important; }

/* Main bar: phones = 2 rows (logo + icons / menu + search), desktop = 1 row */
.mhg-bar {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
  grid-template-areas: "brand brand acc cart" "menu search search search";
  align-items: center; gap: 6px 8px; padding-top: 8px; padding-bottom: 8px;
}
.mhg-brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; }
.mhg-logo { display: block; line-height: 0; }
.mhg-logo svg { width: auto; height: 38px; }
.mhg-brand__guide {
  padding: 4px 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--orange); background: var(--orange-soft); border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.mhg-burger {
  grid-area: menu; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: var(--navy); background: #f1f3f7; border: 0; border-radius: 12px; cursor: pointer;
}
.mhg-search { grid-area: search; position: relative; min-width: 0; max-width: none; margin: 0; --aa-search-input-height: 44px; }
.mhg-search__form, .mhg-search .aa-Form {
  position: relative; display: flex; align-items: center; height: var(--aa-search-input-height);
  background: #f1f3f7; border: 1px solid transparent; border-radius: 12px;
}
.mhg-search__form:focus-within, .mhg-search .aa-Form:focus-within { background: #fff; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(12, 25, 58, .08); }
.mhg-search__form .mhg-ico { position: absolute; left: 13px; color: var(--muted); pointer-events: none; }
.mhg-search__form input {
  width: 100%; height: 100%; padding: 0 12px 0 40px; font: inherit; font-size: 16px;
  color: var(--navy); background: transparent; border: 0; outline: none;
}
.mhg-search__form input::placeholder, .mhg-search .aa-Input::placeholder { color: #8a91a0; }
/* Algolia autocomplete: shop module styles, guide colours; 16px input so iOS does not zoom on focus */
.mhg-search .aa-Input { font-size: 16px; color: var(--navy); }
.mhg-search .aa-Form .aa-SubmitButton { color: var(--muted); }
.mhg-search .aa-Form [hidden] { display: none !important; }
.mhg-iconlink {
  grid-area: acc; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; color: var(--navy); text-decoration: none; border-radius: 12px;
}
.mhg-iconlink span { display: none; font-size: 14px; font-weight: 700; }
.mhg-cartlink {
  grid-area: cart; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; color: #fff; background: var(--orange); border-radius: 12px; text-decoration: none;
}
.mhg-cartlink__label { display: none; font-size: 14px; font-weight: 700; }
.mhg-cartlink__count {
  position: absolute; top: -6px; right: -6px; display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 5px; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
  color: #fff; background: var(--navy); border: 2px solid #fff; border-radius: 999px;
}

/* Rayons: drawer on phones */
.mhg-rayons {
  position: fixed; inset: 0 auto 0 0; z-index: 70; display: flex; flex-direction: column;
  width: min(88vw, 380px); background: #fff; transform: translateX(-102%);
  transition: transform .25s ease; box-shadow: 16px 0 40px rgba(12, 25, 58, .18); overflow-y: auto;
}
.mhg-rayons.is-open { transform: none; }
.mhg-backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(12, 25, 58, .45); }
.mhg-rayons__head {
  display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 12px 0 20px;
  font-size: 18px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line);
}
.mhg-rayons__close {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  color: var(--navy); background: #f1f3f7; border: 0; border-radius: 12px; cursor: pointer;
}
.mhg-rayons__list { margin: 0; padding: 0; list-style: none; }
/* Drawer screens, as the shop's mobile menu v2: rayons (image + name) › sub-category tiles › level-3 rows + products */
.mhg-rayons.is-deep { overflow: hidden; }
.mhg-rayon { position: relative; border-bottom: 1px solid var(--line); }
.mhg-rayon__link {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 56px 8px 16px;
  font-size: 15.5px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.mhg-rayon__thumb { display: block; flex: 0 0 auto; width: 44px; height: 44px; overflow: hidden; background: var(--soft); border-radius: 10px; }
.mhg-rayon__thumb img, .mhg-mm__thumb img, .mhg-mm__ithumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mhg-rayon__thumb img { object-fit: cover; mix-blend-mode: normal; }
.mhg-rayon__thumb img:not([src]), .mhg-mm__thumb img:not([src]), .mhg-mm__ithumb img:not([src]) { visibility: hidden; }
.mhg-rayon--sale .mhg-rayon__link { min-height: 52px; padding-left: 20px; color: var(--orange); background: #fff6f2; }
.mhg-rayon__toggle {
  position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 58px; color: var(--muted); background: none; border: 0; cursor: pointer;
}
.mhg-rayon__panel, .mhg-mm__pane { display: none; }
.mhg-rayon.is-open > .mhg-rayon__panel {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 2; display: block; width: min(88vw, 380px);
  overflow-y: auto; overscroll-behavior: contain; background: #fff; animation: mhg-slide-in .2s ease-out;
}
.mhg-rayon__panel.is-deep { overflow: hidden; }
@keyframes mhg-slide-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mhg-mm__head { display: none; }
.mhg-mm__mhead {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 0 12px 0 8px;
  font-size: 17px; font-weight: 800; color: var(--navy); background: #fff; border-bottom: 1px solid var(--line);
}
.mhg-mm__mhead span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mhg-mm__back {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 44px;
  color: var(--navy); background: none; border: 0; cursor: pointer; transform: rotate(180deg);
}
.mhg-mm__mall, .mhg-mm__pall {
  display: flex; align-items: center; gap: 6px; padding: 14px 16px; font-size: 15px; font-weight: 700;
  color: var(--orange); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mhg-mm__pall strong { font-weight: 700; }
.mhg-mm__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px 14px 24px; list-style: none; }
.mhg-mm__gl {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 128px;
  padding: 12px 8px; font-size: 13.5px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
}
.mhg-mm__thumb { display: block; width: 64px; height: 64px; }
.mhg-mm__group.is-open > .mhg-mm__pane {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 3; display: block; width: min(88vw, 380px);
  overflow-y: auto; overscroll-behavior: contain; background: #fff; animation: mhg-slide-in .2s ease-out;
}
.mhg-mm__items { margin: 0; padding: 6px 0; list-style: none; }
.mhg-mm__items a { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--soft); }
.mhg-mm__ithumb { display: block; flex: 0 0 auto; width: 44px; height: 44px; padding: 4px; background: var(--soft); border-radius: 10px; }
.mhg-mm__feat:not([hidden]) { display: block; padding: 14px 0 24px; background: var(--soft); }
.mhg-mm__ftitle { display: flex; align-items: center; gap: 8px; margin: 0 16px 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.mhg-mm__ftitle::before { content: ""; width: 8px; height: 8px; background: #22a55a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34, 165, 90, .15); }
.mhg-mm__fgrid { display: flex; gap: 10px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mhg-mm__fgrid::-webkit-scrollbar { display: none; }
.mhg-mm__fitem {
  display: flex; flex: 0 0 150px; flex-direction: column; gap: 6px; padding: 10px; color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; scroll-snap-align: start;
}
.mhg-mm__fimg { position: relative; display: block; height: 90px; }
.mhg-mm__fimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
.mhg-mm__fbadge { position: absolute; top: 0; left: 0; padding: 2px 7px; font-size: 11.5px; font-style: normal; font-weight: 800; color: #fff; background: var(--orange); border-radius: 7px; }
.mhg-mm__fname { display: -webkit-box; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mhg-mm__fprice { font-size: 14px; font-weight: 800; color: var(--navy); }
.mhg-mm__fprice small, .mhg-mm__fold { font-size: 11px; color: var(--muted); }
.mhg-mm__fprices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; }
.mhg-rayons__foot { display: grid; gap: 6px; margin-top: auto; padding: 18px 20px 24px; border-top: 1px solid var(--line); }
.mhg-rayons__foot a {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none;
}

/* Guide universes strip */
.mhg-subnav { background: var(--soft); border-bottom: 1px solid var(--line); }
.mhg-subnav__in {
  display: flex; gap: 6px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none;
}
.mhg-subnav__in::-webkit-scrollbar { display: none; }
.mhg-subnav__in > a {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  font-size: 13.5px; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.mhg-subnav__in > a:hover { border-color: var(--navy); }
.mhg-subnav__in > a.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.mhg-subnav__home { font-weight: 700 !important; color: var(--orange) !important; }

/* Guide mega menu */
.mhg-subnav { position: relative; z-index: 45; }
.mhg-subnav__btn, .mhg-subnav__more {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 10px 0 12px;
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--navy); white-space: nowrap; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s ease, background-color .15s ease;
}
.mhg-subnav__btn .mhg-ico, .mhg-subnav__more .mhg-ico { color: var(--muted); transition: transform .18s ease; }
.mhg-subnav__btn:hover, .mhg-subnav__btn.is-open { border-color: var(--navy); }
.mhg-subnav__btn.is-open .mhg-ico, .mhg-subnav__more[aria-expanded="true"] .mhg-ico { transform: rotate(180deg); }
.mhg-subnav__btn.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.mhg-subnav__btn.is-current .mhg-ico { color: rgba(255, 255, 255, .7); }
.mhg-subnav__btn.is-overflow { display: none; }
.mhg-subnav__more { font-weight: 700; color: var(--orange); background: transparent; border-style: dashed; border-color: #f0b8a5; }
.mhg-subnav__more:hover { background: var(--orange-soft); border-color: var(--orange); }
.mhg-subnav__more .mhg-ico { color: var(--orange); }
.mhg-subnav__more[hidden] { display: none; }

.mhg-upanel { position: absolute; top: 100%; left: 0; right: 0; }
.mhg-upanel[hidden] { display: none; }
.mhg-upanel > .mhg-wrap { padding: 0; }
.mhg-upanel__card {
  max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; padding: 16px;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(12, 25, 58, .16);
  animation: mhg-panel-in .18s ease-out;
}
@keyframes mhg-panel-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mhg-upanel__intro { margin-bottom: 10px; }
.mhg-upanel__title { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.mhg-upanel__count { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.mhg-upanel__desc, .mhg-upanel__all, .mhg-upanel__feat { display: none; }
.mhg-upanel__shop {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 700;
  color: var(--orange); text-decoration: none; background: var(--orange-soft); border-radius: 999px; transition: background-color .15s ease, color .15s ease;
}
.mhg-upanel__shop:hover { color: #fff; background: var(--orange); }
.mhg-upanel__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; }
.mhg-upanel__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px;
  text-decoration: none; border-radius: 10px; transition: background-color .12s ease;
}
.mhg-upanel__name { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--navy); }
.mhg-upanel__n { flex: 0 0 auto; font-size: 12.5px; color: var(--muted); }
.mhg-upanel__list a:hover { background: var(--soft); }
.mhg-upanel__list a:hover .mhg-upanel__name { color: var(--orange); }
@media (min-width: 640px) {
  .mhg-upanel__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
}

/* ===================================================================== */
/* Shared blocks                                                          */
/* ===================================================================== */
.mhg-main { display: block; min-height: 50vh; }
.mhg-crumbs { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.mhg-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.mhg-crumbs li { display: inline-flex; align-items: center; }
.mhg-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-2); }
.mhg-crumbs a { color: var(--muted); text-decoration: none; }
.mhg-crumbs a:hover { color: var(--orange); }
.mhg-crumbs [aria-current] { color: var(--text); }

.mhg-chip {
  display: inline-flex; align-items: center; height: 28px; padding: 0 12px; margin: 0 0 12px;
  font-size: 13px; font-weight: 700; color: var(--orange); background: var(--orange-soft);
  border-radius: 999px; text-decoration: none;
}
.mhg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mhg-chips a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  font-size: 14px; font-weight: 500; color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.mhg-chips a:hover { color: var(--orange); border-color: var(--orange); }

.mhg-section { padding-top: 40px; padding-bottom: 8px; }
.mhg-section--tight { padding-top: 24px; padding-bottom: 40px; }
.mhg-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin: 0 0 18px; }
.mhg-section__title { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); }
.mhg-section__title--sm { margin-bottom: 14px; font-size: 19px; }

.mhg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* Article card */
.mhg-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.mhg-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.mhg-card__media { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.mhg-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhg-card__noimg { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--line-2); }
.mhg-card__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.mhg-card__cat { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--orange); text-decoration: none; }
.mhg-card__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--navy); }
.mhg-card__title a { text-decoration: none; }
.mhg-card__title a::after { content: ""; position: absolute; inset: 0; }
.mhg-card { position: relative; }
.mhg-card__cat { position: relative; z-index: 1; }
.mhg-card__excerpt { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.mhg-card__meta { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 6px; font-size: 13px; color: var(--muted); }

/* Pagination */
.mhg-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 8px; }
.mhg-pager .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
  font-weight: 700; color: var(--navy); text-decoration: none; border: 1px solid var(--line-2); border-radius: 10px;
}
.mhg-pager .page-numbers.current { color: #fff; background: var(--navy); border-color: var(--navy); }
.mhg-pager .page-numbers.dots { border: 0; }

/* Hero (home, category, search…) */
.mhg-hero { padding: 22px 0 26px; background: linear-gradient(135deg, #f4f6fa 0%, #fbfcfd 60%, #fff4ef 100%); border-bottom: 1px solid var(--line); }
.mhg-hero__eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.mhg-hero__title { margin: 0 0 12px; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.mhg-hero__page { font-weight: 500; color: var(--muted); }
.mhg-hero__lead { max-width: 760px; margin: 0 0 18px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.mhg-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mhg-hero__search {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 8px 0 0;
  padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow);
}
.mhg-hero__search .mhg-ico { margin-left: 8px; color: var(--muted); }
.mhg-hero__search input { flex: 1; min-width: 0; height: 44px; font: inherit; font-size: 16px; color: var(--navy); border: 0; outline: none; background: transparent; }
.mhg-hero__search .mhg-btn { min-height: 44px; padding: 0 16px; box-shadow: none; }
.mhg-hero__univ { display: none; }

/* ===================================================================== */
/* Article                                                                */
/* ===================================================================== */
.mhg-article__head { padding-top: 22px; padding-bottom: 8px; }
.mhg-article__title { margin: 0 0 12px; font-size: 30px; font-weight: 700; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); }
.mhg-article__lead { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--text); }
.mhg-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.mhg-article__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.mhg-article__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.mhg-article__by { font-weight: 400; color: var(--muted); }
.mhg-avatar { border-radius: 50%; }

.mhg-article__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 14px; padding-bottom: 20px; }
.mhg-article__cover { margin: 0 0 22px; overflow: hidden; background: var(--soft); border-radius: var(--radius); aspect-ratio: 16 / 10; }
.mhg-article__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhg-article__side { display: none; }

/* Table of contents */
.mhg-toc { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; }
.mhg-toc--inline { margin: 0 0 24px; }
.mhg-toc--inline summary {
  display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  font-weight: 700; color: var(--navy); cursor: pointer; list-style: none;
}
.mhg-toc--inline summary::-webkit-details-marker { display: none; }
.mhg-toc__count { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--muted); }
.mhg-toc ol { margin: 0; padding: 0 16px 14px 34px; }
.mhg-toc li { margin: 0 0 6px; font-size: 14.5px; line-height: 1.4; }
.mhg-toc li::marker { color: var(--orange); font-weight: 700; }
.mhg-toc a { color: var(--text); text-decoration: none; }
.mhg-toc a:hover, .mhg-toc a.is-active { color: var(--orange); }
.mhg-toc a.is-active { font-weight: 700; }
.mhg-toc__title { display: flex; align-items: center; gap: 8px; margin: 0; padding: 14px 16px 10px; font-weight: 700; color: var(--navy); }

/* Prose */
.mhg-prose { font-size: 17px; line-height: 1.75; color: var(--text); overflow-wrap: break-word; }
.mhg-prose > *:first-child { margin-top: 0; }
.mhg-prose p { margin: 0 0 18px; }
.mhg-prose h2 { margin: 42px 0 14px; font-size: 25px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); }
.mhg-prose h3 { margin: 30px 0 10px; font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.mhg-prose h4 { margin: 24px 0 8px; font-size: 17px; font-weight: 700; color: var(--navy); }
.mhg-prose strong, .mhg-prose b { font-weight: 700; color: var(--navy); }
.mhg-prose a { font-weight: 500; color: var(--orange); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mhg-prose a:hover { color: var(--orange-dark); }
.mhg-prose ul, .mhg-prose ol { margin: 0 0 20px; padding-left: 24px; }
.mhg-prose li { margin: 0 0 8px; }
.mhg-prose li::marker { color: var(--orange); }
.mhg-prose img { display: block; max-width: 100%; height: auto; margin: 8px auto; border-radius: 12px; }
.mhg-prose figure { margin: 24px 0; }
.mhg-prose figcaption, .mhg-prose .wp-caption-text { margin-top: 6px; font-size: 14px; color: var(--muted); text-align: center; }
.mhg-prose .wp-caption { max-width: 100%; }
.mhg-prose blockquote { margin: 24px 0; padding: 16px 20px; background: var(--soft); border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; }
.mhg-prose blockquote p:last-child { margin-bottom: 0; }
.mhg-prose iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 24px 0; border: 0; border-radius: 14px; }
.mhg-prose .alignleft, .mhg-prose .alignright, .mhg-prose .aligncenter { float: none; margin: 16px auto; }
.mhg-table { margin: 24px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.mhg-prose table { width: 100%; min-width: 520px; margin: 0; font-size: 15px; line-height: 1.5; border-collapse: collapse; }
.mhg-prose th, .mhg-prose td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.mhg-prose th, .mhg-prose thead td { font-weight: 700; color: var(--navy); background: var(--soft); }
.mhg-prose tr:last-child td { border-bottom: 0; }

/* FAQ accordion */
.mhg-faq { margin: 40px 0 24px; }
.mhg-faq > h2 { margin-top: 0; }
.mhg-faq__item { margin: 0 0 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.mhg-faq__item summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.mhg-faq__item summary::-webkit-details-marker { display: none; }
.mhg-faq__item summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-left: auto;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(45deg) translateY(-3px);
}
.mhg-faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.mhg-faq__item summary h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.mhg-faq__a { padding: 0 16px 6px; }

/* Product cards (from the shop) */
.mhg-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px 0; }
.mhg-prod {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .15s ease, border-color .15s ease;
}
.mhg-prod:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.mhg-prod__media { position: relative; display: block; aspect-ratio: 1 / 1; padding: 10px; background: #fff; }
.mhg-prod__media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; border-radius: 0; }
.mhg-prod__discount {
  position: absolute; top: 8px; left: 8px; padding: 3px 8px; font-size: 12px; font-weight: 700;
  color: #fff; background: var(--orange); border-radius: 6px;
}
.mhg-prod__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 0 12px; }
.mhg-prod__meta { min-height: 18px; margin: 0 !important; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mhg-prod__name {
  display: -webkit-box; margin: 0 !important; font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--navy);
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.mhg-prose .mhg-prod__name a { font-weight: 700; color: var(--navy); text-decoration: none; }
.mhg-prose .mhg-prod__name a:hover { color: var(--orange); }
.mhg-prod__stock { display: flex; align-items: center; gap: 6px; margin: 2px 0 0 !important; font-size: 12.5px; line-height: 1.4; color: #b45309; }
.mhg-prod__stock::before { content: ""; width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.mhg-prod__stock--in { color: var(--green); }
.mhg-prod__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 10px 12px 12px; }
.mhg-prod__price { display: flex; flex-direction: column; margin: 0 !important; line-height: 1.2; }
.mhg-prod__price span { font-size: 18px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.mhg-prod__price small { margin-left: 4px; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mhg-prod__price s { order: -1; font-size: 12.5px; color: var(--muted); }
.mhg-prose .mhg-prod__btn {
  display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 40px; height: 40px;
  color: #fff; background: var(--navy); border-radius: 10px; text-decoration: none;
}
.mhg-prose .mhg-prod__btn:hover { color: #fff; background: var(--orange); }

/* Pros & cons (former JoomDev blocks) */
.mhg-pc { margin: 26px 0; }
.mhg-pc__title { margin: 0 0 10px; font-weight: 700; color: var(--navy); }
.mhg-pc__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mhg-pc__col { padding: 16px 18px 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mhg-pc__col--pros { border-top: 3px solid #1f9d55; }
.mhg-pc__col--cons { border-top: 3px solid #c0392b; }
.mhg-pc__head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; font-size: 15px; font-weight: 700; color: var(--navy); }
.mhg-pc__head::before {
  content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  font-size: 15px; line-height: 1; color: #fff; background: #1f9d55; border-radius: 50%;
}
.mhg-pc__col--cons .mhg-pc__head::before { content: "\2212"; background: #c0392b; }
.mhg-prose .mhg-pc ul { margin: 0 0 10px; padding: 0; list-style: none; }
.mhg-prose .mhg-pc li { position: relative; margin: 0 0 8px; padding-left: 20px; font-size: 15.5px; line-height: 1.55; }
.mhg-prose .mhg-pc li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; background: #1f9d55; border-radius: 50%; }
.mhg-prose .mhg-pc__col--cons li::before { background: #c0392b; }
.mhg-pc__verdict { margin: 12px 0 0; padding: 12px 16px; background: var(--soft); border-radius: 10px; }
.mhg-pc__cta { margin: 14px 0 0; }

/* Tables of the former TablePress / WP Table Builder */
.mhg-prose .mhg-tp--zebra tbody tr:nth-child(even) td { background: #fafbfc; }
.mhg-prose .mhg-tp td ul { margin: 0; padding-left: 18px; }
.mhg-prose .mhg-tp td li { margin: 0 0 4px; }
.mhg-prose .mhg-tp td p { margin: 0 0 6px; }
.mhg-prose .mhg-tp td p:last-child { margin-bottom: 0; }
.mhg-prose .mhg-tp tbody td:first-child { font-weight: 600; color: var(--navy); }

/* Shop call-to-action */
.mhg-shopcta { padding: 20px; background: var(--navy); border-radius: var(--radius); color: rgba(255, 255, 255, .86); }
.mhg-shopcta--inline { margin: 36px 0 28px; padding: 24px 20px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); }
.mhg-shopcta__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff8a5c; }
.mhg-shopcta__title { margin: 0 0 6px; font-size: 21px; font-weight: 700; line-height: 1.25; color: #fff; }
.mhg-shopcta__text { margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.mhg-shopcta .mhg-btn { width: 100%; }
.mhg-shopcta__perks { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13.5px; }
.mhg-shopcta__perks li { display: flex; align-items: center; gap: 8px; }
.mhg-shopcta__perks .mhg-ico { color: #ff8a5c; }

/* Author box */
.mhg-authorbox { display: flex; gap: 16px; margin: 0 0 12px; padding: 20px; background: var(--soft); border-radius: var(--radius); }
.mhg-authorbox .mhg-avatar { flex: 0 0 auto; width: 64px; height: 64px; }
.mhg-authorbox p { margin: 0; }
.mhg-authorbox__name { font-size: 17px; font-weight: 700; color: var(--navy); }
.mhg-authorbox__name a { text-decoration: none; }
.mhg-authorbox__role { margin: 2px 0 8px !important; font-size: 13.5px; font-weight: 500; color: var(--orange); }
.mhg-authorbox__bio { font-size: 14.5px; line-height: 1.6; }

/* Home: universes, shop band */
.mhg-univ { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mhg-univ__item { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 80px; }
.mhg-univ__title { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--navy); }
.mhg-univ ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mhg-univ a {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px;
  font-size: 14px; color: var(--navy); text-decoration: none; background: var(--soft); border-radius: 999px;
}
.mhg-univ a span { font-size: 12px; color: var(--muted); }
.mhg-univ a:hover { color: var(--orange); }
.mhg-shopband { display: grid; gap: 18px; padding: 24px 20px; color: rgba(255, 255, 255, .86); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border-radius: 20px; }
.mhg-shopband p { margin: 0; }
.mhg-shopband__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px !important; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ff8a5c; }
.mhg-shopband__title { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: #fff; }
.mhg-shopband__rayons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mhg-shopband__rayons a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px; font-size: 14px; font-weight: 500;
  color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
}
.mhg-shopband__rayons a:hover { background: rgba(255, 255, 255, .1); }

.mhg-authorhero { display: flex; gap: 18px; align-items: flex-start; }
.mhg-404__code { margin: 0; font-size: 72px; font-weight: 700; line-height: 1; color: var(--orange); }
.mhg-404 .mhg-chips { margin: 20px 0; }
.mhg-empty { padding: 24px; background: var(--soft); border-radius: var(--radius); }
.mhg-page { padding-top: 28px; padding-bottom: 40px; max-width: 820px; }

/* Reassurance + footer */
.mhg-reassure { margin-top: 48px; background: var(--soft); border-top: 1px solid var(--line); }
.mhg-reassure__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 24px; padding-bottom: 24px; }
.mhg-reassure__in > div { display: flex; gap: 12px; align-items: flex-start; color: var(--orange); }
.mhg-reassure p { display: flex; flex-direction: column; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text); }
.mhg-reassure strong { font-size: 15px; color: var(--navy); }
.mhg-footer { color: rgba(255, 255, 255, .78); background: var(--navy); font-size: 14.5px; }
.mhg-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-top: 40px; padding-bottom: 32px; }
.mhg-footer__brand { grid-column: 1 / -1; }
.mhg-footer__brand p { max-width: 460px; margin: 14px 0 18px; line-height: 1.6; }
.mhg-footer__logo { display: inline-block; padding: 10px 14px; background: #fff; border-radius: 12px; line-height: 0; }
.mhg-footer__logo svg { height: 40px; width: auto; }
.mhg-footer__title { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.mhg-footer ul { margin: 0; padding: 0; list-style: none; }
.mhg-footer li { margin: 0 0 8px; }
.mhg-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.mhg-footer a:hover { color: #fff; text-decoration: underline; }
.mhg-footer .mhg-btn { color: #fff; text-decoration: none; }
.mhg-footer__contact li { display: flex; flex-wrap: wrap; gap: 2px 8px; }
.mhg-footer__contact span { min-width: 70px; color: rgba(255, 255, 255, .55); }
.mhg-footer__contact a { font-weight: 700; color: #fff; }
.mhg-footer__bottom { padding: 16px 0; font-size: 13px; color: rgba(255, 255, 255, .5); border-top: 1px solid rgba(255, 255, 255, .1); }
.mhg-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.mhg-footer__legal a { color: rgba(255, 255, 255, .6); }
.mhg-footer__cookies { padding: 0; font-size: 13px; color: rgba(255, 255, 255, .6); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.mhg-footer__cookies:hover { color: #fff; }

/* Cookie notice plugin: keep it in the brand */
#cookie-notice .cn-button { border-radius: 10px !important; }

/* Phones: compact lists (image left, text right), products as a swipeable rail */
@media (max-width: 639.98px) {
  .mhg-card { flex-direction: row; align-items: stretch; }
  .mhg-card__media { flex: 0 0 112px; aspect-ratio: auto; min-height: 112px; }
  .mhg-card__body { padding: 10px 12px; gap: 4px; }
  .mhg-card__title { font-size: 15px; line-height: 1.3; }
  .mhg-card__excerpt { display: none; }
  .mhg-card__meta { padding-top: 2px; font-size: 12px; }
  .mhg-card__cat { font-size: 12px; }
  .mhg-grid { gap: 10px; }

  .mhg-products {
    display: flex; gap: 10px; margin: 22px -16px; padding: 0 16px 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .mhg-products::-webkit-scrollbar { display: none; }
  .mhg-prod { flex: 0 0 62%; scroll-snap-align: start; }
  .mhg-products[data-count="1"] .mhg-prod { flex-basis: 100%; flex-direction: row; }
  .mhg-products[data-count="1"] .mhg-prod__media { flex: 0 0 120px; }

  .mhg-authorbox { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .mhg-authorbox .mhg-avatar { width: 52px; height: 52px; }
  .mhg-authorbox > div { flex: 1 1 calc(100% - 64px); }
  .mhg-authorbox__bio { margin-left: -64px !important; padding-top: 4px; }

  .mhg-section { padding-top: 32px; }
  .mhg-section__title { font-size: 21px; }
}

/* ===================================================================== */
/* Tablet & desktop                                                        */
/* ===================================================================== */
@media (min-width: 640px) {
  .mhg-grid--2, .mhg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mhg-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .mhg-pc__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mhg-univ { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhg-reassure__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhg-hero__title { font-size: 34px; }
  .mhg-article__title { font-size: 36px; }
}

@media (min-width: 1024px) {
  html { scroll-padding-top: 76px; }
  .mhg-header { top: -115px; }
  .mhg-topbar { display: block; }
  .mhg-bar {
    grid-template-columns: auto minmax(280px, 560px) 1fr auto;
    grid-template-areas: "brand search acc cart"; gap: 24px; min-height: 76px;
  }
  .mhg-burger { display: none; }
  .mhg-logo svg { height: 46px; }
  .mhg-search { --aa-search-input-height: 46px; }
  .mhg-iconlink { justify-self: end; padding: 0 12px; }
  .mhg-iconlink span, .mhg-cartlink__label { display: inline; }
  .mhg-cartlink { padding: 0 18px; }
  .mhg-cartlink__count { position: static; min-width: 22px; height: 22px; padding: 0 6px; font-size: 12px; border: 0; color: var(--orange); background: #fff; }

  /* Rayons: horizontal bar with dropdown panels */
  .mhg-rayons {
    position: static; display: block; width: auto; transform: none; box-shadow: none; overflow: visible;
    border-top: 1px solid var(--line); transition: none;
  }
  .mhg-rayons__head, .mhg-rayons__foot, .mhg-rayon__toggle, .mhg-backdrop { display: none !important; }
  .mhg-rayons__list { display: flex; justify-content: space-between; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
  .mhg-rayon { position: static; border: 0; }
  .mhg-rayon__link {
    display: flex; align-items: center; height: 48px; padding: 0 10px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--navy);
    border-bottom: 3px solid transparent;
  }
  .mhg-rayon:hover > .mhg-rayon__link, .mhg-rayon:focus-within > .mhg-rayon__link { color: var(--orange); border-bottom-color: var(--orange); }
  .mhg-rayon--sale .mhg-rayon__link {
    align-self: center; height: 32px; margin-top: 8px; padding: 0 14px; color: #fff; background: var(--orange); border: 0; border-radius: 999px;
  }
  .mhg-rayon--sale:hover .mhg-rayon__link { color: #fff; background: var(--orange-dark); }
  /* Shop mega menu, same as the shop (v6): rayon header · sub-category tiles · pane (level-3 tiles + products) */
  .mhg-rayon__panel {
    position: absolute; top: 100%; z-index: 40; display: block;
    left: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); right: max(16px, calc((100% - var(--wrap)) / 2 + 16px));
    padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px;
    box-shadow: 0 30px 60px rgba(12, 25, 58, .18);
    opacity: 0; visibility: hidden; transition: opacity .15s ease .1s, visibility 0s linear .25s;
  }
  .mhg-rayon__thumb, .mhg-mm__mhead, .mhg-mm__mall { display: none !important; }
  .mhg-rayon__link, .mhg-rayon--sale .mhg-rayon__link { gap: 0; min-height: 0; }
  .mhg-mm__head { display: flex; }
  .mhg-mm__groups { padding: 2px; }
  .mhg-mm__gl { min-height: 0; justify-content: flex-start; font-size: 12.5px; font-weight: 600; }
  .mhg-mm__thumb, .mhg-mm__ithumb { padding: 0; background: none; border-radius: 0; }
  .mhg-mm__items { padding: 0; }
  .mhg-mm__items a { min-height: 0; border: 0; }
  .mhg-mm__feat:not([hidden]) { padding: 14px 0 0; background: none; }
  .mhg-mm__ftitle { margin: 0 0 10px; }
  .mhg-mm__fgrid { display: grid; padding: 0; overflow: visible; }
  .mhg-mm__fitem { flex: none; padding: 10px 12px 12px; }
  .mhg-mm__pall { display: inline-flex; padding: 0; border: 0; font-weight: 400; color: var(--navy); }
  .mhg-mm__pall strong { font-weight: 700; }
  /* page dimmed under the open panel, as on the shop (top = bottom of the header, set by guide.js) */
  .mhg-rayon.has-panel::after {
    content: ""; position: fixed; left: 0; right: 0; bottom: 0; top: var(--mhg-hb, 0); z-index: 39;
    background: rgba(12, 25, 58, .38); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .15s ease .1s, visibility 0s linear .25s;
  }
  .mhg-rayon.has-panel:hover::after { opacity: 1; visibility: visible; transition-delay: .1s, 0s; }
  .mhg-mm__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .mhg-mm__title { font-size: 15px; font-weight: 800; letter-spacing: .03em; color: var(--navy); }
  .mhg-mm__perks { display: flex; align-items: center; gap: 8px; margin: 0 6px 0 auto; padding: 0; list-style: none; }
  .mhg-mm__perks li {
    display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 600;
    color: var(--navy); white-space: nowrap; background: var(--soft); border-radius: 999px;
  }
  .mhg-mm__perks .mhg-ico { color: var(--orange); }
  .mhg-mm__all {
    display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; font-size: 13.5px; font-weight: 700;
    color: #fff; text-decoration: none; background: var(--navy); border-radius: 999px; transition: background-color .15s ease;
  }
  .mhg-mm__all:hover { color: #fff; background: var(--orange); }
  .mhg-mm__body { position: relative; min-height: min(556px, calc(100vh - 252px)); padding: 16px 0 18px 20px; }
  .mhg-mm__groups {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 8px;
    width: 396px; max-height: calc(100vh - 300px); padding: 2px; overflow-y: auto; scrollbar-width: thin;
  }
  .mhg-mm__group { position: static; }
  .mhg-mm__gl {
    display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 10px 6px;
    font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--navy);
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    transition: border-color .12s ease, background-color .12s ease, box-shadow .12s ease;
  }
  .mhg-mm__gl:hover { color: var(--navy); border-color: var(--line-2); }
  .mhg-mm__group.is-active > .mhg-mm__gl { background: #fff8f3; border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
  .mhg-mm__gname { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mhg-mm__thumb, .mhg-mm__ithumb { display: block; flex: 0 0 auto; width: 64px; height: 64px; }
  .mhg-mm__thumb img, .mhg-mm__ithumb img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
  .mhg-mm__thumb img:not([src]), .mhg-mm__ithumb img:not([src]) { visibility: hidden; }
  .mhg-mm__gl:hover .mhg-mm__thumb img, .mhg-mm__group.is-active .mhg-mm__thumb img { transform: scale(1.06); }
  .mhg-mm__pane { position: absolute; top: 16px; left: 434px; right: 0; bottom: 18px; padding: 0 24px 0 26px; overflow-y: auto; border-left: 1px solid var(--line); }
  .mhg-mm__group.is-active > .mhg-mm__pane { display: flex; flex-direction: column; }
  .mhg-mm__pall { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 2px 0 14px; font-size: 16px; color: var(--navy); text-decoration: none; }
  .mhg-mm__pall .mhg-ico { color: var(--orange); }
  .mhg-mm__pall:hover { color: var(--orange); }
  .mhg-mm__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 6px; margin: 0; }
  .mhg-mm__items a {
    display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; padding: 8px 6px 10px;
    font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--navy); text-decoration: none;
    border-radius: 12px; transition: background-color .15s ease, color .15s ease;
  }
  .mhg-mm__items a:hover { color: var(--orange); background: var(--soft); }
  .mhg-mm__items a:hover .mhg-mm__ithumb img { transform: scale(1.08); }
  .mhg-mm__iname { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mhg-mm__items.is-many { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 8px; }
  .mhg-mm__items.is-many a { flex-direction: row; gap: 10px; padding: 4px 8px; text-align: left; }
  .mhg-mm__items.is-many .mhg-mm__ithumb { width: 40px; height: 40px; }
  .mhg-mm__feat:not([hidden]) { display: block; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
  .mhg-mm__ftitle { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
  .mhg-mm__ftitle::before { content: ""; width: 8px; height: 8px; background: #22a55a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34, 165, 90, .15); }
  .mhg-mm__fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .mhg-mm__fitem {
    display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 12px; color: var(--navy); text-decoration: none;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  }
  .mhg-mm__fitem:hover { color: var(--navy); border-color: var(--line-2); box-shadow: 0 10px 24px rgba(12, 25, 58, .12); transform: translateY(-2px); }
  .mhg-mm__fimg { position: relative; display: block; height: 92px; }
  .mhg-mm__fimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .mhg-mm__fbadge { position: absolute; top: 0; left: 0; padding: 2px 7px; font-size: 11.5px; font-style: normal; font-weight: 800; color: #fff; background: var(--orange); border-radius: 7px; }
  .mhg-mm__fname { display: -webkit-box; min-height: 2.7em; overflow: hidden; font-size: 12.5px; font-weight: 600; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mhg-mm__fprices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: auto; }
  .mhg-mm__fprice { font-size: 15px; font-weight: 800; color: var(--navy); }
  .mhg-mm__fprice small { font-size: 11px; font-weight: 600; color: var(--muted); }
  .mhg-mm__fold { font-size: 12px; color: var(--muted); }
  .mhg-rayon:hover > .mhg-rayon__panel, .mhg-rayon:focus-within > .mhg-rayon__panel { z-index: 41; opacity: 1; visibility: visible; transition-delay: .1s, 0s; }
  /* Universes strip: one line, the pills that do not fit go behind "Voir plus" (assets/js/guide.js) */
  .mhg-subnav__in { flex-wrap: wrap; row-gap: 8px; overflow: visible; }
  .mhg-subnav__in.is-expanded .mhg-subnav__btn.is-overflow { display: inline-flex; }
  .mhg-subnav__more { margin-left: auto; } /* right edge lined up with the cart and SOLDES */
  /* Mega menu: universe card | themes | latest guide */
  .mhg-upanel > .mhg-wrap { padding: 0 16px; }
  .mhg-upanel__card {
    display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; margin: 0; padding: 22px;
    border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: 0 30px 60px rgba(12, 25, 58, .18);
  }
  .mhg-upanel__card.has-feat { grid-template-columns: 260px minmax(0, 1fr) 236px; }
  .mhg-upanel__intro { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 22px; background: var(--soft); border-radius: 16px; }
  .mhg-upanel__title { font-size: 22px; }
  .mhg-upanel__desc { display: block; }
  .mhg-upanel__shop { align-self: stretch; justify-content: center; margin: 8px 0 0; padding: 10px 14px; line-height: 1.3; text-align: center; color: #fff; background: var(--orange); border-radius: 12px; }
  .mhg-upanel__shop:hover { background: var(--orange-dark); }
  .mhg-upanel__all {
    display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 6px 0;
    font-size: 14px; font-weight: 700; color: var(--navy); text-decoration: none;
  }
  .mhg-upanel__all:hover { color: var(--orange); }
  .mhg-upanel__list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; }
  .mhg-upanel__list a { flex-direction: column; gap: 1px; padding: 9px 12px; }
  .mhg-upanel__list.is-long { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhg-upanel__list.is-long a { padding: 6px 10px; }
  .mhg-upanel__list.is-long .mhg-upanel__name { font-size: 14px; }
  .mhg-upanel__name { font-size: 14.5px; }
  .mhg-upanel__n { font-size: 12px; }
  .mhg-upanel__feat { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
  .mhg-upanel__img { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); border-radius: 14px; }
  .mhg-upanel__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
  .mhg-upanel__feat:hover img { transform: scale(1.04); }
  .mhg-upanel__tag { margin-top: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
  .mhg-upanel__ftitle { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--navy); }
  .mhg-upanel__feat:hover .mhg-upanel__ftitle { color: var(--orange); }

  .mhg-hero { padding: 30px 0 34px; }
  .mhg-hero--home { padding: 44px 0 46px; }
  .mhg-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: center; }
  .mhg-hero--home .mhg-hero__title { font-size: 42px; }
  .mhg-hero__univ { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
  .mhg-hero__univ a {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 16px;
    font-weight: 700; color: var(--navy); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px;
  }
  .mhg-hero__univ a:hover { border-color: var(--orange); color: var(--orange); }

  .mhg-article__head { padding-top: 30px; }
  .mhg-article__title { max-width: 900px; font-size: 42px; }
  .mhg-article__lead { max-width: 820px; font-size: 19px; }
  .mhg-article__grid { grid-template-columns: minmax(0, 760px) 320px; justify-content: space-between; gap: 48px; }
  .mhg-article__side { display: block; }
  .mhg-sticky { position: sticky; top: 72px; display: grid; gap: 16px; max-height: calc(100vh - 92px); overflow-y: auto; scrollbar-width: thin; }
  .mhg-toc--inline { display: none; }
  .mhg-shopcta--side .mhg-shopcta__title { font-size: 19px; }
  .mhg-shopcta--inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; padding: 28px; }
  .mhg-shopcta--inline .mhg-btn { grid-column: 2; grid-row: 1 / span 3; width: auto; }
  .mhg-shopcta--inline .mhg-shopcta__perks { display: flex; gap: 18px; }

  .mhg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .mhg-univ { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .mhg-section { padding-top: 56px; }
  .mhg-section__title { font-size: 28px; }
  .mhg-shopband { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; padding: 36px; }
  .mhg-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; padding-top: 56px; }
  .mhg-footer__brand { grid-column: auto; }
}

@media (min-width: 1024px) and (max-width: 1239.98px) {
  .mhg-topbar .mhg-usp:nth-of-type(n + 2) { display: none; }
  .mhg-iconlink span { display: none; }
  .mhg-bar { gap: 16px; }
  .mhg-rayon__link { padding: 0 6px; font-size: 13px; letter-spacing: 0; text-transform: none; }
}

@media (min-width: 1024px) {
  .mhg-rayon__link, .mhg-topbar__tel, .mhg-iconlink span { white-space: nowrap; }
}

@media (min-width: 1240px) {
  .mhg-univ { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===================================================================== */
/* Category hub                                                            */
/* ===================================================================== */
.mhg-cathero {
  padding: 18px 0 24px; border-bottom: 1px solid var(--line);
  background: radial-gradient(1200px 400px at 85% -10%, #ffe9df 0%, rgba(255, 233, 223, 0) 60%), linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
}
.mhg-cathero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.mhg-cathero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.mhg-cathero__eyebrow a { color: inherit; text-decoration: none; }
.mhg-cathero__eyebrow a:hover { text-decoration: underline; }
.mhg-cathero__eyebrow span { color: var(--line-2); }
.mhg-cathero__title { margin: 0 0 12px; font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; color: var(--navy); }
.mhg-cathero__lead { max-width: 720px; margin: 0 0 16px; font-size: 16.5px; line-height: 1.6; color: var(--text); }
.mhg-cathero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.mhg-cathero__facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13.5px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.mhg-cathero__facts .mhg-ico { color: var(--orange); }
.mhg-cathero__facts strong { color: var(--navy); }
.mhg-cathero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mhg-cathero__actions .mhg-btn--primary { flex: 1 1 100%; justify-content: center; }
.mhg-catfeat {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px;
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.mhg-catfeat:hover { transform: translateY(-2px); }
.mhg-catfeat__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--soft); border-radius: 12px; }
.mhg-catfeat__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhg-catfeat__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mhg-catfeat__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.mhg-catfeat__title { font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.mhg-catfeat:hover .mhg-catfeat__title { color: var(--orange); }
.mhg-catfeat__meta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }

.mhg-catshop { padding-top: 28px; }
.mhg-catshop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.mhg-catshop__eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.mhg-catshop__title { margin: 0; font-size: 21px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.mhg-catshop__all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--orange); text-decoration: none; white-space: nowrap; }
.mhg-catshop__all:hover { text-decoration: underline; }
.mhg-catshop .mhg-products { margin: 14px 0 12px; }
.mhg-prod__name a { text-decoration: none; }
.mhg-prod__name a:hover { color: var(--orange); }
.mhg-catshop__perks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; font-size: 13px; color: var(--muted); list-style: none; }
.mhg-catshop__perks li { display: inline-flex; align-items: center; gap: 6px; }
.mhg-catshop__perks .mhg-ico { color: var(--green); }

.mhg-catguide { padding-top: 32px; scroll-margin-top: 80px; }
.mhg-catguide__label {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 16px; padding: 5px 12px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; color: var(--navy); background: var(--soft); border-radius: 999px;
}
.mhg-js .mhg-readmore:not(.is-open) .mhg-readmore__body { max-height: 640px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.mhg-readmore__btn { display: none; }
.mhg-js .mhg-readmore:not(.is-open):not(.is-short) .mhg-readmore__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 8px 0 0; padding: 14px 18px;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--navy); cursor: pointer;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .15s ease, color .15s ease;
}
.mhg-readmore__btn:hover { color: var(--orange); border-color: var(--orange); }
.mhg-readmore.is-short .mhg-readmore__body { max-height: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.mhg-toc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--orange); text-decoration: none; border-top: 1px solid var(--line); width: 100%; }

.mhg-catposts { margin-top: 36px; padding: 32px 0 28px; background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.mhg-catposts__count { font-size: 14px; color: var(--muted); }
.mhg-catposts .mhg-card { background: #fff; }

.mhg-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.mhg-themes a {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.mhg-themes a:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.mhg-themes span { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.mhg-themes a:hover span { color: var(--orange); }
.mhg-themes small { font-size: 12.5px; color: var(--muted); }

@media (min-width: 640px) {
  .mhg-cathero__actions .mhg-btn--primary { flex: 0 0 auto; }
  .mhg-catfeat { grid-template-columns: 180px minmax(0, 1fr); }
  .mhg-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mhg-grid--rows { grid-template-columns: minmax(0, 1fr); }
  .mhg-card--row { flex-direction: row; }
  .mhg-card--row .mhg-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
}
@media (min-width: 1024px) {
  .mhg-cathero { padding: 26px 0 36px; }
  .mhg-cathero__grid.has-feat { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
  .mhg-cathero__title { font-size: 44px; }
  .mhg-cathero__lead { font-size: 17.5px; }
  .mhg-catfeat { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 22px; }
  .mhg-catfeat__img { aspect-ratio: 16 / 10; border-radius: 0; }
  .mhg-catfeat__body { gap: 6px; padding: 16px 20px 18px; }
  .mhg-catfeat__title { font-size: 18px; }
  .mhg-catshop { padding-top: 40px; }
  .mhg-catshop__title { font-size: 26px; }
  .mhg-catshop .mhg-products, .mhg-homeshop .mhg-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .mhg-catshop .mhg-prod:nth-child(n+6), .mhg-homeshop .mhg-prod:nth-child(n+6) { display: none; } /* one row of 5 on desktop, the phone rail keeps all 10 */
  .mhg-catguide { padding-top: 44px; }
  .mhg-catposts { margin-top: 56px; padding: 48px 0 40px; }
  .mhg-grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .mhg-themes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}

/* ===================================================================== */
/* Guide home                                                              */
/* ===================================================================== */
.mhg-homehero .mhg-hero__search { max-width: 640px; margin: 0 0 12px; }
.mhg-homehero__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 13.5px; }
.mhg-homehero__topics span { margin-right: 2px; color: var(--muted); }
.mhg-homehero__topics a {
  padding: 4px 11px; font-weight: 600; color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s ease, color .15s ease;
}
.mhg-homehero__topics a:hover { color: var(--orange); border-color: var(--orange); }
.mhg-homehero .mhg-cathero__facts { margin-bottom: 0; }

.mhg-ucards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mhg-ucard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 90px; }
.mhg-ucard__media { position: relative; aspect-ratio: 5 / 2; overflow: hidden; background: var(--navy); }
.mhg-ucard__media img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s ease; }
.mhg-ucard:hover .mhg-ucard__media img { transform: scale(1.04); }
.mhg-ucard__cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 12px; color: #fff;
  background: linear-gradient(transparent, rgba(12, 25, 58, .88));
}
.mhg-ucard__title { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.2; color: #fff; }
.mhg-ucard__cap p { margin: 2px 0 0; font-size: 13px; opacity: .85; }
.mhg-ucard__list { margin: 0; padding: 8px 8px 0; list-style: none; }
.mhg-ucard__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 10px;
  font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; border-radius: 10px;
}
.mhg-ucard__list a span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.mhg-ucard__list a:hover { color: var(--orange); background: var(--soft); }
.mhg-ucard__more { margin: 0 0 8px; }
.mhg-ucard__more summary {
  display: inline-flex; margin: 4px 18px 8px; font-size: 13.5px; font-weight: 700; color: var(--orange); cursor: pointer; list-style: none;
}
.mhg-ucard__more summary::-webkit-details-marker { display: none; }
.mhg-ucard__more[open] summary { display: none; }
.mhg-ucard > .mhg-ucard__list:last-child { padding-bottom: 8px; }

.mhg-mag { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.mhg-mag__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: mag 1; }
.mhg-mag__list a {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px;
  text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.mhg-mag__list a:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.mhg-mag__img { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 11; background: var(--soft); border-radius: 10px; }
.mhg-mag__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhg-mag__list li { counter-increment: mag; }
.mhg-mag__img::before {
  content: counter(mag); position: absolute; top: 6px; left: 6px; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--orange); border-radius: 50%;
}
.mhg-mag__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mhg-mag__cat { font-size: 12px; font-weight: 700; color: var(--orange); }
.mhg-mag__title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.mhg-mag__list a:hover .mhg-mag__title { color: var(--orange); }

.mhg-homeshop { margin-top: 40px; padding: 30px 0; background: linear-gradient(180deg, #fff4ef 0%, #fff 100%); border-top: 1px solid #f6dccf; }
.mhg-homeshop .mhg-products { margin: 14px 0 16px; }
.mhg-homeshop__rayons { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.mhg-homeshop__rayons a {
  display: inline-flex; padding: 7px 14px; font-size: 13.5px; font-weight: 700; color: var(--navy); text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; transition: border-color .15s ease, color .15s ease;
}
.mhg-homeshop__rayons a:hover { color: var(--orange); border-color: var(--orange); }

.mhg-expert {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px;
  background: var(--soft); border: 1px solid var(--line); border-radius: 20px;
}
.mhg-expert .mhg-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.mhg-expert__eyebrow { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.mhg-expert__name { margin: 0 0 6px; font-size: 18px; font-weight: 800; color: var(--navy); }
.mhg-expert__name span { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.mhg-expert__bio { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
.mhg-expert__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange); text-decoration: none; }

@media (min-width: 640px) {
  .mhg-ucards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhg-ucard__media { aspect-ratio: 16 / 7; }
  .mhg-expert { grid-template-columns: 88px minmax(0, 1fr); gap: 22px; padding: 26px 28px; }
  .mhg-expert .mhg-avatar { width: 88px; height: 88px; }
}
@media (min-width: 1024px) {
  .mhg-homehero .mhg-cathero__title { font-size: 42px; }
  .mhg-ucards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .mhg-ucard__media { aspect-ratio: 16 / 9; }
  .mhg-mag { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
  .mhg-card--big .mhg-card__title { font-size: 24px; }
  .mhg-card--big .mhg-card__body { padding: 20px 24px 22px; }
  .mhg-card--big .mhg-card__excerpt { font-size: 15.5px; }
  .mhg-mag__list a { grid-template-columns: 150px minmax(0, 1fr); }
  .mhg-mag__title { font-size: 16px; }
  .mhg-homeshop { margin-top: 56px; padding: 44px 0 40px; }
}

/* ===================================================================== */
/* Article                                                                 */
/* ===================================================================== */
.mhg-ucard__media { display: block; text-decoration: none; }
.mhg-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.mhg-progress span { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.mhg-arthero {
  padding: 18px 0 24px; border-bottom: 1px solid var(--line);
  background: radial-gradient(1200px 400px at 85% -10%, #ffe9df 0%, rgba(255, 233, 223, 0) 60%), linear-gradient(180deg, #f5f7fa 0%, #fff 100%);
}
.mhg-arthero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.mhg-arthero__title { margin: 0 0 12px; font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.mhg-arthero__lead { margin: 0 0 18px; font-size: 17px; line-height: 1.6; color: var(--text); }
.mhg-arthero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.mhg-arthero__author { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.mhg-arthero__author .mhg-avatar { width: 44px; height: 44px; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(12, 25, 58, .12); }
.mhg-arthero__author strong { display: block; font-size: 15px; color: var(--navy); }
.mhg-arthero__author small { display: block; font-size: 12.5px; color: var(--muted); }
.mhg-arthero__author:hover strong { color: var(--orange); }
.mhg-arthero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mhg-arthero__facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13.5px; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.mhg-arthero__facts .mhg-ico { color: var(--orange); }
.mhg-arthero__cover { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); border-radius: 18px; box-shadow: var(--shadow); }
.mhg-arthero__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mhg-article .mhg-article__grid { padding-top: 28px; }

.mhg-toc__pct { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mhg-sideshop { padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mhg-sideshop__title { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); }
.mhg-sideshop .mhg-products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 12px 0 14px; }
.mhg-sideshop .mhg-prod:nth-child(n+4) { display: none; }
.mhg-sideshop .mhg-prod {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px;
  padding: 8px; border-radius: 12px;
}
.mhg-sideshop .mhg-prod__media { grid-row: 1 / 3; align-self: center; aspect-ratio: 1; padding: 0; }
.mhg-sideshop .mhg-prod__media img { width: 100%; height: 100%; object-fit: contain; }
.mhg-sideshop .mhg-prod__discount { top: 2px; left: 2px; padding: 1px 5px; font-size: 10.5px; }
.mhg-sideshop .mhg-prod__body { padding: 0; gap: 2px; }
.mhg-sideshop .mhg-prod__meta, .mhg-sideshop .mhg-prod__stock, .mhg-sideshop .mhg-prod__btn { display: none; }
.mhg-sideshop .mhg-prod__name { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mhg-sideshop .mhg-prod__foot { padding: 2px 0 0; border: 0; }
.mhg-sideshop .mhg-prod__price { font-size: 14px; }
.mhg-sideshop .mhg-btn { width: 100%; justify-content: center; }

.mhg-authorbox { margin-top: 8px; padding: 22px; border: 1px solid var(--line); }
.mhg-authorbox .mhg-avatar { border-radius: 50%; }
.mhg-authorbox__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.mhg-authorbox__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--orange); text-decoration: none; }
.mhg-themes a.is-current { background: var(--navy); border-color: var(--navy); }
.mhg-themes a.is-current span { color: #fff; }
.mhg-themes a.is-current small { color: rgba(255, 255, 255, .7); }

.mhg-shopbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(12, 25, 58, .12); transform: translateY(110%); transition: transform .25s ease;
}
.mhg-shopbar[hidden] { display: none; }
.mhg-shopbar.is-visible { transform: none; }
.mhg-shopbar__text { min-width: 0; }
.mhg-shopbar__text small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); }
.mhg-shopbar__text strong { display: block; overflow: hidden; font-size: 15px; color: var(--navy); white-space: nowrap; text-overflow: ellipsis; }
.mhg-shopbar .mhg-btn { flex: 0 0 auto; min-height: 44px; padding: 0 16px; }

@media (min-width: 1024px) {
  .mhg-shopbar { display: none !important; }
  .mhg-arthero { padding: 26px 0 40px; }
  .mhg-arthero__grid.has-cover { grid-template-columns: minmax(0, 1fr) 540px; gap: 52px; align-items: center; }
  .mhg-arthero__title { font-size: 40px; }
  .mhg-arthero__lead { font-size: 18px; }
  .mhg-arthero__cover { border-radius: 22px; }
  .mhg-article .mhg-article__grid { padding-top: 40px; }
}

/* Universe pages + links to them */
.mhg-upanel__title a { color: inherit; text-decoration: none; }
.mhg-upanel__title a:hover { color: var(--orange); }
.mhg-ucard__all {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding: 12px 18px;
  font-size: 14px; font-weight: 700; color: var(--orange); text-decoration: none; border-top: 1px solid var(--line);
}
.mhg-ucard__all:hover { background: var(--orange-soft); }
.mhg-themes--lg a { padding: 14px 16px; }
.mhg-themes--lg span { font-size: 15px; }

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