/* Catalogue redesign — 08/10/2026. Visual reference: PHASE-4/design-system/maquette-catalogue-gogo.html (re-implemented,
   no code copied). Loaded after the approved design system: overrides a few tokens and adds the new components.
   Logical properties only (RTL works without extra rules); touch targets ≥ 44 px; text contrast ≥ 4.5:1:
   colours: tokens of identity.css (contrast table there). */

:root {
  /* colour tokens: see identity.css (« Noir & Rouge », single source of truth) */
  --gi-font-latin: "Source Sans 3", Arial, sans-serif;
}

.gi-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header — look of 08/10/2026 (client reference: black top bar, gold icons, logo card, uppercase menu inline,
   icon tools, gold underline on the current page). Since 09/10/2026 the accents are the red of identity.css (icons, underline); the quote button uses the primary action. ---------- */
.gi-header { position: relative; border-block-end: var(--gi-border-w) solid var(--gi-border-color); }

/* Top bar: centred, evenly spaced, uppercase bold white text, gold icons */
.gi-topbar { background: var(--gi-topbar-bg); color: #FFFFFF; font-size: 14px; }
.gi-topbar__in { max-width: var(--gi-container-max); margin-inline: auto; justify-content: center; gap: 2px 56px; min-height: 48px; }
.gi-topbar .gi-sp { display: none; }
.gi-topbar__item, .gi-topbar__ctl { gap: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.gi-topbar__ctl { text-decoration: none; }
.gi-topbar__ctl:hover { text-decoration: underline; text-underline-offset: 3px; }
.gi-topbar svg { color: var(--gi-red); width: 18px; height: 18px; flex: none; }
.gi-topbar .gi-l-pop__panel { text-transform: none; font-weight: 400; letter-spacing: 0; }

/* Main row: logo card · menu inline · icon tools · quote button */
.gi-header__main { max-width: var(--gi-container-max); margin-inline: auto; min-height: 104px; gap: 24px; padding-inline: 24px; }
.gi-logo--card { padding: 10px 14px; background: #FFFFFF; border-radius: 12px; box-shadow: 0 2px 12px rgba(17, 17, 17, .14); }
.gi-logo--card svg, .gi-logo--card .gi-logo__img { height: 38px; width: auto; display: block; }
.gi-header__main > .gi-nav { flex: 1 1 auto; justify-content: center; flex-wrap: wrap; gap: 4px 36px; padding: 0; border: 0; min-width: 0; }
.gi-header__main .gi-nav__link { padding: 0; min-height: 44px; font-size: 16px; font-weight: 700; color: var(--gi-ink); text-transform: uppercase; letter-spacing: .01em; box-shadow: none; }
.gi-header__main .gi-nav__link:hover { color: var(--gi-ink); box-shadow: inset 0 -3px 0 var(--gi-border-control); }
.gi-header__main .gi-nav__link[aria-current="page"] { color: var(--gi-ink); box-shadow: inset 0 -3px 0 var(--gi-red); }
.gi-hend { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; flex: none; }
.gi-header__main .gi-tools { gap: 4px; }
.gi-header__main .gi-tool { min-width: 48px; min-height: 48px; color: var(--gi-ink); background: none; }
.gi-header__main .gi-tool:hover { background: var(--gi-surface-2); }
.gi-header__main .gi-tool svg { width: 26px; height: 26px; }
.gi-header__main .gi-tool > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gi-header .gi-count { top: 4px; inset-inline-end: 4px; min-width: 20px; height: 20px; line-height: 20px; background: var(--gi-red); color: #FFFFFF; font-weight: 700; }
.gi-hquote { margin-inline-start: 12px; min-height: 44px; padding-inline: 20px; background: var(--gi-action); color: var(--gi-action-fg); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.gi-hquote:hover { background: var(--gi-action-hover); color: var(--gi-action-fg); box-shadow: inset 0 -3px 0 var(--gi-action-accent); }

/* Search behind the icon: panel under the header, field 44 px / 16 px, max 640 px */
.gi-hsearch > summary { list-style: none; cursor: pointer; }
.gi-hsearch > summary::-webkit-details-marker { display: none; }
.gi-hsearch[open] > summary { background: var(--gi-surface-2); }
.gi-hsearch__panel { position: absolute; inset-inline: 0; top: 100%; z-index: 60; display: flex; justify-content: center; padding: 14px 24px; background: var(--gi-bg); border-block: var(--gi-border-w) solid var(--gi-border-color); box-shadow: 0 8px 16px rgba(17, 17, 17, .08); }
.gi-hsearch__panel .gi-search { flex: 1 1 auto; max-width: 640px; }
.gi-search__input, .gi-search__btn { min-height: 44px; height: 44px; font-size: 16px; }

@container gi (max-width: 1180px) {
  .gi-header__main { gap: 16px; padding-inline: 16px; }
  .gi-header__main > .gi-nav { gap: 4px 22px; }
  .gi-header__main .gi-nav__link { font-size: 15px; }
  .gi-hquote { padding-inline: 14px; }
}
/* « À propos ▾ » (owner choice 23/10/2026, W-58, variant A): Contact, Société and FAQ under one menu entry (inc/blocks.php);
   menu row inline again down to 1025 px, ☰ drawer below (as before W-56). Logical properties: the panel mirrors in Arabic. */
.gi-dd { position: relative; display: inline-flex; }
.gi-dd__btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; }
.gi-dd__btn::-webkit-details-marker { display: none; }
.gi-dd__btn .gi-i { width: 14px; height: 14px; transition: transform .15s; }
.gi-dd[open] > .gi-dd__btn .gi-i { transform: rotate(180deg); }
.gi-header__main .gi-dd[open] > .gi-dd__btn, .gi-header__main .gi-dd__btn.is-current { box-shadow: inset 0 -3px 0 var(--gi-red); }
.gi-dd__panel { position: absolute; top: 100%; inset-inline-start: -16px; z-index: 70; min-width: 220px; padding: 8px 0; background: #FFFFFF; border: 1px solid #DDE1E6; border-radius: 6px; box-shadow: 0 10px 24px rgba(17, 17, 17, .12); }
.gi-dd__panel a { display: flex; align-items: center; min-height: 44px; padding-inline: 18px; border-inline-start: 3px solid transparent; font-size: 15px; font-weight: 600; color: var(--gi-ink); white-space: nowrap; text-decoration: none; }
.gi-dd__panel a:hover, .gi-dd__panel a:focus-visible { background: #F4F5F7; border-inline-start-color: var(--gi-red); }
.gi-dd__panel a[aria-current] { border-inline-start-color: var(--gi-red); }
@media (prefers-reduced-motion: reduce) { .gi-dd__btn .gi-i { transition: none; } }
@container gi (max-width: 760px) {
  .gi-topbar__in { gap: 0 20px; font-size: 13px; }
  .gi-header__main { min-height: 72px; gap: 8px; padding-inline: 12px; }
  .gi-logo--card { flex: 0 0 auto; margin-inline-end: auto; padding: 6px 10px; border-radius: 10px; }
  .gi-logo--card svg, .gi-logo--card .gi-logo__img { height: 28px; }
  .gi-header__main .gi-tool { min-width: 44px; min-height: 44px; }
}

/* ---------- Category page ---------- */
.gi-cat { padding-block: 24px 56px; }
.gi-cat-crumbs { font-size: 15px; }
.gi-cat__title { margin: 20px 0 8px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; font-weight: 700; }
.gi-cat__intro { margin: 0; max-width: 780px; font-size: 18px; line-height: 1.55; color: var(--gi-text-muted); }

/* « Choisir une désignation » slider: scroll-snap, swipe, keyboard (track focusable, cards are links) */
.gi-des { margin-block-start: 36px; }
.gi-des__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
.gi-des__title { margin: 0; font-size: 22px; font-weight: 700; }
.gi-des__ctl { display: flex; gap: 8px; }
.gi-des__btn { width: 44px; height: 44px; padding: 0; border: 1px solid var(--gi-c-black); background: var(--gi-bg); color: var(--gi-c-black); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gi-des__btn:hover:not(:disabled) { background: var(--gi-surface-alt); }
.gi-des__btn:disabled { opacity: .45; cursor: default; }
.gi-des__btn[hidden] { display: none; }
.gi-des__track { display: flex; gap: 12px; margin: 0; padding: 3px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gi-des__track::-webkit-scrollbar { display: none; }
.gi-des__item { flex: 0 0 220px; scroll-snap-align: start; display: flex; }
.gi-des__card { flex: 1; display: flex; flex-direction: column; gap: 6px; min-height: 44px; padding: 16px; border: 1px solid var(--gi-c-border-control); background: var(--gi-bg); color: var(--gi-c-black); text-decoration: none; }
.gi-des__card:hover { border-color: var(--gi-c-black); }
.gi-des__card[aria-current] { box-shadow: inset 0 0 0 2px var(--gi-c-black); border-color: var(--gi-c-black); }
.gi-des__label { font-weight: 600; font-size: 17px; }
.gi-des__more { font-size: 14px; color: var(--gi-text-muted); }
@media (prefers-reduced-motion: reduce) { .gi-des__track { scroll-behavior: auto; } }

/* Filters (one group « Type de produit ») + list */
.gi-cat__body { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; margin-block-start: 40px; }
.gi-cat__side { flex: 1 1 240px; max-width: 100%; min-width: 0; }
.gi-cat__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gi-cfilters__sum { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; }
.gi-cfilters__sum::-webkit-details-marker { display: none; }
.gi-cfilters__title { margin: 0; font-size: 22px; font-weight: 700; }
.gi-cfilters__chev { transition: transform .15s; }
.gi-cfilters[open] .gi-cfilters__chev { transform: rotate(180deg); }
.gi-cfilters__form { margin-block-start: 12px; }
.gi-cat .gi-cfilters__group { margin: 0; padding: 0 0 18px; border: 0; border-radius: 0; border-block-end: 1px solid var(--gi-c-border); display: flex; flex-direction: column; gap: 0; }
.gi-cat .gi-cfilters__group legend { padding: 0; margin-block-end: 6px; font-weight: 700; font-size: 17px; }
.gi-cfilters__opt { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 16px; }
.gi-cfilters__opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--gi-c-black); }
.gi-cfilters__apply { margin-block-start: 12px; }
.gi-cfilters__reset { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: 8px; font-size: 15px; color: var(--gi-c-black); }
.is-auto .gi-cfilters__apply, .is-auto .gi-cat__sortbtn { display: none; }
@media (min-width: 768px) { .gi-cfilters__chev { display: none; } .gi-cfilters__sum { cursor: default; } }

.gi-cat__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gi-cat__count { margin: 0; font-size: 17px; }
.gi-cat__sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gi-cat .gi-cat__sort label { display: inline; margin: 0; font-size: 15px; font-weight: 400; color: var(--gi-text-muted); }
.gi-cat #gi-tri { width: auto; min-width: 180px; height: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--gi-c-border-control); border-radius: 0; background-color: var(--gi-bg); color: var(--gi-c-black); font: inherit; font-size: 16px; }
.gi-cat__empty { margin: 0; padding: 24px; border: 1px solid var(--gi-c-border); }

.gi-cat__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 18px; }
.gi-cat__grid > li { display: flex; min-width: 0; }
.gi-ccard { flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--gi-c-border); background: var(--gi-bg); }
.gi-ccard__img { display: block; text-decoration: none; aspect-ratio: 1 / 1; overflow: hidden; background: repeating-linear-gradient(135deg, #EEF0F2 0 12px, #F6F7F8 12px 24px); }
.gi-ccard__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gi-ccard__ph { display: flex; height: 100%; align-items: center; justify-content: center; padding: 8px; color: var(--gi-text-muted); font-size: 14px; text-align: center; }
.gi-ccard__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 14px; }
.gi-ccard__ref { margin: 0; font-size: 14px; color: var(--gi-text-muted); }
.gi-ccard__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.gi-ccard__title a { color: var(--gi-c-black); text-decoration: none; }
.gi-ccard__title a:hover { text-decoration: underline; }
.gi-ccard__des { margin: 0; font-size: 15px; color: var(--gi-text-muted); }
.gi-ccard__price { margin-block-start: auto; padding-block-start: 10px; font-weight: 600; }
.gi-ccard__onquote { margin: 0; font-weight: 600; }
.gi-ccard__hint { margin: 0; font-size: 13px; color: var(--gi-text-muted); }
.gi-ccard__form { margin: 0; }
.gi-ccard__btn { width: 100%; min-height: 44px; justify-content: center; font-size: 16px; font-weight: 600; background: var(--gi-action); color: var(--gi-action-fg); }

.gi-pager ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gi-pager__n, .gi-pager__step { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 12px; border: 1px solid var(--gi-c-border-control); color: var(--gi-c-black); text-decoration: none; }
.gi-pager__n:hover, .gi-pager__step:hover { border-color: var(--gi-c-black); }
.gi-pager__n[aria-current="page"] { background: var(--gi-c-black); border-color: var(--gi-c-black); color: var(--gi-c-white); font-weight: 600; }
.gi-pager__gap { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 4px; }

/* ---------- Newsletter (above the footer) ---------- */
.gi-nl { background: var(--gi-surface-2); border-block-start: 1px solid var(--gi-c-border); }
.gi-nl__in { max-width: var(--gi-container-max); margin-inline: auto; padding: 40px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.gi-nl__text { flex: 1 1 320px; min-width: 0; }
.gi-nl__title { margin: 0 0 8px; font-size: 26px; font-weight: 700; }
.gi-nl__text p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--gi-text-muted); }
.gi-nl__form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gi-nl__row { display: flex; flex-wrap: wrap; }
.gi-nl__email { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--gi-c-black); background: var(--gi-bg); color: var(--gi-c-black); font: inherit; font-size: 17px; }
.gi-nl__email::placeholder { color: var(--gi-text-muted); opacity: 1; }
.gi-nl__btn { min-height: 52px; height: 52px; padding-inline: 24px; border-radius: 0; font-size: 17px; font-weight: 600; background: var(--gi-action); color: var(--gi-action-fg); }
.gi-nl__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--gi-text-muted); cursor: pointer; }
.gi-nl__consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--gi-c-black); }
.gi-nl .gi-msg { margin: 0; }
.gi-hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer (redesign 22/10/2026, proposition C layout; black background again on owner request 22/10/2026): brand ·
   navigation · information · newsletter card, bottom bar with the copyright and the language switcher (FR · EN).
   Logical properties only (inline / block): the Arabic version mirrors by itself. Breakpoints of the theme: 1023 / 767 px.
   Contrast: text #C4C9D0 on #111111 11.3:1, headings white 18.9:1; red icons #D6212A 4.1:1 (graphics ≥ 3:1); field border
   #8A939D on the white card 3.3:1; bottom bar #C4C9D0 on #000000 12.6:1. Focus ring: the white one of components.css. */
