/*
Theme Name: Fish-On Pro Gear V25
Theme URI: https://fish-onprogear.com/
Author: Fish-On Pro Gear
Description: Thème WooCommerce personnalisé basé sur la maquette Fish-On Pro Gear V25, noir, or et orienté AutoJig.
Version: 25.10.94
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: fish-on-pro-gear
*/

:root {
  --ink: #050606;
  --ink-soft: #0c0e0f;
  --gold: #d5a82f;
  --gold-light: #f2d06f;
  --paper: #f3f0e8;
  --muted: #a9ada9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: #f7f7f3; font-family: Arial, Helvetica, sans-serif; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [role="combobox"]:focus-visible { outline: 3px solid rgba(242,208,111,.32); outline-offset: 3px; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 92px;
  padding: 16px clamp(22px, 5vw, 80px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
  backdrop-filter: none;
}
.brand { display: inline-flex; align-items: center; gap: 13px; width: max-content; min-width: 0; }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-mark-fallback { width: 56px; height: 56px; border: 1px solid rgba(213,168,47,.38); border-radius: 50%; object-fit: cover; }
.brand-mark-custom { width: auto; height: auto; max-width: 92px; max-height: 68px; object-fit: contain; object-position: center; border: 0; border-radius: 0; background: transparent; }
.brand-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; line-height: 1.05; }
.brand-title { color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.brand-tagline { display: block; max-width: 220px; margin-top: 5px; color: var(--gold-light); font-size: 10px; font-weight: 800; letter-spacing: .10em; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); color: #ffffff; font-size: 18px; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.main-nav a { color: #ffffff; transition: color .2s ease, opacity .2s ease; }
.main-nav a:hover { color: var(--gold-light); opacity: 1; }

.header-cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 8px 0 15px;
  border: 1px solid rgba(224,183,69,.7);
  background: rgba(5,6,6,.34);
  color: var(--gold-light);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.header-cart svg { width: 18px; }
.header-cart strong { display: grid; width: 28px; height: 28px; place-items: center; background: var(--gold-light); color: #171304; font-size: 11px; }

.hero { position: relative; display: flex; align-items: center; min-height: 820px; height: 92vh; overflow: hidden; padding: 125px clamp(24px, 8vw, 140px) 76px; }
.hero-photo, .hero-shade, .hero-grid { position: absolute; inset: 0; }
.hero-photo img { object-fit: cover; object-position: center; filter: brightness(1.18) saturate(.94) contrast(1.01); transform: scale(1.01); }
.hero-photo > img,
.kit-product > img,
.model-product-image > img,
.gallery-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(3,4,4,.96) 0%, rgba(3,4,4,.76) 35%, rgba(3,4,4,.07) 62%, rgba(3,4,4,0) 100%),
    linear-gradient(0deg, rgba(3,4,4,.4) 0%, transparent 45%);
}
.hero-grid {
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}
.hero-content { position: relative; z-index: 2; width: min(700px, 60vw); }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; color: var(--gold-light); font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { width: 42px; height: 2px; background: var(--gold); }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 7.2vw, 112px); font-weight: 900; line-height: .88; letter-spacing: -.065em; text-transform: uppercase; text-wrap: balance; }
.hero h1 strong { display: block; color: var(--gold-light); font-weight: inherit; }
.hero-copy { max-width: 610px; margin: 31px 0 0; color: rgba(255,255,255,.74); font-size: clamp(17px, 1.4vw, 21px); line-height: 1.7; }
.hero-copy em { color: #fff; font-style: normal; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 23px; border: 1px solid transparent; font-size: 13px; font-weight: 850; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #161104; box-shadow: 0 14px 42px rgba(213,168,47,.19); }
.button-ghost { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.2); color: #fff; }

.signal-card { position: absolute; z-index: 3; right: clamp(18px, 2.4vw, 44px); bottom: 30px; width: 220px; padding: 12px; border: 1px solid rgba(239,204,105,.55); background: rgba(7,8,8,.82); box-shadow: 0 28px 70px rgba(0,0,0,.38); backdrop-filter: blur(16px); }
.signal-card::before { content: ""; position: absolute; top: -1px; left: 27px; width: 86px; height: 3px; background: var(--gold-light); }
.signal-card-top { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.signal-card-top svg { margin-left: auto; color: var(--gold-light); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #60d785; box-shadow: 0 0 0 5px rgba(96,215,133,.12); }
.fish-on-alert { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 9px; background: linear-gradient(135deg, rgba(213,168,47,.22), rgba(213,168,47,.06)); color: var(--gold-light); }
.fish-on-alert small, .fish-on-alert strong { display: block; }
.fish-on-alert small { margin-bottom: 2px; color: rgba(255,255,255,.55); font-size: 8px; letter-spacing: .22em; }
.fish-on-alert strong { font-size: 19px; letter-spacing: .1em; }
.connection-line { display: flex; align-items: center; }
.connection-line span { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid rgba(255,255,255,.17); color: var(--gold-light); }
.connection-line i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(213,168,47,.2), var(--gold)); }
.signal-card > p { margin: 9px 0 0; color: rgba(255,255,255,.52); font-size: 9px; text-align: center; }
.hero-scroll { position: absolute; z-index: 3; bottom: 0; left: clamp(24px, 4vw, 74px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll span { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: .28em; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 54px; background: var(--gold); }

.proof-strip { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 118px; border-top: 1px solid rgba(213,168,47,.35); border-bottom: 1px solid rgba(255,255,255,.09); background: #080a0a; }
.proof-strip > div { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 22px; border-right: 1px solid rgba(255,255,255,.08); }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong, .proof-strip svg { color: var(--gold-light); }
.proof-strip strong { font-size: 30px; }
.proof-strip span { max-width: 145px; color: rgba(255,255,255,.7); font-size: 12px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }

.connect-section, .app-section, .models-section, .parts-section, .how-section, .gallery-section, .cta-section { padding: 120px clamp(24px, 8vw, 140px); }
.connect-section { background: var(--paper); color: #151716; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); align-items: end; gap: 36px 70px; max-width: 1240px; margin: 0 auto 74px; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -16px; }
.section-heading h2, .how-intro h2, .cta-section h2 { margin: 0; font-size: clamp(44px, 6vw, 88px); font-weight: 900; line-height: .93; letter-spacing: -.058em; text-transform: uppercase; }
.section-heading > p:last-child, .how-intro > p:last-child, .cta-section > div > p:last-child { margin: 0; color: #5b605d; font-size: 18px; line-height: 1.7; }
.connect-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(34px, 6vw, 90px); max-width: 1240px; margin: 0 auto; }
.connect-feature-card { position: relative; padding: clamp(30px, 4vw, 54px); overflow: hidden; background: #0b0d0d; color: #fff; }
.connect-feature-card::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 280px; height: 280px; border: 1px solid rgba(213,168,47,.24); border-radius: 50%; box-shadow: 0 0 0 38px rgba(213,168,47,.04), 0 0 0 76px rgba(213,168,47,.025); }
.card-index { position: absolute; top: 28px; right: 28px; color: rgba(255,255,255,.22); font-size: 13px; font-weight: 800; letter-spacing: .18em; }
.connect-icon, .model-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid rgba(213,168,47,.5); color: var(--gold-light); }
.connect-feature-card h3 { max-width: 440px; margin: 32px 0 18px; font-size: clamp(30px, 3.3vw, 50px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.connect-feature-card > p { position: relative; z-index: 1; max-width: 520px; margin: 0; color: rgba(255,255,255,.6); line-height: 1.7; }
.connect-feature-card ul, .model-card ul { position: relative; z-index: 1; display: grid; gap: 13px; margin: 34px 0 0; padding: 0; list-style: none; }
.connect-feature-card li, .model-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.connect-feature-card li svg, .model-card li svg { flex: 0 0 18px; width: 18px; height: 18px; min-width: 18px; margin-top: 1px; stroke-width: 2; color: var(--gold-light); }

.system-flow { display: grid; align-content: center; }
.flow-node { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid #d7d5ce; background: rgba(255,255,255,.45); }
.flow-node > span { display: grid; width: 54px; height: 54px; place-items: center; background: #151716; color: var(--gold-light); }
.flow-node small, .flow-node strong { display: block; }
.flow-node small { margin-bottom: 5px; color: #a17b18; font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.flow-node strong { font-size: 18px; text-transform: uppercase; }
.flow-node p { margin: 5px 0 0; color: #777b78; font-size: 13px; }
.active-flow { border-color: #161817; background: #161817; color: #fff; }
.active-flow p { color: rgba(255,255,255,.55); }
.flow-link { display: grid; grid-template-rows: 24px 32px 24px; justify-items: center; }
.flow-link i { width: 1px; height: 100%; background: #b58c22; }
.flow-link svg { width: 16px; color: #9b7618; }

.kit-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); max-width: 1240px; margin: 90px auto 0; overflow: hidden; background: #0b0d0d; box-shadow: 0 28px 70px rgba(26,26,22,.14); }
.kit-visuals { position: relative; min-height: 700px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 18% 22%, rgba(218,158,30,.2), transparent 34%), radial-gradient(circle at 86% 66%, rgba(43,87,114,.22), transparent 40%), #050707; }
.kit-visuals::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(135deg, rgba(236,181,55,.08), transparent 42%, rgba(83,147,184,.07)); }
.kit-visuals::after { content: ""; position: absolute; z-index: 2; inset: 0; box-shadow: inset 0 0 70px rgba(0,0,0,.48); pointer-events: none; }
.kit-product { position: absolute; z-index: 1; margin: 0; filter: drop-shadow(0 24px 24px rgba(0,0,0,.42)); }
.kit-product img { object-fit: contain; }
.kit-product-main { top: 24px; left: 2%; width: 96%; height: 375px; }
.kit-product-main img { object-fit: cover; object-position: center; }
.kit-product-receiver { right: 3%; bottom: 20px; width: 88%; height: 320px; }
.kit-product figcaption { position: absolute; z-index: 2; top: 14px; left: 18px; padding: 7px 9px; border-left: 2px solid var(--gold-light); background: rgba(5,6,6,.62); color: rgba(255,255,255,.74); font-size: 9px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(8px); }
.kit-product-receiver figcaption { right: 18px; left: auto; }
.kit-copy { padding: clamp(38px, 5vw, 68px); color: #fff; }
.kit-copy .section-kicker { margin-bottom: 24px; }
.kit-copy h3 { max-width: 520px; margin: 0; font-size: clamp(36px, 4.5vw, 61px); font-weight: 900; line-height: .94; letter-spacing: -.055em; text-transform: uppercase; }
.kit-includes { display: grid; gap: 17px; margin: 34px 0 0; padding: 0; list-style: none; }
.kit-includes li { display: grid; grid-template-columns: 33px 1fr; gap: 14px; align-items: start; }
.kit-includes svg { width: 23px; color: var(--gold-light); }
.kit-includes strong, .kit-includes span { display: block; }
.kit-includes strong { margin-bottom: 4px; color: #fff; font-size: 14px; text-transform: uppercase; }
.kit-includes span { color: rgba(255,255,255,.56); font-size: 12px; line-height: 1.55; }
.receiver-details { margin-top: 35px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.13); }
.receiver-details h4 { margin: 0 0 16px; color: var(--gold-light); font-size: 12px; letter-spacing: .17em; text-transform: uppercase; }
.receiver-hardware { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.receiver-hardware span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); font-size: 11px; }
.receiver-hardware svg { width: 17px; color: var(--gold-light); }
.led-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin-top: 21px; padding: 17px; background: rgba(255,255,255,.055); }
.led-legend > span { display: grid; grid-template-columns: 11px 1fr; align-items: center; gap: 3px 8px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 750; }
.led-legend small { grid-column: 2; color: rgba(255,255,255,.36); font-size: 9px; font-weight: 500; }
.led { grid-row: 1 / span 2; width: 8px; height: 8px; border-radius: 50%; }
.led-blue { background: #36a9ff; box-shadow: 0 0 9px rgba(54,169,255,.75); }
.led-green { background: #5ed981; box-shadow: 0 0 9px rgba(94,217,129,.65); }
.led-red { background: #ff514d; box-shadow: 0 0 9px rgba(255,81,77,.72); }
.led.pulse { opacity: .62; }

.app-section { background: #111413; }
.app-heading { color: #fff; }
.app-heading > p:last-child { color: rgba(255,255,255,.58); }
.app-layout { display: grid; grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.app-control-card { position: relative; min-height: 540px; padding: clamp(32px, 4vw, 52px); overflow: hidden; border: 1px solid rgba(242,208,111,.54); background: radial-gradient(circle at 90% 10%, rgba(213,168,47,.2), transparent 34%), #080a0a; }
.app-control-card::after { content: "APP"; position: absolute; right: -10px; bottom: -28px; color: rgba(255,255,255,.035); font-size: 150px; font-weight: 900; line-height: 1; }
.app-control-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.app-control-top svg { margin-left: auto; color: var(--gold-light); }
.app-control-card h3 { position: relative; z-index: 1; max-width: 450px; margin: 50px 0 18px; font-size: clamp(34px, 4vw, 57px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.app-control-card > p { position: relative; z-index: 1; color: rgba(255,255,255,.58); line-height: 1.7; }
.app-control-preview { position: relative; z-index: 1; display: grid; gap: 10px; margin-top: 34px; }
.app-control-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.035); }
.app-control-preview small { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 900; letter-spacing: .17em; }
.app-control-preview strong { display: flex; align-items: center; gap: 9px; color: var(--gold-light); font-size: 12px; }
.app-control-preview .live-dot { width: 6px; height: 6px; }
.app-seven-profiles { margin: 22px 0 0; font-size: 11px; }
.app-seven-profiles svg { display: inline; width: 17px; margin-right: 9px; color: var(--gold-light); vertical-align: middle; }
.app-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-feature-grid article { min-height: 246px; padding: 31px; border: 1px solid rgba(255,255,255,.11); background: #0b0d0d; }
.app-feature-grid article > svg { width: 27px; height: 27px; color: var(--gold-light); }
.app-feature-grid h3 { margin: 29px 0 12px; font-size: 21px; letter-spacing: -.025em; text-transform: uppercase; }
.app-feature-grid p { margin: 0; color: rgba(255,255,255,.53); font-size: 13px; line-height: 1.65; }

.models-section { background: #070909; }
.models-section .section-heading > p:last-child { color: rgba(255,255,255,.55); }
.compact-heading { margin-bottom: 60px; }
.models-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; max-width: 1240px; margin: 0 auto; }
.model-card { display: flex; flex-direction: column; min-height: 720px; padding: clamp(28px, 3vw, 42px); border: 1px solid rgba(255,255,255,.12); background: #0d0f0f; }
.featured-model { position: relative; border-color: rgba(223,183,73,.75); background: radial-gradient(circle at 100% 0%, rgba(213,168,47,.18), transparent 35%), #111311; }
.featured-model::before { content: ""; position: absolute; top: -1px; right: 36px; left: 36px; height: 3px; background: var(--gold-light); }
.model-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.model-card-top small { color: rgba(255,255,255,.22); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.model-product-image, .model-image-placeholder { position: relative; width: 100%; height: 220px; margin-top: 28px; overflow: hidden; }
.model-product-image { border: 1px solid #b9c8c6; background: radial-gradient(ellipse at 50% 35%, #f2f5f4 0%, #dce4e3 60%, #c4d0cf 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.model-product-image img { z-index: 1; object-fit: contain; padding: 13px; filter: drop-shadow(0 12px 10px rgba(30,43,42,.22)); }
.speed-product-image img { padding: 10px; }
.model-image-placeholder { display: grid; place-items: center; align-content: center; gap: 12px; border: 1px solid rgba(213,168,47,.18); background: radial-gradient(circle at 50% 38%, rgba(213,168,47,.12), transparent 55%), #111413; color: rgba(242,208,111,.55); }
.model-image-placeholder svg { width: 50px; height: 50px; }
.model-image-placeholder span { font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.model-label { margin: 42px 0 11px; color: var(--gold-light); font-size: 10px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.model-card h3 { margin: 0; font-size: clamp(29px, 3vw, 45px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.model-description { min-height: 108px; margin: 24px 0 0; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.7; }
.model-card ul { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.75); }

.product-purchase { display: flex; flex-direction: column; margin-top: auto; padding-top: 26px; }
.product-purchase label { margin-bottom: 8px; color: rgba(255,255,255,.58); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.product-select { width: 100% !important; height: 44px !important; border-color: #c4ad64 !important; border-radius: 0 !important; background: #f3eee2 !important; color: #171a19 !important; box-shadow: none !important; }
.product-select > svg { color: #655022; opacity: 1; }
/* SelectContent is portalled outside the product card; style its own opaque surface. */
.product-select-content { z-index: 100; min-width: var(--radix-select-trigger-width); max-width: calc(100vw - 32px); border: 1px solid #b99134; border-radius: 0; background: #f3eee2; color: #171a19; opacity: 1; animation: none; backdrop-filter: none; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.product-select-content [data-slot="select-item"] { min-height: 44px; padding: 11px 34px 11px 12px; border-radius: 0; background: #f3eee2; color: #171a19; font-size: 13px; line-height: 1.45; cursor: pointer; }
.product-select-content [data-slot="select-item"][data-state="checked"] { background: #e9dfc3; }
.product-select-content [data-slot="select-item"][data-highlighted], .product-select-content [data-slot="select-item"]:focus { background: #d9ba65; color: #171a19; outline: none; }
.product-select-content [data-slot="select-item"] > span:last-child { white-space: normal; }
.product-select-content [data-slot="select-item-indicator"] svg { flex: none; width: 16px; height: 16px; color: #655022; }
.product-select-content [data-slot="select-scroll-up-button"], .product-select-content [data-slot="select-scroll-down-button"] { background: #f3eee2; color: #171a19; }
.selected-option-detail { min-height: 27px; padding-top: 8px; color: rgba(255,255,255,.43); font-size: 10px; }
.price-row { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 16px; }
.price-row strong { color: var(--gold-light); font-size: 31px; letter-spacing: -.035em; }
.price-row small { color: rgba(255,255,255,.4); font-size: 9px; font-weight: 850; }
.add-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 49px; border: 1px solid var(--gold-light); background: var(--gold-light); color: #171304; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.add-button:hover { background: #ffdf80; transform: translateY(-1px); }
.add-button svg { width: 17px; }
.simple-purchase { justify-content: flex-end; }
.pricing-note { max-width: 1240px; margin: 24px auto 0; color: rgba(255,255,255,.35); font-size: 10px; text-align: right; }

.parts-section { background: var(--paper); color: #151716; }
.parts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1240px; margin: 0 auto; }
.part-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #d2cfc5; background: #fff; box-shadow: 0 16px 34px rgba(27,29,27,.055); transition: transform .2s ease, box-shadow .2s ease; }
.part-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(27,29,27,.1); }
.part-image { position: relative; height: 280px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fafaf8 0, #e9e8e3 72%, #deddd7 100%); }
.part-image img { width: 100%; height: 100%; padding: 14px; object-fit: contain; }
.part-copy { display: flex; flex: 1; flex-direction: column; padding: 25px; border-top: 3px solid var(--gold); }
.part-copy small { color: #9b7618; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.part-copy h3 { margin: 9px 0 13px; font-size: 23px; line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.part-copy p { margin: 0; color: #686d69; font-size: 12px; line-height: 1.6; }
.unit-badge { width: max-content; margin-top: 16px; padding: 6px 8px; border: 1px solid #d7d2c3; color: #776331; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.part-purchase { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 24px; }
.part-purchase > strong { color: #8a6814; font-size: 24px; letter-spacing: -.035em; }
.part-purchase button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 0 13px; border: 1px solid #171918; background: #171918; color: var(--gold-light); cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.part-purchase button:hover { background: #2a2d2b; }
.part-purchase button svg { width: 14px; }

.how-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 130px); background: var(--paper); color: #151716; }
.how-intro { align-self: center; }
.how-intro .section-kicker { margin-bottom: 28px; }
.how-intro > p:last-child { margin-top: 28px; }
.steps-grid { display: grid; border-top: 1px solid #c9c6bd; }
.steps-grid article { display: grid; grid-template-columns: 42px 45px 150px 1fr; align-items: center; gap: 16px; min-height: 145px; border-bottom: 1px solid #c9c6bd; }
.steps-grid article > span { color: #a78326; font-size: 11px; font-weight: 900; }
.steps-grid article > svg { color: #9d7618; }
.steps-grid h3 { margin: 0; font-size: 21px; text-transform: uppercase; }
.steps-grid p { margin: 0; color: #696d69; font-size: 14px; line-height: 1.6; }

.gallery-section { background: var(--paper); color: #151716; }
.gallery-heading > p:last-child { color: #5b605d; }
.gallery-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: 18px; max-width: 1240px; margin: 0 auto; }
.gallery-catch-card { min-width: 0; overflow: hidden; border: 1px solid #d2cfc5; background: #fff; }
.gallery-photo { position: relative; height: 560px; overflow: hidden; background: #d9d8d2; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.gallery-catch-copy { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 25px 30px; border-top: 3px solid var(--gold); }
.gallery-catch-copy > strong { color: #8a6814; font-size: 52px; line-height: 1; letter-spacing: -.06em; }
.gallery-catch-copy > strong span { font-size: .42em; letter-spacing: 0; }
.gallery-catch-copy small { color: #9b7618; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.gallery-catch-copy h3 { margin: 5px 0 0; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.gallery-invite { display: flex; min-height: 100%; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 54px); background: #0a0c0c; color: #fff; }
.gallery-invite > svg { width: 48px; height: 48px; margin-bottom: 30px; color: var(--gold-light); }
.gallery-invite .section-kicker { margin-bottom: 20px; }
.gallery-invite h3 { margin: 0; font-size: clamp(31px, 3.4vw, 47px); line-height: .98; letter-spacing: -.045em; text-transform: uppercase; }
.gallery-invite > p:not(.section-kicker) { margin: 24px 0 30px; color: rgba(255,255,255,.56); font-size: 14px; line-height: 1.7; }
.gallery-invite .button { width: 100%; padding-right: 18px; padding-left: 18px; }
.email-note { margin-top: 14px; color: rgba(255,255,255,.38); font-size: 9px; line-height: 1.5; text-align: center; }

.cta-section { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; background: linear-gradient(125deg, rgba(242,208,111,.12), transparent 40%), #111312; }
.cta-section h2 { max-width: 920px; }
.cta-section > div > p:last-child { margin-top: 22px; color: rgba(255,255,255,.58); }
.cta-section .button { flex: 0 0 auto; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 32px clamp(24px, 6vw, 100px); border-top: 1px solid rgba(255,255,255,.09); background: #050606; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { border: 1px solid rgba(213,168,47,.26); border-radius: 50%; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-size: 12px; letter-spacing: .12em; }
.footer-brand span { margin-top: 4px; color: var(--gold-light); font-size: 9px; text-transform: uppercase; }
.footer-links { display: flex; gap: 28px; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; }
.site-footer > p { justify-self: end; color: rgba(255,255,255,.32); font-size: 10px; }

.cart-sheet { width: min(440px, 94vw) !important; max-width: none !important; gap: 0 !important; border-color: #d9d8d1 !important; background: var(--paper) !important; color: #171918 !important; }
.cart-header { padding: 30px 28px 22px !important; border-bottom: 1px solid #d9d8d1; }
.cart-header [data-slot="sheet-title"] { color: #171918; font-size: 25px; letter-spacing: -.03em; }
.cart-header [data-slot="sheet-description"] { color: #6c706d; }
.cart-body { flex: 1; overflow-y: auto; padding: 10px 28px; }
.empty-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px; text-align: center; }
.empty-cart > svg { width: 42px; height: 42px; margin-bottom: 18px; color: #a17b18; }
.empty-cart h3 { margin: 0; font-size: 20px; }
.empty-cart p { max-width: 240px; margin: 10px 0 0; color: #737875; font-size: 13px; line-height: 1.55; }
.cart-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 13px; padding: 20px 0; border-bottom: 1px solid #d9d8d1; }
.cart-item-icon { display: grid; width: 48px; height: 48px; place-items: center; background: #171918; color: var(--gold-light); }
.cart-item-icon svg { width: 22px; }
.cart-item-copy { min-width: 0; }
.cart-item-copy > strong, .cart-item-copy > span { display: block; }
.cart-item-copy > strong { font-size: 13px; }
.cart-item-copy > span { margin-top: 4px; color: #777b78; font-size: 10px; }
.quantity-control { display: flex; align-items: center; width: max-content; margin-top: 13px; border: 1px solid #c9c8c1; }
.quantity-control button { display: grid; width: 29px; height: 27px; padding: 0; place-items: center; border: 0; background: transparent; cursor: pointer; }
.quantity-control svg { width: 13px; }
.quantity-control b { min-width: 24px; font-size: 11px; text-align: center; }
.cart-item-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item-price > strong { font-size: 13px; white-space: nowrap; }
.cart-item-price button { padding: 4px; border: 0; background: transparent; color: #858986; cursor: pointer; }
.cart-item-price svg { width: 16px; }
.cart-footer { padding: 22px 28px 28px !important; border-top: 1px solid #d9d8d1; }
.subtotal-row { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.subtotal-row strong { font-size: 21px; }
.cart-footer > p { margin: 0 0 7px; color: #777c79; font-size: 10px; }
.checkout-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border: 0; background: var(--gold); color: #181404; cursor: pointer; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.checkout-button:disabled { cursor: not-allowed; opacity: .42; }
.checkout-button svg { width: 17px; }
.checkout-page { min-height: 100vh; background: var(--paper); color: #171a19; }
.checkout-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 94px; padding: 18px max(24px, calc((100vw - 1180px) / 2)); background: #0b0d0d; color: #fff; border-bottom: 2px solid var(--gold); }
.checkout-back, .checkout-text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.checkout-back svg, .checkout-text-button svg { flex: 0 0 17px; width: 17px; height: 17px; }
.checkout-shell { max-width: 1228px; margin: 0 auto; padding: 28px 24px 0; }
.checkout-demo-banner { display: flex; align-items: center; gap: 13px; padding: 14px 18px; border: 1px solid #d8c385; background: #f6edd6; color: #5b461a; }
.checkout-demo-banner > svg { flex: 0 0 21px; width: 21px; height: 21px; }
.checkout-demo-banner p { margin: 0; font-size: 13px; line-height: 1.5; }
.checkout-demo-banner strong { margin-right: 9px; }
.checkout-heading { margin: 42px 0 32px; }
.checkout-page .section-kicker { color: #856119; font-size: 10px; margin-bottom: 14px; }
.checkout-page h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 900; line-height: 1.05; letter-spacing: -.05em; }
.checkout-heading > p:last-child { margin: 14px 0 0; color: #626762; font-size: 15px; line-height: 1.6; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 30px; }
.checkout-form { display: grid; gap: 20px; min-width: 0; }
.checkout-panel { min-width: 0; padding: 28px; border: 1px solid #d8d8cf; background: #fffefa; }
.checkout-panel h2 { display: flex; align-items: center; gap: 13px; margin: 0 0 24px; font-size: 20px; font-weight: 800; letter-spacing: -.025em; }
.checkout-panel h2 > span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border: 1px solid #c7ac61; color: #856119; font-size: 11px; letter-spacing: .05em; }
.checkout-panel > p { margin: -10px 0 22px; color: #626762; font-size: 12px; line-height: 1.6; }
.checkout-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 19px 16px; }
.checkout-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.checkout-field-full { grid-column: 1 / -1; }
.checkout-field label { color: #333a35; font-size: 12px; font-weight: 700; line-height: 1.5; }
.checkout-field input { width: 100%; min-width: 0; height: 46px; padding: 10px 12px; border: 1px solid #b9c0b9; border-radius: 0; background: #fff; color: #171a19; font: inherit; font-size: 16px; box-shadow: none; }
.checkout-field input::placeholder { color: #737b75; opacity: 1; }
.checkout-page input:focus-visible, .checkout-page button:focus-visible, .checkout-page a:focus-visible { outline: 3px solid #a07c20; outline-offset: 3px; }
.checkout-inline-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 24px; padding: 16px; background: #f0f2ed; color: #505950; }
.checkout-inline-note svg { flex: 0 0 20px; width: 20px; height: 20px; }
.checkout-inline-note p { margin: 0; font-size: 12px; line-height: 1.65; }
.checkout-payment-preview { padding: 18px; border: 1px solid #d2d7d0; background: #f5f6f2; }
.checkout-payment-preview > div:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.checkout-payment-preview svg { width: 21px; height: 21px; }
.checkout-payment-preview strong { font-size: 13px; }
.checkout-payment-preview small { padding: 4px 7px; background: #e6e8e1; color: #596150; font-size: 10px; }
.checkout-payment-preview p { margin: 14px 0; font-size: 12px; color: #636b64; line-height: 1.6; }
.checkout-card-placeholder { display: grid; gap: 12px; padding: 16px; border: 1px dashed #b8beb4; background: #fffefa; color: #70776c; }
.checkout-card-placeholder span { font-size: 11px; }
.checkout-card-placeholder b { font-size: clamp(13px, 3vw, 20px); letter-spacing: .08em; }
.checkout-simulate { width: 100%; margin-top: 24px; }
.checkout-simulate:hover { background: var(--gold-light); }
.checkout-page .checkout-small { margin: 14px 0 0; color: #626762; font-size: 12px; line-height: 1.65; }
.checkout-summary { position: sticky; top: 24px; min-width: 0; padding: 28px; border-top: 3px solid var(--gold); background: #111513; color: #faf9f2; }
.checkout-summary-heading { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #3c413b; }
.checkout-summary-heading svg { color: var(--gold-light); width: 21px; height: 21px; }
.checkout-summary h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.checkout-items { margin: 0; padding: 0; list-style: none; }
.checkout-items li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 22px 0; border-bottom: 1px solid #3c413b; }
.checkout-item-image { display: grid; place-items: center; width: 62px; height: 62px; background: #dde5e2; color: #6c5826; }
.checkout-item-image img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.checkout-items strong, .checkout-items span, .checkout-items small { display: block; }
.checkout-items strong { font-size: 13px; line-height: 1.4; }
.checkout-items span { margin-top: 5px; color: #c0c7bf; font-size: 11px; line-height: 1.5; }
.checkout-items small { margin-top: 8px; font-size: 11px; color: #e5d8ae; }
.checkout-items b { font-size: 13px; white-space: nowrap; }
.checkout-totals { display: grid; gap: 14px; margin: 24px 0 0; }
.checkout-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; }
.checkout-totals dt { color: #c0c7bf; }
.checkout-totals dd { margin: 0; text-align: right; }
.checkout-totals .checkout-total { margin-top: 8px; padding-top: 22px; border-top: 1px solid #3c413b; font-size: 18px; font-weight: 800; }
.checkout-total dt, .checkout-total dd { color: var(--gold-light); }
.checkout-summary .checkout-small { color: #afb9ad; }
.checkout-edit-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; color: var(--gold-light); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.checkout-edit-cart svg { width: 16px; height: 16px; }
.checkout-summary-foot { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding-top: 22px; border-top: 1px solid #3c413b; color: #afb9ad; font-size: 11px; line-height: 1.6; }
.checkout-summary-foot svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold-light); }
.checkout-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; margin-top: 54px; padding: 26px 0; border-top: 1px solid #d1d3c9; font-size: 11px; color: #626762; }
.checkout-footer > span { font-weight: 800; letter-spacing: .12em; }
.checkout-empty, .checkout-complete { max-width: 720px; margin: 62px auto; padding: clamp(24px, 5vw, 48px); border: 1px solid #d8d8cf; background: #fffefa; }
.checkout-empty > svg { width: 42px; height: 42px; margin-bottom: 24px; color: #917124; }
.checkout-empty p, .checkout-complete > p:not(.section-kicker) { color: #626762; line-height: 1.7; }
.checkout-empty .button { margin-top: 14px; }
.checkout-success-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; background: #e7eddf; color: #426036; border: 1px solid #c0cdb1; }
.checkout-complete-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding: 20px; background: #f3f0e8; font-size: 13px; }
.checkout-complete-total strong { font-size: 22px; }
.checkout-complete-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-top: 30px; }
.checkout-text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #66501b; cursor: pointer; }

@media (max-width: 900px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .checkout-summary { position: static; grid-row: 1; }
}

@media (max-width: 540px) {
  .checkout-header { padding: 14px 18px; gap: 16px; }
  .checkout-back { max-width: 114px; font-size: 11px; }
  .checkout-shell { padding: 18px 16px 0; }
  .checkout-demo-banner { align-items: flex-start; padding: 12px; }
  .checkout-demo-banner strong { display: block; }
  .checkout-panel, .checkout-summary { padding: 22px 18px; }
  .checkout-fields { grid-template-columns: minmax(0, 1fr); }
  .checkout-items li { grid-template-columns: 50px minmax(0, 1fr); }
  .checkout-item-image { width: 50px; height: 50px; }
  .checkout-items b { grid-column: 2; }
}

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero-content { width: min(680px, 75vw); }
  .signal-card { top: auto; right: 28px; bottom: 54px; width: 258px; }
  .section-heading { grid-template-columns: 1fr; }
  .connect-layout, .app-layout { grid-template-columns: 1fr; }
  .kit-showcase { grid-template-columns: 1fr; }
  .kit-visuals { min-height: 640px; }
  .models-grid { grid-template-columns: 1fr 1fr; }
  .featured-model { grid-column: 1 / -1; }
  .parts-grid { grid-template-columns: 1fr 1fr; }
  .part-image { height: 360px; }
  .how-section { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-invite { min-height: 480px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .footer-links { display: none; }
}

@media (max-width: 760px) {
  .site-header { min-height: 76px; padding: 10px 16px; }
  .brand-mark-fallback { width: 46px; height: 46px; }
  .brand-mark-custom { max-width: 72px; max-height: 54px; }
  .brand-title { font-size: 13px; }
  .brand-tagline { max-width: 150px; font-size: 8px; }
  .header-cart { min-height: 42px; padding-left: 11px; }
  .header-cart > span { display: none; }
  .hero { display: block; min-height: 860px; height: auto; padding: 145px 22px 310px; }
  .hero-photo img { object-position: 72% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(3,4,4,.92) 0%, rgba(3,4,4,.78) 48%, rgba(3,4,4,.84) 100%); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .hero-copy { font-size: 16px; line-height: 1.55; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .signal-card { top: auto; right: 22px; bottom: 32px; left: 22px; width: auto; }
  .hero-scroll { display: none; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); }
  .proof-strip > div { justify-content: flex-start; min-height: 95px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .connect-section, .app-section, .models-section, .parts-section, .how-section, .gallery-section, .cta-section { padding: 86px 22px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading .section-kicker { margin-bottom: -4px; }
  .kit-showcase { margin-top: 60px; }
  .kit-visuals { min-height: 540px; }
  .kit-product-main { top: 18px; left: 3%; width: 94%; height: 250px; }
  .kit-product-receiver { right: 2%; bottom: 12px; width: 94%; height: 275px; }
  .kit-copy { padding: 38px 25px; }
  .receiver-hardware, .led-legend { grid-template-columns: 1fr; }
  .models-grid { grid-template-columns: 1fr; }
  .featured-model { grid-column: auto; }
  .model-card { min-height: 700px; }
  .parts-grid { grid-template-columns: 1fr; }
  .part-image { height: 300px; }
  .steps-grid article { grid-template-columns: 32px 35px 1fr; gap: 12px; padding: 24px 0; }
  .steps-grid article p { grid-column: 3; }
  .app-feature-grid { grid-template-columns: 1fr; }
  .gallery-photo { height: 440px; }
  .gallery-catch-copy { grid-template-columns: 1fr; gap: 10px; }
  .gallery-invite { min-height: 0; padding: 48px 26px; }
  .cta-section { align-items: stretch; flex-direction: column; }
  .cta-section .button { width: 100%; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > p { justify-self: start; }
}

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

/* ===== WordPress / WooCommerce integration ===== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
body:not(.home) { background: var(--paper); color: #151716; }
body:not(.home) .site-header { position: relative; top: 0; background: #050606; border-bottom-color: rgba(213,168,47,.35); }
body:not(.home).admin-bar .site-header { top: 0; }
body:not(.home) .site-footer { margin-top: 0; }
.fopg-main { min-height: 55vh; }
.fopg-content-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 100px; }
.fopg-content-shell h1 { margin: 0 0 28px; font-size: clamp(38px, 5vw, 68px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.fopg-content-shell a { color: #7d5c12; text-decoration: underline; text-underline-offset: 3px; }
.fopg-content-shell img { max-width: 100%; height: auto; }

/* Header cart as real WooCommerce link */
.header-cart { text-decoration: none !important; }
.header-cart:hover { background: rgba(213,168,47,.1); }

/* Hero CTA that goes to WooCommerce shop */
.button-shop-link { white-space: nowrap; }

/* Model/parts purchase links */
.add-button { text-decoration: none !important; }
.add-button.is-unavailable { opacity: .62; cursor: default; }

/* WooCommerce general */
.woocommerce-page .fopg-content-shell, .woocommerce .fopg-content-shell { color: #171918; }
.woocommerce-breadcrumb { margin: 0 0 24px !important; color: #777b78 !important; font-size: 12px !important; }
.woocommerce-breadcrumb a { color: #7b5d17 !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold) !important; background: #fffefa !important; color: #202421 !important; }
.woocommerce-message::before, .woocommerce-info::before { color: #9b7618 !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  border-radius: 0 !important; background: #151716 !important; color: var(--gold-light) !important; min-height: 46px; padding: 14px 18px !important; font-size: 12px !important; font-weight: 850 !important; text-transform: uppercase; letter-spacing: .04em;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #2a2d2b !important; color: #fff !important; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--gold) !important; color: #171304 !important; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { margin-bottom: 56px; }
.woocommerce div.product .product_title { margin: 0 0 12px; font-size: clamp(36px, 4.5vw, 64px); line-height: .95; letter-spacing: -.05em; text-transform: uppercase; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #8a6814 !important; font-size: 28px !important; font-weight: 850; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #5d625f; font-size: 16px; line-height: 1.7; }
.woocommerce .quantity .qty { min-height: 46px; border: 1px solid #bfc2bd; border-radius: 0; background: #fff; }
.woocommerce div.product form.cart { display: flex; gap: 10px; align-items: stretch; }
.woocommerce div.product form.cart .button { min-height: 46px; }
.woocommerce div.product .product_meta { padding-top: 20px; border-top: 1px solid #d2d0c7; color: #777b78; font-size: 12px; }
.woocommerce div.product .product_meta a { color: #795c19; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; border-bottom: 1px solid #cfcbbf; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 26px 0 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display:none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0 !important; color: #555b57 !important; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #8a6814 !important; border-bottom: 2px solid var(--gold); }
.woocommerce-Tabs-panel { line-height: 1.7; }

/* Shop/archive cards */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin: 36px 0 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none !important; }
.woocommerce ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; padding: 0 0 24px !important; border: 1px solid #d5d1c6; background: #fffefa; }
.woocommerce ul.products li.product a img { margin: 0 !important; aspect-ratio: 1/1; object-fit: contain; background: #101313; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 18px 18px 6px !important; font-size: 21px !important; line-height: 1; text-transform: uppercase; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: #8a6814 !important; font-size: 19px !important; font-weight: 800; }
.woocommerce ul.products li.product .button { margin: 15px 18px 0 !important; }

/* Cart + checkout */
.woocommerce-cart table.cart, .woocommerce-checkout-review-order-table, .woocommerce table.shop_table { border-radius: 0 !important; border-color: #d2d0c7 !important; background: #fffefa; }
.woocommerce table.shop_table th { text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { padding: 24px; background: #101312; color: #f7f7f3; }
.woocommerce-cart .cart-collaterals .cart_totals h2, .woocommerce-checkout #order_review_heading { color: #171918; text-transform: uppercase; }
.woocommerce-checkout #order_review_heading { margin-top: 36px; }
.woocommerce-checkout #order_review { color: #f7f7f3; }
.woocommerce-checkout #order_review a { color: var(--gold-light); }
.woocommerce-checkout #payment { border-radius: 0 !important; background: #ece9df !important; color: #171918; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 46px; border: 1px solid #bfc2bd; border-radius: 0; background: #fff; padding: 10px 12px; }
.select2-container--default .select2-selection--single { height: 46px; border-radius: 0; border-color: #bfc2bd; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 44px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }

/* Account */
.woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li a { display:block; padding: 13px 15px; border-bottom: 1px solid #d4d0c5; background:#fffefa; text-decoration:none; color:#171918; }
.woocommerce-MyAccount-navigation li.is-active a { background:#151716; color:var(--gold-light); }

/* Gutenberg */
.wp-block-button__link { border-radius: 0; background: #151716; color: var(--gold-light); }

@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .fopg-content-shell { width: min(100% - 32px, 1240px); padding-top: 48px; }
}


/* ===== WooCommerce Blocks: high-contrast gold checkout CTAs ===== */
/* Keep the real WooCommerce buttons functional/accessibile; reproduce the gold visual in CSS. */
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  min-height: 58px !important;
  border: 1px solid #8e6810 !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #f7dc82 0%, #e6bd46 48%, #d5a82f 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 5px 16px rgba(88,61,0,.18) !important;
  color: #0b0c0b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: .015em !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-transform: none !important;
  opacity: 1 !important;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease !important;
}
.wc-block-cart__submit-container .wc-block-cart__submit-button::after,
.wc-block-cart__submit-container .wc-block-components-button::after,
.wc-block-components-checkout-place-order-button::after {
  content: "→";
  display: inline-block;
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-cart__submit-container .wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: linear-gradient(180deg, #ffeaa1 0%, #f2cc58 48%, #ddb33a 100%) !important;
  color: #050606 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 7px 20px rgba(88,61,0,.24) !important;
  transform: translateY(-1px);
}
.wc-block-cart__submit-container .wc-block-cart__submit-button:focus-visible,
.wc-block-cart__submit-container .wc-block-components-button:focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible {
  outline: 3px solid rgba(213,168,47,.38) !important;
  outline-offset: 3px !important;
}
.wc-block-cart__submit-container .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button .wc-block-components-button__text {
  color: inherit !important;
  font-weight: inherit !important;
}

@media (max-width: 600px) {
  .wc-block-cart__submit-container .wc-block-cart__submit-button,
  .wc-block-cart__submit-container .wc-block-components-button,
  .wc-block-components-checkout-place-order-button {
    min-height: 54px !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
  }
}


/* ===== V25.4: label for express payment buttons in the cart ===== */
/* The cart remains fully WooCommerce/Stripe-native; this only clarifies the UX. */
.wc-block-components-express-payment--cart {
  position: relative;
}
.wc-block-components-express-payment--cart::before {
  content: "Paiement express";
  display: block;
  margin: 0 0 12px;
  color: #171918;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.25;
  text-transform: uppercase;
}
/* Prevent a future/native cart title from creating a duplicate heading. */
.wc-block-components-express-payment--cart > .wc-block-components-express-payment__title-container {
  display: none !important;
}

@media (max-width: 600px) {
  .wc-block-components-express-payment--cart::before {
    margin-bottom: 10px;
    font-size: 12px;
  }
}


/* ===== V25.6 — Mobile homepage / image composition fix ===== */
@media (max-width: 760px) {
  /* On mobile, use a true vertical composition instead of cropping the desktop hero. */
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    padding: 76px 0 0;
    background: #050606;
    overflow: hidden;
  }

  .hero-content {
    position: relative;
    z-index: 4;
    order: 1;
    width: 100%;
    padding: 46px 22px 28px;
    background:
      radial-gradient(circle at 100% 0%, rgba(213,168,47,.12), transparent 34%),
      linear-gradient(180deg, #070909 0%, #050606 100%);
  }

  .hero .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: .18em;
  }

  .hero h1 {
    max-width: 390px;
    font-size: clamp(46px, 13.5vw, 64px);
    line-height: .91;
    letter-spacing: -.055em;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 28px;
  }

  /* Show the complete desktop hero photo instead of zooming/cropping it. */
  .hero-photo {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    background: #080a0a;
    overflow: hidden;
  }

  .hero-photo > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: contain;
    object-position: center center;
    transform: none;
    filter: brightness(1.12) saturate(.96) contrast(1.02);
  }

  /* The desktop overlays are unnecessary once the photo is shown in full. */
  .hero-shade,
  .hero-grid {
    display: none;
  }

  .signal-card {
    position: relative;
    inset: auto;
    z-index: 4;
    order: 3;
    width: auto;
    margin: 20px 22px 28px;
    padding: 14px;
  }

  .hero-scroll { display: none; }

  /* Make product showcase images fit inside their frames instead of losing edges. */
  .kit-product-main img,
  .kit-product-receiver img,
  .model-product-image > img,
  .speed-product-image > img {
    object-fit: contain !important;
    object-position: center !important;
  }

  .kit-product-main,
  .kit-product-receiver {
    background: #070909;
  }

  /* Slightly reduce the tall showcase on phones while keeping the products complete. */
  .kit-visuals { min-height: 510px; }
  .kit-product-main { top: 14px; left: 3%; width: 94%; height: 236px; }
  .kit-product-receiver { right: 3%; bottom: 12px; width: 94%; height: 246px; }
}

@media (max-width: 420px) {
  .hero { padding-top: 72px; }
  .hero-content { padding: 38px 18px 24px; }
  .hero h1 { font-size: clamp(43px, 13vw, 56px); }
  .hero-photo { aspect-ratio: 16 / 10; }
  .signal-card { margin: 18px 18px 24px; }
  .proof-strip > div { padding: 16px 14px; }
  .proof-strip span { font-size: 11px; }
}


/* ============================================================
   V25.8.0 — HERO REPARTI À ZÉRO
   Une seule image : glace + vrai AutoJig + téléphone avec app.
   Aucun receiver, aucun masque, aucun objet superposé.
   ============================================================ */

.hero-bg,
.hero-ice-clean,
.hero-receiver-mask,
.hero-receiver-mask-a,
.hero-receiver-mask-b,
.hero-autojig,
.hero-autojig-single,
.hero-phone{
  display:none !important;
}

.hero-photo{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero-bg-v2580{
  display:block !important;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center center;
}

/* Le côté gauche reste lisible sous le texte */
.hero-photo::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.62) 30%,
    rgba(0,0,0,.12) 58%,
    rgba(0,0,0,0) 76%);
}

.hero-copy{
  position:relative;
  z-index:5;
}

@media (max-width:760px){
  .hero-bg-v2580{
    object-fit:cover;
    object-position:64% center;
  }
  .hero-photo::after{
    background:linear-gradient(90deg,
      rgba(0,0,0,.80) 0%,
      rgba(0,0,0,.48) 48%,
      rgba(0,0,0,.08) 100%);
  }
}


/* ============================================================
   V25.8.1 — SECTION AUTOJIG CONNECT CONDENSÉE
   Remplace les 3 sections répétitives par une seule présentation.
   ============================================================ */
.connect-summary-section{
  padding:84px 0;
  background:#f3efe5;
}
.connect-summary{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  border:1px solid rgba(20,20,20,.12);
  background:#0b0d0c;
  box-shadow:0 18px 60px rgba(0,0,0,.10);
  overflow:hidden;
}
.connect-summary-visual{
  min-height:680px;
  position:relative;
  overflow:hidden;
  background:#080a09;
}
.connect-summary-visual img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.connect-summary-copy{
  padding:64px 58px;
  color:#f5f2eb;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.connect-summary-copy .section-kicker{
  color:#e4bd56;
  letter-spacing:.18em;
  font-weight:800;
  margin:0 0 18px;
}
.connect-summary-copy h2{
  color:#fff;
  margin:0 0 20px;
  font-size:clamp(42px,4vw,68px);
  line-height:.94;
  text-transform:uppercase;
}
.connect-summary-lead{
  color:#c7c9c7;
  font-size:17px;
  line-height:1.65;
  margin:0 0 34px;
}
.connect-summary-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:22px;
}
.summary-point{
  border:1px solid rgba(228,189,86,.20);
  background:#101311;
  padding:18px;
  display:flex;
  gap:13px;
  align-items:flex-start;
}
.summary-point svg{
  color:#e4bd56;
  flex:0 0 auto;
  width:24px;
  height:24px;
}
.summary-point strong{
  display:block;
  color:#fff;
  text-transform:uppercase;
  font-size:14px;
  margin-bottom:4px;
}
.summary-point span{
  display:block;
  color:#aeb2ae;
  font-size:13px;
  line-height:1.45;
}
.custom-sequence-feature{
  border:1px solid #b68d2d;
  background:linear-gradient(135deg,rgba(182,141,45,.16),rgba(182,141,45,.04));
  padding:22px;
  display:flex;
  gap:18px;
  margin:4px 0 28px;
}
.feature-badge{
  flex:0 0 auto;
  height:max-content;
  border:1px solid #e4bd56;
  color:#e4bd56;
  padding:6px 9px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.16em;
}
.custom-sequence-feature h3{
  color:#fff;
  margin:0 0 7px;
  font-size:23px;
  text-transform:uppercase;
}
.custom-sequence-feature p{
  margin:0;
  color:#c7c9c7;
  line-height:1.55;
}
.connect-summary-cta{
  align-self:flex-start;
}

@media (max-width:900px){
  .connect-summary{
    grid-template-columns:1fr;
  }
  .connect-summary-visual{
    min-height:420px;
  }
}
@media (max-width:620px){
  .connect-summary-section{
    padding:48px 0;
  }
  .connect-summary{
    width:calc(100% - 24px);
  }
  .connect-summary-visual{
    min-height:330px;
  }
  .connect-summary-copy{
    padding:34px 24px 38px;
  }
  .connect-summary-copy h2{
    font-size:40px;
  }
  .connect-summary-grid{
    grid-template-columns:1fr;
  }
  .custom-sequence-feature{
    flex-direction:column;
  }
}


/* V25.8.3 — image hero utilisateur avec nom unique anti-cache */
.hero-bg-v2580 {
  content: url("assets/images/products/hero-autojig-user-v2583.webp") !important;
}

/* V25.8.4 — nettoyage des anciens visuels receiver et anciens hero. */


/* ============================================================
   V25.8.5 — GALERIE APPLICATION AUTOJIG CONNECT
   4 captures dans des téléphones de même format
   ============================================================ */
.app-gallery-section{
  background:#0a0d0f;
  padding:88px 0 96px;
  border-top:1px solid rgba(228,189,86,.16);
  border-bottom:1px solid rgba(228,189,86,.12);
}
.app-gallery-head{
  width:min(1180px, calc(100% - 48px));
  margin:0 auto 42px;
}
.app-gallery-head .section-kicker{
  color:#e4bd56;
  letter-spacing:.18em;
  font-weight:800;
  margin:0 0 14px;
}
.app-gallery-head h2{
  margin:0 0 16px;
  color:#fff;
  font-size:clamp(46px,5vw,76px);
  line-height:.95;
  text-transform:uppercase;
}
.app-gallery-head > p:last-child{
  max-width:900px;
  margin:0;
  color:#e4e8ec;
  font-size:20px;
  line-height:1.7;
}
.app-gallery-track{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:start;
}
.app-shot-card{
  min-width:0;
  background:#0f1418;
  border:1px solid rgba(228,189,86,.16);
  padding:18px 16px 20px;
}
.app-shot-media{
  width:100%;
  aspect-ratio: 13 / 23;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#05080a;
  margin-bottom:18px;
}
.app-shot-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.app-shot-card h3{
  margin:0 0 8px;
  color:#fff;
  font-size:19px;
  text-transform:uppercase;
}
.app-shot-card p{
  margin:0;
  color:#9ca8b2;
  font-size:14px;
  line-height:1.55;
}

@media (max-width:1050px){
  .app-gallery-track{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:24px;
  }
}
@media (max-width:680px){
  .app-gallery-section{
    padding:58px 0 64px;
  }
  .app-gallery-head{
    width:calc(100% - 28px);
    margin-bottom:28px;
  }
  .app-gallery-head h2{
    font-size:40px;
  }
  .app-gallery-track{
    width:100%;
    padding:0 14px 8px;
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .app-shot-card{
    flex:0 0 82vw;
    max-width:360px;
    scroll-snap-align:center;
  }
}

/* V25.8.7 — galerie application uniforme + Heatmap */
.app-gallery-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;}
.app-shot-card{background:#0b1116!important;border:1px solid rgba(228,189,86,.20)!important;}
.app-shot-media{aspect-ratio:12/19!important;background:linear-gradient(180deg,#07121d 0%,#01070c 100%)!important;padding:0!important;overflow:hidden!important;}
.app-shot-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;display:block!important;}
@media(max-width:1050px){.app-gallery-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:680px){.app-gallery-track{display:flex!important;grid-template-columns:none!important}.app-shot-card{flex:0 0 84vw!important;max-width:390px!important;}}

/* V25.8.8 — galerie 3x2 propre, téléphones uniformes, détail de prise agrandi */
.app-gallery-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;}
.app-shot-card{display:flex!important;flex-direction:column!important;background:#0b1116!important;border:1px solid rgba(228,189,86,.20)!important;}
.app-shot-media{aspect-ratio:12/19!important;background:#050b11!important;overflow:hidden!important;padding:0!important;}
.app-shot-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;}
.app-shot-card h3{min-height:46px;}
.app-shot-card p{margin-top:auto!important;}
@media(max-width:1050px){.app-gallery-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:680px){.app-gallery-track{display:flex!important;overflow-x:auto!important;gap:16px!important}.app-shot-card{flex:0 0 84vw!important;max-width:390px!important}.app-shot-media{aspect-ratio:12/19!important;}}

/* V25.8.9 cache-bust + uniform phone gallery */
.app-shot-media,.app-shot-media img{background:#050b11!important;}
.app-shot-media img{box-shadow:none!important;border:0!important;}

/* V25.9.0 — galerie finale: 6 téléphones identiques, grille 3 x 2 */
.app-gallery-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;}
.app-shot-card{display:flex!important;flex-direction:column!important;background:#0b1116!important;border:1px solid rgba(228,189,86,.20)!important;}
.app-shot-media{aspect-ratio:1086/1448!important;background:#020811!important;padding:0!important;overflow:hidden!important;}
.app-shot-media img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;display:block!important;background:#020811!important;}
@media(max-width:1050px){.app-gallery-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:680px){.app-gallery-track{display:flex!important;overflow-x:auto!important;gap:16px!important}.app-shot-card{flex:0 0 84vw!important;max-width:390px!important;}}


/* ============================================================
   V25.9.1 — ordre logique galerie + section Connect plein écran
   ============================================================ */

/* La présentation AutoJig Connect occupe maintenant toute la largeur,
   comme le hero, au lieu d'être enfermée dans une carte centrée. */
.connect-summary-section{
  padding:0 !important;
  background:#0b0d0c !important;
}
.connect-summary{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  min-height:760px;
  border:0 !important;
  box-shadow:none !important;
  grid-template-columns:1fr 1fr !important;
}
.connect-summary-visual{
  min-height:760px !important;
}
.connect-summary-copy{
  padding:72px clamp(48px,6vw,110px) !important;
}
.connect-summary-visual img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

/* Conserve la galerie en 3 x 2 sur ordinateur. */
.app-gallery-track{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

@media (max-width:900px){
  .connect-summary{
    grid-template-columns:1fr !important;
    min-height:auto;
  }
  .connect-summary-visual{
    min-height:520px !important;
  }
}
@media (max-width:620px){
  .connect-summary-section{
    padding:0 !important;
  }
  .connect-summary{
    width:100% !important;
  }
  .connect-summary-visual{
    min-height:390px !important;
  }
  .connect-summary-copy{
    padding:42px 24px 46px !important;
  }
}


/* ============================================================
   V25.9.2 — Fish On corrigé + mise en avant nouveauté Connect
   ============================================================ */
.connect-summary-copy .section-kicker{color:#78ff47 !important;}
.connect-summary-subhead{margin:-6px 0 18px;color:#e4bd56;font-size:22px;font-weight:800;letter-spacing:.02em;}
.connect-visual-overlay{position:absolute;left:30px;bottom:34px;z-index:3;display:flex;flex-direction:column;gap:8px;padding:18px 20px;background:rgba(7,10,15,.68);backdrop-filter:blur(4px);border:1px solid rgba(120,255,71,.35);box-shadow:0 12px 36px rgba(0,0,0,.32);max-width:min(82%,420px);}
.connect-visual-badge{display:inline-flex;align-self:flex-start;padding:7px 10px;border:1px solid #78ff47;background:rgba(120,255,71,.12);color:#78ff47;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;}
.connect-visual-overlay strong{font-size:28px;line-height:1;color:#fff;text-transform:uppercase;}
.connect-visual-overlay em{font-style:normal;color:#e4bd56;font-size:18px;font-weight:800;line-height:1.3;}
.custom-sequence-feature{border-color:#78ff47 !important;background:linear-gradient(135deg,rgba(120,255,71,.14),rgba(120,255,71,.04)) !important;}
.feature-badge{border-color:#78ff47 !important;color:#78ff47 !important;background:rgba(120,255,71,.10);}
.custom-sequence-feature h3{font-size:28px !important;color:#fff;}
.app-gallery-head .section-kicker{color:#78ff47 !important;}
@media (max-width:900px){.connect-visual-overlay{left:18px;right:18px;bottom:18px;max-width:none;}.connect-summary-subhead{font-size:18px;}}


/* V25.9.4 — ajustements texte marketing */
.proof-strip{grid-template-columns:repeat(3,minmax(0,1fr));}
.connect-summary-subhead{max-width:760px;}
@media (max-width:900px){.proof-strip{grid-template-columns:1fr;}}


/* V25.9.5 — affinage textes et bloc Connect */
.proof-strip > div{gap:14px;}
.proof-strip span{max-width:220px;font-size:15px;line-height:1.35;letter-spacing:.03em;}
.proof-strip svg{width:20px;height:20px;}
.connect-summary-copy .section-kicker{letter-spacing:.16em;}
.connect-summary-subhead{font-size:24px;line-height:1.35;}
.connect-summary-lead{font-size:20px;line-height:1.7;color:#e0e2e0;max-width:860px;}
.connect-visual-badge{border-color:#e4bd56;background:rgba(228,189,86,.10);color:#e4bd56;}
.feature-badge{letter-spacing:.12em;}
@media (max-width:1100px){.proof-strip span{font-size:14px;max-width:200px;}.connect-summary-lead{font-size:18px;}}
@media (max-width:900px){.proof-strip span{font-size:13px;max-width:none;}.connect-summary-subhead{font-size:20px;}.connect-summary-lead{font-size:17px;}}

/* V25.9.7 — hero exact approuvé */
.hero-exact{position:relative;width:100%;margin:0;padding:0;overflow:hidden;background:#02070d;line-height:0;}
.hero-exact>img{display:block;width:100%;height:auto;margin:0;padding:0;}
.hero-exact-hotspot{position:absolute;z-index:4;left:4.4%;top:62.4%;width:27%;height:7.6%;display:block;border-radius:8px;}
.hero-exact-hotspot:focus-visible{outline:3px solid #fff;outline-offset:3px;}


/* V25.9.8 — retire l'ancien logo du header et uniformise les boutons panier */
.header-brand-spacer{display:block;min-width:1px;}
.main-nav{justify-self:center;}
@media(max-width:1020px){.header-brand-spacer{display:block;}}


/* V25.9.9 — header plus net + texte app renforcé */
.site-header{border-bottom:1px solid rgba(255,255,255,.10);}
.header-cart{background:rgba(5,8,10,.46);}
@media (max-width:1200px){.main-nav{font-size:15px;gap:clamp(18px,2vw,28px);}}
@media (max-width:900px){.main-nav{font-size:14px;}}


/* V25.10.0 — contenu Connect simplifié et application détaillée */
.app-gallery-head > p:last-child{max-width:980px !important;font-size:21px !important;line-height:1.72 !important;color:#edf0f2 !important;}
.app-shot-card p{font-size:15.5px !important;line-height:1.65 !important;color:#c9d0d5 !important;}
.app-shot-card h3{font-size:21px !important;line-height:1.15 !important;}
@media(max-width:680px){.app-gallery-head > p:last-child{font-size:18px !important;}.app-shot-card p{font-size:15px !important;}}


/* ============================================================
   V25.10.2 — mobile sans défilement horizontal + CTA compact
   ============================================================ */

/* Empêche tout élément de pousser la page plus large que l'écran. */
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
main,
main > section,
.site-header,
.site-footer,
.connect-summary,
.connect-summary-copy,
.connect-summary-visual,
.app-gallery-section,
.app-gallery-head,
.app-gallery-track,
.models-grid,
.parts-grid,
.gallery-grid,
.cta-section{
  min-width:0;
  max-width:100%;
}

/* Section finale moins haute sur ordinateur. */
.cta-section{
  padding:72px clamp(24px,8vw,140px) !important;
  min-height:0 !important;
  align-items:center !important;
}
.cta-section h2{
  font-size:clamp(42px,5.2vw,72px) !important;
  max-width:840px !important;
}
.cta-section > div > p:last-child{
  margin-top:16px !important;
}

/* Les gros textes ne doivent jamais dépasser leur colonne. */
.connect-summary-copy h2,
.connect-summary-subhead,
.connect-summary-lead,
.custom-sequence-feature h3,
.custom-sequence-feature p,
.section-heading h2,
.model-card h3,
.model-description,
.app-gallery-head h2,
.app-gallery-head > p:last-child,
.app-shot-card h3,
.app-shot-card p,
.cta-section h2,
.cta-section p{
  max-width:100%;
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Tablettes et téléphones : chaque bloc devient réellement 100 % fluide. */
@media (max-width:900px){
  .connect-summary{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
    overflow:hidden !important;
  }
  .connect-summary-copy{
    width:100% !important;
    padding:42px 24px 46px !important;
  }
  .connect-summary-grid{
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
  }
  .summary-point,
  .custom-sequence-feature{
    min-width:0 !important;
    width:100% !important;
  }
  .models-grid,
  .parts-grid,
  .gallery-grid{
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
  }
  .model-card,
  .part-card,
  .gallery-catch-card,
  .gallery-invite{
    min-width:0 !important;
    width:100% !important;
  }
}

/* Mobile : aucune galerie horizontale. Les 6 écrans sont empilés. */
@media (max-width:680px){
  .hero-exact{
    width:100vw !important;
    max-width:100% !important;
    overflow:hidden !important;
  }
  .hero-exact > img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
  }

  .connect-summary-visual{
    min-height:320px !important;
  }
  .connect-summary-copy{
    padding:36px 18px 40px !important;
  }
  .connect-summary-copy h2{
    font-size:36px !important;
    line-height:.98 !important;
  }
  .connect-summary-subhead{
    font-size:18px !important;
    line-height:1.45 !important;
  }
  .connect-summary-lead{
    font-size:16px !important;
    line-height:1.65 !important;
  }
  .connect-visual-overlay{
    left:12px !important;
    right:12px !important;
    bottom:12px !important;
    max-width:calc(100% - 24px) !important;
    padding:14px !important;
  }
  .connect-visual-overlay strong{
    font-size:22px !important;
  }
  .connect-visual-overlay em{
    font-size:15px !important;
  }

  .app-gallery-section{
    padding:54px 0 62px !important;
    overflow:hidden !important;
  }
  .app-gallery-head{
    width:calc(100% - 32px) !important;
    margin:0 16px 28px !important;
  }
  .app-gallery-head h2{
    font-size:38px !important;
    line-height:1 !important;
  }
  .app-gallery-head > p:last-child{
    font-size:17px !important;
    line-height:1.65 !important;
  }
  .app-gallery-track{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100% !important;
    max-width:100% !important;
    padding:0 16px !important;
    gap:18px !important;
    overflow:visible !important;
    scroll-snap-type:none !important;
  }
  .app-shot-card{
    display:flex !important;
    flex-direction:column !important;
    flex:none !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    scroll-snap-align:none !important;
  }

  .models-section,
  .parts-section,
  .how-section,
  .gallery-section{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .cta-section{
    padding:48px 18px !important;
    gap:24px !important;
  }
  .cta-section h2{
    font-size:42px !important;
    line-height:.95 !important;
  }

  .site-footer{
    width:100% !important;
    padding-left:18px !important;
    padding-right:18px !important;
  }
}

/* Très petits écrans. */
@media (max-width:420px){
  .connect-summary-copy h2{font-size:32px !important;}
  .app-gallery-head h2{font-size:34px !important;}
  .cta-section h2{font-size:36px !important;}
}


/* ============================================================
   V25.10.3 — cartes modèles : effet or au survol
   ============================================================ */
.models-grid .model-card{
  position: relative;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}
.models-grid .model-card::before{
  content: "";
  position: absolute;
  top: -1px;
  right: 36px;
  left: 36px;
  height: 3px;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity .22s ease;
}
.models-grid .featured-model::before,
.models-grid .model-card:hover::before,
.models-grid .model-card:focus-within::before{
  opacity: 1;
}
.models-grid .model-card:hover,
.models-grid .model-card:focus-within{
  border-color: rgba(223,183,73,.75);
  background: radial-gradient(circle at 100% 0%, rgba(213,168,47,.18), transparent 35%), #111311;
  box-shadow: 0 20px 40px rgba(0,0,0,.28);
  transform: translateY(-3px);
}
.models-grid .model-card:hover .model-label,
.models-grid .model-card:focus-within .model-label,
.models-grid .model-card:hover h3,
.models-grid .model-card:focus-within h3,
.models-grid .model-card:hover .model-description,
.models-grid .model-card:focus-within .model-description,
.models-grid .model-card:hover li,
.models-grid .model-card:focus-within li,
.models-grid .model-card:hover .product-note,
.models-grid .model-card:focus-within .product-note{
  color: rgba(255,255,255,.96);
}
.models-grid .model-card:hover .model-card-top small,
.models-grid .model-card:focus-within .model-card-top small{
  color: rgba(242,208,111,.52);
}
@media (hover:none){
  .models-grid .model-card:hover{transform:none; box-shadow:none;}
}


/* ============================================================
   V25.10.4 — menu déplacé + cartes égales sans sélection par défaut
   ============================================================ */

/* Sur grand écran, éloigne légèrement le menu du logo intégré au hero. */
@media (min-width:1201px){
  .main-nav{
    transform:translateX(42px);
  }
}

/* Les trois cartes ont exactement la même largeur sur ordinateur. */
@media (min-width:1021px){
  .models-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* AutoJig Connect n'est plus surligné par défaut. */
.models-grid .featured-model{
  grid-column:auto !important;
  border-color:rgba(255,255,255,.12);
  background:#0d0f0f;
  box-shadow:none;
  transform:none;
}
.models-grid .featured-model::before{
  opacity:0;
}

/* Toutes les cartes, y compris Connect, prennent l'effet vedette seulement au survol/focus. */
.models-grid .model-card:hover,
.models-grid .model-card:focus-within{
  border-color:rgba(223,183,73,.75);
  background:radial-gradient(circle at 100% 0%, rgba(213,168,47,.18), transparent 35%), #111311;
  box-shadow:0 20px 40px rgba(0,0,0,.28);
  transform:translateY(-3px);
}
.models-grid .model-card:hover::before,
.models-grid .model-card:focus-within::before{
  opacity:1;
}

/* Sur tablette, Connect garde la même largeur que l'autre carte de la rangée. */
@media (max-width:1020px) and (min-width:761px){
  .models-grid .featured-model{
    grid-column:auto !important;
  }
}


/* ============================================================
   V25.10.5 — ajout panier AJAX sans rechargement / sans retour en haut
   ============================================================ */
.add-button.is-adding{
  opacity:.72;
  pointer-events:none;
}
.add-button.is-added{
  border-color:#76d98a !important;
  background:#76d98a !important;
  color:#071109 !important;
}
.add-button.is-add-error{
  border-color:#ef7676 !important;
  background:#ef7676 !important;
  color:#170707 !important;
}


/* ============================================================
   V25.10.6 — navigation uniforme, panier cohérent, ancien logo retiré
   ============================================================ */

/* Header interne : même identité Fish-On Pro Gear que le visuel d'accueil. */
body:not(.home) .site-header{
  min-height:88px;
  grid-template-columns:minmax(220px,1fr) auto minmax(150px,1fr);
  padding:10px clamp(20px,4vw,64px);
  background:#030404;
  border-bottom:1px solid rgba(213,168,47,.26);
}
.internal-header-brand{
  justify-self:start;
  display:block;
  width:min(270px,23vw);
  min-width:190px;
  line-height:0;
}
.internal-header-brand img{
  display:block;
  width:100%;
  height:auto;
  max-height:68px;
  object-fit:contain;
  object-position:left center;
}

/* Le menu interne reste identique à la page d'accueil. */
body:not(.home) .main-nav{
  transform:none !important;
  font-size:15px;
  gap:clamp(18px,2.2vw,34px);
}

/* Footer simplifié : plus de vieux logo ni de "Catch More Fish". */
.site-footer-clean{
  grid-template-columns:1fr auto;
  min-height:82px;
  padding:22px clamp(24px,6vw,100px);
}
.site-footer-clean .footer-links{
  justify-self:start;
}
.site-footer-clean > p{
  justify-self:end;
  margin:0;
}

/* Bouton de retour magasin dans le panier. */
.fopg-continue-shopping{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  margin-top:14px;
  border:1px solid #d5a82f;
  background:#090b0b;
  color:#f2d06f !important;
  font-size:12px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.fopg-continue-shopping:hover{
  background:#f2d06f;
  color:#171304 !important;
  transform:translateY(-1px);
}

@media(max-width:1100px){
  body:not(.home) .site-header{
    grid-template-columns:minmax(170px,.8fr) auto minmax(120px,.8fr);
  }
  .internal-header-brand{width:210px;min-width:160px;}
  body:not(.home) .main-nav{font-size:13px;gap:16px;}
}

@media(max-width:900px){
  body:not(.home) .site-header{
    grid-template-columns:1fr auto;
  }
  body:not(.home) .internal-header-brand{
    width:190px;
    min-width:0;
  }
  body:not(.home) .main-nav{
    display:none;
  }
}

@media(max-width:620px){
  body:not(.home) .site-header{
    min-height:72px;
    padding:8px 14px;
  }
  body:not(.home) .internal-header-brand{
    width:155px;
  }
  .site-footer-clean{
    grid-template-columns:1fr;
    gap:16px;
  }
  .site-footer-clean .footer-links,
  .site-footer-clean > p{
    justify-self:start;
  }
}


/* ============================================================
   V25.10.9 — cadrage image Connect moins zoomé
   ============================================================ */
.connect-summary-visual{
  background:#071019 !important;
}
.connect-summary-visual img{
  object-fit:contain !important;
  object-position:center center !important;
  transform:scale(.92);
}

/* Garde un beau remplissage sur grand écran sans couper le visuel. */
@media (min-width:901px){
  .connect-summary-visual{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }
  .connect-summary-visual img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
  }
}

/* Sur téléphone, affiche l'image entière sans zoom ni défilement horizontal. */
@media (max-width:900px){
  .connect-summary-visual{
    min-height:auto !important;
    aspect-ratio:1 / 1 !important;
  }
  .connect-summary-visual img{
    transform:scale(.96);
    object-fit:contain !important;
  }
}


/* ============================================================
   V25.10.10 — section Connect : sans overlay, titre pleine largeur,
   image un peu plus basse et plus dézoomée
   ============================================================ */
.connect-summary{
  grid-template-columns:1.04fr .96fr !important;
}
.connect-summary-head{
  grid-column:1 / -1;
  padding:52px 58px 12px;
  background:#0b0d0c;
}
.connect-summary-head .section-kicker{
  margin:0 0 14px;
  color:#78ff47;
  letter-spacing:.16em;
  font-weight:800;
}
.connect-summary-head h2{
  margin:0;
  color:#fff;
  font-size:clamp(40px,4.2vw,70px);
  line-height:.95;
  text-transform:uppercase;
  max-width:1120px;
}
.connect-summary-copy{
  padding-top:26px !important;
}
.connect-summary-copy .section-kicker,
.connect-summary-copy > h2{
  display:none !important;
}
.connect-summary-visual{
  min-height:620px !important;
  background:#071019 !important;
}
.connect-summary-visual img{
  object-fit:contain !important;
  object-position:center 58% !important;
  transform:scale(.88);
}
.connect-visual-overlay{
  display:none !important;
}

@media (max-width:1100px){
  .connect-summary-head{padding:42px 40px 8px;}
  .connect-summary-head h2{font-size:clamp(34px,5.4vw,56px);}
  .connect-summary-visual{min-height:540px !important;}
}

@media (max-width:900px){
  .connect-summary{grid-template-columns:1fr !important;}
  .connect-summary-head{padding:34px 24px 4px;}
  .connect-summary-head h2{font-size:clamp(30px,9vw,48px);}
  .connect-summary-visual{min-height:420px !important;}
  .connect-summary-visual img{object-position:center 62% !important; transform:scale(.92);}
  .connect-summary-copy{padding-top:24px !important;}
}

@media (max-width:620px){
  .connect-summary-head{padding:30px 20px 0;}
  .connect-summary-head .section-kicker{font-size:12px;}
  .connect-summary-head h2{font-size:clamp(28px,10vw,40px);}
  .connect-summary-visual{min-height:340px !important;}
  .connect-summary-visual img{object-position:center 66% !important; transform:scale(.98);}
}


/* ============================================================
   V25.10.11 — navigation vers les sections depuis panier/pages internes
   ============================================================ */
#connect,
#application,
#gamme,
#pieces,
#galerie{
  scroll-margin-top:96px;
}
@media(max-width:900px){
  #connect,
  #application,
  #gamme,
  #pieces,
  #galerie{
    scroll-margin-top:78px;
  }
}


/* ============================================================
   V25.10.12 — ancrages ajustés section par section
   Le positionnement précis est géré par theme.js.
   ============================================================ */
#connect,
#application,
#gamme,
#pieces,
#galerie{
  scroll-margin-top:0 !important;
}


/* ============================================================
   V25.10.14 — boutons menu header plus visibles
   ============================================================ */
.main-nav{
  gap: 12px !important;
  justify-self: center;
}

.main-nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1.5px solid rgba(224,183,69,.72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(22,28,34,.88) 0%, rgba(8,11,15,.78) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 18px rgba(0,0,0,.22),
    0 0 0 1px rgba(224,183,69,.08);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  text-decoration: none;
  transition:
    color .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible{
  color: var(--gold-light) !important;
  border-color: rgba(224,183,69,.98);
  background: linear-gradient(180deg, rgba(48,38,12,.92) 0%, rgba(20,16,8,.84) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 14px 24px rgba(0,0,0,.26),
    0 0 0 1px rgba(224,183,69,.18),
    0 0 18px rgba(224,183,69,.18);
  transform: translateY(-1px);
}

.main-nav a:focus-visible{
  outline: 2px solid rgba(255,255,255,.55);
  outline-offset: 2px;
}

@media (max-width: 1280px){
  .main-nav{
    gap: 10px !important;
  }
  .main-nav a{
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }
}

@media (max-width: 1120px){
  .main-nav{
    gap: 8px !important;
  }
  .main-nav a{
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
}


/* ============================================================
   V25.10.15 — CTA contact compact sur téléphone
   ============================================================ */
@media (max-width:680px){

  .cta-section{
    padding:38px 18px 42px !important;
    gap:18px !important;
  }

  .cta-section .section-kicker{
    margin-bottom:16px !important;
    font-size:11px !important;
    letter-spacing:.18em !important;
  }

  .cta-section h2{
    font-size:34px !important;
    line-height:.96 !important;
    max-width:100% !important;
  }

  .cta-section > div > p:last-child{
    margin-top:16px !important;
    font-size:16px !important;
    line-height:1.55 !important;
  }

  /* Ne prend plus toute la largeur sur mobile. */
  .cta-section .button{
    width:auto !important;
    min-width:170px !important;
    min-height:50px !important;
    padding:0 18px !important;
    align-self:flex-start !important;
    justify-content:center !important;
    gap:12px !important;
    font-size:13px !important;
  }

  /* Correction principale : la flèche reste une petite icône. */
  .cta-section .button svg{
    flex:0 0 20px !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    max-width:20px !important;
    max-height:20px !important;
  }
}

@media (max-width:420px){
  .cta-section h2{
    font-size:32px !important;
  }

  .cta-section .button{
    min-width:160px !important;
    min-height:48px !important;
    padding:0 16px !important;
  }

  .cta-section .button svg{
    flex-basis:18px !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    max-width:18px !important;
    max-height:18px !important;
  }
}


/* ============================================================
   V25.10.16 — sélecteur Français / English
   ============================================================ */
.site-header{
  grid-template-columns:1fr auto auto !important;
}
.header-actions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:12px;
}
.language-switcher{
  display:inline-flex;
  align-items:center;
  padding:3px;
  border:1px solid rgba(224,183,69,.72);
  border-radius:10px;
  background:rgba(5,8,10,.62);
  box-shadow:0 8px 18px rgba(0,0,0,.20);
}
.language-switcher a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:0 10px;
  border-radius:7px;
  color:#fff;
  font-size:11px;
  font-weight:850;
  text-decoration:none;
  transition:background .2s ease,color .2s ease;
}
.language-switcher a:hover,
.language-switcher a.is-active{
  background:var(--gold-light);
  color:#171304;
}
body:not(.home) .site-header{
  grid-template-columns:minmax(200px,1fr) auto auto !important;
}
@media(max-width:1280px){
  .header-actions{gap:8px;}
  .language-switcher a{padding:0 8px;font-size:10px;}
}
@media(max-width:1020px){
  .site-header,
  body:not(.home) .site-header{
    grid-template-columns:1fr auto !important;
  }
  .main-nav{display:none !important;}
  .header-actions{grid-column:2;}
}
@media(max-width:620px){
  .header-actions{gap:6px;}
  .language-switcher{padding:2px;}
  .language-switcher a{min-height:29px;padding:0 7px;font-size:9px;}
  .header-cart{min-height:38px;padding:0 6px 0 10px;gap:6px;}
  .header-cart span{display:none;}
  .header-cart strong{width:24px;height:24px;}
}


/* ============================================================
   V25.10.17 — header bilingue corrigé + hero EN harmonisé
   ============================================================ */
@media (min-width:1021px){
  .site-header{
    display:flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    gap:0 !important;
    padding-left:clamp(28px,3vw,52px) !important;
    padding-right:clamp(24px,3vw,52px) !important;
  }
  .header-brand-spacer{
    display:block !important;
    flex:0 0 clamp(250px,19vw,325px) !important;
    min-width:0 !important;
  }
  .internal-header-brand{
    flex:0 0 clamp(210px,18vw,270px) !important;
    min-width:0 !important;
    width:auto !important;
  }
  .main-nav{
    transform:none !important;
    margin-left:4px !important;
    gap:8px !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
  }
  .main-nav a{
    min-height:40px !important;
    padding:0 13px !important;
    font-size:14px !important;
  }
  .header-actions{
    margin-left:auto !important;
    flex:0 0 auto !important;
    gap:8px !important;
  }
  .language-switcher{
    flex:0 0 auto !important;
    white-space:nowrap !important;
  }
  .language-switcher a{
    min-height:30px !important;
    padding:0 7px !important;
    font-size:9px !important;
  }
  .header-cart{
    flex:0 0 auto !important;
    min-height:42px !important;
    padding-left:12px !important;
  }
}

@media (min-width:1021px) and (max-width:1320px){
  .header-brand-spacer{flex-basis:220px !important;}
  .internal-header-brand{flex-basis:200px !important;}
  .main-nav{gap:6px !important;}
  .main-nav a{padding:0 10px !important;font-size:13px !important;}
  .language-switcher a{padding:0 6px !important;font-size:9px !important;}
  .header-actions{gap:6px !important;}
}


/* ============================================================
   V25.10.18 — espace logo garanti + header bilingue stabilisé
   ============================================================ */
@media (min-width:1401px){
  .site-header{
    display:flex !important;
    align-items:center !important;
    padding-left:clamp(24px,2.4vw,42px) !important;
    padding-right:clamp(24px,2.5vw,46px) !important;
  }
  .header-brand-spacer{
    display:block !important;
    flex:0 0 410px !important;
    width:410px !important;
  }
  .internal-header-brand{
    flex:0 0 300px !important;
    width:300px !important;
  }
  .main-nav{
    margin-left:0 !important;
    transform:none !important;
    gap:8px !important;
    flex:0 1 auto !important;
  }
  .main-nav a{
    min-height:38px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }
  .header-actions{
    margin-left:auto !important;
    gap:8px !important;
  }
}

@media (min-width:1201px) and (max-width:1400px){
  .site-header{
    display:flex !important;
    align-items:center !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }
  .header-brand-spacer{
    display:block !important;
    flex:0 0 330px !important;
    width:330px !important;
  }
  .internal-header-brand{
    flex:0 0 235px !important;
    width:235px !important;
  }
  .main-nav{
    margin-left:0 !important;
    transform:none !important;
    gap:6px !important;
    flex:0 1 auto !important;
  }
  .main-nav a{
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }
  .header-actions{
    margin-left:auto !important;
    gap:6px !important;
  }
  .language-switcher a{
    padding:0 5px !important;
    font-size:8px !important;
  }
  .header-cart{
    padding-left:9px !important;
  }
}

/* English hero: use the clean English artwork only. */
html[lang^="en"] .hero-exact > img,
body.fopg-lang-en .hero-exact > img{
  opacity:1 !important;
  filter:none !important;
}
\n\n/* ============================================================
   V25.10.19 — Fish-On gallery match + installation guide
   ============================================================ */
.app-install-cta{
  width:min(1180px,calc(100% - 48px));
  margin:42px auto 0;
  padding:32px 34px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:28px;
  align-items:center;
  border:1px solid rgba(228,189,86,.28);
  background:linear-gradient(135deg,rgba(228,189,86,.08),rgba(255,255,255,.015));
}
.app-install-cta .section-kicker{margin-bottom:10px;}
.app-install-cta h3{margin:0 0 10px;color:#fff;font-size:28px;text-transform:uppercase;}
.app-install-cta p{margin:0;max-width:820px;color:#c6ccd1;font-size:16px;line-height:1.65;}

.install-guide-page{background:#080b0d;color:#fff;padding-top:110px;}
.install-guide-hero{width:min(1100px,calc(100% - 48px));margin:0 auto;padding:70px 0 48px;}
.install-guide-hero h1{margin:0 0 22px;font-size:clamp(44px,6vw,82px);line-height:.95;text-transform:uppercase;}
.install-guide-hero>p:not(.section-kicker){max-width:820px;color:#c5cbd0;font-size:19px;line-height:1.7;}
.install-guide-hero .button{margin-top:18px;}
.install-guide-steps{width:min(1100px,calc(100% - 48px));margin:0 auto;padding:0 0 70px;}
.install-step-card{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(280px,1fr);gap:54px;align-items:center;padding:44px 0;border-top:1px solid rgba(255,255,255,.10);}
.install-step-number{display:inline-block;margin-bottom:12px;color:#e4bd56;font-size:13px;font-weight:900;letter-spacing:.18em;}
.install-step-copy h2{margin:0 0 12px;font-size:32px;text-transform:uppercase;}
.install-step-copy p{margin:0;color:#c5cbd0;font-size:17px;line-height:1.7;}
.install-step-image{justify-self:center;width:min(420px,100%);padding:14px;border:1px solid rgba(228,189,86,.18);background:#0e1216;box-shadow:0 18px 48px rgba(0,0,0,.28);}
.install-step-image img{display:block;width:100%;height:auto;}
.install-guide-note{width:min(1100px,calc(100% - 48px));margin:0 auto;padding:44px 0 90px;border-top:1px solid rgba(228,189,86,.22);}
.install-guide-note h2{margin:0 0 12px;font-size:36px;text-transform:uppercase;}
.install-guide-note p{max-width:760px;color:#c5cbd0;font-size:17px;line-height:1.7;}
.install-guide-note .button{margin-top:18px;}
@media(max-width:760px){
  .app-install-cta{width:calc(100% - 32px);grid-template-columns:1fr;padding:24px 20px;}
  .app-install-cta h3{font-size:24px;}
  .app-install-cta .button{justify-self:start;}
  .install-guide-page{padding-top:76px;}
  .install-guide-hero,.install-guide-steps,.install-guide-note{width:calc(100% - 32px);}
  .install-guide-hero{padding:48px 0 32px;}
  .install-guide-hero h1{font-size:38px;}
  .install-step-card{grid-template-columns:1fr;gap:24px;padding:34px 0;}
  .install-step-copy h2{font-size:27px;}
  .install-step-image{width:min(360px,100%);}
}


/* ============================================================
   V25.10.20 — lien discret vers la page d'installation
   ============================================================ */
.app-install-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  padding:10px 14px;
  border:1px solid rgba(228,189,86,.65);
  border-radius:8px;
  background:rgba(228,189,86,.06);
  color:#f2d06f !important;
  font-size:13px;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,transform .2s ease,color .2s ease;
}
.app-install-link:hover,
.app-install-link:focus-visible{
  background:rgba(228,189,86,.14);
  border-color:#e4bd56;
  color:#fff !important;
  transform:translateY(-1px);
}
.app-install-link span{
  font-size:18px;
  line-height:1;
}

/* L'ancien gros bloc d'installation sur l'accueil n'est plus utilisé. */
.app-install-cta{
  display:none !important;
}


/* ============================================================
   V25.10.22 — hero FR/EN harmonisés + menu recentré + titre boutique EN
   ============================================================ */

/* Centre réellement le groupe de boutons sur les grands écrans. */
@media (min-width:1321px){
  .site-header{
    display:grid !important;
    grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr) !important;
    align-items:center !important;
    padding-left:clamp(24px,2.4vw,42px) !important;
    padding-right:clamp(24px,2.4vw,42px) !important;
    gap:16px !important;
  }

  .header-brand-spacer,
  .internal-header-brand{
    grid-column:1;
    justify-self:start;
    margin:0 !important;
  }

  .header-brand-spacer{
    width:100% !important;
    min-width:0 !important;
    flex:none !important;
  }

  .internal-header-brand{
    width:min(285px,100%) !important;
    min-width:0 !important;
    flex:none !important;
  }

  .main-nav{
    grid-column:2;
    justify-self:center !important;
    margin:0 !important;
    transform:none !important;
    flex:none !important;
    gap:8px !important;
  }

  .header-actions{
    grid-column:3;
    justify-self:end !important;
    margin:0 !important;
    flex:none !important;
    gap:8px !important;
  }
}

/* Le titre anglais reste volontairement en trois lignes équilibrées. */
.models-section .shop-heading-en{
  font-size:clamp(44px,5.2vw,78px) !important;
  line-height:.92 !important;
  max-width:820px;
}
.models-section .shop-heading-en span{
  display:block;
  white-space:nowrap;
}

@media (max-width:900px){
  .models-section .shop-heading-en span{
    white-space:normal;
  }
}

/* Le titre français de la boutique est élargi pour éviter 4 grosses lignes. */
.models-section .shop-heading-fr{
  font-size:clamp(44px,5.2vw,78px) !important;
  line-height:.92 !important;
  max-width:900px;
}
.models-section .shop-heading-fr span{
  display:block;
  white-space:nowrap;
}

@media (max-width:900px){
  .models-section .shop-heading-fr span{
    white-space:normal;
  }
}


/* ============================================================
   V25.10.23 — suppression de la coupure noire dans les hero FR/EN
   ============================================================ */
.hero-exact{
  background:#02070d;
}
.hero-exact > img{
  display:block;
  width:100%;
  height:auto;
  margin:0;
  padding:0;
}


/* ============================================================
   V25.10.29 — page Installation AutoJig Connect réparée
   ============================================================ */
.install-guide-page{
  min-height:100vh;
  padding-top:96px;
  background:
    radial-gradient(circle at 85% 10%, rgba(20,78,120,.20), transparent 34%),
    #080b0d;
  color:#fff;
}

.install-guide-hero,
.install-guide-steps,
.install-guide-note{
  width:min(1120px,calc(100% - 48px));
  margin-inline:auto;
}

.install-guide-hero{
  padding:68px 0 54px;
}

.install-guide-hero .section-kicker,
.install-guide-note .section-kicker{
  color:#e4bd56;
}

.install-guide-hero h1{
  max-width:920px;
  margin:10px 0 22px;
  font-size:clamp(46px,6vw,82px);
  line-height:.94;
  letter-spacing:-.035em;
  text-transform:uppercase;
}

.install-guide-hero > p:not(.section-kicker){
  max-width:820px;
  margin:0;
  color:#c7ccd1;
  font-size:18px;
  line-height:1.7;
}

.install-guide-hero .button{
  margin-top:26px;
}

.install-guide-steps{
  padding-bottom:76px;
}

.install-step-card{
  display:grid;
  grid-template-columns:minmax(300px,.82fr) minmax(300px,1fr);
  gap:64px;
  align-items:center;
  padding:54px 0;
  border-top:1px solid rgba(255,255,255,.10);
}

.install-step-card:nth-child(even) .install-step-copy{
  order:2;
}

.install-step-card:nth-child(even) .install-step-image{
  order:1;
}

.install-step-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  min-height:30px;
  margin-bottom:18px;
  border:1px solid rgba(228,189,86,.55);
  color:#e4bd56;
  font-size:12px;
  font-weight:900;
  letter-spacing:.18em;
}

.install-step-copy h2{
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(28px,3vw,40px);
  line-height:1;
  text-transform:uppercase;
}

.install-step-copy p{
  max-width:480px;
  margin:0;
  color:#c5cbd0;
  font-size:17px;
  line-height:1.7;
}

.install-step-image{
  justify-self:center;
  width:min(430px,100%);
  padding:12px;
  border:1px solid rgba(228,189,86,.28);
  background:#0d1217;
  box-shadow:
    0 22px 56px rgba(0,0,0,.36),
    0 0 38px rgba(20,105,190,.10);
}

.install-step-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:720px;
  object-fit:contain;
}

.install-guide-note{
  padding:52px 0 92px;
  border-top:1px solid rgba(228,189,86,.28);
}

.install-guide-note h2{
  margin:10px 0 14px;
  font-size:clamp(34px,4vw,54px);
  line-height:1;
  text-transform:uppercase;
}

.install-guide-note > p:not(.section-kicker){
  max-width:760px;
  color:#c5cbd0;
  font-size:17px;
  line-height:1.7;
}

.install-guide-note .button{
  margin-top:22px;
}

@media(max-width:760px){
  .install-guide-page{
    padding-top:72px;
  }

  .install-guide-hero,
  .install-guide-steps,
  .install-guide-note{
    width:calc(100% - 32px);
  }

  .install-guide-hero{
    padding:44px 0 36px;
  }

  .install-guide-hero h1{
    font-size:38px;
  }

  .install-step-card,
  .install-step-card:nth-child(even){
    grid-template-columns:1fr;
    gap:24px;
    padding:38px 0;
  }

  .install-step-card:nth-child(even) .install-step-copy,
  .install-step-card:nth-child(even) .install-step-image{
    order:initial;
  }

  .install-step-image{
    width:min(390px,100%);
  }

  .install-step-copy h2{
    font-size:28px;
  }

  .install-step-copy p{
    font-size:16px;
  }
}


/* ============================================================
   V25.10.33 — direction graphique professionnelle globale
   HERO INCHANGÉ.
   Palette : noir/charbon + ivoire chaud + or.
   ============================================================ */

:root{
  --fopg-ivory:#f2efe7;
  --fopg-ivory-soft:#f8f6f0;
  --fopg-charcoal:#0b0e10;
  --fopg-navy:#091019;
  --fopg-panel:#11161a;
  --fopg-text:#171b1e;
  --fopg-muted-dark:#5f676b;
  --fopg-line:#d9d3c6;
}

/* ------------------------------------------------------------
   HERO : volontairement non modifié.
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   1. AUTOJIG CONNECT — section claire premium.
   Après le hero sombre, cette rupture devient volontaire et élégante.
   ------------------------------------------------------------ */
.connect-summary-section{
  background:var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
  border-top:1px solid rgba(213,168,47,.30);
  border-bottom:1px solid var(--fopg-line);
}

.connect-summary{
  background:var(--fopg-ivory) !important;
}

.connect-summary-head{
  background:var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
}

.connect-summary-head .section-kicker{
  color:#a57b14 !important;
}

.connect-summary-head h2{
  color:#111619 !important;
}

.connect-summary-copy{
  background:var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
}

.connect-summary-subhead{
  color:#a9790d !important;
}

.connect-summary-lead{
  color:#41494d !important;
}

.summary-point{
  border:1px solid #d7cfbd !important;
  background:rgba(255,255,255,.48) !important;
  color:var(--fopg-text) !important;
  box-shadow:0 8px 22px rgba(20,25,28,.035);
}

.summary-point svg{
  color:#c69316 !important;
}

.summary-point strong{
  color:#151a1d !important;
}

.summary-point span{
  color:#596166 !important;
}

.custom-sequence-feature{
  border:1px solid #b7a06b !important;
  background:linear-gradient(135deg,#f8f4e8,#eee8d7) !important;
  color:var(--fopg-text) !important;
  box-shadow:none !important;
}

.custom-sequence-feature h3{
  color:#151a1d !important;
}

.custom-sequence-feature p{
  color:#596166 !important;
}

.feature-badge{
  border-color:#b58a22 !important;
  background:#e7d6a5 !important;
  color:#59420d !important;
}

/* ------------------------------------------------------------
   2. APPLICATION — bleu-noir technique.
   Les captures de téléphone ressortent mieux ici.
   ------------------------------------------------------------ */
.app-gallery-section{
  background:
    radial-gradient(circle at 85% 0%,rgba(22,67,104,.20),transparent 34%),
    var(--fopg-navy) !important;
  color:#f7f7f3 !important;
  border-top:1px solid rgba(255,255,255,.045);
  border-bottom:1px solid rgba(213,168,47,.20);
}

.app-gallery-head .section-kicker{
  color:var(--gold-light) !important;
}

.app-gallery-head h2{
  color:#fff !important;
}

.app-gallery-head > p{
  color:#c1c9cf !important;
}

.app-shot-card{
  background:#0e151b !important;
  border:1px solid rgba(228,189,86,.20) !important;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}

.app-shot-card h3{
  color:#fff !important;
}

.app-shot-card p{
  color:#c7cdd2 !important;
}

/* ------------------------------------------------------------
   3. BOUTIQUE — charbon premium, distinct du bleu de l'app.
   ------------------------------------------------------------ */
.models-section{
  background:
    radial-gradient(circle at 10% 0%,rgba(213,168,47,.055),transparent 32%),
    var(--fopg-charcoal) !important;
  border-top:1px solid rgba(255,255,255,.035);
  border-bottom:1px solid rgba(213,168,47,.22);
}

.models-section .section-kicker{
  color:var(--gold-light) !important;
}

.models-section .section-heading h2{
  color:#f7f7f3 !important;
}

.models-section .section-heading > p:last-child{
  color:#aeb4b1 !important;
}

.model-card{
  background:#111416 !important;
  border-color:rgba(255,255,255,.11) !important;
}

.models-grid .model-card:hover{
  border-color:#d5a82f !important;
  box-shadow:0 18px 48px rgba(0,0,0,.28),0 0 0 1px rgba(213,168,47,.10);
}

.featured-model{
  background:radial-gradient(circle at 100% 0%,rgba(213,168,47,.13),transparent 35%),#121514 !important;
}

.pricing-note{
  color:#777f7c !important;
}

/* ------------------------------------------------------------
   4. ACCESSOIRES & PIÈCES — ivoire.
   Le clair revient ici de façon intentionnelle.
   ------------------------------------------------------------ */
.parts-section{
  background:var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
  border-top:1px solid #ddd6c8;
  border-bottom:1px solid #ddd6c8;
}

.parts-section .section-kicker{
  color:#aa7d13 !important;
}

.parts-section .section-heading h2{
  color:#151a1d !important;
}

.parts-section .section-heading > p:last-child{
  color:#626a6e !important;
}

.part-card{
  background:var(--fopg-ivory-soft) !important;
  border-color:#d6d0c3 !important;
  box-shadow:0 14px 34px rgba(25,28,29,.055) !important;
}

.part-card:hover{
  box-shadow:0 22px 46px rgba(25,28,29,.10) !important;
}

.part-copy{
  background:var(--fopg-ivory-soft);
}

.part-copy h3{
  color:#171b1e;
}

.part-copy p{
  color:#626a6e;
}

/* ------------------------------------------------------------
   5. ALBUM — clair aussi, mais plus blanc que les pièces.
   Cela crée une seule grande zone éditoriale claire cohérente.
   ------------------------------------------------------------ */
.gallery-section{
  background:#f8f6f0 !important;
  color:var(--fopg-text) !important;
  border-bottom:1px solid #ddd6c8;
}

.gallery-section .section-kicker{
  color:#aa7d13 !important;
}

.gallery-heading > p:last-child{
  color:#626a6e !important;
}

.gallery-catch-card{
  background:#fffdf8 !important;
  border-color:#d5cfc2 !important;
  box-shadow:0 16px 34px rgba(24,27,28,.05);
}

.gallery-invite{
  background:#111518 !important;
  border:1px solid rgba(213,168,47,.20);
}

/* ------------------------------------------------------------
   6. CTA / CONTACT — retour volontaire au noir.
   ------------------------------------------------------------ */
.cta-section{
  background:
    radial-gradient(circle at 0% 50%,rgba(213,168,47,.09),transparent 34%),
    #0b0e0f !important;
  border-top:1px solid rgba(213,168,47,.28);
  color:#fff !important;
}

.cta-section .section-kicker{
  color:var(--gold-light) !important;
}

.cta-section > div > p:last-child{
  color:#aeb4b1 !important;
}

/* ------------------------------------------------------------
   Footer : noir pur, pour fermer visuellement le site.
   ------------------------------------------------------------ */
.site-footer,
.site-footer-clean{
  background:#030404 !important;
  border-top:1px solid rgba(255,255,255,.08);
}

/* ------------------------------------------------------------
   PAGE INSTALLATION — même langage visuel que les pages claires.
   ------------------------------------------------------------ */
.install-guide-page{
  background:
    radial-gradient(circle at 88% 0%,rgba(213,168,47,.08),transparent 28%),
    var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
}

.install-guide-hero h1,
.install-step-copy h2,
.install-guide-note h2{
  color:#14191c !important;
}

.install-guide-hero > p:not(.section-kicker),
.install-step-copy p,
.install-guide-note > p:not(.section-kicker){
  color:#626a6e !important;
}

.install-step-card{
  border-top-color:#d8d1c4 !important;
}

.install-step-image{
  background:#fffdf8 !important;
  border-color:#d5cdbb !important;
  box-shadow:0 16px 42px rgba(24,27,28,.07) !important;
}

.install-guide-note{
  border-top-color:#d0c3a4 !important;
}

/* ------------------------------------------------------------
   Transitions : aucune coupure abrupte ou effet "bloc ajouté".
   ------------------------------------------------------------ */
.connect-summary-section,
.app-gallery-section,
.models-section,
.parts-section,
.gallery-section,
.cta-section{
  position:relative;
}

/* Responsive : conserver le même rythme de couleurs sur mobile. */
@media(max-width:680px){
  .connect-summary-copy{
    background:var(--fopg-ivory) !important;
  }

  .parts-section,
  .gallery-section{
    background:var(--fopg-ivory) !important;
  }
}


/* ============================================================
   V25.10.34 — page installation compacte, header du site intact,
   univers 100 % pêche sur glace.
   ============================================================ */

.install-guide-page-v2{
  background:#f4f1e9 !important;
  color:#171b1e;
  padding-top:0 !important;
}

/* Le vrai header du site reste affiché tel quel. */
.install-ice-hero{
  position:relative;
  min-height:360px;
  display:flex;
  align-items:flex-end;
  background:
    url('assets/images/products/hero-connect-system.webp') center 58% / cover no-repeat;
  overflow:hidden;
  border-bottom:1px solid #d7d0c2;
}

.install-ice-hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,8,12,.92) 0%,rgba(3,8,12,.70) 46%,rgba(3,8,12,.18) 75%,rgba(3,8,12,.08) 100%),
    linear-gradient(0deg,rgba(3,8,12,.58) 0%,rgba(3,8,12,.06) 58%);
}

.install-ice-hero-content{
  position:relative;
  z-index:2;
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:64px 0 54px;
}

.install-ice-hero-content .section-kicker{
  color:#e9bd42;
  margin-bottom:10px;
}

.install-ice-hero-content h1{
  max-width:900px;
  margin:0 0 14px;
  color:#fff;
  font-size:clamp(42px,5.2vw,72px);
  line-height:.96;
  letter-spacing:-.035em;
  text-transform:uppercase;
}

.install-ice-hero-content > p:last-child{
  max-width:780px;
  margin:0;
  color:#eef1f3;
  font-size:18px;
  line-height:1.5;
}

/* 4 cartes par rangée sur grand écran. */
.install-guide-grid-section{
  width:min(1320px,calc(100% - 44px));
  margin:0 auto;
  padding:40px 0 56px;
}


.install-download-step{
  width:min(1180px,calc(100% - 44px));
  margin:40px auto 0;
  padding:34px 38px;
  border:1px solid #d8d2c5;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 12px 30px rgba(30,34,36,.055);
}

.install-download-step-head{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
}

.install-download-step h2{
  margin:2px 0 7px;
  color:#10213b;
  font-size:26px;
  line-height:1.08;
  text-transform:none;
}

.install-download-step p{
  margin:0;
  color:#586269;
  font-size:16px;
  line-height:1.5;
}

.install-download-button{
  margin-top:22px;
  padding-right:22px;
  padding-left:22px;
  text-decoration:none !important;
  white-space:normal;
}


.install-download-button:hover,
.install-download-button:focus{
  color:#161104 !important;
}


.install-guide-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.install-guide-card{
  display:flex;
  min-width:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #d8d2c5;
  border-radius:16px;
  background:#fffdf8;
  box-shadow:0 12px 30px rgba(30,34,36,.055);
}

.install-guide-card-head{
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  align-items:start;
  padding:18px 18px 12px;
  min-height:126px;
}

.install-step-number{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  min-width:40px;
  min-height:40px;
  margin:0;
  border:2px solid #d9a727;
  border-radius:50%;
  background:#101820;
  color:#fff;
  font-size:18px;
  font-weight:900;
  letter-spacing:0;
}

.install-guide-card h2{
  margin:2px 0 7px;
  color:#10213b;
  font-size:19px;
  line-height:1.08;
  text-transform:none;
}

.install-guide-card p{
  margin:0;
  color:#586269;
  font-size:14px;
  line-height:1.42;
}

.install-guide-phone{
  margin-top:auto;
  padding:0 12px 12px;
}

.install-guide-phone img{
  display:block;
  width:100%;
  height:320px;
  object-fit:contain;
  object-position:center bottom;
  border-radius:12px;
}

.install-guide-next{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto 76px;
  padding:34px 38px;
  border:1px solid #d8d1c3;
  border-radius:16px;
  background:#ece6d9;
}

.install-guide-next .section-kicker{
  color:#a67c18;
}

.install-guide-next h2{
  margin:8px 0 10px;
  color:#171b1e;
  font-size:clamp(30px,3.2vw,46px);
  line-height:1;
  text-transform:uppercase;
}

.install-guide-next p{
  margin:0;
  color:#626a6e;
  font-size:16px;
}

@media(max-width:1100px){
  .install-guide-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:680px){
  .install-ice-hero{
    min-height:310px;
    background-position:66% 58%;
  }

  .install-ice-hero-content{
    width:calc(100% - 30px);
    padding:46px 0 36px;
  }

  .install-ice-hero-content h1{
    font-size:36px;
  }

  .install-ice-hero-content > p:last-child{
    font-size:15px;
  }

  .install-guide-grid-section{
    width:calc(100% - 24px);
    padding:26px 0 40px;
  }

  .install-guide-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .install-guide-card-head{
    min-height:0;
  }

  .install-guide-phone img{
    height:auto;
    max-height:560px;
  }

  .install-guide-next{
    width:calc(100% - 28px);
    margin-bottom:52px;
    padding:26px 22px;
  }
}


/* ============================================================
   V25.10.35 — page installation :
   header identique à l'accueil + visuel sans receiver + lightbox
   ============================================================ */

/* Header de la page installation : même placement que sur l'accueil. */
body[class*="page-template-page-installation-application"] .site-header{
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  min-height:92px !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr) !important;
  align-items:center !important;
  padding:16px clamp(24px,2.4vw,42px) !important;
  gap:16px !important;
  background:transparent !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  z-index:30 !important;
}

body[class*="page-template-page-installation-application"] .internal-header-brand{
  grid-column:1 !important;
  justify-self:start !important;
  width:300px !important;
  min-width:0 !important;
  margin:0 !important;
  line-height:0 !important;
}

body[class*="page-template-page-installation-application"] .internal-header-brand img{
  width:100% !important;
  max-height:72px !important;
  object-fit:contain !important;
  object-position:left center !important;
}

body[class*="page-template-page-installation-application"] .main-nav{
  grid-column:2 !important;
  justify-self:center !important;
  margin:0 !important;
  transform:none !important;
  gap:8px !important;
  display:flex !important;
}

body[class*="page-template-page-installation-application"] .header-actions{
  grid-column:3 !important;
  justify-self:end !important;
  margin:0 !important;
}

body.admin-bar[class*="page-template-page-installation-application"] .site-header{
  top:32px !important;
}

@media(max-width:782px){
  body.admin-bar[class*="page-template-page-installation-application"] .site-header{
    top:46px !important;
  }
}

/* Nouveau visuel d'installation : AutoJig Connect uniquement, aucun receiver. */
body[class*="page-template-page-installation-application"] .install-ice-hero{
  min-height:430px !important;
  padding-top:92px !important;
  background:
    url('assets/images/products/autojig-connect-impact-v2596.png') 70% center / cover no-repeat !important;
}

body[class*="page-template-page-installation-application"] .install-ice-hero-overlay{
  background:
    linear-gradient(90deg,rgba(3,8,12,.96) 0%,rgba(3,8,12,.82) 42%,rgba(3,8,12,.28) 70%,rgba(3,8,12,.06) 100%),
    linear-gradient(0deg,rgba(3,8,12,.48) 0%,rgba(3,8,12,.04) 62%) !important;
}

body[class*="page-template-page-installation-application"] .install-ice-hero-content{
  padding:72px 0 48px !important;
}

/* Captures cliquables. */
.install-image-open{
  position:relative;
  display:block;
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  cursor:zoom-in;
  color:inherit;
}

.install-image-open img{
  display:block;
  width:100%;
  height:320px;
  object-fit:contain;
  object-position:center bottom;
  border-radius:12px;
}

.install-image-hint{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(5,8,10,.78);
  color:#fff;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}

.install-image-open:hover .install-image-hint,
.install-image-open:focus-visible .install-image-hint{
  opacity:1;
}

/* Lightbox plein écran. */
.install-lightbox[hidden]{
  display:none !important;
}

.install-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:34px;
  background:rgba(0,0,0,.88);
  backdrop-filter:blur(6px);
}

.install-lightbox img{
  display:block;
  max-width:min(92vw,1000px);
  max-height:90vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:16px;
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}

.install-lightbox-close{
  position:fixed;
  top:24px;
  right:30px;
  z-index:2;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.40);
  border-radius:50%;
  background:rgba(5,8,10,.75);
  color:#fff;
  font-size:34px;
  line-height:1;
  cursor:pointer;
}

html.install-lightbox-open{
  overflow:hidden;
}

/* Responsive header installation */
@media(max-width:1320px) and (min-width:1021px){
  body[class*="page-template-page-installation-application"] .site-header{
    grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr) !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }

  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:240px !important;
  }

  body[class*="page-template-page-installation-application"] .main-nav{
    gap:6px !important;
  }
}

@media(max-width:1020px){
  body[class*="page-template-page-installation-application"] .site-header{
    position:absolute !important;
    grid-template-columns:1fr auto !important;
    min-height:76px !important;
    padding:10px 16px !important;
  }

  body[class*="page-template-page-installation-application"] .internal-header-brand{
    grid-column:1 !important;
    width:210px !important;
  }

  body[class*="page-template-page-installation-application"] .main-nav{
    display:none !important;
  }

  body[class*="page-template-page-installation-application"] .header-actions{
    grid-column:2 !important;
  }

  body[class*="page-template-page-installation-application"] .install-ice-hero{
    padding-top:76px !important;
  }
}

@media(max-width:680px){
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:165px !important;
  }

  body[class*="page-template-page-installation-application"] .install-ice-hero{
    min-height:360px !important;
    background-position:72% center !important;
  }

  .install-lightbox{
    padding:16px;
  }

  .install-lightbox-close{
    top:14px;
    right:14px;
  }

  .install-image-open img{
    height:auto;
    max-height:560px;
  }

  .install-image-hint{
    opacity:1;
    bottom:12px;
  }
}


/* ============================================================
   V25.10.36 — installation : header aligné, hero plus lisible,
   captures annotées et galerie agrandie navigable
   ============================================================ */

/* Page installation desktop : reprendre l'alignement du header de l'accueil. */
@media (min-width:1401px){
  body[class*="page-template-page-installation-application"] .site-header{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    min-height:92px !important;
    padding-left:clamp(24px,2.4vw,42px) !important;
    padding-right:clamp(24px,2.5vw,46px) !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  body[class*="page-template-page-installation-application"] .site-header::before{
    content:"";
    display:block;
    flex:0 0 410px;
    width:410px;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    position:absolute !important;
    left:clamp(24px,2.4vw,42px) !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    flex:none !important;
    width:300px !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    z-index:1 !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    display:block;
    width:100% !important;
    max-height:68px !important;
    height:auto !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav{
    display:flex !important;
    gap:8px !important;
    margin-left:0 !important;
    transform:none !important;
    flex:0 1 auto !important;
  }
  body[class*="page-template-page-installation-application"] .header-actions{
    margin-left:auto !important;
    gap:8px !important;
    flex:0 0 auto !important;
  }
}

@media (min-width:1201px) and (max-width:1400px){
  body[class*="page-template-page-installation-application"] .site-header{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    min-height:92px !important;
    padding-left:24px !important;
    padding-right:24px !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  body[class*="page-template-page-installation-application"] .site-header::before{
    content:"";
    display:block;
    flex:0 0 330px;
    width:330px;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    position:absolute !important;
    left:24px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:235px !important;
    min-width:0 !important;
    margin:0 !important;
    z-index:1 !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    width:100% !important;
    max-height:68px !important;
    height:auto !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav{
    display:flex !important;
    gap:6px !important;
    margin-left:0 !important;
    transform:none !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav a{
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }
  body[class*="page-template-page-installation-application"] .header-actions{
    margin-left:auto !important;
    gap:6px !important;
  }
}

@media (min-width:1021px) and (max-width:1200px){
  body[class*="page-template-page-installation-application"] .site-header{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    min-height:92px !important;
    padding-left:24px !important;
    padding-right:24px !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  body[class*="page-template-page-installation-application"] .site-header::before{
    content:"";
    display:block;
    flex:0 0 260px;
    width:260px;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    position:absolute !important;
    left:24px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    width:215px !important;
    min-width:0 !important;
    margin:0 !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav{
    display:flex !important;
    gap:6px !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav a{
    min-height:36px !important;
    padding:0 8px !important;
    font-size:12px !important;
  }
  body[class*="page-template-page-installation-application"] .header-actions{
    margin-left:auto !important;
    gap:6px !important;
  }
}

/* Hero d'installation : AutoJig un peu plus petit et plus clair. */
body[class*="page-template-page-installation-application"] .install-ice-hero{
  min-height:430px !important;
  padding-top:92px !important;
  background-color:#0a1016 !important;
  background-image:url('assets/images/products/autojig-connect-impact-v2596.png') !important;
  background-repeat:no-repeat !important;
  background-size:auto 84% !important;
  background-position:calc(100% - 28px) calc(50% + 10px) !important;
}

body[class*="page-template-page-installation-application"] .install-ice-hero-overlay{
  background:
    linear-gradient(90deg,rgba(4,8,12,.95) 0%,rgba(4,8,12,.78) 38%,rgba(4,8,12,.38) 62%,rgba(4,8,12,.16) 78%,rgba(4,8,12,.08) 100%),
    linear-gradient(0deg,rgba(4,8,12,.32) 0%,rgba(4,8,12,.06) 62%) !important;
}

body[class*="page-template-page-installation-application"] .install-guide-grid{
  gap:18px !important;
}

body[class*="page-template-page-installation-application"] .install-guide-card{
  overflow:hidden;
}

.install-image-open img{
  height:360px !important;
}

/* Lightbox enrichie */
.install-lightbox{
  grid-template-columns:minmax(54px,72px) minmax(0,1fr) minmax(54px,72px);
  align-items:center;
  gap:18px;
}

.install-lightbox-figure{
  margin:0;
  display:grid;
  gap:12px;
  justify-items:center;
}

.install-lightbox img{
  cursor:zoom-out;
  max-width:min(92vw,980px);
  max-height:82vh;
}

.install-lightbox figcaption{
  color:#fff;
  font-size:14px;
  font-weight:800;
  letter-spacing:.03em;
  text-align:center;
}

.install-lightbox-nav{
  width:58px;
  height:58px;
  border:1px solid rgba(255,255,255,.40);
  border-radius:999px;
  background:rgba(5,8,10,.75);
  color:#fff;
  font-size:38px;
  line-height:1;
  cursor:pointer;
}

.install-lightbox-nav[disabled]{
  opacity:.28;
  cursor:default;
}

.install-lightbox-prev{justify-self:end;}
.install-lightbox-next{justify-self:start;}

/* Mobile fallback */
@media(max-width:1020px){
  body[class*="page-template-page-installation-application"] .site-header{
    display:grid !important;
  }
  body[class*="page-template-page-installation-application"] .site-header::before{
    display:none !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    position:static !important;
    transform:none !important;
  }
  body[class*="page-template-page-installation-application"] .install-ice-hero{
    background-size:auto 72% !important;
    background-position:calc(100% - 18px) calc(50% + 18px) !important;
  }
  .install-image-open img{
    height:330px !important;
  }
}

@media(max-width:680px){
  body[class*="page-template-page-installation-application"] .install-ice-hero{
    background-size:auto 56% !important;
    background-position:right 12px bottom 12px !important;
  }
  .install-image-open img{
    height:auto !important;
    max-height:560px !important;
  }
  .install-lightbox{
    grid-template-columns:44px minmax(0,1fr) 44px;
    gap:10px;
    padding:18px 10px;
  }
  .install-lightbox-nav{
    width:44px;
    height:44px;
    font-size:28px;
  }
}


/* ============================================================
   V25.10.38 — header logo plus gros + captures rouges plus évidentes
   ============================================================ */
@media (min-width:1401px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:450px !important;
    width:450px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:340px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:76px !important;
  }
}

@media (min-width:1201px) and (max-width:1400px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:355px !important;
    width:355px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:255px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:72px !important;
  }
}

@media (min-width:1021px) and (max-width:1200px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:290px !important;
    width:290px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:235px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:70px !important;
  }
}

body[class*="page-template-page-installation-application"] .install-ice-hero{
  background-size:auto 72% !important;
  background-position:calc(100% - 24px) center !important;
}

body[class*="page-template-page-installation-application"] .install-ice-hero-overlay{
  background:
    linear-gradient(90deg,rgba(4,8,12,.92) 0%,rgba(4,8,12,.72) 38%,rgba(4,8,12,.30) 62%,rgba(4,8,12,.10) 82%,rgba(4,8,12,.04) 100%),
    linear-gradient(0deg,rgba(4,8,12,.18) 0%,rgba(4,8,12,.03) 62%) !important;
}

.install-image-open img{
  border:1px solid rgba(12,22,31,.10) !important;
  box-shadow:0 14px 28px rgba(9,16,24,.12) !important;
}


/* ============================================================
   V25.10.39 — logo installation encore agrandi + étapes 6/7 corrigées
   ============================================================ */
@media (min-width:1401px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:490px !important;
    width:490px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:380px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:82px !important;
  }
}
@media (min-width:1201px) and (max-width:1400px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:385px !important;
    width:385px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:285px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:76px !important;
  }
}
@media (min-width:1021px) and (max-width:1200px){
  body[class*="page-template-page-installation-application"] .site-header::before{
    flex-basis:315px !important;
    width:315px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:250px !important;
  }
  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    max-height:72px !important;
  }
}


/* ============================================================
   V25.10.41 — UNIQUEMENT page Installation AutoJig Connect
   Header calé sur la grille exacte de l'accueil.
   Le logo est absolu : il ne pousse plus jamais le menu.
   ============================================================ */
@media (min-width:1021px){
  body[class*="page-template-page-installation-application"] .site-header{
    position:absolute !important;
    z-index:20 !important;
    top:0 !important;
    left:0 !important;
    display:grid !important;
    grid-template-columns:1fr auto 1fr !important;
    align-items:center !important;
    width:100% !important;
    min-height:92px !important;
    padding:16px clamp(22px,5vw,80px) !important;
    gap:0 !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    background:transparent !important;
    backdrop-filter:none !important;
  }

  body[class*="page-template-page-installation-application"] .site-header::before{
    display:none !important;
    content:none !important;
  }

  body[class*="page-template-page-installation-application"] .internal-header-brand{
    position:absolute !important;
    z-index:21 !important;
    left:clamp(36px,3.4vw,56px) !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:block !important;
    width:330px !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    line-height:0 !important;
  }

  body[class*="page-template-page-installation-application"] .internal-header-brand img{
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:left center !important;
  }

  body[class*="page-template-page-installation-application"] .main-nav{
    grid-column:2 !important;
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    margin:0 !important;
    transform:none !important;
    font-size:18px !important;
  }

  body[class*="page-template-page-installation-application"] .main-nav a{
    min-height:42px !important;
    padding:0 16px !important;
    font-size:inherit !important;
  }

  body[class*="page-template-page-installation-application"] .header-actions{
    grid-column:3 !important;
    justify-self:end !important;
    margin:0 !important;
  }
}

@media (min-width:1021px) and (max-width:1280px){
  body[class*="page-template-page-installation-application"] .internal-header-brand{
    width:285px !important;
    left:24px !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav{
    gap:10px !important;
    font-size:14px !important;
  }
  body[class*="page-template-page-installation-application"] .main-nav a{
    min-height:40px !important;
    padding:0 14px !important;
  }
}


/* ============================================================
   V25.10.42 — HEADER UNIQUE PARTOUT
   Référence : header de l'index. Aucune autre section modifiée.
   ============================================================ */

/* Sur les pages internes, on reprend visuellement la bande exacte du haut
   du hero de l'accueil. Le logo Fish-On est donc le même fichier, à la
   même échelle, et non une deuxième image de logo approximative. */
body:not(.home) .site-header{
  position:relative !important;
  top:0 !important;
  left:0 !important;
  z-index:20 !important;
  width:100% !important;
  min-height:92px !important;
  padding:16px clamp(22px,5vw,80px) !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  background-color:#02070d !important;
  background-image:url('assets/images/products/hero-home-fr-v251031.webp') !important;
  background-repeat:no-repeat !important;
  background-size:100% auto !important;
  background-position:top center !important;
  backdrop-filter:none !important;
}
body:not(.home).admin-bar .site-header{
  top:0 !important;
}

/* L'ancien logo séparé n'est plus utilisé. */
body:not(.home) .internal-header-brand{
  display:none !important;
}
body:not(.home) .header-brand-spacer{
  display:block !important;
  min-width:1px !important;
}

/* Grand écran : copie exacte de la grille utilisée sur l'index. */
@media (min-width:1321px){
  body:not(.home) .site-header{
    display:grid !important;
    grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr) !important;
    align-items:center !important;
    gap:16px !important;
    padding-left:clamp(24px,2.4vw,42px) !important;
    padding-right:clamp(24px,2.4vw,42px) !important;
  }
  body:not(.home) .header-brand-spacer{
    grid-column:1 !important;
    justify-self:start !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    flex:none !important;
  }
  body:not(.home) .main-nav{
    position:relative !important;
    grid-column:2 !important;
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    transform:none !important;
    flex:none !important;
    white-space:nowrap !important;
  }
  body:not(.home) .main-nav > a:not(.home-nav-link){
    min-height:42px !important;
    padding:0 16px !important;
    font-size:18px !important;
  }
  body:not(.home) .header-actions{
    grid-column:3 !important;
    justify-self:end !important;
    margin:0 !important;
    flex:none !important;
    gap:8px !important;
  }
}

/* Écrans intermédiaires : copie de la mise en page de l'index. */
@media (min-width:1021px) and (max-width:1320px){
  body:not(.home) .site-header{
    display:flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    gap:0 !important;
    padding-left:clamp(28px,3vw,52px) !important;
    padding-right:clamp(24px,3vw,52px) !important;
  }
  body:not(.home) .header-brand-spacer{
    display:block !important;
    flex:0 0 220px !important;
    min-width:0 !important;
  }
  body:not(.home) .main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    margin-left:4px !important;
    transform:none !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
  }
  body:not(.home) .main-nav > a:not(.home-nav-link){
    min-height:40px !important;
    padding:0 10px !important;
    font-size:13px !important;
  }
  body:not(.home) .header-actions{
    margin-left:auto !important;
    flex:0 0 auto !important;
    gap:6px !important;
  }
}

/* Accueil existe seulement sur les pages internes et NE PARTICIPE PAS au
   calcul de largeur du menu. Les 5 boutons déjà présents restent donc
   exactement à la même position que sur l'index. */
@media (min-width:1021px){
  body:not(.home) .main-nav .home-nav-link{
    position:absolute !important;
    right:calc(100% + 8px) !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    min-height:36px !important;
    padding:0 8px !important;
    border:1.5px solid rgba(224,183,69,.72) !important;
    border-radius:9px !important;
    background:linear-gradient(180deg,rgba(22,28,34,.88) 0%,rgba(8,11,15,.78) 100%) !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
  }
}

/* Mobile : conserver le comportement déjà utilisé sur l'index. */
@media (max-width:1020px){
  body:not(.home) .site-header{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    min-height:76px !important;
    padding:10px 16px !important;
    background-size:auto 100% !important;
    background-position:left top !important;
  }
  body:not(.home) .main-nav{
    display:none !important;
  }
  body:not(.home) .header-actions{
    grid-column:2 !important;
  }
}


/* ============================================================
   V25.10.43 — HEADER INTERNE = MÊMES DIMENSIONS QUE L'INDEX
   Aucune autre section modifiée.
   ============================================================ */

/* Le header interne garde exactement la hauteur et les règles générales
   de l'index. Le décor/logo vient du même hero et peut dépasser sous la
   ligne du header comme sur l'accueil, donc le logo n'est plus coupé. */
html body:not(.home) header.site-header{
  position:relative !important;
  top:0 !important;
  left:0 !important;
  z-index:20 !important;
  width:100% !important;
  min-height:92px !important;
  overflow:visible !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
  background:transparent !important;
  backdrop-filter:none !important;
  isolation:isolate !important;
}
html body:not(.home).admin-bar header.site-header{
  top:0 !important;
}
html body:not(.home) header.site-header::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  width:100% !important;
  height:128px !important;
  min-width:0 !important;
  max-width:none !important;
  flex:none !important;
  background-color:#02070d !important;
  background-image:url('assets/images/products/hero-home-fr-v251031.webp') !important;
  background-repeat:no-repeat !important;
  background-size:100% auto !important;
  background-position:top center !important;
  pointer-events:none !important;
  z-index:0 !important;
}
html[lang^="en"] body:not(.home) header.site-header::before,
html body.fopg-lang-en:not(.home) header.site-header::before{
  background-image:url('assets/images/products/hero-home-en-v251031.webp') !important;
}
html body:not(.home) header.site-header > *{
  position:relative !important;
  z-index:2 !important;
}
html body:not(.home) header.site-header .internal-header-brand{
  display:none !important;
}

/* >= 1401 px : COPIE des règles de l'index. */
@media (min-width:1401px){
  html body:not(.home) header.site-header{
    display:flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    gap:0 !important;
    padding:16px clamp(24px,2.4vw,42px) !important;
  }
  html body:not(.home) header.site-header .header-brand-spacer{
    display:block !important;
    flex:0 0 410px !important;
    width:410px !important;
    min-width:0 !important;
    margin:0 !important;
  }
  html body:not(.home) header.site-header nav.main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-self:auto !important;
    margin-left:0 !important;
    transform:none !important;
    gap:8px !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
  }
  html body:not(.home) header.site-header nav.main-nav > a:not(.home-nav-link){
    min-height:38px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }
  html body:not(.home) header.site-header .header-actions{
    display:flex !important;
    align-items:center !important;
    justify-self:auto !important;
    margin-left:auto !important;
    gap:8px !important;
    flex:0 0 auto !important;
  }
}

/* 1201–1400 px : COPIE des règles de l'index. */
@media (min-width:1201px) and (max-width:1400px){
  html body:not(.home) header.site-header{
    display:flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    gap:0 !important;
    padding:16px 24px !important;
  }
  html body:not(.home) header.site-header .header-brand-spacer{
    display:block !important;
    flex:0 0 330px !important;
    width:330px !important;
    min-width:0 !important;
    margin:0 !important;
  }
  html body:not(.home) header.site-header nav.main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    margin-left:0 !important;
    transform:none !important;
    gap:6px !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
  }
  html body:not(.home) header.site-header nav.main-nav > a:not(.home-nav-link){
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }
  html body:not(.home) header.site-header .header-actions{
    display:flex !important;
    align-items:center !important;
    margin-left:auto !important;
    gap:6px !important;
    flex:0 0 auto !important;
  }
  html body:not(.home) header.site-header .language-switcher a{
    padding:0 5px !important;
    font-size:8px !important;
  }
  html body:not(.home) header.site-header .header-cart{
    padding-left:9px !important;
  }
}

/* 1021–1200 px : COPIE des règles de l'index. */
@media (min-width:1021px) and (max-width:1200px){
  html body:not(.home) header.site-header{
    display:flex !important;
    grid-template-columns:none !important;
    align-items:center !important;
    gap:0 !important;
    padding:16px clamp(28px,3vw,52px) !important;
  }
  html body:not(.home) header.site-header .header-brand-spacer{
    display:block !important;
    flex:0 0 220px !important;
    width:220px !important;
    min-width:0 !important;
    margin:0 !important;
  }
  html body:not(.home) header.site-header nav.main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    margin-left:4px !important;
    transform:none !important;
    gap:6px !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
  }
  html body:not(.home) header.site-header nav.main-nav > a:not(.home-nav-link){
    min-height:40px !important;
    padding:0 10px !important;
    font-size:13px !important;
  }
  html body:not(.home) header.site-header .header-actions{
    display:flex !important;
    align-items:center !important;
    margin-left:auto !important;
    gap:6px !important;
    flex:0 0 auto !important;
  }
}

/* Accueil n'entre jamais dans le calcul de largeur des 5 boutons existants. */
@media (min-width:1021px){
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 7px) !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:32px !important;
    padding:0 7px !important;
    border:1.5px solid rgba(224,183,69,.72) !important;
    border-radius:8px !important;
    background:linear-gradient(180deg,rgba(22,28,34,.88) 0%,rgba(8,11,15,.78) 100%) !important;
    color:#fff !important;
    font-size:10px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
    z-index:4 !important;
  }
}

/* Mobile : même comportement que l'index, sans menu horizontal. */
@media (max-width:1020px){
  html body:not(.home) header.site-header{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    min-height:76px !important;
    padding:10px 16px !important;
  }
  html body:not(.home) header.site-header::before{
    height:112px !important;
    background-size:auto 100% !important;
    background-position:left top !important;
  }
  html body:not(.home) header.site-header .header-brand-spacer{
    display:block !important;
    grid-column:1 !important;
  }
  html body:not(.home) header.site-header nav.main-nav{
    display:none !important;
  }
  html body:not(.home) header.site-header .header-actions{
    grid-column:2 !important;
  }
}


/* ============================================================
   V25.10.44 — HEADER PAR RECadrage EXACT DU HERO
   - Hero accueil inchangé.
   - Bande header interne = haut du hero coupé juste sous la queue du poisson.
   - Menu index décalé légèrement à droite pour réserver Accueil.
   - Pages internes reprennent exactement les mêmes tailles/positions de boutons.
   ============================================================ */

/* Desktop large : mêmes dimensions partout. */
@media (min-width:1321px){
  html body header.site-header{
    display:grid !important;
    grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr) !important;
    align-items:center !important;
    gap:16px !important;
    min-height:92px !important;
    padding:16px clamp(24px,2.4vw,42px) !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    overflow:visible !important;
  }

  html body header.site-header .header-brand-spacer{
    grid-column:1 !important;
    display:block !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    flex:none !important;
  }

  html body header.site-header nav.main-nav{
    grid-column:2 !important;
    justify-self:center !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    flex:none !important;
    white-space:nowrap !important;
    /* espace réservé à Accueil */
    transform:translateX(46px) !important;
  }

  html body header.site-header nav.main-nav > a{
    min-height:38px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }

  html body header.site-header .header-actions{
    grid-column:3 !important;
    justify-self:end !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    flex:none !important;
  }
}

/* Largeur utilisée dans ton aperçu actuel (~1340 px). */
@media (min-width:1201px) and (max-width:1320px){
  html body header.site-header{
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    min-height:92px !important;
    padding:16px 24px !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    overflow:visible !important;
  }

  html body header.site-header .header-brand-spacer{
    display:block !important;
    flex:0 0 330px !important;
    width:330px !important;
    min-width:0 !important;
    margin:0 !important;
  }

  html body header.site-header nav.main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    margin-left:0 !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
    transform:translateX(34px) !important;
  }

  html body header.site-header nav.main-nav > a{
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }

  html body header.site-header .header-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    flex:0 0 auto !important;
  }
}

@media (min-width:1021px) and (max-width:1200px){
  html body header.site-header{
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    min-height:92px !important;
    padding:16px clamp(28px,3vw,52px) !important;
    background:transparent !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    overflow:visible !important;
  }

  html body header.site-header .header-brand-spacer{
    display:block !important;
    flex:0 0 220px !important;
    width:220px !important;
    min-width:0 !important;
    margin:0 !important;
  }

  html body header.site-header nav.main-nav{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    margin-left:4px !important;
    flex:0 1 auto !important;
    white-space:nowrap !important;
    transform:translateX(24px) !important;
  }

  html body header.site-header nav.main-nav > a{
    min-height:40px !important;
    padding:0 10px !important;
    font-size:13px !important;
  }

  html body header.site-header .header-actions{
    margin-left:auto !important;
    display:flex !important;
    align-items:center !important;
    gap:6px !important;
    flex:0 0 auto !important;
  }
}

/* Pages internes : la bande recadrée devient LE background du header. */
@media (min-width:1021px){
  html body:not(.home) header.site-header{
    position:relative !important;
    top:0 !important;
    left:0 !important;
    z-index:20 !important;
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251044.webp') !important;
    background-repeat:no-repeat !important;
    background-size:100% auto !important;
    background-position:top center !important;
  }

  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header{
    background-image:url('assets/images/products/header-strip-en-v251044.webp') !important;
  }

  /* Supprime les anciens faux fonds/logo ajoutés par les versions précédentes. */
  html body:not(.home) header.site-header::before,
  html body:not(.home) header.site-header::after{
    content:none !important;
    display:none !important;
    background:none !important;
  }

  html body:not(.home) header.site-header .internal-header-brand{
    display:none !important;
  }

  /* Accueil se place dans l'espace créé à gauche du groupe, sans déplacer les 5 boutons. */
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 8px) !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1.5px solid rgba(224,183,69,.72) !important;
    border-radius:10px !important;
    background:linear-gradient(180deg,rgba(22,28,34,.88) 0%,rgba(8,11,15,.78) 100%) !important;
    color:#fff !important;
    white-space:nowrap !important;
    z-index:4 !important;
  }
}

/* Même taille que les autres boutons selon la largeur. */
@media (min-width:1321px){
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    min-height:38px !important;
    padding:0 12px !important;
    font-size:13px !important;
  }
}
@media (min-width:1201px) and (max-width:1320px){
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }
}
@media (min-width:1021px) and (max-width:1200px){
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    min-height:40px !important;
    padding:0 10px !important;
    font-size:13px !important;
  }
}

/* Mobile : on conserve le comportement actuel du site. */
@media (max-width:1020px){
  html body:not(.home) header.site-header{
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251044.webp') !important;
    background-repeat:no-repeat !important;
    background-size:auto 100% !important;
    background-position:left top !important;
  }
  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header{
    background-image:url('assets/images/products/header-strip-en-v251044.webp') !important;
  }
}


/* ============================================================
   V25.10.45 — HEADER : position commune accueil / pages internes
   - même coordonnées pour le menu partout
   - espace Accueil réservé aussi sur l'index
   - crop du hero prolongé sous la queue du poisson
   - AUCUNE autre section modifiée
   ============================================================ */
@media (min-width:1021px){
  html body header.site-header{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    width:100% !important;
    min-height:116px !important;
    height:116px !important;
    display:block !important;
    padding:0 !important;
    margin:0 !important;
    overflow:visible !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    background-color:transparent !important;
    background-image:none !important;
    z-index:50 !important;
  }

  /* Les anciens spacers / faux logos ne participent plus au placement. */
  html body header.site-header .header-brand-spacer,
  html body header.site-header .internal-header-brand{
    display:none !important;
  }

  /* Coordonnée UNIQUE du groupe menu pour toutes les pages.
     À ~1348 px de largeur utile : Accueil débute ~390 px,
     AutoJig Connect ~458 px. */
  html body header.site-header nav.main-nav{
    position:absolute !important;
    left:calc(50% - 284px) !important;
    top:50% !important;
    right:auto !important;
    bottom:auto !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    width:auto !important;
    max-width:none !important;
    white-space:nowrap !important;
  }

  html body header.site-header nav.main-nav > a{
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 12px !important;
    margin:0 !important;
    border-radius:10px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Sur l'index, on réserve EXACTEMENT la place du bouton Accueil.
     Les 5 boutons existants restent ainsi au même X que sur les pages internes. */
  html body.home header.site-header nav.main-nav::before{
    content:"" !important;
    display:block !important;
    flex:0 0 58px !important;
    width:58px !important;
    height:38px !important;
  }

  /* Sur les pages internes, Accueil utilise la place réservée. */
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    position:static !important;
    transform:none !important;
    min-width:58px !important;
    width:58px !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 8px !important;
    font-size:13px !important;
    border:1.5px solid rgba(224,183,69,.72) !important;
    border-radius:10px !important;
    background:linear-gradient(180deg,rgba(22,28,34,.88) 0%,rgba(8,11,15,.78) 100%) !important;
    color:#fff !important;
  }

  /* Langues + panier : même ancrage à droite partout. */
  html body header.site-header .header-actions{
    position:absolute !important;
    right:24px !important;
    top:50% !important;
    left:auto !important;
    bottom:auto !important;
    transform:translateY(-50%) !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    width:auto !important;
  }

  /* Pages internes : la bande est le recadrage réel du hero, plus bas que v44. */
  html body:not(.home) header.site-header{
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251045.webp') !important;
    background-repeat:no-repeat !important;
    background-size:100% auto !important;
    background-position:top center !important;
  }

  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header{
    background-image:url('assets/images/products/header-strip-en-v251045.webp') !important;
  }

  html body:not(.home) header.site-header::before,
  html body:not(.home) header.site-header::after{
    content:none !important;
    display:none !important;
  }
}

/* Au format intermédiaire, même principe mais groupe légèrement recentré. */
@media (min-width:1021px) and (max-width:1180px){
  html body header.site-header nav.main-nav{
    left:calc(50% - 270px) !important;
    gap:6px !important;
  }
  html body header.site-header nav.main-nav > a{
    padding:0 9px !important;
    font-size:12px !important;
  }
  html body.home header.site-header nav.main-nav::before,
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    flex-basis:52px !important;
    min-width:52px !important;
    width:52px !important;
  }
  html body header.site-header .header-actions{
    right:18px !important;
    gap:6px !important;
  }
}


/* ============================================================
   V25.10.46 — HEADER FINAL ALIGNÉ SUR L'INDEX
   Uniquement le header desktop est corrigé ici.
   - Même position de menu sur accueil et pages internes
   - Accueil prend une place réservée sans déplacer AutoJig Connect
   - Bande interne = crop réel du hero jusqu'à sous la queue du poisson
   - Header interne assez haut pour NE PLUS couper PRO GEAR
   ============================================================ */
@media (min-width:1021px){

  /* -------- RÈGLES COMMUNES : coordonnées identiques partout -------- */
  html body header.site-header{
    left:0 !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    overflow:visible !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
    z-index:50 !important;
  }

  html body header.site-header .header-brand-spacer,
  html body header.site-header .internal-header-brand{
    display:none !important;
  }

  /* Le groupe commence exactement au même endroit sur les deux pages.
     Accueil (ou son espace réservé) occupe 62 px + le gap de 8 px. */
  html body header.site-header nav.main-nav{
    position:absolute !important;
    left:34.10% !important;
    top:42px !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    width:auto !important;
    max-width:none !important;
    white-space:nowrap !important;
  }

  html body header.site-header nav.main-nav > a{
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 12px !important;
    margin:0 !important;
    border:1.5px solid rgba(224,183,69,.72) !important;
    border-radius:10px !important;
    background:linear-gradient(180deg,rgba(22,28,34,.88) 0%,rgba(8,11,15,.78) 100%) !important;
    color:#fff !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Accueil invisible sur l'index : même espace que le vrai bouton interne. */
  html body.home header.site-header nav.main-nav::before{
    content:"" !important;
    display:block !important;
    flex:0 0 62px !important;
    width:62px !important;
    height:38px !important;
    margin:0 !important;
    padding:0 !important;
  }

  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    position:static !important;
    transform:none !important;
    flex:0 0 62px !important;
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 !important;
    margin:0 !important;
    font-size:13px !important;
  }

  /* Langues + panier : même position verticale et même ancrage à droite. */
  html body header.site-header .header-actions{
    position:absolute !important;
    right:24px !important;
    top:42px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 !important;
    padding:0 !important;
    width:auto !important;
  }

  /* -------- ACCUEIL : transparent au-dessus du hero original -------- */
  html body.home header.site-header{
    position:absolute !important;
    top:0 !important;
    height:100px !important;
    min-height:100px !important;
    background:transparent !important;
  }

  /* -------- PAGES INTERNES : vrai crop du même hero -------- */
  html body:not(.home) header.site-header{
    position:relative !important;
    top:0 !important;
    /* 160 / 1672 = 9.569%. La hauteur suit exactement l'échelle du hero. */
    height:9.569vw !important;
    min-height:136px !important;
    max-height:160px !important;
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251046.webp') !important;
    background-repeat:no-repeat !important;
    background-size:100% auto !important;
    background-position:top center !important;
  }

  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header{
    background-image:url('assets/images/products/header-strip-en-v251046.webp') !important;
  }

  html body:not(.home) header.site-header::before,
  html body:not(.home) header.site-header::after{
    content:none !important;
    display:none !important;
    background:none !important;
  }
}

/* Écran desktop plus étroit : conserver le même principe sans chevauchement. */
@media (min-width:1021px) and (max-width:1250px){
  html body header.site-header nav.main-nav{
    left:32.6% !important;
    gap:6px !important;
  }
  html body header.site-header nav.main-nav > a{
    height:36px !important;
    min-height:36px !important;
    padding:0 9px !important;
    font-size:12px !important;
  }
  html body.home header.site-header nav.main-nav::before,
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link{
    flex-basis:56px !important;
    width:56px !important;
    min-width:56px !important;
    max-width:56px !important;
    height:36px !important;
    min-height:36px !important;
    font-size:12px !important;
  }
  html body header.site-header .header-actions{
    right:16px !important;
    gap:6px !important;
  }
}


/* ============================================================
   V25.10.47 — PAGE INSTALLATION : BOUTONS DU HEADER SEULEMENT
   IMPORTANT : ne modifie PAS le background/logo du header.
   Référence visuelle = position du menu sur l'accueil.
   ============================================================ */
@media (min-width:1021px){
  /* Les 5 boutons principaux commencent au même endroit que sur l'accueil.
     Accueil est hors flux à gauche et ne décale donc rien. */
  html body.page-template-page-installation-application header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav{
    position:absolute !important;
    left:calc(50% - 245px) !important;
    top:22px !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
  }

  html body.page-template-page-installation-application header.site-header nav.main-nav > a:not(.home-nav-link),
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav > a:not(.home-nav-link){
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:34px !important;
    height:34px !important;
    padding:0 12px !important;
    margin:0 !important;
    border-radius:9px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Accueil : placé juste à gauche sans participer à la largeur du menu. */
  html body.page-template-page-installation-application header.site-header nav.main-nav > a.home-nav-link,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 8px) !important;
    left:auto !important;
    top:0 !important;
    bottom:auto !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:34px !important;
    height:34px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    padding:0 12px !important;
    margin:0 !important;
    border-radius:9px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  /* Langues et panier à la même hauteur que sur l'accueil. */
  html body.page-template-page-installation-application header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions{
    position:absolute !important;
    top:22px !important;
    right:32px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    margin:0 !important;
  }
}


/* ============================================================
   V25.10.48 — PAGE INSTALLATION : ALIGNEMENT MESURÉ SUR SCREENSHOTS
   Uniquement la position/taille des boutons du header installation.
   Background/logo du header : INCHANGÉS.
   Référence mesurée : accueil -> installation
   +68px horizontal menu, +20px vertical, hauteur boutons 38px,
   actions droite +8px / +20px vertical.
   ============================================================ */
@media (min-width:1021px){
  html body.page-template-page-installation-application header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav{
    left:calc(50% - 177px) !important;
    top:42px !important;
    gap:8px !important;
  }

  html body.page-template-page-installation-application header.site-header nav.main-nav > a,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav > a{
    min-height:38px !important;
    height:38px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    font-size:13px !important;
    line-height:1 !important;
  }

  html body.page-template-page-installation-application header.site-header nav.main-nav > a.home-nav-link,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav > a.home-nav-link{
    top:0 !important;
    min-height:38px !important;
    height:38px !important;
    font-size:13px !important;
  }

  html body.page-template-page-installation-application header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions{
    top:42px !important;
    right:24px !important;
  }
}


/* ============================================================
   V25.10.49 — PAGE INSTALLATION : HERO PLUS COMPACT SEULEMENT
   Ne touche PAS au header, au menu, aux cartes ou aux images d'étapes.
   ============================================================ */
@media (min-width:1021px){
  html body.page-template-page-installation-application .install-ice-hero,
  html body[class*="page-template-page-installation-application"] .install-ice-hero{
    min-height:330px !important;
    height:330px !important;
    padding-top:0 !important;
    align-items:center !important;
    background-size:auto 84% !important;
    background-position:calc(100% - 20px) center !important;
  }

  html body.page-template-page-installation-application .install-ice-hero-content,
  html body[class*="page-template-page-installation-application"] .install-ice-hero-content{
    width:min(1180px,calc(100% - 48px)) !important;
    margin:0 auto !important;
    padding:18px 0 !important;
    transform:translateX(-24px) !important;
  }

  html body.page-template-page-installation-application .install-ice-hero-content h1,
  html body[class*="page-template-page-installation-application"] .install-ice-hero-content h1{
    max-width:720px !important;
    font-size:clamp(42px,4.55vw,64px) !important;
    line-height:.97 !important;
    margin-bottom:12px !important;
  }

  html body.page-template-page-installation-application .install-ice-hero-content > p:last-child,
  html body[class*="page-template-page-installation-application"] .install-ice-hero-content > p:last-child{
    max-width:730px !important;
  }
}


/* V25.10.64 — Les cartes des 3 modèles ouvrent la fiche WooCommerce.
   Le bouton d'ajout au panier demeure autonome, cliquable par-dessus le lien de carte. */
.models-grid .model-card.has-detail-link{
  position:relative;
  cursor:pointer;
}
.models-grid .model-card .model-detail-link{
  position:absolute;
  inset:0;
  z-index:2;
  display:block;
  cursor:pointer;
}
.models-grid .model-card .model-detail-link:focus-visible{
  outline:3px solid var(--gold-light);
  outline-offset:-5px;
}
.models-grid .model-card .product-purchase{
  position:relative;
  z-index:3;
  pointer-events:none;
}
.models-grid .model-card .product-purchase a,
.models-grid .model-card .product-purchase button,
.models-grid .model-card .product-purchase input,
.models-grid .model-card .product-purchase select{
  pointer-events:auto;
}


/* =============================================================
   V25.10.66 — Fiches produits : galerie reellement reduite.
   Les classes WooCommerce peuvent etre portees par <body> et pas
   par un conteneur enfant .woocommerce; cibler donc div.product
   directement. L'apparence de la boutique reste inchangee.
   ============================================================= */
@media (min-width: 992px) {
  html body.single-product div.product div.woocommerce-product-gallery,
  html body.single-product div.product div.images {
    width: 35% !important;
    max-width: 380px !important;
    float: left !important;
    margin-bottom: 38px !important;
  }
  html body.single-product div.product div.summary {
    width: calc(100% - min(35%, 380px) - 40px) !important;
    max-width: none !important;
    float: right !important;
    margin-bottom: 38px !important;
  }
}
html body.single-product div.product div.woocommerce-product-gallery__wrapper,
html body.single-product div.product div.woocommerce-product-gallery__image,
html body.single-product div.product div.woocommerce-product-gallery__image a {
  max-width: 100% !important;
}
html body.single-product div.product div.woocommerce-product-gallery__image img:not(.zoomImg),
html body.single-product div.product div.images img.wp-post-image {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 320px) !important;
  max-height: 320px !important;
  height: auto !important;
  object-fit: contain !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 991px) {
  html body.single-product div.product div.woocommerce-product-gallery,
  html body.single-product div.product div.images {
    width: 100% !important;
    max-width: 360px !important;
    float: none !important;
    margin: 0 auto 28px !important;
  }
  html body.single-product div.product div.summary {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: both !important;
  }
}


/* ============================================================
   V25.10.67 — NOS MODÈLES : photo réelle du Connect.
   Les images Speed/Instinct+ ainsi que les fiches produit restent inchangées.
   ============================================================ */
.models-grid .featured-model .model-product-image.connect-model-photo {
  background:#07111a !important;
  border:1px solid rgba(213,168,47,.35) !important;
  box-shadow:none !important;
}
.models-grid .featured-model .model-product-image.connect-model-photo > img {
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:50% 50% !important;
  padding:0 !important;
  filter:none !important;
}

/* Empêche le menu « Nos modèles » (plus large que l'ancien « Boutique »)
   de chevaucher les langues et le panier en aperçu WordPress.
   Conserve exactement l'image de fond, le logo et la hauteur du header. */
@media (min-width:1251px) and (max-width:1550px) {
  html body header.site-header nav.main-nav {
    left:34.10% !important;
    top:42px !important;
    gap:6px !important;
  }
  html body header.site-header nav.main-nav > a {
    padding-left:9px !important;
    padding-right:9px !important;
    font-size:11.5px !important;
  }
  html body header.site-header .header-actions {
    top:42px !important;
    right:20px !important;
    gap:6px !important;
  }
  /* La page d'installation garde ses réglages spéciaux déjà validés. */
  html body.page-template-page-installation-application header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav {
    left:calc(50% - 177px) !important;
    gap:8px !important;
  }
  html body.page-template-page-installation-application header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions {
    right:24px !important;
  }
}
@media (min-width:1021px) and (max-width:1250px) {
  html body header.site-header nav.main-nav {
    top:42px !important;
    left:30.8% !important;
    gap:4px !important;
  }
  html body header.site-header nav.main-nav > a {
    padding-left:7px !important;
    padding-right:7px !important;
    font-size:10.5px !important;
  }
  html body header.site-header .header-actions {
    top:42px !important;
    right:12px !important;
    gap:5px !important;
  }
  html body.page-template-page-installation-application header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav {
    left:calc(50% - 177px) !important;
    gap:8px !important;
  }
  html body.page-template-page-installation-application header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions {
    right:24px !important;
  }
}


/* ============================================================
   V25.10.68 — NOS MODÈLES : cartes ivoire chaud comme la section
   Accessoires & Pièces. La section reste noir/charbon, le contraste
   texte/fond reste lisible sur les 3 modèles, même au survol.
   Les photos, le header et les boutons de panier ne changent pas.
   ============================================================ */
.models-section .models-grid .model-card,
.models-section .models-grid .model-card.featured-model {
  background:var(--fopg-ivory) !important;
  color:var(--fopg-text) !important;
  border-color:var(--fopg-line) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.16);
}

.models-section .models-grid .model-card:hover,
.models-section .models-grid .model-card:focus-within,
.models-section .models-grid .model-card.featured-model:hover,
.models-section .models-grid .model-card.featured-model:focus-within {
  background:var(--fopg-ivory-soft) !important;
  border-color:#bd9229 !important;
  box-shadow:0 19px 46px rgba(0,0,0,.25), 0 0 0 1px rgba(189,146,41,.24) !important;
}

.models-section .models-grid .model-card h3,
.models-section .models-grid .model-card:hover h3,
.models-section .models-grid .model-card:focus-within h3 {
  color:#171b1e !important;
}

.models-section .models-grid .model-card .model-description,
.models-section .models-grid .model-card:hover .model-description,
.models-section .models-grid .model-card:focus-within .model-description {
  color:#5b635e !important;
}

.models-section .models-grid .model-card .model-label,
.models-section .models-grid .model-card:hover .model-label,
.models-section .models-grid .model-card:focus-within .model-label {
  color:#986f14 !important;
}

.models-section .models-grid .model-card ul {
  border-top-color:#d7cebb !important;
}
.models-section .models-grid .model-card li,
.models-section .models-grid .model-card li strong,
.models-section .models-grid .model-card:hover li,
.models-section .models-grid .model-card:focus-within li {
  color:#343b38 !important;
}
.models-section .models-grid .model-card li svg {
  color:#9e7617 !important;
}
.models-section .models-grid .model-card .model-icon {
  background:#19221f;
  color:#f2d06f;
  border-color:#b89031;
}
.models-section .models-grid .model-card .model-card-top small,
.models-section .models-grid .model-card:hover .model-card-top small,
.models-section .models-grid .model-card:focus-within .model-card-top small {
  color:#8b7e65 !important;
}
.models-section .models-grid .model-card .selected-option-detail,
.models-section .models-grid .model-card .product-purchase label,
.models-section .models-grid .model-card .price-row small {
  color:#636760 !important;
}
.models-section .models-grid .model-card .price-row strong {
  color:#88650f !important;
}


/* ============================================================
   V25.10.69 — FICHES PRODUIT : header remis comme l'installation,
   image galerie un peu plus basse et plus compacte, boutons de
   paiement empilés, produits similaires réduits.
   ============================================================ */
@media (min-width:1021px){
  html body.single-product header.site-header nav.main-nav{
    position:absolute !important;
    left:calc(50% - 177px) !important;
    top:42px !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
  }

  html body.single-product header.site-header nav.main-nav > a:not(.home-nav-link){
    position:static !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 12px !important;
    margin:0 !important;
    border-radius:9px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  html body.single-product header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 8px) !important;
    left:auto !important;
    top:0 !important;
    bottom:auto !important;
    transform:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    height:38px !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    padding:0 12px !important;
    margin:0 !important;
    border-radius:9px !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }

  html body.single-product header.site-header .header-actions{
    position:absolute !important;
    top:42px !important;
    right:24px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    margin:0 !important;
  }

  html body.single-product div.product div.woocommerce-product-gallery,
  html body.single-product div.product div.images {
    width: 34% !important;
    max-width: 360px !important;
    float: left !important;
    margin-top: 26px !important;
    margin-bottom: 34px !important;
  }

  html body.single-product div.product div.summary {
    width: calc(100% - min(34%, 360px) - 46px) !important;
    max-width: none !important;
    float: right !important;
    margin-bottom: 34px !important;
  }
}

html body.single-product div.product div.woocommerce-product-gallery__image img:not(.zoomImg),
html body.single-product div.product div.images img.wp-post-image {
  max-width: min(100%, 320px) !important;
  max-height: 320px !important;
}

html body.single-product div.product div.woocommerce-product-gallery,
html body.single-product div.product div.images {
  padding-top: 8px !important;
}

html body.single-product .woocommerce div.product .summary .woocommerce-product-details__short-description,
html body.single-product div.product .summary .woocommerce-product-details__short-description {
  margin-bottom: 16px !important;
}

html body.single-product .woocommerce div.product form.cart,
html body.single-product div.product form.cart {
  display:grid !important;
  grid-template-columns: 54px minmax(220px, 300px) !important;
  align-items:stretch !important;
  gap:10px !important;
  width:max-content !important;
  margin-bottom:14px !important;
}
html body.single-product .woocommerce div.product form.cart .quantity,
html body.single-product div.product form.cart .quantity {
  grid-column:1 !important;
  margin:0 !important;
}
html body.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
html body.single-product div.product form.cart .single_add_to_cart_button,
html body.single-product .woocommerce div.product form.cart .button,
html body.single-product div.product form.cart .button {
  grid-column:2 !important;
  width:100% !important;
  margin:0 !important;
}

html body.single-product div.product .summary .wcpay-payment-request-wrapper,
html body.single-product div.product .summary .wc-stripe-product-checkout-container,
html body.single-product div.product .summary .wc-stripe-payment-request-wrapper,
html body.single-product div.product .summary [class*="payment-request-wrapper"],
html body.single-product div.product .summary [class*="payment-request-buttons"],
html body.single-product div.product .summary [class*="express-payment"] {
  display:grid !important;
  grid-template-columns: minmax(220px, 420px) !important;
  gap:12px !important;
  width:auto !important;
  max-width:420px !important;
  margin:0 !important;
}

html body.single-product div.product .summary .wcpay-payment-request-wrapper > *,
html body.single-product div.product .summary .wc-stripe-product-checkout-container > *,
html body.single-product div.product .summary .wc-stripe-payment-request-wrapper > *,
html body.single-product div.product .summary [class*="payment-request-wrapper"] > *,
html body.single-product div.product .summary [class*="payment-request-buttons"] > *,
html body.single-product div.product .summary [class*="express-payment"] > * {
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

html body.single-product div.product .summary .wcpay-payment-request-buttons,
html body.single-product div.product .summary .wc-stripe-product-checkout-container,
html body.single-product div.product .summary [class*="payment-request-buttons"] {
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:12px !important;
}

html body.single-product .related.products,
html body.single-product .up-sells.upsells.products {
  clear:both !important;
  padding-top:16px !important;
}
html body.single-product .related.products > h2,
html body.single-product .up-sells.upsells.products > h2 {
  margin:0 0 18px !important;
  font-size:28px !important;
  line-height:1 !important;
  text-transform:uppercase !important;
}
@media (min-width: 992px) {
  html body.single-product .related.products ul.products,
  html body.single-product .up-sells.upsells.products ul.products {
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 18px !important;
    margin-top: 18px !important;
  }
  html body.single-product .related.products ul.products li.product,
  html body.single-product .up-sells.upsells.products ul.products li.product {
    padding: 0 0 16px !important;
  }
  html body.single-product .related.products ul.products li.product a img,
  html body.single-product .up-sells.upsells.products ul.products li.product a img {
    max-height: 180px !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
  }
  html body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  html body.single-product .up-sells.upsells.products ul.products li.product .woocommerce-loop-product__title {
    padding: 14px 14px 6px !important;
    font-size: 16px !important;
  }
  html body.single-product .related.products ul.products li.product .price,
  html body.single-product .up-sells.upsells.products ul.products li.product .price {
    padding: 0 14px !important;
    font-size: 16px !important;
  }
  html body.single-product .related.products ul.products li.product .button,
  html body.single-product .up-sells.upsells.products ul.products li.product .button {
    margin: 12px 14px 0 !important;
    min-height: 40px !important;
    font-size: 11px !important;
  }
}

@media (max-width: 991px) {
  html body.single-product div.product div.woocommerce-product-gallery,
  html body.single-product div.product div.images {
    margin-top: 12px !important;
  }
  html body.single-product .woocommerce div.product form.cart,
  html body.single-product div.product form.cart {
    grid-template-columns: 54px minmax(0,1fr) !important;
    width:100% !important;
  }
  html body.single-product div.product .summary .wcpay-payment-request-wrapper,
  html body.single-product div.product .summary .wc-stripe-product-checkout-container,
  html body.single-product div.product .summary .wc-stripe-payment-request-wrapper,
  html body.single-product div.product .summary [class*="payment-request-wrapper"],
  html body.single-product div.product .summary [class*="payment-request-buttons"],
  html body.single-product div.product .summary [class*="express-payment"] {
    max-width:none !important;
    width:100% !important;
    grid-template-columns:1fr !important;
  }
}


/* ===========================================================
   V25.10.72 — FICHE WOOCOMMERCE : mise en page structurelle.
   Uniquement les fiches produit : pas d'impact sur l'accueil,
   le header, l'installation ou les autres pages WooCommerce.
   =========================================================== */
html body.single-product .fopg-product-main .fopg-content-shell {
  box-sizing:border-box !important;
  width:min(1280px, calc(100% - 52px)) !important;
  max-width:1280px !important;
  margin:0 auto !important;
  padding:34px 0 85px !important;
}

/* L'image et les informations ont de l'air sous le bandeau. */
@media (min-width:992px) {
  html body.single-product .fopg-product-main div.product div.images,
  html body.single-product .fopg-product-main div.product div.woocommerce-product-gallery {
    margin-top:24px !important;
  }
  html body.single-product .fopg-product-main div.product div.summary {
    margin-top:0 !important;
    margin-bottom:22px !important;
  }
}

/* Le hook PHP entoure les vrais boutons Stripe AVANT leur initialisation.
   Pas de copie du bouton, aucun déplacement d'iframe ou de formulaire. */
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart {
  display:block !important;
  position:static !important;
  float:none !important;
  clear:both !important;
  width:min(100%, 315px) !important;
  max-width:315px !important;
  margin:12px 0 18px !important;
  padding:0 !important;
}
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart #wc-stripe-express-checkout-element,
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart #wc-stripe-payment-request-wrapper,
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart .wc-stripe-product-checkout-container,
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart .wcpay-payment-request-wrapper {
  box-sizing:border-box !important;
  position:static !important;
  float:none !important;
  clear:none !important;
  width:100% !important;
  max-width:315px !important;
  margin:0 0 10px 0 !important;
  padding:0 !important;
  inset:auto !important;
  transform:none !important;
}
/* Stripe contrôle lui-même la visibilité et les actions; on ne force pas
   display sur son élément afin de ne pas afficher un portefeuille indisponible. */
html body.single-product .fopg-product-main .summary .fopg-stripe-after-cart iframe {
  max-width:100% !important;
}
html body.single-product .fopg-product-main .summary form.cart {
  float:none !important;
  clear:both !important;
  margin-bottom:10px !important;
}

/* Description : encadré plus large, 65–85 caractères par ligne,
   marge gauche agréable sans coller au bord de l'écran. */
html body.single-product .fopg-product-main div.product .woocommerce-tabs.wc-tabs-wrapper {
  box-sizing:border-box !important;
  clear:both !important;
  float:none !important;
  width:min(calc(100% - 28px), 1030px) !important;
  max-width:1030px !important;
  margin:22px 0 45px 28px !important;
  padding:25px 34px 31px !important;
  background:#faf8f1 !important;
  border:1px solid #dfd7c7 !important;
  border-radius:12px !important;
  box-shadow:0 8px 28px rgba(36,30,18,.035) !important;
  text-align:left !important;
}
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel,
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel p,
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel li {
  text-align:left !important;
  line-height:1.65 !important;
}
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel p {
  max-width:88ch !important;
  margin-bottom:17px !important;
}
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel ul {
  padding-left:24px !important;
}
html body.single-product .fopg-product-main div.product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
  font-size:23px !important;
}

/* Les suggestions : de petites cartes plutôt que des images géantes. */
html body.single-product .fopg-product-main .related.products,
html body.single-product .fopg-product-main .up-sells.products {
  clear:both !important;
  margin-top:30px !important;
}
html body.single-product .fopg-product-main .related.products ul.products,
html body.single-product .fopg-product-main .up-sells.products ul.products {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
html body.single-product .fopg-product-main .related.products ul.products li.product a img,
html body.single-product .fopg-product-main .up-sells.products ul.products li.product a img {
  max-height:180px !important;
  object-fit:contain !important;
}
@media(max-width:991px){
  html body.single-product .fopg-product-main .fopg-content-shell {
    width:calc(100% - 28px) !important;
    padding:24px 0 65px !important;
  }
  html body.single-product .fopg-product-main div.product .woocommerce-tabs.wc-tabs-wrapper {
    width:100% !important;
    max-width:100% !important;
    margin:22px 0 35px !important;
    padding:18px 20px 25px !important;
  }
  html body.single-product .fopg-product-main .related.products ul.products,
  html body.single-product .fopg-product-main .up-sells.products ul.products {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* ============================================================
   V25.10.73 — Fiches produits : paiement par panier uniquement.
   Masque Apple Pay, Google Pay et Link du produit lui-même;
   les moyens de paiement à la caisse ne sont pas modifiés.
   Encadré de description large, texte limité pour la lecture.
   ============================================================ */
html body.single-product #wc-stripe-express-checkout-element,
html body.single-product [id^="wc-stripe-express-checkout-element"],
html body.single-product #wc-stripe-payment-request-wrapper,
html body.single-product #wc-stripe-payment-request-button,
html body.single-product #wc-stripe-payment-request-button-separator,
html body.single-product #wc-stripe-express-checkout-button-separator,
html body.single-product #wcpay-payment-request-wrapper,
html body.single-product #wcpay-payment-request-button,
html body.single-product .wcpay-payment-request-wrapper,
html body.single-product .wc-stripe-product-checkout-container,
html body.single-product .wc-stripe-payment-request-wrapper,
html body.single-product .wc-stripe-express-checkout-container,
html body.single-product .wc-stripe-express-checkout-element,
html body.single-product .wc-stripe-express-checkout-button-separator,
html body.single-product .fopg-stripe-after-cart {
  display:none !important;
  visibility:hidden !important;
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  width:0 !important;
  height:0 !important;
  min-height:0 !important;
}
html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs.wc-tabs-wrapper {
  box-sizing:border-box !important;
  width:calc(100% - 44px) !important;
  max-width:none !important;
  float:none !important;
  clear:both !important;
  margin:24px auto 48px !important;
  padding:26px 34px 34px !important;
  text-align:left !important;
}
html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  max-width:100% !important;
  text-align:left !important;
}
html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs .woocommerce-Tabs-panel p,
html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs .woocommerce-Tabs-panel ul,
html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs .woocommerce-Tabs-panel ol {
  max-width:95ch !important;
  text-align:left !important;
}
@media(max-width:680px){
  html body.single-product .fopg-product-main .fopg-content-shell div.product .woocommerce-tabs.wc-tabs-wrapper {
    width:100% !important;
    margin:20px 0 35px !important;
    padding:20px !important;
  }
}

/* Plus specifique que les anciens essais de mise en grille Stripe.
   :is() prend la spécificité de l'ID ci-dessous, même pour les classes. */
html body.single-product .fopg-product-main :is(
  #wc-stripe-express-checkout-element,
  #wc-stripe-payment-request-wrapper,
  #wc-stripe-payment-request-button,
  #wcpay-payment-request-button,
  .wc-stripe-product-checkout-container,
  .wcpay-payment-request-wrapper,
  .wc-stripe-payment-request-wrapper,
  .wc-stripe-express-checkout-container,
  .wc-stripe-express-checkout-element,
  .fopg-stripe-after-cart
) {
  display:none !important;
  visibility:hidden !important;
  position:static !important;
  margin:0 !important;
  padding:0 !important;
  width:0 !important;
  height:0 !important;
}


/* ==========================================================
   V25.10.75 — VIDEO DEMOS (homepage, before anglers gallery)
   Three user-submitted vertical YouTube Shorts, muted autoplay
   and independent playback loops; no changes to existing gallery.
   ========================================================== */
.fopg-video-section{
  padding:88px clamp(24px,8vw,140px) 102px;
  background:linear-gradient(180deg,#0a1117 0%,#0d151a 100%);
  color:#f8f5ed;
  border-top:1px solid rgba(213,168,47,.16);
}
.fopg-video-container{ max-width:1240px; margin:0 auto; }
.fopg-video-container .section-kicker{ color:var(--gold-light); margin:0 0 14px; }
.fopg-video-heading{
  display:flex; align-items:end; justify-content:space-between;
  gap:25px; margin-bottom:36px;
}
.fopg-video-heading h2{
  margin:0; font-size:clamp(38px,5vw,66px); line-height:.96;
  letter-spacing:-.05em; text-transform:uppercase;
}
.fopg-video-heading > p{
  flex:0 1 340px; margin:0; color:#c5c9c8;
  font-size:16px; line-height:1.6;
}
.fopg-video-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px; justify-items:center;
}
.fopg-video-card{
  display:flex; flex-direction:column;
  width:100%; max-width:320px;
  margin:0;
  border:1px solid rgba(213,168,47,.33);
  background:#070b0e;
  box-shadow:0 14px 35px rgba(0,0,0,.17);
}
.fopg-video-player{
  position:relative;
  overflow:hidden;
  aspect-ratio:9/16;
  width:100%;
  background:#020405;
}
.fopg-video-player iframe{
  position:absolute; inset:0;
  display:block; width:100%; height:100%; border:0;
}
.fopg-video-card figcaption{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 16px 16px;
  font-size:13px; font-weight:800;
}
.fopg-video-card figcaption span{color:#e4bd56;letter-spacing:.02em;}
.fopg-video-card figcaption a{color:#f8f5ed;text-decoration:underline;text-underline-offset:3px;font-size:12px;}
.fopg-video-card figcaption a:hover{color:var(--gold-light);}
.fopg-video-note{
  margin:24px 0 0;
  color:#b4bdc3; font-size:13px; line-height:1.6;
  text-align:center;
}
@media(max-width:850px){
  .fopg-video-section{padding:68px 22px 76px;}
  .fopg-video-heading{display:block;}
  .fopg-video-heading > p{margin-top:18px;max-width:570px;}
  .fopg-video-grid{gap:12px;}
}
@media(max-width:620px){
  .fopg-video-grid{grid-template-columns:1fr;gap:20px;}
  .fopg-video-card{max-width:340px;}
  .fopg-video-heading h2{font-size:clamp(35px,10vw,48px);}
}

/* ============================================================
   V25.10.80 — PANIER : disposition du header identique à la
   page d'installation. Concerne UNIQUEMENT le panier WooCommerce.
   Logo, bandeau, hauteur et liens restent inchangés.
   ============================================================ */
@media (min-width:1251px){
  html body.woocommerce-cart header.site-header nav.main-nav{
    position:absolute !important;
    left:calc(50% - 177px) !important;
    right:auto !important;
    top:42px !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:8px !important;
    width:max-content !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    white-space:nowrap !important;
  }
  html body.woocommerce-cart header.site-header nav.main-nav > a:not(.home-nav-link){
    position:static !important;
    transform:none !important;
    flex:0 0 auto !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:38px !important;
    height:38px !important;
    padding:0 12px !important;
    margin:0 !important;
    font-size:13px !important;
    line-height:1 !important;
    white-space:nowrap !important;
  }
  html body.woocommerce-cart header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 8px) !important;
    left:auto !important;
    top:0 !important;
    bottom:auto !important;
    transform:none !important;
    flex:none !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:38px !important;
    min-height:38px !important;
    padding:0 12px !important;
    margin:0 !important;
    font-size:13px !important;
  }
  html body.woocommerce-cart header.site-header .header-actions{
    position:absolute !important;
    top:42px !important;
    right:24px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    gap:8px !important;
    margin:0 !important;
  }
}
@media (min-width:1021px) and (max-width:1250px){
  html body.woocommerce-cart header.site-header nav.main-nav{
    position:absolute !important;
    left:calc(50% - 225px) !important;
    right:auto !important;
    top:42px !important;
    bottom:auto !important;
    transform:none !important;
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:5px !important;
    width:max-content !important;
    max-width:none !important;
    padding:0 !important;
    margin:0 !important;
  }
  html body.woocommerce-cart header.site-header nav.main-nav > a:not(.home-nav-link){
    position:static !important;
    flex:0 0 auto !important;
    padding:0 8px !important;
    font-size:11px !important;
    width:auto !important;
    min-width:0 !important;
    height:36px !important;
    min-height:36px !important;
    margin:0 !important;
  }
  html body.woocommerce-cart header.site-header nav.main-nav > a.home-nav-link{
    position:absolute !important;
    right:calc(100% + 5px) !important;
    left:auto !important;
    top:0 !important;
    bottom:auto !important;
    transform:none !important;
    flex:none !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:36px !important;
    min-height:36px !important;
    padding:0 8px !important;
    margin:0 !important;
    font-size:11px !important;
  }
  html body.woocommerce-cart header.site-header .header-actions{
    position:absolute !important;
    top:42px !important;
    right:12px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    gap:5px !important;
    margin:0 !important;
  }
}


/* V25.10.81 — Les cartes accessoires ouvrent leur fiche WooCommerce.
   Le vrai bouton « Ajouter au panier » reste accessible indépendamment. */
.parts-grid .part-card.has-detail-link {
  position:relative;
  cursor:pointer;
}
.parts-grid .part-card .part-detail-link {
  position:absolute;
  inset:0;
  display:block;
  z-index:2;
  cursor:pointer;
}
.parts-grid .part-card .part-detail-link:focus-visible {
  outline:3px solid #bd9229;
  outline-offset:-5px;
}
.parts-grid .part-card .part-purchase {
  position:relative;
  z-index:3;
  pointer-events:none;
}
.parts-grid .part-card .part-purchase a,
.parts-grid .part-card .part-purchase button,
.parts-grid .part-card .part-purchase input,
.parts-grid .part-card .part-purchase select {
  pointer-events:auto;
}


/* V25.10.82 — 4 modèles dans une même section; même présentation beige. */
@media (min-width:1251px) {
  html body.home .models-section .models-grid {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
  html body.home .models-section .model-card {
    padding:26px 22px !important;
  }
  html body.home .models-section .model-card h3 {
    font-size:clamp(26px,2.25vw,34px) !important;
  }
  html body.home .models-section .model-product-image,
  html body.home .models-section .model-image-placeholder {
    height:190px;
  }
}
@media (min-width:901px) and (max-width:1250px) {
  html body.home .models-section .models-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
html body.home .models-section .walleye-product-image > img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  position:absolute;
  inset:0;
  padding:12px;
}
html body.home .models-section .model-card .fopg-coming-soon {
  cursor:default !important;
  opacity:1 !important;
  border-color:#b18a32 !important;
  background:#f3e6c6 !important;
  color:#775512 !important;
  user-select:none;
}
html body.home .models-section .model-card .fopg-coming-soon:hover {
  transform:none !important;
  background:#f3e6c6 !important;
}
html body.single-product .fopg-coming-soon-message {
  display:inline-block;
  margin:10px 0 18px;
  padding:10px 16px;
  border:1px solid #bc9741;
  background:#f3e6c6;
  color:#755310;
  font-size:15px;
  font-weight:800;
}

/* V25.10.83 — Same product photography framing for ALL homepage models. */
html body.home .models-grid .model-card .model-product-image {
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:100% !important; height:220px !important; min-height:220px !important;
  box-sizing:border-box !important; overflow:hidden !important;
  background:#07111a !important; border:1px solid rgba(213,168,47,.35) !important;
}
html body.home .models-grid .model-card .model-product-image img,
html body.home .models-grid .featured-model .model-product-image.connect-model-photo > img {
  display:block !important; width:100% !important; height:100% !important;
  object-fit:contain !important; object-position:center !important;
  padding:8px !important; box-sizing:border-box !important; filter:none !important;
}
html body.home .models-grid .model-card .fopg-no-product-photo {
  text-align:center; font-weight:700; color:#e7d39c;
}


/* V25.10.86 — HEADER COMMUN : accueil, boutique, panier, commande et reçu.
   Neutralise les anciennes variations par page WooCommerce sans toucher aux données.
   Conserve la bande graphique interne et son logo complet. */
@media (min-width: 1021px) {
  html body.woocommerce-order-received header.site-header,
  html body.woocommerce-checkout header.site-header,
  html body.woocommerce-cart header.site-header,
  html body.single-product header.site-header,
  html body.woocommerce-shop header.site-header {
    position:relative !important;
    top:0 !important;
    left:0 !important;
    width:100% !important;
    height:9.569vw !important;
    min-height:136px !important;
    max-height:160px !important;
    padding:0 !important;
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251046.webp') !important;
    background-size:100% auto !important;
    background-repeat:no-repeat !important;
    background-position:top center !important;
    overflow:visible !important;
  }
  html[lang^="en"] body.woocommerce-order-received header.site-header,
  html[lang^="en"] body.woocommerce-checkout header.site-header,
  html[lang^="en"] body.woocommerce-cart header.site-header,
  html[lang^="en"] body.single-product header.site-header {
    background-image:url('assets/images/products/header-strip-en-v251046.webp') !important;
  }
  html body.woocommerce-order-received header.site-header nav.main-nav,
  html body.woocommerce-checkout header.site-header nav.main-nav,
  html body.woocommerce-cart header.site-header nav.main-nav,
  html body.single-product header.site-header nav.main-nav {
    display:flex !important;
    position:absolute !important;
    top:42px !important;
    left:34.10% !important;
    right:auto !important;
    bottom:auto !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    gap:8px !important;
    align-items:center !important;
    white-space:nowrap !important;
  }
  html body.woocommerce-order-received header.site-header nav.main-nav > a.home-nav-link,
  html body.woocommerce-checkout header.site-header nav.main-nav > a.home-nav-link,
  html body.woocommerce-cart header.site-header nav.main-nav > a.home-nav-link,
  html body.single-product header.site-header nav.main-nav > a.home-nav-link {
    position:static !important;
    height:38px !important;
    min-height:38px !important;
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    flex:0 0 62px !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
  }
  html body.woocommerce-order-received header.site-header .header-actions,
  html body.woocommerce-checkout header.site-header .header-actions,
  html body.woocommerce-cart header.site-header .header-actions,
  html body.single-product header.site-header .header-actions {
    position:absolute !important;
    top:42px !important;
    right:24px !important;
    bottom:auto !important;
    left:auto !important;
    transform:none !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
  }
}
@media (min-width:1021px) and (max-width:1550px) {
  html body.woocommerce-order-received header.site-header nav.main-nav,
  html body.woocommerce-checkout header.site-header nav.main-nav,
  html body.woocommerce-cart header.site-header nav.main-nav,
  html body.single-product header.site-header nav.main-nav {gap:6px !important;}
  html body.woocommerce-order-received header.site-header .header-actions,
  html body.woocommerce-checkout header.site-header .header-actions,
  html body.woocommerce-cart header.site-header .header-actions,
  html body.single-product header.site-header .header-actions {right:20px !important;}
}
@media (min-width:1021px) and (max-width:1250px) {
  html body.woocommerce-order-received header.site-header nav.main-nav,
  html body.woocommerce-checkout header.site-header nav.main-nav,
  html body.woocommerce-cart header.site-header nav.main-nav,
  html body.single-product header.site-header nav.main-nav {left:30.8% !important;gap:4px !important;}
  html body.woocommerce-order-received header.site-header .header-actions,
  html body.woocommerce-checkout header.site-header .header-actions,
  html body.woocommerce-cart header.site-header .header-actions,
  html body.single-product header.site-header .header-actions {right:12px !important;gap:5px !important;}
}

/* V25.10.87 — Choix Cam Speed, accueil et fiche produit. */
.fopg-speed-cam-choice { border:0; min-width:0; padding:0; margin:10px 0 14px; }
.fopg-speed-cam-choice legend { display:block; width:100%; margin-bottom:9px; font-weight:800; font-size:13px; color:#161716; }
.fopg-speed-cam-option { display:flex; align-items:center; gap:10px; border:1px solid #c5aa63; background:#fff9eb; border-radius:5px; margin:0 0 7px; padding:6px 10px; font-size:13px; font-weight:750; color:#151515; cursor:pointer; transition:background .15s ease,border-color .15s ease; }
.fopg-speed-cam-option:has(input:checked) { border-color:#a87a0a; background:#f6df99; box-shadow:0 0 0 1px #a87a0a inset; }
.fopg-speed-cam-option input { width:16px!important; height:16px!important; margin:0!important; flex:none; accent-color:#ad7c0d; }
.fopg-speed-cam-option img { width:38px!important; height:38px!important; max-width:38px!important; object-fit:contain; background:#0b1011; border-radius:4px; }
.fopg-speed-cam-option span { flex:1; }
.models-grid .model-card .fopg-speed-card-form { position:relative; z-index:3; pointer-events:auto; width:100%; margin:0; }
.models-grid .model-card .fopg-speed-card-form .add-button { width:100%; display:flex; justify-content:center; align-items:center; gap:8px; cursor:pointer; }
.models-grid .model-card .fopg-speed-card-form label { pointer-events:auto; }
html body.single-product div.product form.cart .fopg-speed-cam-choice { margin:14px 0 16px; width:100%; clear:both; }
html body.single-product div.product form.cart .fopg-speed-cam-option { max-width:420px; }
@media(max-width:680px){ .fopg-speed-cam-option { padding:5px 7px; gap:8px; } }

/* v25.10.89 — bilingual Speed add-to-cart feedback */
.fopg-speed-ajax-status:not(:empty) { margin-top: 10px; font-weight: 700; font-size: 14px; color: #287046; }
.fopg-speed-ajax-status.is-error { color: #a92727; }
.fopg-speed-card-form button[aria-busy="true"], form.cart button[aria-busy="true"] { opacity: .7; cursor: progress; }


/* ==============================================================
   V25.10.90 — En-tête des pages internes : un seul rendu partout.
   La bande graphique est une image de 1672x160. Les anciennes
   hauteurs de 100/116 px la coupaient sur la page d'installation.
   Toutes les pages non-accueil utilisent maintenant la même bande.
   ============================================================== */
@media (min-width:1021px) {
  html body:not(.home) header.site-header,
  html body.page-template-page-installation-application header.site-header,
  html body[class*="page-template-page-installation-application"] header.site-header {
    position:relative !important;
    top:0 !important;
    height:clamp(120px, 9.569vw, 160px) !important;
    min-height:clamp(120px, 9.569vw, 160px) !important;
    max-height:none !important;
    box-sizing:border-box !important;
    padding:0 !important;
    overflow:visible !important;
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251046.webp') !important;
    background-repeat:no-repeat !important;
    background-position:center top !important;
    background-size:100% 100% !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header,
  html[lang^="en"] body.page-template-page-installation-application header.site-header,
  html[lang^="en"] body[class*="page-template-page-installation-application"] header.site-header,
  html body.fopg-lang-en[class*="page-template-page-installation-application"] header.site-header {
    background-image:url('assets/images/products/header-strip-en-v251046.webp') !important;
  }
  html body:not(.home) header.site-header::before,
  html body:not(.home) header.site-header::after {content:none !important; display:none !important;}

  /* Même position du menu / langues / panier que sur l'accueil,
     avec réserve pour le bouton Accueil sur les pages internes. */
  html body:not(.home) header.site-header nav.main-nav,
  html body.page-template-page-installation-application header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav {
    position:absolute !important;
    left:34.10% !important;
    top:26px !important;
    right:auto !important;
    transform:none !important;
    display:flex !important;
    gap:8px !important;
    align-items:center !important;
    margin:0 !important;
  }
  html body:not(.home) header.site-header nav.main-nav > a.home-nav-link {
    position:static !important;
    transform:none !important;
    flex:0 0 62px !important;
    width:62px !important;
    min-width:62px !important;
    max-width:62px !important;
    height:38px !important;
    min-height:38px !important;
    margin:0 !important;
  }
  html body:not(.home) header.site-header .header-actions,
  html body.page-template-page-installation-application header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions {
    position:absolute !important;
    top:26px !important;
    right:24px !important;
    left:auto !important;
    bottom:auto !important;
    transform:none !important;
    margin:0 !important;
  }
}
@media (min-width:1021px) and (max-width:1350px) {
  html body:not(.home) header.site-header nav.main-nav,
  html body[class*="page-template-page-installation-application"] header.site-header nav.main-nav {
    left:32% !important;
    gap:5px !important;
  }
  html body:not(.home) header.site-header nav.main-nav > a {
    padding:0 8px !important;
    font-size:11px !important;
    height:34px !important;
    min-height:34px !important;
  }
  html body:not(.home) header.site-header .header-actions {right:12px !important; gap:5px !important;}
}
@media (max-width:1020px) {
  html body:not(.home) header.site-header,
  html body.page-template-page-installation-application header.site-header,
  html body[class*="page-template-page-installation-application"] header.site-header {
    position:relative !important;
    top:0 !important;
    height:108px !important;
    min-height:108px !important;
    max-height:none !important;
    padding:12px 14px !important;
    overflow:visible !important;
    background-color:#02070d !important;
    background-image:url('assets/images/products/header-strip-fr-v251046.webp') !important;
    background-size:auto 85px !important;
    background-position:left center !important;
    background-repeat:no-repeat !important;
  }
  html[lang^="en"] body:not(.home) header.site-header,
  html body.fopg-lang-en:not(.home) header.site-header {
    background-image:url('assets/images/products/header-strip-en-v251046.webp') !important;
  }
  html body:not(.home) header.site-header nav.main-nav {display:none !important;}
  html body:not(.home) header.site-header .header-actions {
    position:relative !important;
    right:auto !important;
    top:auto !important;
    left:auto !important;
    transform:none !important;
    grid-column:2 !important;
    justify-self:end !important;
  }
}

/* Speed: afficher la confirmation près du choix de Cam et du bouton. */
.fopg-speed-ajax-status { display:block; min-height:1.2em; margin:8px 0 0; font-weight:700; font-size:13px; }
.fopg-speed-ajax-status:empty {display:none;}
.fopg-speed-ajax-status.is-success {color:#196b3c;}
.fopg-speed-ajax-status.is-error {color:#ab2424;}
.fopg-speed-ajax-status a {font-weight:800; text-decoration:underline; margin-left:7px;}
/* Empêcher les anciens pseudo-éléments du thème de masquer la bande mobile. */
html body:not(.home) header.site-header::before,
html body:not(.home) header.site-header::after,
html body.page-template-page-installation-application header.site-header::before,
html body[class*="page-template-page-installation-application"] header.site-header::before {
  content:none !important;
  display:none !important;
  background:none !important;
}
@media (max-width:600px) {
  html body:not(.home) header.site-header,
  html body[class*="page-template-page-installation-application"] header.site-header {
    height:150px !important;
    min-height:150px !important;
    background-size:auto 100px !important;
    background-position:left top !important;
  }
  html body:not(.home) header.site-header .header-actions,
  html body[class*="page-template-page-installation-application"] header.site-header .header-actions {
    position:absolute !important;
    right:12px !important;
    bottom:10px !important;
    top:auto !important;
    left:auto !important;
    transform:none !important;
    margin:0 !important;
  }
}

/* V25.10.91 — Tous les boutons des cartes restent vraiment cliquables.
 * L'ancien overlay « fiche produit » ne doit jamais intercepter leur clic. */
html body.home .models-grid .model-card .product-purchase,
html body.home .models-grid .model-card .product-purchase form,
html body.home .models-grid .model-card .product-purchase .fopg-speed-cam-choice,
html body.home .models-grid .model-card .product-purchase .fopg-speed-cam-option {
  position:relative;
  z-index:5;
  pointer-events:auto !important;
}
html body.home .models-grid .model-card .product-purchase .add-button {
  position:relative;
  z-index:6;
  pointer-events:auto !important;
  cursor:pointer !important;
}
/* L'état de chargement ne rend pas le clic interdit : le JS évite les doubles ajouts. */
html body.home .models-grid .model-card .add-button.is-adding,
html body.single-product form.cart button.is-adding {
  cursor:progress !important;
}
html body.home .models-grid .model-card .add-button.is-added,
html body.single-product form.cart button.is-added {
  background:#6dd784 !important;
  border-color:#6dd784 !important;
  color:#0b2013 !important;
  cursor:pointer !important;
  opacity:1 !important;
}
html body.home .models-grid .model-card .add-button.is-add-error,
html body.single-product form.cart button.is-add-error {
  cursor:pointer !important;
}
.fopg-speed-ajax-status.is-screenreader-only {
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* v25.10.91 — Harmoniser l'espace prix/achat sur la rangée des modèles.
   Un même emplacement est réservé au choix du Cam, même pour les autres
   cartes, afin de ne pas avoir les prix à des hauteurs différentes. */
@media (min-width: 761px) {
  html body.home .models-grid .model-card .product-purchase {
    min-height: 205px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  html body.home .models-grid .model-card .product-purchase > .add-button,
  html body.home .models-grid .model-card .product-purchase > .fopg-speed-card-form {
    margin-top: auto;
  }
}
/* L'ancienne règle de chargement retirait les événements souris;
   les clics multiples sont filtrés dans le JavaScript, pas par un curseur interdit. */
html body.home .models-grid .model-card .product-purchase .add-button.is-adding {
  pointer-events: auto !important;
  cursor: progress !important;
}
html body.home .models-grid .model-card .product-purchase .fopg-speed-card-form button:not([aria-busy="true"]) {
  cursor: pointer !important;
}

/* Pendant le traitement AJAX, garder le bouton au-dessus du lien de carte.
 * L'ancienne règle .add-button.is-adding {pointer-events:none} exposait le
 * lien invisible sous-jacent et donnait l'impression d'un bouton bloqué. */
html body.home .models-grid .model-card .add-button.is-adding,
html body.home .models-grid .model-card .add-button.is-added,
html body.home .models-grid .model-card .add-button.is-add-error {
  pointer-events:auto !important;
}


/* V25.10.92 — Panier flottant accessible sur toutes les pages.
 * Position volontairement surélevée pour éviter les bulles de clavardage
 * et les boutons fixes qui peuvent apparaître en bas à droite. */
a.fopg-floating-cart {
  position: fixed;
  z-index: 9900;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #f2d06f;
  border-radius: 50%;
  background: #080a0b;
  color: #f2d06f;
  box-shadow: 0 9px 26px rgba(0,0,0,.35), 0 0 0 3px rgba(255,255,255,.09);
  text-decoration: none !important;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
a.fopg-floating-cart svg {
  width: 31px;
  height: 31px;
  flex-shrink: 0;
}
a.fopg-floating-cart strong.fopg-cart-count {
  position: absolute;
  top: -9px;
  right: -8px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 5px;
  border: 2px solid #080a0b;
  border-radius: 16px;
  background: #f2d06f;
  color: #181408;
  font: 800 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-align: center;
}
a.fopg-floating-cart:hover,
a.fopg-floating-cart:focus-visible {
  transform: translateY(-3px);
  background: #17130b;
  box-shadow: 0 12px 30px rgba(0,0,0,.44), 0 0 0 4px rgba(242,208,111,.18);
  color: #fff4cd;
}
a.fopg-floating-cart:focus-visible {
  outline: 3px solid #f2d06f;
  outline-offset: 4px;
}
@media (max-width: 600px) {
  a.fopg-floating-cart {
    width: 58px;
    height: 58px;
    right: 17px;
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
  a.fopg-floating-cart svg { width: 27px; height: 27px; }
  a.fopg-floating-cart strong.fopg-cart-count {
    min-width: 24px;
    height: 24px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  a.fopg-floating-cart { transition: none; }
}


/* ===============================================================
   V25.10.93 — Connect: Bluetooth LR / Meshology / GPS;
   photos de l'album visibles entièrement, sans recadrage forcé.
   =============================================================== */
/* Le grille Connect gagne deux fonctions sans réduire les cartes. */
html body.home .connect-summary-grid .summary-point {
  min-width: 0;
}
html body.home .connect-summary-grid .summary-point strong,
html body.home .connect-summary-grid .summary-point span {
  overflow-wrap: anywhere;
}
/* Album des pêcheurs : la photo portrait ne doit pas être agrandie
   et recadrée pour remplir un conteneur paysage. */
html body.home #galerie .gallery-photo {
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: linear-gradient(135deg,#10181d 0%,#263038 50%,#10181d 100%) !important;
}
html body.home #galerie .gallery-photo .gallery-photo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  cursor: zoom-in;
}
html body.home #galerie .gallery-photo img,
html body.home #galerie .gallery-photo > img {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 680px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}
html body.home #galerie .gallery-photo .gallery-photo-link:focus-visible {
  outline: 3px solid #d5a82f;
  outline-offset: -3px;
}
/* Les captures d'écran de l'album de l'application respectent également
   les proportions de leurs fichiers, y compris sur téléphone. */
html body.home .app-gallery-track .app-shot-media {
  aspect-ratio: 1086 / 1448 !important;
}
html body.home .app-gallery-track .app-shot-media img {
  object-fit: contain !important;
  object-position: center center !important;
}
@media (max-width: 680px) {
  html body.home #galerie .gallery-photo img,
  html body.home #galerie .gallery-photo > img {
    max-height: 78vh !important;
  }
}

/* V25.10.94 — Google Play and bilingual privacy policy */
.app-play-actions{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:22px 0 8px;}
.app-play-actions .app-install-link{margin:0;}
.app-play-status{font-size:.88em!important;opacity:.85;margin-top:6px!important;}
.install-permission-note{max-width:760px;margin:18px auto 0;line-height:1.6;font-size:15px;}
.fopg-privacy-policy{max-width:900px;margin:0 auto;line-height:1.65;overflow-wrap:anywhere;}
.fopg-privacy-policy h1{font-size:clamp(32px,4.6vw,52px);line-height:1.08;}
.fopg-privacy-policy h2{font-size:clamp(23px,3vw,30px);margin:30px 0 12px;}
.fopg-privacy-policy h3{font-size:20px;margin:22px 0 10px;}
.fopg-privacy-policy p,.fopg-privacy-policy li{font-size:16px;line-height:1.65;}
.fopg-privacy-policy li{margin:8px 0;}