footer.gi-footer { padding: 0; background: var(--gi-inverse); color: #C4C9D0; border-block-start: 4px solid var(--gi-red); }
.gi-footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 48px; padding-block: 56px 48px; align-items: start; }
.gi-footer__col { min-width: 0; display: flex; flex-direction: column; font-size: 15px; line-height: 1.55; }
.gi-footer h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #FFFFFF; }
.gi-footer p { margin: 0; padding-block: 3px; font-size: 15px; color: #C4C9D0; }
.gi-footer .gi-footer__col > a { min-height: 40px; display: flex; align-items: center; color: #C4C9D0; text-decoration: none; }
.gi-footer .gi-footer__col > a:hover, .gi-footer .gi-footer__col > a:focus-visible { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.gi-footer .gi-footer__inline { display: inline-flex; min-height: 40px; align-items: center; font-weight: 600; color: #FFFFFF; text-decoration: none; }
.gi-footer .gi-footer__inline:hover { text-decoration: underline; }
.gi-footer .gi-footer__logo { display: inline-flex; align-self: flex-start; min-height: 0; margin-block-end: 14px; }
.gi-footer__logo img { display: block; width: auto; height: 40px; }
.gi-footer p.gi-footer__slogan { margin-block-end: 10px; padding: 0; font-size: 17px; font-weight: 600; line-height: 1.4; color: #FFFFFF; }
.gi-footer p.gi-footer__ct { display: flex; align-items: flex-start; gap: 10px; padding-block: 4px; }
.gi-footer__ct .gi-i { flex: none; width: 18px; height: 18px; margin-block-start: 3px; color: var(--gi-red); }
.gi-footer__ct:has(.gi-footer__inline) .gi-i { margin-block-start: 11px; } /* phone line: the link is 40 px high */
/* newsletter column: same form as before, in a white card */
.gi-footer__nl { padding: 20px; background: #FFFFFF; border: 1px solid #FFFFFF; border-radius: 6px; }
.gi-footer__nl h2 { color: #14171A; } /* the card stays white: dark text inside */
.gi-footer__nl :focus-visible { outline-color: var(--gi-focus) !important; box-shadow: 0 0 0 2px #FFFFFF !important; }
.gi-footer__nl .gi-nl__form { flex: none; gap: 10px; } /* the former band gave it flex-basis 380px: no forced height here */
.gi-footer__nl .gi-nl__row { flex-wrap: nowrap; }
.gi-footer__nl .gi-nl__email { flex: 1 1 auto; height: 48px; border-color: #8A939D; background: #FFFFFF; color: #14171A; font-size: 15px; }
.gi-footer__nl .gi-nl__btn { min-height: 48px; height: 48px; padding-inline: 16px; font-size: 15px; background: var(--gi-red); border-color: var(--gi-red); color: #FFFFFF; }
.gi-footer__nl .gi-nl__btn:hover { background: var(--gi-red-dark); border-color: var(--gi-red-dark); color: #FFFFFF; box-shadow: none; }
.gi-footer__nl .gi-nl__consent { font-size: 13px; color: #3A424B; }
.gi-footer__nl .gi-nl__consent input { accent-color: var(--gi-red); }
.gi-footer__nl .gi-msg { margin: 0; }
/* bottom bar: copyright + language switcher */
.gi-footer__bottom { background: #000000; border-block-start: 1px solid #2A2A2A; }
.gi-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px; padding-inline-end: 84px; } /* room for the floating call / WhatsApp buttons, which sit on that side */
.gi-footer__copy { margin: 0; padding-block: 16px; font-size: 14px; color: #C4C9D0; text-align: start; }
.gi-footer .gi-footer__copy { color: #C4C9D0; }
.gi-footer__langs { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0; list-style: none; }
.gi-footer .gi-footer__langs a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #C4C9D0; text-decoration: none; }
.gi-footer .gi-footer__langs a:hover { color: #FFFFFF; }
.gi-footer .gi-footer__langs a[aria-current] { color: #FFFFFF; box-shadow: inset 0 -2px 0 var(--gi-red); }
@media (max-width: 1023px) {
  .gi-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .gi-cat__body { gap: 20px; margin-block-start: 28px; }
  .gi-cat__side { flex-basis: 100%; }
  .gi-cfilters { border: 1px solid var(--gi-c-border); padding: 0 12px; }
  .gi-cfilters__title { font-size: 19px; }
  .gi-des__item { flex-basis: 200px; }
  .gi-nl__btn { flex: 1 1 100%; }
  .gi-footer__grid { grid-template-columns: minmax(0, 1fr); padding-block: 40px 28px; gap: 32px; }
  .gi-footer__bar { padding-block: 4px 8px; }
  .gi-footer__nl .gi-nl__row { flex-wrap: wrap; }
}

/* ---------- Product page — layout of 09/10/2026 (inc/product-page.php). Colours: identity.css (primary action, light grey, red selected state). Selected model: radio indicator changes
   shape + 2 px blue border (never colour alone). ---------- */
.gi-pdp__top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-block: 32px 48px; }
.gi-pdp__media { position: sticky; top: 24px; }

.gi-gal { position: relative; margin: 0; aspect-ratio: 8 / 7; overflow: hidden; border-radius: 4px; background: var(--gi-surface-2); }
.gi-gal__track { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gi-gal__track::-webkit-scrollbar { display: none; }
.gi-gal__slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 24px; scroll-snap-align: start; }
.gi-gal__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.gi-gal__dots { position: absolute; inset-inline: 0; bottom: 8px; display: flex; justify-content: center; gap: 0; }
.gi-gal__dot { width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gi-gal__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gi-border-control); }
.gi-gal__dot[aria-current="true"]::before { background: var(--gi-red); }
.gi-gal--ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.gi-gal__cap { max-width: 360px; padding-inline: 16px; color: var(--gi-text-muted); font-size: 14px; text-align: center; }
@media (prefers-reduced-motion: reduce) { .gi-gal__track { scroll-behavior: auto; } }

.gi-pdp__crumbs { padding: 0; font-size: 14px; }
.gi-pdp__title { margin: 8px 0 6px; font-size: 22px; line-height: 1.3; font-weight: 600; }   /* client request 13/10/2026: long product names, 22 px */
.gi-pdp__meta { margin: 0 0 18px; font-size: 16px; color: var(--gi-text-muted); }
.gi-pdp__price .gi-price__main { font-size: 30px; font-weight: 600; }
.gi-pdp__price .gi-price__alt { font-size: 15px; }
.gi-pdp__short { margin: 18px 0; font-size: 17px; line-height: 1.6; }
.gi-pdp__pro { margin: 0 0 12px; }

.gi-pdp .gi-mopts { margin: 8px 0 0; padding: 0; border: 0; display: grid; gap: 10px; }
.gi-pdp .gi-mopts__legend { margin-block-end: 10px; padding: 0; font-weight: 600; font-size: 16px; }
.gi-mopt { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; min-height: 44px; padding: 14px 16px; border: 1px solid var(--gi-border-control); border-radius: 4px; background: var(--gi-bg); cursor: pointer; }
.gi-mopt::before { content: ""; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid var(--gi-muted); border-radius: 50%; background: var(--gi-bg); }
.gi-mopt:hover { border-color: var(--gi-muted); }
.gi-mopt.is-selected, .gi-mopt:has(.gi-mopt__radio:checked) { border-color: var(--gi-red); box-shadow: inset 0 0 0 1px var(--gi-red); }
.gi-mopt.is-selected::before, .gi-mopt:has(.gi-mopt__radio:checked)::before { border: 6px solid var(--gi-red); }
.gi-mopt:has(.gi-mopt__radio:focus-visible) { outline: 3px solid var(--gi-focus); outline-offset: 2px; }
.gi-mopt__radio { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.gi-mopt__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.gi-mopt__ref { font-weight: 700; font-size: 17px; }
.gi-mopt__specs { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 14px; }
.gi-mopt__k { color: var(--gi-text-muted); }
.gi-mopt__stock .gi-badge { font-size: 13px; }
.gi-mopt__price { text-align: end; }
.gi-mopt__price .gi-price { justify-content: flex-end; }
.gi-mopt__price .gi-price__main { font-size: 17px; font-weight: 600; }
.gi-mopt__price .gi-price__alt, .gi-mopt__price p { font-size: 13px; }

.gi-pdp__qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; }
.gi-pdp__qty label { font-size: 16px; }
.gi-pdp__qty .gi-qty { border: 0; border-radius: 4px; background: var(--gi-surface-2); }
.gi-pdp__qty .gi-qty__btn, .gi-pdp__qty .gi-qty__in { background: var(--gi-surface-2); border: 0; }
.gi-pdp__actions { display: grid; gap: 12px; }
.gi-pdp__cart, .gi-pdp__quote { transition: none; width: 100%; min-height: 48px; border: 0; border-radius: 4px; font-size: 16px; font-weight: 600; justify-content: center; }
.gi-pdp__cart { background: var(--gi-action); color: var(--gi-action-fg); }
.gi-pdp__cart:hover:not(:disabled) { background: var(--gi-action-hover); box-shadow: inset 0 -3px 0 var(--gi-action-accent); }
.gi-pdp__cart:disabled { background: var(--gi-border-control); color: var(--gi-ink); cursor: not-allowed; }
.gi-pdp__quote { background: var(--gi-action-2); color: var(--gi-action-2-fg); }
.gi-pdp__quote:hover { background: var(--gi-action-2-hover); }
.gi-pdp__hint { margin: 10px 0 0; color: var(--gi-text-muted); }
.gi-pdp__stock { margin-block-start: 14px; }

.gi-pdp__details { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; padding-block: 40px; border-block-start: 1px solid var(--gi-c-border); }
.gi-pdp__h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.gi-pdp__spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.gi-pdp__spec th, .gi-pdp__spec td { padding: 12px 0; border-block-end: var(--gi-border-w) solid var(--gi-border-color); vertical-align: top; }
.gi-pdp__spec th { font-weight: 400; color: var(--gi-text-muted); text-align: start; padding-inline-end: 16px; }
.gi-pdp__spec td { text-align: end; }
.gi-pdp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.gi-pdp__list li { display: flex; align-items: flex-start; gap: 10px; }
.gi-pdp__list svg { flex: none; width: 20px; height: 20px; margin-block-start: 2px; }
.gi-pdp__files a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; }
.gi-pdp__ftype { color: var(--gi-text-muted); font-size: 13px; }
.gi-pdp .gi-selbar { position: static; }   /* « Tous les modèles » sits below: its bar is not sticky here */

@container gi (max-width: 1024px) {
  .gi-pdp__top { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 16px 32px; }
  .gi-pdp__media { position: static; }
  .gi-pdp__details { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@container gi (max-width: 760px) {
  .gi-gal { aspect-ratio: 1 / 1; }
  .gi-mopt { grid-template-columns: auto minmax(0, 1fr); }
  .gi-mopt__price { grid-column: 2; text-align: start; }
  .gi-mopt__price .gi-price { justify-content: flex-start; }
}

/* ---- « Nos engagements » (À propos): white cards with an icon tile (client reference 10/10/2026) ------------------- */
.gi-commit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gi-space-5); margin-block-start: var(--gi-space-6); }
.gi-commit__card { display: flex; flex-direction: column; gap: var(--gi-space-5); padding: var(--gi-space-6) var(--gi-space-5); background: var(--gi-bg); border-radius: var(--gi-radius-l); }
.gi-commit__ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--gi-radius-m); background: var(--gi-surface-2); color: var(--gi-ink); flex: none; }
.gi-commit__ic svg { width: 24px; height: 24px; }
.gi-commit__body { display: grid; gap: var(--gi-space-2); align-content: start; }
.gi-commit__t { margin: 0; font-size: var(--gi-text-md); font-weight: 600; line-height: var(--gi-leading-tight); color: var(--gi-ink); }
.gi-commit__d { margin: 0; font-size: var(--gi-text-base); line-height: var(--gi-leading-body); color: var(--gi-muted); }
.gi-commit__link { display: inline-flex; align-items: center; gap: var(--gi-space-1); justify-self: start; min-height: var(--gi-target); margin-block-start: var(--gi-space-1); color: var(--gi-ink); font-weight: 600; }
.gi-commit__link svg { width: 18px; height: 18px; }
.gi-commit__link:hover { color: var(--gi-red-text); }
@container gi (max-width: 1024px) { .gi-commit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container gi (max-width: 760px) {
  .gi-commit { grid-template-columns: minmax(0, 1fr); gap: var(--gi-space-4); margin-block-start: var(--gi-space-5); }
  .gi-commit__card { flex-direction: row; align-items: flex-start; gap: var(--gi-space-5); padding: var(--gi-space-5); }
  .gi-commit__ic { width: 56px; height: 56px; }
}

/* ---- Contact page (client reference 10/10/2026): dark title band + white card overlapping it, contact details with
   round red icons on one side, form on a light grey panel on the other. No map / photo / e-mail / social links (FACTS). */
.gi-contact { margin-block-end: var(--gi-space-8); }
.gi-contact__hero { padding: 56px 32px 128px; border-radius: var(--gi-radius-l); background: var(--gi-inverse); color: #FFFFFF; text-align: center; }
.gi-contact__hero .gi-h1 { margin: 0; color: #FFFFFF; }
.gi-contact__hero .gi-h1::after { content: ""; display: block; width: 48px; height: 3px; margin: 14px auto 0; background: var(--gi-red); }
.gi-contact__hero p { max-width: 560px; margin: 16px auto 0; color: var(--gi-inverse-muted); font-size: var(--gi-text-md); }
.gi-contact__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); margin: -88px 32px 0; overflow: hidden;
  border-radius: var(--gi-radius-l); background: var(--gi-bg); box-shadow: 0 12px 40px rgba(20, 23, 26, .14); }
.gi-contact__info { display: grid; align-content: start; gap: var(--gi-space-5); padding: 40px 32px; }
.gi-contact__info .gi-h3 { margin: 0; }
.gi-contact__list { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.gi-contact__list li { display: flex; align-items: flex-start; gap: 14px; }
.gi-contact__ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gi-red); color: #FFFFFF; }
.gi-contact__ic svg { width: 20px; height: 20px; }
.gi-contact__k { margin: 0; font-weight: 700; color: var(--gi-ink); }
.gi-contact__v { margin: 2px 0 0; color: var(--gi-muted); }
.gi-contact__v a { color: var(--gi-ink); font-weight: 600; }
.gi-contact__quick { padding-block-start: var(--gi-space-4); border-block-start: var(--gi-border); }
.gi-contact__ids { margin: 0; color: var(--gi-muted); }
.gi-contact__info > .gi-small { margin: 0; }
.gi-contact__card > form { margin: 0; padding: 40px 32px !important; border: 0; border-radius: 0; box-shadow: none; background: var(--gi-surface-2); }
.gi-contact__card > form .gi-input, .gi-contact__card > form .gi-select, .gi-contact__card > form .gi-textarea { background: var(--gi-bg); }
.gi-contact__card > form button[type="submit"] { width: 100%; background: var(--gi-action); color: var(--gi-action-fg); border-color: var(--gi-action); }
.gi-contact__card > form button[type="submit"]:hover { background: var(--gi-action-hover); box-shadow: inset 0 -3px 0 var(--gi-action-accent); }
@container gi (max-width: 900px) {
  .gi-contact__card { grid-template-columns: minmax(0, 1fr); margin-inline: 0; }
}
@container gi (max-width: 760px) {
  .gi-contact__hero { padding: 40px 16px 96px; }
  .gi-contact__card { margin-block-start: -64px; }
  .gi-contact__info, .gi-contact__card > form { padding: 28px 16px !important; }   /* the form carries an inline padding */
}

/* ---- FAQ page (client reference 11/10/2026): centred title with a red accent word, instant search pill, topic menu on
   the side (horizontal scroll on phones), questions as cards, « Vous n'avez pas trouvé votre réponse ? » band. ---------- */
.gi-faq { margin-block: 8px 64px; }
.gi-faq > .gi-h1 { margin: 24px 0 0; text-align: center; }
.gi-faq__accent { color: var(--gi-red); }
.gi-faq__search { position: relative; max-width: 640px; margin: 28px auto 40px; }
.gi-faq__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gi-faq__input { width: 100%; min-height: 52px; padding-block: 0; padding-inline: 20px 60px; border: var(--gi-border-w) solid var(--gi-border-control); border-radius: 999px;
  background: var(--gi-bg); box-shadow: 0 1px 3px rgba(20, 23, 26, .08); color: var(--gi-ink); font: inherit; font-size: var(--gi-text-base); }
.gi-faq__input::placeholder { color: var(--gi-muted); opacity: 1; }
.gi-faq__search > svg { position: absolute; inset-inline-end: 6px; top: 6px; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--gi-red); color: #FFFFFF; pointer-events: none; }
.gi-faq__layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; }
.gi-faq__nav { position: sticky; top: calc(var(--gi-hdr-stuck, 0px) + 16px); display: grid; gap: 4px; padding: 12px; border-radius: var(--gi-radius-l);
  background: color-mix(in srgb, var(--gi-red) 7%, var(--gi-bg)); }
.gi-faq__nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 14px; border-radius: 6px; color: var(--gi-ink); font-weight: 600; }
.gi-faq__nav a:hover { background: color-mix(in srgb, var(--gi-bg) 70%, transparent); }
.gi-faq__nav a[aria-current="true"] { background: var(--gi-bg); color: var(--gi-red-text); box-shadow: 0 1px 3px rgba(20, 23, 26, .1); }
.gi-faq__list { display: grid; gap: 28px; }
.gi-faq__sec .gi-h3 { margin: 0 0 12px; }
.gi-faq .gi-acc { display: grid; gap: 12px; border: 0; }
.gi-faq .gi-acc details { border: var(--gi-border); border-radius: var(--gi-radius-l); background: var(--gi-bg); box-shadow: 0 2px 10px rgba(20, 23, 26, .06); }
.gi-faq .gi-acc summary { min-height: 60px; padding-inline: 20px; font-weight: 600; cursor: pointer; }
.gi-faq .gi-acc summary::after { color: var(--gi-ink); font-weight: 400; }
.gi-faq .gi-acc details > div { padding: 0 20px 18px; color: var(--gi-muted); }
.gi-faq__empty { margin: 0; padding: 24px; border: 1px dashed var(--gi-border-control); border-radius: var(--gi-radius-l); color: var(--gi-muted); text-align: center; }
.gi-faq__cta { display: grid; justify-items: center; gap: 12px; margin-block-start: 56px; padding: 48px 24px; border-radius: 16px; text-align: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--gi-red) 11%, var(--gi-bg)), color-mix(in srgb, var(--gi-red) 4%, var(--gi-bg))); }
.gi-faq__cta .gi-h3 { margin: 0; }
.gi-faq__cta-txt { margin: 0; color: var(--gi-ink); }
.gi-faq__cta .gi-btn-row { justify-content: center; }
@container gi (max-width: 760px) {
  .gi-faq__layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gi-faq__nav { position: static; display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
  .gi-faq__nav a { flex: none; white-space: nowrap; }
  .gi-faq__search { margin-block: 20px 28px; }
  .gi-faq__cta { padding: 32px 16px; }
}

/* ---- « Société » / About page (client mockup 11/10/2026): reuses the Contact band + card (.gi-contact__*), then « Notre
   gamme » (family cards from WooCommerce: image, name, description), « Comment nous travaillons » and a dark CTA band. --- */
.gi-about { margin-block-end: var(--gi-space-9); }
.gi-about__card { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.gi-about__text { padding: 40px; }
.gi-about__text .gi-h3 { margin: 0 0 var(--gi-space-4); }
.gi-about__text p { margin: 0 0 var(--gi-space-4); }
.gi-about__text p:last-child { margin-block-end: 0; }
.gi-about__glance { background: var(--gi-surface-2); }
.gi-about__sec { margin-block-start: var(--gi-space-9); padding-inline: 32px; }
.gi-about__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--gi-space-3); }
.gi-about__title { margin: 0 0 var(--gi-space-6); }
.gi-about__title::after { content: ""; display: block; width: 36px; height: 3px; margin-block-start: 12px; background: var(--gi-red); }
.gi-about__all { display: inline-flex; align-items: center; gap: var(--gi-space-2); min-height: var(--gi-target); margin-block-end: var(--gi-space-6); color: var(--gi-ink); font-size: var(--gi-text-sm); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gi-about__all svg { width: 18px; height: 18px; }
.gi-about__all:hover { color: var(--gi-red-text); }
.gi-about__fams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gi-space-4); }
.gi-about-fam { display: flex; flex-direction: column; overflow: hidden; border: var(--gi-border); border-radius: var(--gi-radius-m); background: var(--gi-bg); }
.gi-about-fam__img { aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: var(--gi-space-3); background: var(--gi-surface-2); }
.gi-about-fam__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }   /* white photo background melts into the grey */
.gi-about-fam__img .gi-ph { width: 100%; height: 100%; }
.gi-about-fam__body { display: grid; align-content: start; gap: var(--gi-space-2); flex: 1; padding: var(--gi-space-4) var(--gi-space-5) var(--gi-space-5); }
.gi-about-fam__t { margin: 0; font-size: var(--gi-text-md); line-height: var(--gi-leading-tight); }
.gi-about-fam__d { margin: 0; color: var(--gi-muted); font-size: var(--gi-text-sm); }
.gi-about-fam__more { display: inline-flex; align-items: center; gap: var(--gi-space-1); justify-self: start; min-height: var(--gi-target); color: var(--gi-red-text); font-size: var(--gi-text-sm); font-weight: 700; }
.gi-about-fam__more svg { width: 16px; height: 16px; }
.gi-about__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: var(--gi-border); border-radius: var(--gi-radius-m); background: var(--gi-bg); }
.gi-about__step { display: grid; align-content: start; gap: var(--gi-space-2); padding: var(--gi-space-5); }
.gi-about__step + .gi-about__step { border-inline-start: var(--gi-border); }
.gi-about__step .gi-contact__ic { margin-block-end: var(--gi-space-3); }
.gi-about__step-t { margin: 0; font-size: var(--gi-text-md); }
.gi-about__step-d { margin: 0; color: var(--gi-muted); font-size: var(--gi-text-sm); }
.gi-about__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--gi-space-5); margin-block-start: var(--gi-space-9); padding: 40px 52px; border-radius: var(--gi-radius-l); background: var(--gi-inverse); color: #FFFFFF; }
.gi-about__cta .gi-h3 { margin: 0 0 var(--gi-space-2); color: #FFFFFF; }
.gi-about__cta p { margin: 0; color: var(--gi-inverse-muted); }
.gi-about__wa { border: 1px solid #FFFFFF; background: transparent; color: #FFFFFF; }
.gi-about__wa:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.gi-about__cta .gi-btn--brand { text-transform: uppercase; letter-spacing: .04em; }
@container gi (max-width: 1024px) {
  .gi-about__fams, .gi-about__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-about__step:nth-child(3) { border-inline-start: 0; }
  .gi-about__step:nth-child(n+3) { border-block-start: var(--gi-border); }
}
@container gi (max-width: 900px) { .gi-about__card { grid-template-columns: minmax(0, 1fr); } }
@container gi (max-width: 760px) {
  .gi-about__text { padding: 28px 16px; }
  .gi-about__sec { padding-inline: 0; }
  .gi-about__fams, .gi-about__steps { grid-template-columns: minmax(0, 1fr); }
  .gi-about__step + .gi-about__step { border-inline-start: 0; border-block-start: var(--gi-border); }
  .gi-about__cta { padding: 28px 20px; }
}

/* ---------- Quote page, B2B model of 14/10/2026 (client-approved): dark band + white card like the Contact page, step bar
   (1 Produits · 2 Coordonnées · 3 Envoi, sticky in the card), product lines with − / + and ✕, reassurance trio. ---------- */
.gi-qp { margin-block-end: var(--gi-space-8); }
.gi-qp__hero { padding: 48px 32px 112px; border-radius: var(--gi-radius-l); background: var(--gi-inverse); color: #FFFFFF; text-align: center; }
.gi-qp__hero .gi-h1 { margin: 10px 0 0; color: #FFFFFF; }
.gi-qp__hero p { max-width: 560px; margin: 12px auto 0; color: var(--gi-inverse-muted); font-size: var(--gi-text-md); }
.gi-qp__badge { display: inline-block; padding: 3px 12px; border: 1px solid var(--gi-red); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gi-qp__card { position: relative; max-width: 860px; margin: -80px auto 0; padding: 0 28px 28px; border-radius: var(--gi-radius-l); background: var(--gi-bg); box-shadow: 0 12px 40px rgba(20, 23, 26, .14); }
.gi-qp__steps { position: sticky; top: var(--gi-hdr-stuck, 0px); z-index: 2; display: flex; gap: 8px; margin: 0 -28px 8px; padding: 20px 28px 12px; list-style: none; background: var(--gi-bg); border-radius: var(--gi-radius-l) var(--gi-radius-l) 0 0; }
.gi-qp__steps li { flex: 1; padding-top: 8px; border-top: 3px solid var(--gi-border-color); color: var(--gi-muted); font-size: var(--gi-text-sm); font-weight: 600; }
.gi-qp__steps li.is-done { border-color: var(--gi-ink); color: var(--gi-ink); }
.gi-qp__steps li.is-on { border-color: var(--gi-red); color: var(--gi-ink); }
.gi-qp__tick { display: none; }
.gi-qp__steps li.is-done .gi-qp__tick { display: inline; }
.gi-qp__sec { margin: 0; padding: 18px 0 4px; border: 0; border-top: 1px solid var(--gi-border-color); min-width: 0; }
.gi-qp__h { padding: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gi-muted); }
.gi-qp__sub { margin: 14px 0 6px; font-size: var(--gi-text-base); }
.gi-qp__req { color: var(--gi-red-text); font-weight: 700; }
.gi-qp__line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gi-border-color); }
.gi-qp__thumb { flex: none; width: 52px; height: 52px; overflow: hidden; border: 1px solid var(--gi-border-color); border-radius: var(--gi-radius-m); background: var(--gi-img-bg); }
.gi-qp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gi-qp__item { display: grid; min-width: 0; flex: 1; }
.gi-qp__item .gi-ref { font-weight: 700; }
.gi-qp__rm { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--gi-muted); cursor: pointer; }
.gi-qp__rm:hover { background: var(--gi-surface-2); color: var(--gi-ink); }
.gi-qp__add { display: grid; grid-template-columns: minmax(0, 2fr) 90px minmax(0, 2fr); gap: 0 12px; margin-top: 4px; }
.gi-qp__send { width: 100%; margin-top: var(--gi-space-4); }
.gi-qp .gi-check { margin-top: var(--gi-space-3); }
.gi-qp__trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 860px; margin: 24px auto 0; padding: 0; list-style: none; text-align: center; color: var(--gi-muted); font-size: var(--gi-text-sm); }
.gi-qp__trio b { display: block; color: var(--gi-ink); }
.gi-qp__trio a { color: var(--gi-muted); }
.gi-qp__ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 50%; background: var(--gi-red); color: #FFFFFF; }
.gi-qp__ic svg { width: 20px; height: 20px; }
@container gi (max-width: 760px) {
  .gi-qp__hero { padding: 32px 18px 92px; }
  .gi-qp__card { margin: -72px 0 0; padding: 0 16px 20px; }
  .gi-qp__steps { margin: 0 -16px 6px; padding: 16px 16px 10px; }
  .gi-qp__add { grid-template-columns: minmax(0, 1fr) 80px; }
  .gi-qp__add .gi-field:last-child { grid-column: 1 / -1; }
  .gi-qp__trio { grid-template-columns: 1fr; }
}
.gi-qp .gi-fgrid { align-items: start; gap: 0 16px; }
.gi-qp .gi-field { margin-bottom: 12px; }
.gi-qp__sub { margin: 18px 0 8px; }
.gi-qp__sec + .gi-qp__sec { margin-top: 8px; }

/* ---------- Home page, client-approved model B v3 (14/10/2026): light hero (red slogan, H1, search, facts | 6 families),
   holding-capacity ranges, products in stock, why us, help band, frequent questions, short text. ---------- */
.gi-home { padding-block-end: var(--gi-space-6); }
.gi-home__hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px; align-items: center; margin: 0 calc(var(--gi-space-5) * -1); padding: 40px var(--gi-space-5) 44px;
  background: linear-gradient(180deg, #F6F6F7, #EEF0F2); border-bottom: 1px solid var(--gi-border-color); }
.gi-home__kick { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gi-muted); }
.gi-home__slogan { margin: 10px 0 6px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.1; color: var(--gi-red); }
.gi-home__slogan span[aria-hidden] { margin: 0 4px; color: var(--gi-ink); font-weight: 400; }
.gi-home__title { margin: 2px 0 10px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; }
.gi-home__lead { margin: 0 0 18px; color: var(--gi-muted); font-size: var(--gi-text-md); }
.gi-home .gi-search { max-width: 540px; }
.gi-home__checks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: var(--gi-text-sm); }
.gi-home__checks li::before { content: "✓ "; color: var(--gi-red); font-weight: 700; }
.gi-home__fams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gi-home__fam { display: grid; height: 100%; overflow: hidden; border: 1px solid var(--gi-border-color); border-radius: var(--gi-radius-l); background: #FFFFFF; color: var(--gi-ink); box-shadow: 0 2px 8px rgba(20, 23, 26, .06); }
.gi-home__fam:hover { border-color: var(--gi-red); }
.gi-home__fimg { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--gi-border-color); background: var(--gi-img-bg); }
.gi-home__fimg img { width: 100%; height: 100%; object-fit: contain; }
.gi-home__fname { padding: 8px 10px 0; font-weight: 700; font-size: var(--gi-text-sm); }
.gi-home__fcount { padding: 0 10px 10px; font-size: 13px; font-weight: 700; color: var(--gi-red-text); }
.gi-home__sec { padding-top: 40px; }
.gi-home__h2 { margin: 0 0 6px; font-size: clamp(22px, 2.2vw, 26px); }
.gi-home__h3 { margin: 0 0 4px; font-size: 20px; }
.gi-home__sub { margin: 0 0 16px; color: var(--gi-muted); }
.gi-home__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.gi-home__all { margin-bottom: 16px; font-weight: 700; white-space: nowrap; }
.gi-home__caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gi-home__cap { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--gi-border-color); border-radius: var(--gi-radius-l); color: var(--gi-ink); }
.gi-home__cap:hover { border-color: var(--gi-red); }
.gi-home__capk { font-size: 19px; font-weight: 700; }
.gi-home__capn { font-weight: 700; color: var(--gi-red-text); white-space: nowrap; }
.gi-home__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gi-home__grid > li { display: flex; }
.gi-home__why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gi-home__why li { padding: 18px; border-radius: var(--gi-radius-l); background: var(--gi-surface-2); }
.gi-home__why h3 { margin: 0 0 4px; font-size: 17px; }
.gi-home__why p { margin: 0; color: var(--gi-muted); font-size: var(--gi-text-sm); }
.gi-home__help { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-top: 36px; padding: 20px 24px; border: 2px solid var(--gi-red); border-radius: var(--gi-radius-l); }
.gi-home__help > div { flex: 1 1 320px; }
.gi-home__help p { margin: 0; color: var(--gi-muted); }
.gi .gi-home__wa { display: inline-flex; align-items: center; gap: 8px; border-color: #127A39; background: #127A39; color: #FFFFFF; }   /* darker WhatsApp green: white text 5.4:1 */
.gi .gi-home__wa:hover { border-color: #0E5F2C; background: #0E5F2C; color: #FFFFFF; }
.gi-home__wa svg { width: 20px; height: 20px; }
.gi-home__faq { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gi-home__faq a { display: flex; align-items: center; height: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--gi-border-color); border-radius: var(--gi-radius-l); color: var(--gi-ink); font-weight: 600; font-size: var(--gi-text-sm); }
.gi-home__faq a:hover { border-color: var(--gi-red); }
.gi-home__seo { padding-top: 32px; max-width: 900px; color: var(--gi-muted); font-size: var(--gi-text-sm); line-height: 1.6; }
.gi-home__seo strong { color: var(--gi-ink); }
@container gi (max-width: 1000px) {
  .gi-home__hero { grid-template-columns: minmax(0, 1fr); }
  .gi-home__caps, .gi-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-home__why, .gi-home__faq { grid-template-columns: minmax(0, 1fr); }
}
@container gi (max-width: 560px) {
  .gi-home__hero { margin: 0 calc(var(--gi-space-4) * -1); padding: 28px var(--gi-space-4) 32px; }
  .gi-home__fams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gi-home__caps { grid-template-columns: minmax(0, 1fr); }
  .gi-home__head { display: block; }
  .gi-home__intro .gi-search { display: none; }   /* phones: the header already has its search row */
}

/* ===== Catalogue page — final model validated 15/10/2026 (category-page.php) ===== */
.gi-cfams { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gi-cfams__item { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 12px 10px; border: 1px solid var(--gi-c-border); border-radius: 8px; background: var(--gi-bg); color: var(--gi-c-black); text-decoration: none; text-align: center; }
.gi-cfams__item:hover { border-color: var(--gi-c-black); }
.gi-cfams__img { width: 100%; height: 96px; object-fit: contain; }
.gi-cfams__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.gi-cfams__n { font-size: 13px; color: var(--gi-text-muted); }
.gi-cfilters__n { margin-inline-start: auto; padding: 0 8px; border-radius: 10px; background: var(--gi-surface-2, #F4F5F7); color: var(--gi-text-muted); font-size: 13px; }
.gi-ccard { border-radius: 8px; overflow: hidden; }
.gi-ccard__img { position: relative; background: var(--gi-img-bg, #fff); }
.gi-ccard__tag { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; padding: 6px 10px; border-radius: 7px; background: var(--gi-c-black); color: #fff; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; }
.gi-ccard__cap { position: absolute; inset-block-start: 10px; inset-inline-end: 10px; padding: 4px 8px; border: 1px solid #F0C5C8; border-radius: 6px; background: #FBEDEE; color: var(--gi-red-dark); font-weight: 700; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.gi-ccard__body { gap: 4px; }
.gi-ccard__fam { margin: 0; font-size: 12.5px; color: var(--gi-text-muted); text-transform: uppercase; letter-spacing: .04em; }
.gi-ccard__ref { font-size: 13.5px; }
.gi-ccard__stock { align-self: flex-start; margin: 4px 0 0; padding: 1px 8px; border: 1px solid #9DCCAA; border-radius: 4px; background: #EAF6EE; color: #1E6B34; font-size: 13px; font-weight: 600; }
.gi-ccard__price { padding-block-start: 8px; }
.gi-ccard__reply { margin: 0; font-size: 13px; font-weight: 400; color: var(--gi-text-muted); }
.gi-ccard__form { display: flex; gap: 6px; margin-block-start: 8px; }
.gi-ccard__qty { flex: none; }
.gi-ccard__qty .gi-qty__btn { width: 32px; }
.gi-ccard__qty .gi-qty__in { width: 38px; text-align: center; }
.gi-ccard__form .gi-ccard__btn { flex: 1; width: auto; min-width: 0; gap: 6px; }
.gi-ccard__btn--quote, .gi-ccard__btn--quote:visited { background: var(--gi-bg); color: var(--gi-c-black); border: 2px solid var(--gi-c-black); }
.gi-ccard__btn--quote:hover { background: var(--gi-surface-2, #F4F5F7); color: var(--gi-c-black); box-shadow: none; }
.gi-ccard__btn--cart { box-shadow: inset 0 -3px 0 var(--gi-red); }
.gi-cathelp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-block: 32px 8px; padding: 18px 20px; border-radius: 8px; background: var(--gi-inverse, #111); color: #fff; }
.gi-cathelp__txt { flex: 1 1 320px; margin: 0; }
.gi-cathelp__txt strong { font-size: 19px; margin-inline-end: 6px; }
.gi-cathelp__wa { background: #127A39; color: #fff; }
.gi-cathelp__quote { background: #fff; color: var(--gi-c-black); }
@media (max-width: 1023px) { .gi-cfams { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gi-cfams { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .gi-cfams > li { flex: 0 0 120px; scroll-snap-align: start; }
  .gi-cfams__img { height: 60px; }
  .gi-cfams__name { font-size: 13px; }
  .gi-ccard__tag { font-size: 13px; padding: 5px 7px; inset-block-start: 6px; inset-inline-start: 6px; }
  .gi-ccard__cap { font-size: 11px; inset-block-start: 6px; inset-inline-end: 6px; }
  .gi-ccard__qty .gi-qty__btn { width: 26px; }
  .gi-ccard__qty .gi-qty__in { width: 28px; }
  .gi-ccard__form .gi-ccard__btn { font-size: 14px; padding-inline: 6px; }
  .gi-cat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gi-ccard__body { padding: 8px; }
  .gi-ccard__title { font-size: 15px; }
  .gi-ccard__fam { font-size: 11px; }
  .gi-ccard__form { gap: 4px; }
  .gi-ccard__qty .gi-qty__btn { width: 22px; }
  .gi-ccard__qty .gi-qty__in { width: 24px; padding: 0; }
  .gi-ccard__form .gi-ccard__btn { font-size: 13px; padding-inline: 4px; min-height: 40px; }
}
/* Catalogue: the filter column stays visible while scrolling the products (client 15/10/2026). Desktop / tablet only:
   below 768 px the filters are a collapsible panel above the grid. --gi-stick-top = visible height of the sticky site
   header + 16 px, measured by category.js (fallback 96 px). */
@media (min-width: 768px) {
  .gi-cat__side { position: sticky; inset-block-start: var(--gi-stick-top, 96px); max-height: calc(100vh - var(--gi-stick-top, 96px) - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .gi-cat__side::-webkit-scrollbar { display: none; } /* no visible scrollbar (client 15/10/2026); wheel / touch scrolling still works */
}
/* Type pages: « Trouver rapidement » (proposition B validated 15/10/2026), in place of « Choisir une désignation ». */
.gi-quick { margin-block-start: 26px; }
.gi-quick__title { margin: 0 0 6px; font-size: 22px; }
.gi-quick__row { display: flex; align-items: center; gap: 14px; margin-block-start: 10px; }
.gi-quick__label { flex: none; width: 130px; font-weight: 700; font-size: 15px; }
.gi-quick__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.gi-quick__pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--gi-c-border-control); border-radius: 999px; color: var(--gi-c-black); font-size: 15px; font-weight: 600; text-decoration: none; background: var(--gi-bg); }
.gi-quick__pill:hover { border-color: var(--gi-c-black); }
.gi-quick__n { padding: 0 8px; border-radius: 10px; background: var(--gi-surface-2, #F4F5F7); color: var(--gi-text-muted); font-size: 13px; font-weight: 400; }
.gi-quick__pill[aria-current="true"] { background: var(--gi-c-black); border-color: var(--gi-c-black); color: #fff; }
.gi-quick__pill[aria-current="true"] .gi-quick__n { background: rgba(255,255,255,.18); color: #fff; }
.gi-quick__x { font-size: 12px; }
@media (max-width: 767px) {
  .gi-quick__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gi-quick__pills { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  .gi-quick__pill { flex: none; }
}
/* Catalogue page, client model « noir » + adjustments (variant 1 validated 15/10/2026). Full-width bands. */
/* Same width as the other pages (client 15/10/2026): coloured bands stop at the content width, the sides stay white. */
.gi-cd { max-width: var(--gi-container-max); margin-inline: auto; padding-inline: var(--gi-gutter-lg); }
.gi-cd .gi-container { padding-inline: clamp(16px, 2vw, 28px); }
@media (max-width: 767px) { .gi-cd { padding-inline: 0; } }
.gi-cd__hero { padding: 22px 0 44px; background: #111; color: #fff; }
.gi-cd__hero .gi-crumbs, .gi-cd__hero .gi-crumbs a { color: #9AA1AA; }
.gi-cd__hero .gi-crumbs [aria-current] { color: #fff; }
.gi-cd__hw { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.gi-cd__title { margin: 14px 0 12px; color: #fff; font-size: clamp(48px, 8vw, 80px); line-height: 1; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; }
.gi-cd__title span { color: var(--gi-red); }
.gi-cd__intro { margin: 0; max-width: 560px; color: #C4C9D0; font-size: 17px; }
.gi-cd__kpi { display: flex; gap: 36px; margin: 0; }
.gi-cd__kpi > div { display: flex; flex-direction: column-reverse; }
.gi-cd__kpi dd { margin: 0; color: #E8323B; font-size: 52px; line-height: 1; font-weight: 700; }
.gi-cd__kpi dt { color: #C4C9D0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.gi-cd__body { padding: 36px 0; background: #F2F1EF; }
.gi-cd__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.gi-cd__card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 20px 20px 26px; overflow: hidden; border-radius: 2px; background: #fff; color: var(--gi-c-black); text-decoration: none; }
.gi-cd__card::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 36%; height: 5px; background: var(--gi-red); transition: width .2s; }
.gi-cd__card:hover::after, .gi-cd__card:focus-visible::after { width: 100%; }
.gi-cd__top { display: flex; align-items: center; justify-content: space-between; }
.gi-cd__no { color: var(--gi-red); font-size: 38px; line-height: 1; font-weight: 700; }
.gi-cd__n { padding: 4px 9px; border-radius: 2px; background: var(--gi-c-black); color: #fff; font-size: 12.5px; font-weight: 700; }
.gi-cd__ph { display: flex; align-items: center; justify-content: center; height: 300px; }
.gi-cd__ph img { max-width: 100%; max-height: 280px; width: auto; height: auto; object-fit: contain; }
.gi-cd__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.gi-cd__name { margin: 0; font-size: 26px; line-height: 1.05; font-weight: 700; text-transform: uppercase; }
.gi-cd__pre { display: block; color: var(--gi-text-muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.gi-cd__info { display: block; margin-top: 6px; color: var(--gi-text-muted); font-size: 15px; }
.gi-cd__info .gi-price, .gi-cd__info .gi-price__main { display: inline; font-size: inherit; font-weight: 400; color: inherit; }
.gi-cd__info .gi-price__alt, .gi-cd__info .gi-price__note { display: none; }
.gi-cd__info p.gi-small { display: inline; font-size: inherit; }
.gi-cd__arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gi-red); color: #fff; font-size: 22px; font-weight: 700; }
[dir="rtl"] .gi-cd__arrow { transform: scaleX(-1); }
.gi-cd__band { padding: 30px 0; background: var(--gi-red); color: #fff; }
.gi-cd__band .gi-container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.gi-cd__btitle { flex: 1 1 320px; margin: 0; color: #fff; font-size: 38px; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.gi-cd__wa { background: #127A39; color: #fff; font-weight: 700; }
.gi-cd__quote, .gi-cd__quote:visited { background: #111; color: #fff; font-weight: 700; }
@media (max-width: 1023px) { .gi-cd__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .gi-cd__kpi { gap: 22px; }
  .gi-cd__kpi dd { font-size: 38px; }
  .gi-cd__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gi-cd__ph { height: 220px; }
  .gi-cd__ph img { max-height: 200px; }
  .gi-cd__btitle { font-size: 28px; }
}

/* ---------- Blog « Conseils & Guides » (W-53, 22/10/2026; inc/blog.php): dark title band like the Contact / À propos pages,
   article cards in the « Notre gamme » card style, article text column with the site typography, same call-to-action band.
   Logical properties only: the Arabic version mirrors by itself. Breakpoints: container « gi » 1024 / 760 px. */
.gi-blog__hero { margin-block-start: 24px; padding: 40px 48px 44px; border-radius: var(--gi-radius-l); background: var(--gi-inverse); color: #FFFFFF; }
.gi-blog__hero .gi-crumbs { margin-block-end: 18px; padding: 0; color: var(--gi-inverse-muted); }
.gi-blog__hero .gi-crumbs a { color: var(--gi-inverse-muted); }
.gi-blog__hero .gi-crumbs a:hover { color: #FFFFFF; }
.gi-blog__hero .gi-crumbs [aria-current] { color: #FFFFFF; }
.gi-blog__hero :focus-visible { outline-color: #FFFFFF !important; }
.gi-blog__kicker { display: inline-block; margin: 0; padding: 4px 10px; border-radius: var(--gi-radius-m); background: var(--gi-red); color: #FFFFFF; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gi-blog__hero .gi-h1 { margin: 14px 0 0; color: #FFFFFF; }
.gi-blog__hero .gi-h1::after { content: ""; display: block; width: 48px; height: 3px; margin-block-start: 14px; background: var(--gi-red); }
.gi-blog__lead { max-width: 640px; margin: 16px 0 0; color: var(--gi-inverse-muted); font-size: var(--gi-text-md); line-height: 1.5; }
.gi-blog__topics ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.gi-blog__topics a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: var(--gi-border); border-radius: 999px; background: var(--gi-bg); color: var(--gi-ink); font-size: var(--gi-text-sm); font-weight: 600; }
.gi-blog__topics a:hover { border-color: var(--gi-ink); }
.gi-blog__topics a[aria-current] { border-color: var(--gi-red); background: var(--gi-red); color: #FFFFFF; }
.gi-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gi-space-5); margin-block-start: 28px; }
.gi-blog-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: var(--gi-border); border-radius: var(--gi-radius-m); background: var(--gi-bg); }
.gi-blog-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gi-surface-2); }
.gi-blog-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* no image whose rights are confirmed: brand panel (white logo on the dark band colour, red rule) */
.gi-blog__ph { display: flex; flex-direction: column; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(135deg, #14171A 0%, #2A2F35 100%); }
.gi-blog__ph img { display: block; width: auto; height: 32px; opacity: .92; }
.gi-blog__ph::after { content: ""; width: 40px; height: 3px; background: var(--gi-red); }
.gi-blog-card__body { display: grid; align-content: start; gap: var(--gi-space-2); flex: 1; padding: var(--gi-space-4) var(--gi-space-5) var(--gi-space-5); }
.gi-blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; color: var(--gi-muted); font-size: 13px; }
.gi-blog__cat { padding: 2px 8px; border-radius: var(--gi-radius-m); background: #FBE9EA; color: var(--gi-red-dark); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.gi-blog-card__t { margin: 0; font-size: var(--gi-text-md); line-height: var(--gi-leading-tight); }
.gi-blog-card__t a { color: var(--gi-ink); }
.gi-blog-card__t a:hover { color: var(--gi-red-text); text-decoration: underline; text-underline-offset: 3px; }
.gi-blog-card__d { margin: 0; color: var(--gi-muted); font-size: var(--gi-text-sm); line-height: 1.55; }
.gi-blog-card__more { display: inline-flex; align-items: center; gap: var(--gi-space-1); justify-self: start; min-height: var(--gi-target); color: var(--gi-red-text); font-size: var(--gi-text-sm); font-weight: 700; }
.gi-blog-card__more svg { width: 16px; height: 16px; }
.gi-blog .gi-pager { margin-block-start: 32px; }
.gi-blog__empty { display: grid; justify-items: center; gap: var(--gi-space-4); margin-block-start: 28px; padding: 48px 24px; border: var(--gi-border); border-radius: var(--gi-radius-m); background: var(--gi-surface-2); text-align: center; }
.gi-blog__empty p { margin: 0; font-size: var(--gi-text-md); }
.gi-blog__cta { margin-block-end: var(--gi-space-9); }
/* article page */
.gi-post { max-width: 820px; margin-inline: auto; padding-block: 24px 0; }
.gi-post__preview { margin-block-end: 20px; }
.gi-post__head { padding-block-end: 24px; border-block-end: var(--gi-border); }
.gi-post__head .gi-crumbs { margin-block-end: 18px; }
.gi-post__t { margin: 12px 0 0; }
.gi-post__lead { margin: 16px 0 0; color: var(--gi-muted); font-size: 19px; line-height: 1.55; }
.gi-post__img { margin: 28px 0 0; overflow: hidden; border-radius: var(--gi-radius-m); }
.gi-post__img img { display: block; width: 100%; height: auto; }
.gi-post__body { max-width: none; padding-block-start: 8px; font-size: 17px; line-height: 1.75; }
.gi-post__body h2 { margin: 40px 0 12px; font-size: 26px; line-height: 1.25; }
.gi-post__body h3 { margin: 28px 0 8px; font-size: 20px; line-height: 1.3; }
.gi-post__body p { margin: 0 0 16px; }
.gi-post__body ul, .gi-post__body ol { margin: 0 0 16px; padding-inline-start: 24px; }
.gi-post__body li { margin-block-end: 6px; }
.gi-post__body a { color: var(--gi-red-text); text-decoration: underline; text-underline-offset: 3px; }
.gi-post__body a:hover { color: var(--gi-ink); }
.gi-post__body .wp-block-table { margin: 8px 0 24px; overflow-x: auto; }
.gi-post__body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.gi-post__body th, .gi-post__body td { padding: 10px 12px; border: var(--gi-border); text-align: start; vertical-align: top; }
.gi-post__body th { background: var(--gi-surface-2); font-weight: 700; }
.gi-post .gi-blog__cta { margin-block: 40px 0; }
.gi-post__related { margin-block-start: 48px; }
.gi-post__related .gi-h3 { margin: 0; }
.gi-post__related .gi-blog__grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-block-start: 20px; }
.gi-post__back { margin: 32px 0 var(--gi-space-9); }
@container gi (max-width: 1024px) {
  .gi-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container gi (max-width: 760px) {
  .gi-blog__hero { margin-block-start: 16px; padding: 28px 20px 32px; }
  .gi-blog__grid { grid-template-columns: minmax(0, 1fr); }
  .gi-post__body { font-size: 16px; }
  .gi-post__body h2 { font-size: 22px; }
}
