[hidden] { display: none !important; }
/* SODIA GEM — boutique et espace client */
:root {
	--f-navy: #06285d;
	--f-navy-2: #0a3a7e;
	--f-blue: #073cc7;
	--f-green: #08a354;
	--f-green-2: #18bf69;
	--f-green-soft: #e3f6ec;
	--f-red: #ef2d2d;
	--f-red-soft: #fde8e8;
	--f-amber: #ffbf2f;
	--f-amber-soft: #fff1cc;
	--f-ink: #09215a;
	--f-text: #1c2a44;
	--f-muted: #6780a9;
	--f-line: #dce8f5;
	--f-bg: #f4f8fd;
	--f-card: #fff;
	--f-shadow: 0 7px 24px rgba(15, 61, 122, .08);
	--f-r: 12px;
}
body.sgf-body { margin: 0; background: var(--f-bg); color: var(--f-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.sgf-body *, .sgf-body *::before, .sgf-body *::after { box-sizing: border-box; }
.sgf-body a { color: var(--f-blue); }
.sgf-body img { max-width: 100%; height: auto; }
.sgf-app { min-height: 100vh; display: flex; flex-direction: column; }
.sgf-main { flex: 1; padding-bottom: 40px; }
.sgf-container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.sgf-narrow { max-width: 900px; }
.sgf-ico { width: 20px; height: 20px; flex: none; }
.sgf-muted { color: var(--f-muted); }
.sgf-small { font-size: 13px; }
.sgf-right { text-align: right; }
.sgf-ok { color: var(--f-green); font-weight: 600; }
.sgf-out { color: var(--f-red); font-weight: 600; }
.sgf-hp { position: absolute !important; left: -9999px !important; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* ---------- Boutons ---------- */
.sgf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 9px; border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none !important; cursor: pointer; transition: transform .1s, background .15s, box-shadow .15s; line-height: 1.2; font-family: inherit; }
.sgf-btn:active { transform: translateY(1px); }
.sgf-btn[disabled] { opacity: .45; cursor: not-allowed; }
.sgf-btn-green { background: var(--f-green); color: #fff !important; }
.sgf-btn-green:hover { background: #07914a; box-shadow: 0 6px 16px rgba(8, 163, 84, .25); }
.sgf-btn-navy { background: var(--f-navy); color: #fff !important; }
.sgf-btn-navy:hover { background: var(--f-navy-2); }
.sgf-btn-blue { background: var(--f-blue); color: #fff !important; }
.sgf-btn-white { background: #fff; color: var(--f-blue) !important; border-color: #c9d9ea; }
.sgf-btn-white:hover { border-color: var(--f-blue); }
.sgf-btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.sgf-btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.sgf-btn-block { width: 100%; }
.sgf-link { background: none; border: 0; padding: 0; color: var(--f-blue); font-weight: 600; cursor: pointer; font: inherit; }
.sgf-link-danger { color: var(--f-red) !important; }

/* ---------- En-tête ---------- */
.sgf-top { background: #fff; border-bottom: 1px solid #e8eff8; position: sticky; top: 0; z-index: 50; }
.admin-bar .sgf-top { top: 32px; }
.sgf-top-inner { max-width: 1400px; margin: 0 auto; padding: 10px 20px; display: grid; grid-template-columns: auto minmax(260px, 1fr) auto auto auto; gap: 22px; align-items: center; }
.sgf-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sgf-brand img { height: 64px; width: auto; }
.sgf-brand-text strong { display: block; font-size: 28px; font-weight: 900; letter-spacing: -1px; color: var(--f-ink); line-height: 1; }
.sgf-brand-text strong em { font-style: normal; color: var(--f-green); }
.sgf-brand-text small { display: block; color: #0b3da9; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.sgf-brand-tags { color: var(--f-muted) !important; font-weight: 700 !important; }
.sgf-search { display: flex; height: 48px; border: 1px solid #cbdced; border-radius: 9px; overflow: hidden; background: #fff; }
.sgf-search input { border: 0; outline: 0; flex: 1; padding: 0 16px; font-size: 14px; min-width: 0; font-family: inherit; }
.sgf-search button { width: 58px; border: 0; background: var(--f-green); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sgf-top-item, .sgf-cart-mini { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #0737ae !important; font-weight: 700; font-size: 13px; }
.sgf-top-item .sgf-ico, .sgf-cart-ico .sgf-ico { width: 30px; height: 30px; color: var(--f-blue); }
.sgf-top-item strong, .sgf-cart-mini strong { display: block; color: var(--f-ink); font-size: 15px; }
.sgf-top-item small, .sgf-cart-mini small { display: block; color: #0737ae; font-weight: 600; }
.sgf-cart-ico { position: relative; }
.sgf-cart-ico b { position: absolute; top: -8px; right: -10px; background: var(--f-red); color: #fff; border-radius: 20px; font-size: 11px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }
.sgf-nav { border-top: 1px solid #eef3f9; }
.sgf-nav-inner { max-width: 1400px; margin: 0 auto; display: flex; gap: 24px; padding: 0 20px; height: 50px; align-items: center; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.sgf-nav a { display: flex; align-items: center; gap: 7px; color: #0638b6 !important; font-weight: 800; font-size: 14px; text-decoration: none; padding: 13px 0; border-bottom: 3px solid transparent; }
.sgf-nav a .sgf-ico { width: 18px; height: 18px; }
.sgf-nav a:hover, .sgf-nav a.is-active { border-bottom-color: var(--f-green); }
.sgf-nav a.sgf-nav-promo { color: var(--f-red) !important; }
.sgf-notices:empty { display: none; }
.sgf-notices { margin-top: 16px; }

/* Messages WooCommerce */
.sgf-body .woocommerce-message, .sgf-body .woocommerce-error, .sgf-body .woocommerce-info, .sgf-alert { list-style: none; margin: 0 0 14px; padding: 13px 16px; border-radius: 10px; border: 1px solid; font-size: 14px; background: #fff; }
.sgf-body .woocommerce-message, .sgf-alert-success { background: var(--f-green-soft); border-color: #aee3c5; color: #07613a; }
.sgf-body .woocommerce-error, .sgf-alert-error { background: var(--f-red-soft); border-color: #f5b5b5; color: #9b1c17; }
.sgf-body .woocommerce-info, .sgf-alert-info { background: #e8f0ff; border-color: #bfd3fb; color: #133f9b; }
.sgf-body .woocommerce-message::before, .sgf-body .woocommerce-error::before, .sgf-body .woocommerce-info::before { display: none; }
.sgf-alert-warning { background: var(--f-amber-soft); border-color: #ffd87a; color: #7a5200; }
.sgf-body .woocommerce-message .button, .sgf-body .woocommerce-info .button { float: right; background: #fff; border-radius: 8px; padding: 4px 12px; text-decoration: none; }
.sgf-body .woocommerce-error li { margin: 0; }

/* ---------- Pied de page ---------- */
.sgf-footer { background: #fff; border-top: 1px solid var(--f-line); }
.sgf-footer-inner { max-width: 1400px; margin: 0 auto; padding: 18px 20px; display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.sgf-footer-brand img { height: 56px; }
.sgf-footer-item { display: flex; gap: 10px; align-items: center; color: #0838b5; font-weight: 800; }
.sgf-footer-item .sgf-ico { width: 30px; height: 30px; color: var(--f-green); }
.sgf-footer-item small { display: block; color: var(--f-muted); font-weight: 600; }
.sgf-slogan { margin-left: auto; font-size: 20px; font-style: italic; color: #0739b8; font-weight: 900; }
.sgf-footer-bottom { background: var(--f-navy); color: rgba(255, 255, 255, .8); font-size: 13px; }
.sgf-footer-bottom a { color: #fff; }
.sgf-footer-links { margin-left: auto; display: flex; gap: 18px; }
.sgf-mobile-nav { display: none; }
.sgf-cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; background: var(--f-navy); color: #fff; padding: 14px 16px; border-radius: 12px; display: flex; gap: 14px; align-items: center; z-index: 90; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: 13px; }
.sgf-cookies[hidden] { display: none; }
.sgf-cookies p { margin: 0; }
.sgf-cookies a { color: #9fd9b9; }
.sgf-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--f-ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 95; transition: transform .25s; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.sgf-toast:not(.is-on) { visibility: hidden; }
.sgf-toast.is-on { transform: translate(-50%, 0); }
.sgf-toast a { color: #9fd9b9; margin-left: 10px; }

/* ---------- Titres / sections ---------- */
.sgf-page-title { font-size: 28px; color: var(--f-ink); margin: 24px 0 16px; font-weight: 800; }
.sgf-section { margin-top: 34px; }
.sgf-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.sgf-section-head h2 { margin: 0; font-size: 22px; color: var(--f-ink); }
.sgf-section-head a { font-weight: 700; text-decoration: none; color: var(--f-green); }

/* ---------- Accueil ---------- */
.sgf-hero { background: linear-gradient(110deg, #03204e 0%, #06285d 55%, #0a4a7e 100%); color: #fff; overflow: hidden; }
.sgf-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding-top: 50px; padding-bottom: 50px; }
.sgf-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 12px; color: #9fd9b9; margin: 0 0 10px; }
.sgf-hero h1 { font-size: 48px; line-height: 1.05; margin: 0 0 14px; font-style: italic; font-weight: 900; }
.sgf-hero h1 span { color: var(--f-green-2); }
.sgf-hero p { font-size: 17px; opacity: .9; max-width: 560px; }
.sgf-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.sgf-hero-visual { position: relative; height: 280px; }
.sgf-hero-badge { position: absolute; right: 10%; top: 0; width: 190px; height: 190px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); z-index: 2; }
.sgf-hero-badge img { width: 150px; }
.sgf-hero-boxes { position: absolute; left: 5%; bottom: 0; display: grid; grid-template-columns: repeat(3, 90px); gap: 6px; }
.sgf-hero-boxes span { height: 70px; background: linear-gradient(160deg, #d9a86b, #b78143); border-radius: 4px; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .08), inset 0 12px 0 rgba(255, 255, 255, .06); position: relative; }
.sgf-hero-boxes span::after { content: ""; position: absolute; left: 44%; top: 0; width: 12%; height: 100%; background: rgba(120, 72, 25, .35); }
.sgf-hero-boxes span:nth-child(4) { grid-column: 1 / 2; }
.sgf-quick-home { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: -26px; position: relative; z-index: 3; }
.sgf-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.sgf-cat { background: #fff; border: 1px solid var(--f-line); border-radius: var(--f-r); padding: 16px; text-align: center; text-decoration: none; color: var(--f-ink) !important; box-shadow: var(--f-shadow); transition: transform .15s; }
.sgf-cat:hover { transform: translateY(-3px); }
.sgf-cat-img { display: grid; place-items: center; height: 110px; background: var(--f-bg); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.sgf-cat-img img { max-height: 110px; object-fit: contain; }
.sgf-cat-img .sgf-ico { width: 52px; height: 52px; color: var(--f-blue); }
.sgf-cat strong { display: block; font-size: 16px; }
.sgf-cat small { color: var(--f-muted); }
.sgf-audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sgf-audience { background: #fff; border: 1px solid var(--f-line); border-radius: var(--f-r); padding: 26px; box-shadow: var(--f-shadow); }
.sgf-audience h3 { margin: 0 0 8px; font-size: 22px; color: var(--f-ink); }
.sgf-audience-pro { background: linear-gradient(135deg, #06285d, #0a3a7e); color: #fff; border-color: transparent; }
.sgf-audience-pro h3 { color: #fff; }
.sgf-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; scroll-margin-top: 140px; }
.sgf-info { background: #fff; border: 1px solid var(--f-line); border-radius: var(--f-r); padding: 22px; scroll-margin-top: 140px; }
.sgf-info h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; color: var(--f-ink); }
.sgf-info h3 .sgf-ico { color: var(--f-green); }
.sgf-info ul { padding-left: 18px; }

/* ---------- Actions rapides (accueil + espace) ---------- */
.sgf-quick { display: grid; grid-template-columns: 1.1fr 1.2fr 1.2fr 1.1fr 1.2fr; gap: 10px; margin: 12px 0; }
.sgf-q, .sgf-q-form .sgf-q { min-height: 84px; border: 1px solid #cfe0f0; border-radius: 10px; background: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 14px; color: #0736b6 !important; box-shadow: var(--f-shadow); text-decoration: none; font-family: inherit; text-align: left; cursor: pointer; width: 100%; transition: transform .15s; }
.sgf-q:hover { transform: translateY(-2px); }
.sgf-q .sgf-ico { width: 38px; height: 38px; }
.sgf-q strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.15; }
.sgf-q small { display: block; font-size: 13px; font-weight: 600; opacity: .85; }
.sgf-q-primary { background: linear-gradient(135deg, #0aa654, #12b966); color: #fff !important; border-color: #0aa654; }
.sgf-q-form { margin: 0; display: flex; }
.sgf-q[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Grille produits / cartes ---------- */
.sgf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sgf-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sgf-card { background: #fff; border: 1px solid var(--f-line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--f-shadow); }
.sgf-card-img { display: grid; place-items: center; height: 170px; background: #f4f7fb; overflow: hidden; }
.sgf-card-img img { width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; object-fit: contain; }
.sgf-card-compact .sgf-card-img { height: 90px; }
.sgf-noimg .sgf-ico { width: 56px; height: 56px; color: #9fb4d6; }
.sgf-noimg-lg .sgf-ico { width: 120px; height: 120px; }
.sgf-card-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sgf-card-title { font-weight: 800; color: var(--f-ink) !important; text-decoration: none; line-height: 1.25; }
.sgf-card-compact .sgf-card-title { font-size: 13px; }
.sgf-card-meta { font-size: 12px; color: var(--f-muted); }
.sgf-stock { font-size: 12px; font-weight: 700; }
.sgf-stock.is-in { color: var(--f-green); }
.sgf-stock.is-out { color: var(--f-red); }
.sgf-stock small { font-weight: 500; color: var(--f-muted); }
.sgf-pack, .sgf-body select, .sgf-form input[type=text], .sgf-form input[type=email], .sgf-form input[type=tel], .sgf-form input[type=password], .sgf-form input[type=number], .sgf-form input[type=search], .sgf-form textarea, .sgf-filters input[type=search], .sgf-filters select, .sgf-step input[type=text], .sgf-step input[type=tel], .sgf-x-search, .sgf-inline input { width: 100%; min-height: 40px; border: 1px solid #c9d9ea; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 14px; background: #fff; color: var(--f-text); }
.sgf-body input:focus, .sgf-body select:focus, .sgf-body textarea:focus { outline: none; border-color: var(--f-green); box-shadow: 0 0 0 3px rgba(8, 163, 84, .15); }
.sgf-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.sgf-price-main { font-size: 18px; font-weight: 900; color: #0838c3; }
.sgf-price-sub { color: var(--f-muted); font-size: 12px; }
.sgf-price-old { color: var(--f-muted); font-size: 13px; }
.sgf-price-lg .sgf-price-main { font-size: 30px; }
.sgf-add { display: flex; gap: 6px; margin: 0; }
.sgf-add.sgf-add-product { display: block; }
.sgf-add-product .sgf-packs { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.sgf-add-product .sgf-pack-name { flex: 1; }
.sgf-add-product .sgf-pack-price { text-align: right; white-space: nowrap; }
.sgf-qty { display: flex; align-items: center; border: 1px solid #c9d9ea; border-radius: 8px; overflow: hidden; background: #fff; }
.sgf-qty button { width: 32px; height: 38px; border: 0; background: #f4f7fb; color: #0b43c5; cursor: pointer; display: grid; place-items: center; }
.sgf-qty button:hover { background: #e5eefb; }
.sgf-qty button .sgf-ico { width: 16px; height: 16px; }
.sgf-qty input { width: 52px; height: 38px; border: 0; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.sgf-qty input::-webkit-outer-spin-button, .sgf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.sgf-add-btn { flex: 1; min-height: 40px; }
.sgf-add-btn.is-loading { opacity: .6; pointer-events: none; }
.sgf-empty-box { background: #fff; border: 1px dashed #c9d9ea; border-radius: var(--f-r); padding: 34px; text-align: center; }

/* ---------- Catalogue ---------- */
.sgf-catalogue { display: grid; grid-template-columns: 260px 1fr; gap: 22px; margin-top: 20px; }
.sgf-filters { background: #fff; border: 1px solid var(--f-line); border-radius: var(--f-r); padding: 18px; align-self: start; position: sticky; top: 140px; }
.sgf-filters h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--f-muted); margin: 16px 0 8px; }
.sgf-filters h3:first-child { margin-top: 0; }
.sgf-filter-cats { list-style: none; margin: 0; padding: 0; }
.sgf-filter-cats a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 8px; text-decoration: none; color: var(--f-ink); font-weight: 600; }
.sgf-filter-cats a.is-active, .sgf-filter-cats a:hover { background: var(--f-green-soft); color: #07613a; }
.sgf-filter-cats small { color: var(--f-muted); }
.sgf-filters .sgf-btn { margin-top: 14px; }
.sgf-check { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; cursor: pointer; }
.sgf-check input { width: auto !important; min-height: 0 !important; margin: 0; }
.sgf-results-head { display: flex; align-items: baseline; gap: 14px; }
.sgf-results-head .sgf-page-title { margin: 0 0 12px; }
.sgf-pro-note { display: flex; gap: 8px; align-items: center; background: var(--f-green-soft); color: #07613a; border-radius: 10px; padding: 9px 14px; font-weight: 600; margin: 0 0 14px; font-size: 14px; }
.sgf-pro-note .sgf-ico { width: 18px; height: 18px; }
.sgf-pro-wait { background: var(--f-amber-soft); color: #7a5200; }
.sgf-pages { display: flex; gap: 6px; margin-top: 20px; justify-content: center; }
.sgf-pages a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--f-line); text-decoration: none; font-weight: 700; }
.sgf-pages a.is-current { background: var(--f-navy); color: #fff; }

/* ---------- Fiche produit ---------- */
.sgf-crumbs { font-size: 13px; color: var(--f-muted); margin: 18px 0; }
.sgf-crumbs a { text-decoration: none; }
.sgf-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; background: #fff; border: 1px solid var(--f-line); border-radius: 14px; padding: 26px; box-shadow: var(--f-shadow); }
.sgf-gallery-main { background: #f4f7fb; border-radius: 12px; display: grid; place-items: center; min-height: 380px; overflow: hidden; }
.sgf-gallery-main img { max-height: 480px; object-fit: contain; }
.sgf-gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.sgf-gallery-thumbs button { border: 1px solid var(--f-line); background: #fff; border-radius: 8px; padding: 2px; width: 70px; height: 70px; cursor: pointer; }
.sgf-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.sgf-product-info h1 { font-size: 30px; margin: 0 0 4px; color: var(--f-ink); line-height: 1.15; }
.sgf-product-info .sgf-stock { font-size: 14px; margin: 10px 0; }
.sgf-packs { border: 0; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.sgf-packs legend { font-weight: 800; margin-bottom: 6px; color: var(--f-ink); }
.sgf-pack-card { display: flex; align-items: center; gap: 12px; border: 2px solid var(--f-line); border-radius: 10px; padding: 11px 14px; cursor: pointer; transition: border-color .15s; }
.sgf-pack-card:has(input:checked) { border-color: var(--f-green); background: #f5fcf8; }
.sgf-pack-card input { accent-color: var(--f-green); }
.sgf-pack-name { flex: 1; font-weight: 700; }
.sgf-pack-name small, .sgf-pack-price small { display: block; font-weight: 500; color: var(--f-muted); font-size: 12px; }
.sgf-pack-price { text-align: right; }
.sgf-pack-price strong { color: #0838c3; }
.sgf-add-row { display: flex; gap: 10px; margin-top: 12px; align-items: stretch; }
.sgf-add-row .sgf-qty input { width: 64px; height: 48px; }
.sgf-add-row .sgf-qty button { height: 48px; width: 40px; }
.sgf-total-line { color: var(--f-muted); font-weight: 600; min-height: 1.5em; }
.sgf-tiers { margin-top: 20px; }
.sgf-tiers h3 { margin: 0 0 8px; color: var(--f-ink); font-size: 16px; }
.sgf-tiers table, .sgf-specs { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.sgf-tiers th, .sgf-tiers td, .sgf-specs th, .sgf-specs td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--f-line); }
.sgf-tiers th { background: var(--f-bg); color: var(--f-muted); font-size: 12px; text-transform: uppercase; }
.sgf-specs th { width: 40%; color: var(--f-muted); font-weight: 600; }
.sgf-product-more { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 24px; }
.sgf-product-more section { background: #fff; border: 1px solid var(--f-line); border-radius: 14px; padding: 22px; }
.sgf-product-more h2 { margin-top: 0; font-size: 20px; color: var(--f-ink); }
.sgf-kit-list { padding-left: 18px; }

/* ---------- Étapes de commande ---------- */
.sgf-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 22px; flex-wrap: wrap; }
.sgf-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 30px; background: #fff; border: 1px solid var(--f-line); color: var(--f-muted); font-weight: 700; font-size: 14px; }
.sgf-steps li span { width: 24px; height: 24px; border-radius: 50%; background: var(--f-bg); display: grid; place-items: center; font-size: 12px; }
.sgf-steps li.is-current { border-color: var(--f-green); color: var(--f-ink); }
.sgf-steps li.is-current span, .sgf-steps li.is-done span { background: var(--f-green); color: #fff; }
.sgf-steps li.is-done { color: #07613a; }

/* ---------- Étape livraison / retrait ---------- */
.sgf-step-grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.sgf-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.sgf-mode input { position: absolute; opacity: 0; }
.sgf-mode span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; background: #fff; border: 2px solid var(--f-line); border-radius: 12px; padding: 18px; cursor: pointer; color: var(--f-ink); transition: border-color .15s, background .15s; }
.sgf-mode span .sgf-ico { width: 46px; height: 46px; color: var(--f-blue); }
.sgf-mode strong { font-size: 20px; }
.sgf-mode small { color: var(--f-muted); }
.sgf-mode input:checked + span { border-color: var(--f-green); background: #f2fbf6; }
.sgf-mode input:checked + span .sgf-ico { color: var(--f-green); }
.sgf-mode input:focus-visible + span { box-shadow: 0 0 0 3px rgba(8, 163, 84, .3); }
.sgf-panel[hidden] { display: none; }
.sgf-box { background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; box-shadow: var(--f-shadow); }
.sgf-box h2 { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: 18px; color: var(--f-blue); }
.sgf-addr-list { display: grid; gap: 8px; margin-bottom: 12px; }
.sgf-addr { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--f-line); border-radius: 10px; padding: 11px 14px; cursor: pointer; }
.sgf-addr:has(input:checked) { border-color: var(--f-green); background: #f5fcf8; }
.sgf-addr input { margin-top: 4px; accent-color: var(--f-green); }
.sgf-addr strong { display: block; color: var(--f-ink); }
.sgf-addr small { display: block; color: var(--f-muted); }
.sgf-fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 12px; }
.sgf-fields label, .sgf-form > label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 12px; color: var(--f-ink); }
.sgf-fields label input, .sgf-fields label select, .sgf-fields label textarea, .sgf-form > label input, .sgf-form > label textarea { margin-top: 5px; }
.sgf-col-2 { grid-column: span 2; } .sgf-col-3 { grid-column: span 3; } .sgf-col-4 { grid-column: span 4; } .sgf-col-5 { grid-column: span 5; } .sgf-col-6 { grid-column: span 6; } .sgf-col-8 { grid-column: span 8; } .sgf-col-12 { grid-column: span 12; }
.sgf-zone-msg { margin: 0; font-weight: 600; font-size: 14px; }
.sgf-zone-msg.is-ok { color: var(--f-green); }
.sgf-zone-msg.is-ko { color: var(--f-red); }
.sgf-dates { display: grid; gap: 8px; }
.sgf-dates[hidden] { display: none; }
.sgf-date { display: grid; grid-template-columns: 200px 1fr; gap: 10px; align-items: center; border: 1px solid var(--f-line); border-radius: 10px; padding: 10px 14px; }
.sgf-date.is-more { display: none; }
.sgf-dates.show-more .sgf-date.is-more { display: grid; }
.sgf-date-label { font-weight: 800; color: var(--f-ink); }
.sgf-date-label small { display: block; font-weight: 500; color: var(--f-muted); }
.sgf-slots { display: flex; gap: 8px; flex-wrap: wrap; }
.sgf-slot input { position: absolute; opacity: 0; }
.sgf-slot span { display: inline-block; padding: 8px 14px; border-radius: 30px; border: 1px solid #c9d9ea; cursor: pointer; font-weight: 700; font-size: 14px; background: #fff; }
.sgf-slot input:checked + span { background: var(--f-green); border-color: var(--f-green); color: #fff; }
.sgf-slot input:focus-visible + span { box-shadow: 0 0 0 3px rgba(8, 163, 84, .3); }
.sgf-slot.is-full span { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.sgf-third summary { cursor: pointer; font-weight: 700; color: var(--f-blue); margin: 8px 0; }
.sgf-step-side { position: sticky; top: 140px; }
.sgf-recap h2 { color: var(--f-ink); }
.sgf-recap-items { list-style: none; padding: 0; margin: 0 0 12px; max-height: 280px; overflow: auto; }
.sgf-recap-items li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--f-line); font-size: 14px; }
.sgf-recap-items small { display: block; color: var(--f-muted); }
.sgf-recap-line { display: flex; justify-content: space-between; margin: 6px 0; }
.sgf-secure { text-align: center; color: var(--f-green); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.sgf-secure .sgf-ico { width: 16px; height: 16px; }

/* ---------- Panier / paiement WooCommerce ---------- */
.sgf-wc { padding-bottom: 20px; }
.sgf-wc table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--f-line); border-radius: 12px; overflow: hidden; }
.sgf-wc table.shop_table th, .sgf-wc table.shop_table td { padding: 12px; border-bottom: 1px solid var(--f-line); text-align: left; vertical-align: middle; }
.sgf-wc table.shop_table th { background: var(--f-bg); font-size: 12px; text-transform: uppercase; color: var(--f-muted); }
.sgf-wc table.shop_table img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.sgf-wc .product-remove a { color: var(--f-red) !important; font-size: 22px; text-decoration: none; }
.sgf-wc .quantity input.qty { width: 70px; min-height: 40px; border: 1px solid #c9d9ea; border-radius: 8px; text-align: center; font: inherit; }
.sgf-wc .button, .sgf-wc button.button, .sgf-wc input.button, .sgf-wc #place_order, .sgf-wc a.checkout-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 9px; border: 0; background: var(--f-navy); color: #fff !important; font-weight: 700; font-family: inherit; cursor: pointer; text-decoration: none; }
.sgf-wc a.checkout-button, .sgf-wc #place_order { background: var(--f-green); width: 100%; min-height: 54px; font-size: 17px; }
.sgf-wc .cart-collaterals { margin-top: 20px; display: flex; justify-content: flex-end; }
.sgf-wc .cart_totals { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 18px; }
.sgf-wc .cart_totals table.shop_table { border: 0; }
.sgf-wc .coupon { display: flex; gap: 8px; }
.sgf-wc .coupon input { min-height: 44px; border: 1px solid #c9d9ea; border-radius: 8px; padding: 0 10px; }
.sgf-wc .actions { text-align: right; }
.sgf-wc .variation, .sgf-wc dl.variation { font-size: 13px; color: var(--f-muted); margin: 4px 0 0; }
.sgf-wc dl.variation dt, .sgf-wc dl.variation dd { display: inline; margin: 0; }
.sgf-wc dl.variation dd p { display: inline; margin: 0; }
.sgf-wc form.checkout { display: grid; grid-template-columns: 1fr 440px; gap: 22px; align-items: start; }
.sgf-wc form.checkout > .sgf-checkout-summary { grid-column: 1 / -1; }
.sgf-wc form.checkout #customer_details { grid-column: 1; background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 20px; }
.sgf-wc form.checkout #order_review_heading { display: none; }
.sgf-wc form.checkout #order_review { grid-column: 2; grid-row: 2 / span 3; background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 18px; position: sticky; top: 140px; }
.sgf-wc .col2-set .col-1, .sgf-wc .col2-set .col-2 { width: 100%; float: none; }
.sgf-wc .form-row { margin: 0 0 12px; }
.sgf-wc .form-row label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.sgf-wc .form-row input.input-text, .sgf-wc .form-row textarea, .sgf-wc .form-row select { width: 100%; min-height: 42px; border: 1px solid #c9d9ea; border-radius: 8px; padding: 8px 10px; font: inherit; }
.sgf-wc .form-row-first, .sgf-wc .form-row-last { width: 49%; display: inline-block; vertical-align: top; }
.sgf-wc .form-row-last { margin-left: 1%; }
.sgf-wc #payment { background: var(--f-bg); border-radius: 10px; padding: 12px; margin-top: 14px; }
.sgf-wc #payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 12px; }
.sgf-wc #payment ul.payment_methods li { background: #fff; border: 1px solid var(--f-line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.sgf-wc #payment .payment_box { font-size: 14px; color: var(--f-muted); }
.sgf-wc .woocommerce-shipping-fields, .sgf-wc .woocommerce-additional-fields h3 { display: block; }
.sgf-checkout-summary { background: #fff; border: 2px solid var(--f-green); border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; }
.sgf-checkout-summary p { margin: 6px 0; }
.sgf-checkout-summary-head { display: flex; justify-content: space-between; font-size: 17px; color: var(--f-ink); }
.sgf-body .woocommerce-order > .woocommerce-notice, .sgf-body ul.woocommerce-order-overview { display: none; }
.sgf-body .woocommerce-order-details, .sgf-body .woocommerce-customer-details { background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 18px; margin-top: 18px; }

/* ---------- Commande confirmée ---------- */
.sgf-thanks { max-width: 760px; margin: 20px auto; }
.sgf-thanks-card { background: #fff; border: 1px solid var(--f-line); border-radius: 16px; padding: 30px; text-align: center; box-shadow: var(--f-shadow); }
.sgf-thanks-check { width: 86px; height: 86px; border-radius: 50%; background: var(--f-green); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; box-shadow: 0 0 0 10px var(--f-green-soft); }
.sgf-thanks-check .sgf-ico { width: 44px; height: 44px; stroke-width: 3; }
.sgf-thanks h1 { color: var(--f-ink); margin: 0 0 6px; }
.sgf-thanks-rows { text-align: left; margin: 20px 0; border: 1px solid var(--f-line); border-radius: 12px; }
.sgf-thanks-rows div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--f-line); }
.sgf-thanks-rows div:last-child { border-bottom: 0; }
.sgf-thanks-rows span { color: var(--f-muted); }
.sgf-thanks-actions { display: grid; gap: 10px; }
.sgf-qr-box { display: flex; gap: 16px; align-items: center; text-align: left; background: var(--f-bg); border-radius: 12px; padding: 14px; margin: 14px 0; }
.sgf-qr { width: 132px; height: 132px; background: #fff; border-radius: 8px; padding: 6px; flex: none; }
.sgf-qr img, .sgf-qr svg { width: 100%; height: 100%; }

/* ---------- Espace client ---------- */
.sgf-account { max-width: 1540px; margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 14px; padding: 0 12px; }
.sgf-side { background: linear-gradient(180deg, #082c62, #061f4a); color: #fff; border-radius: 0 0 12px 12px; overflow: hidden; align-self: start; position: sticky; top: 120px; }
.sgf-side-title { padding: 22px 18px 12px; font-size: 18px; font-weight: 900; line-height: 1.2; }
.sgf-side-nav a { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none; padding: 12px 16px; border-left: 4px solid transparent; font-size: 14px; font-weight: 600; }
.sgf-side-nav a .sgf-ico { width: 19px; height: 19px; opacity: .9; }
.sgf-side-nav a:hover, .sgf-side-nav a.is-active { background: var(--f-green); border-left-color: #65e69d; }
.sgf-side-help { margin: 16px 10px; padding: 14px; background: #fff; color: #0a3aa5; border-radius: 12px; text-align: center; font-weight: 800; display: grid; gap: 2px; justify-items: center; }
.sgf-side-help .sgf-ico { width: 32px; height: 32px; }
.sgf-side-help a { font-size: 20px; color: var(--f-ink) !important; text-decoration: none; }
.sgf-side-help small { color: var(--f-muted); font-weight: 600; }
.sgf-side-commercial { margin: 12px 10px 14px; background: #fff; color: #102b65; border-radius: 12px; overflow: hidden; }
.sgf-side-truck { background: linear-gradient(135deg, #eef6ff, #dceef8); padding: 14px; text-align: center; }
.sgf-side-truck img { height: 60px; }
.sgf-side-truck span { display: block; font-style: italic; font-weight: 900; color: #0739b8; font-size: 14px; }
.sgf-side-commercial-inner { padding: 12px 14px; display: grid; gap: 3px; font-size: 13px; }
.sgf-side-commercial-inner a { color: #0a3aa5 !important; word-break: break-all; }
.sgf-side-commercial-inner .sgf-btn { margin-top: 8px; word-break: normal; }
.sgf-account-main { min-width: 0; padding-top: 0; }
.sgf-account-main > .sgf-alert { margin-top: 12px; }
.sgf-dash-hero { min-height: 132px; border-radius: 0 0 12px 12px; background: linear-gradient(90deg, rgba(3, 32, 78, .98), rgba(3, 46, 91, .86)), linear-gradient(135deg, #154c78, #dceaf3); color: #fff; display: flex; align-items: center; gap: 20px; padding: 22px 34px; position: relative; overflow: hidden; }
.sgf-dash-hero::after { content: "SODIA GEM"; position: absolute; right: 250px; top: 26px; font-size: 38px; font-weight: 900; color: rgba(255, 255, 255, .08); transform: rotate(-4deg); }
.sgf-dash-avatar { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #082a60; display: grid; place-items: center; font-size: 28px; font-weight: 900; flex: none; }
.sgf-dash-hero h1 { font-size: 36px; margin: 0 0 4px; line-height: 1.1; }
.sgf-dash-hero p { margin: 0; font-size: 16px; }
.sgf-dash-hero p span { opacity: .85; font-size: 14px; }
.sgf-dash-hero-tag { margin-left: auto; font-size: 22px; font-style: italic; font-weight: 900; text-align: right; line-height: 1.1; position: relative; z-index: 1; }
.sgf-dash-hero-tag em { color: var(--f-green-2); }
.sgf-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.sgf-kpi { border: 1px solid var(--f-line); border-radius: 10px; background: #fff; padding: 13px 14px; display: flex; align-items: center; gap: 12px; min-height: 78px; text-decoration: none; color: var(--f-ink) !important; box-shadow: var(--f-shadow); }
.sgf-kpi > .sgf-ico { width: 32px; height: 32px; color: var(--f-blue); }
.sgf-kpi strong { font-size: 22px; display: block; line-height: 1.1; color: var(--f-ink); }
.sgf-kpi b { display: block; font-size: 13px; color: #1747ba; }
.sgf-kpi small { color: var(--f-muted); font-size: 12px; }
.sgf-kpi.is-alert small { color: var(--f-red); font-weight: 700; }
.sgf-grid3 { display: grid; grid-template-columns: 1.05fr 1.05fr 1.18fr; gap: 10px; margin-top: 10px; }
.sgf-grid4 { display: grid; grid-template-columns: 1fr 1.25fr 1fr 1fr; gap: 10px; margin-top: 10px; }
.sgf-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sgf-dcard { background: #fff; border: 1px solid var(--f-line); border-radius: 10px; box-shadow: var(--f-shadow); overflow: hidden; }
.sgf-dcard-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid #e6eef7; }
.sgf-dcard-head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 900; color: #0638b6; font-size: 16px; }
.sgf-dcard-head h2 .sgf-ico { width: 18px; height: 18px; }
.sgf-dcard-head h2 small { color: var(--f-muted); font-weight: 600; font-size: 12px; }
.sgf-dcard-head a { font-size: 12px; color: #008f50 !important; text-decoration: none; font-weight: 700; white-space: nowrap; }
.sgf-dcard-head > small { color: var(--f-muted); font-size: 12px; }
.sgf-pad { padding: 16px 18px; }
.sgf-empty { color: var(--f-muted); text-align: center; padding: 24px 16px; margin: 0; }
.sgf-rows { list-style: none; margin: 0; padding: 6px 8px; }
.sgf-rows li { border-bottom: 1px solid #eef3f8; }
.sgf-rows li:last-child { border-bottom: 0; }
.sgf-rows a, .sgf-rows-static li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 8px; text-decoration: none; color: var(--f-ink) !important; }
.sgf-rows-static li { grid-template-columns: auto 1fr auto; }
.sgf-row-ico .sgf-ico { color: var(--f-green); width: 24px; height: 24px; }
.sgf-row-main strong { display: block; }
.sgf-row-main small { display: block; font-size: 12px; color: #4f70a8; }
.sgf-row-date { font-size: 12px; color: var(--f-muted); }
.sgf-answer { background: var(--f-green-soft); color: #07613a !important; padding: 4px 8px; border-radius: 6px; margin-top: 4px; }
.sgf-badge { display: inline-block; padding: 5px 9px; border-radius: 7px; font-size: 11px; font-weight: 900; white-space: nowrap; }
.sgf-badge-yellow { background: #ffe09a; color: #795300; }
.sgf-badge-green { background: #18ad5d; color: #fff; }
.sgf-badge-blue { background: #e7efff; color: #1147c6; }
.sgf-badge-red { background: #f13b3b; color: #fff; }
.sgf-badge-grey { background: #eef2f7; color: #5a6b85; }
.sgf-tag { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; background: var(--f-bg); color: var(--f-muted); margin-right: 4px; }
.sgf-tag-green { background: var(--f-green-soft); color: #07613a; }
.sgf-timeline { list-style: none; margin: 0; padding: 13px 16px; }
.sgf-timeline li { display: grid; grid-template-columns: 54px 20px 1fr auto; gap: 8px; align-items: start; min-height: 62px; position: relative; }
.sgf-timeline li::before { content: ""; position: absolute; left: 67px; top: 18px; bottom: -4px; width: 2px; background: #dff0e6; }
.sgf-timeline li:last-child::before { display: none; }
.sgf-dot { width: 12px; height: 12px; background: #9fb4d6; border-radius: 50%; margin-top: 5px; box-shadow: 0 0 0 4px #eef3fa; position: relative; z-index: 1; }
.sgf-dot.is-live { background: var(--f-green); box-shadow: 0 0 0 4px #dff6ea; animation: sgf-pulse 1.6s infinite; }
@keyframes sgf-pulse { 50% { box-shadow: 0 0 0 8px rgba(8, 163, 84, .15); } }
.sgf-tl-main strong { display: block; }
.sgf-tl-main small { color: #4f70a8; }
.sgf-tl-slot { font-size: 12px; color: var(--f-muted); text-align: right; }
.sgf-map { height: 230px; background: linear-gradient(145deg, #e8f2e4, #dcebf8); }
.sgf-map-legend { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--f-muted); padding: 8px 14px; margin: 0; }
.sgf-map-legend span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sgf-legend-depot { background: var(--f-navy); }
.sgf-legend-live { background: var(--f-green); }
.sgf-legend-planned { background: var(--f-red); }
.sgf-pin { width: 28px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.sgf-pin span { transform: rotate(45deg); color: #fff; font-size: 12px; font-weight: 900; }
.sgf-invoices { list-style: none; margin: 0; padding: 0; }
.sgf-invoices li { display: flex; justify-content: space-between; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #edf2f7; }
.sgf-invoices strong { display: block; }
.sgf-invoices small { color: #4f70a8; font-size: 12px; }
.sgf-inv-right { text-align: right; display: grid; justify-items: end; gap: 4px; }
.sgf-month { padding: 12px 16px 0; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.sgf-month strong { font-size: 27px; }
.sgf-month .is-up { color: #0aa654; font-weight: 900; }
.sgf-month .is-down { color: var(--f-red); font-weight: 900; }
.sgf-bars { height: 170px; padding: 16px 16px 0; display: flex; align-items: flex-end; gap: 15px; }
.sgf-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.sgf-bar span { width: 100%; background: linear-gradient(#19bb68, #07984e); border-radius: 4px 4px 0 0; min-height: 3px; transition: height .6s; }
.sgf-bar small { font-size: 11px; color: var(--f-muted); }
.sgf-saving { padding: 10px 16px 15px; color: #079c50; font-weight: 800; margin: 0; display: flex; gap: 6px; align-items: center; }
.sgf-saving strong { margin-left: auto; white-space: nowrap; }
.sgf-rows .sgf-badge { white-space: nowrap; }
.sgf-rank { list-style: none; margin: 0; padding: 6px 14px; }
.sgf-rank li { display: grid; grid-template-columns: 22px 40px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #edf2f7; font-size: 14px; }
.sgf-rank-img { width: 40px; height: 40px; display: grid; place-items: center; background: var(--f-bg); border-radius: 6px; overflow: hidden; }
.sgf-rank-img img { width: 40px; height: 40px; object-fit: cover; }
.sgf-rank-img .sgf-ico { width: 22px; height: 22px; color: var(--f-blue); }
.sgf-credit { padding: 16px; }
.sgf-credit-amount { text-align: right; margin: 0 0 8px; }
.sgf-credit-amount strong { font-size: 18px; }
.sgf-progress { height: 12px; background: #e7eef6; border-radius: 10px; overflow: hidden; }
.sgf-progress span { display: block; height: 100%; background: var(--f-green); border-radius: 10px; }
.sgf-line { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0; font-size: 14px; border-top: 1px solid #e5edf6; padding-top: 10px; }
.sgf-info-dot .sgf-ico { width: 16px; height: 16px; color: var(--f-muted); }
.sgf-reorder { margin-top: 10px; }
.sgf-reorder .sgf-grid { padding: 10px; }
.sgf-view-head { margin: 18px 0 14px; }
.sgf-view-head h1 { margin: 0 0 4px; color: var(--f-ink); font-size: 28px; }
.sgf-view-head p { margin: 0; color: var(--f-muted); }
.sgf-view-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.sgf-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--f-line); margin: 0 0 12px; }
.sgf-tabs a { padding: 10px 14px; text-decoration: none; font-weight: 700; color: var(--f-muted) !important; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sgf-tabs a.is-active { color: var(--f-ink) !important; border-bottom-color: var(--f-green); }
.sgf-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.sgf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sgf-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--f-muted); background: #fafcff; padding: 10px 12px; border-bottom: 1px solid var(--f-line); }
.sgf-table td { padding: 10px 12px; border-bottom: 1px solid #eef3f8; vertical-align: middle; }
.sgf-table td small { display: block; color: var(--f-muted); font-size: 12px; }
.sgf-table .sgf-num { text-align: right; white-space: nowrap; }
.sgf-table tfoot td { font-weight: 600; }
.sgf-table .sgf-total-row td { font-size: 17px; font-weight: 900; color: var(--f-ink); }
.sgf-table .sgf-group td { background: var(--f-bg); font-weight: 800; color: var(--f-blue); font-size: 13px; }
.sgf-strong { font-weight: 800; text-decoration: none; }
.sgf-track { list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sgf-track li { background: #fff; border: 1px solid var(--f-line); border-radius: 12px; padding: 14px; display: grid; gap: 4px; justify-items: start; }
.sgf-track li span { width: 30px; height: 30px; border-radius: 50%; background: var(--f-bg); color: var(--f-muted); display: grid; place-items: center; font-weight: 800; }
.sgf-track li span .sgf-ico { width: 16px; height: 16px; stroke-width: 3; }
.sgf-track li.is-done span { background: var(--f-green); color: #fff; }
.sgf-track li.is-current { border-color: var(--f-green); box-shadow: 0 0 0 3px var(--f-green-soft); }
.sgf-track small { color: var(--f-muted); font-size: 12px; }
.sgf-validate { margin-bottom: 14px; border-color: #ffd87a; }
.sgf-validate-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid #eef3f8; flex-wrap: wrap; }
.sgf-validate-row form { display: flex; gap: 6px; }
.sgf-express .sgf-x-search { max-width: 420px; margin-bottom: 12px; }
.sgf-x-img { width: 64px; }
.sgf-x-img img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.sgf-x-img .sgf-ico { width: 30px; height: 30px; color: #9fb4d6; }
.sgf-express .sgf-pack { min-width: 150px; }
.sgf-express tr.is-picked td { background: #f5fcf8; }
.sgf-sticky-total { position: sticky; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--f-navy); color: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(6, 40, 93, .3); z-index: 5; }
.sgf-sticky-total strong { font-size: 20px; }
.sgf-addr-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sgf-addr-card { padding: 16px; }
.sgf-addr-card-head { margin-bottom: 6px; }
.sgf-addr-card p { margin: 6px 0; }
.sgf-addr-actions { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
.sgf-addr-actions form { margin: 0; }
.sgf-inline { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.sgf-inline select, .sgf-inline input { width: auto !important; }
.sgf-inline input { max-width: 110px; }
.sgf-auth { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; margin-top: 26px; align-items: start; }
.sgf-auth h1 { margin: 0 0 6px; color: var(--f-ink); font-size: 24px; }
.sgf-auth #loginform p { margin: 0 0 12px; }
.sgf-auth #loginform label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 4px; }
.sgf-auth #loginform input[type=text], .sgf-auth #loginform input[type=password] { width: 100%; min-height: 44px; border: 1px solid #c9d9ea; border-radius: 8px; padding: 0 10px; font: inherit; }
.sgf-auth #loginform .login-remember label { display: flex; gap: 6px; align-items: center; font-weight: 500; }
.sgf-auth #wp-submit { min-height: 48px; padding: 0 22px; border: 0; border-radius: 9px; background: var(--f-navy); color: #fff; font-weight: 800; cursor: pointer; font: inherit; font-weight: 800; }
.sgf-switch { display: inline-flex; background: var(--f-bg); border-radius: 10px; padding: 4px; margin: 6px 0 14px; }
.sgf-switch button { border: 0; background: none; padding: 9px 16px; border-radius: 8px; font-weight: 800; cursor: pointer; color: var(--f-muted); font: inherit; font-weight: 800; }
.sgf-switch button.is-active { background: #fff; color: var(--f-ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.sgf-form[data-type=particulier] .sgf-pro-only { display: none; }
.sgf-legal { background: #fff; border: 1px solid var(--f-line); border-radius: 14px; padding: 10px 30px 30px; margin-top: 20px; }
.sgf-legal h2 { color: var(--f-ink); font-size: 19px; margin-top: 26px; }

/* ---------- Écrans intermédiaires ---------- */
@media (max-width: 1280px) {
	.sgf-grid3 { grid-template-columns: 1fr 1fr; }
	.sgf-grid4 { grid-template-columns: 1fr 1fr; }
	.sgf-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sgf-top-phone { display: none; }
	.sgf-top-inner { grid-template-columns: auto minmax(200px, 1fr) auto auto; }
	.sgf-dash-hero::after { display: none; }
}
@media (max-width: 1100px) {
	.sgf-account { grid-template-columns: 1fr; }
	.sgf-side { position: static; border-radius: 12px; margin-top: 12px; }
	.sgf-side-nav { display: flex; overflow-x: auto; }
	.sgf-side-nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
	.sgf-side-help, .sgf-side-commercial, .sgf-side-title { display: none; }
	.sgf-quick { grid-template-columns: repeat(3, 1fr); }
	.sgf-catalogue { grid-template-columns: 1fr; }
	.sgf-filters { position: static; }
	.sgf-step-grid, .sgf-wc form.checkout { grid-template-columns: 1fr; }
	.sgf-wc form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.sgf-step-side { position: static; }
	.sgf-product-grid, .sgf-product-more { grid-template-columns: 1fr; }
	.sgf-hero-inner { grid-template-columns: 1fr; }
	.sgf-hero-visual { display: none; }
	.sgf-quick-home { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
	.sgf-dash-hero-tag { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
	body.sgf-body { font-size: 14px; padding-bottom: 66px; }
	.sgf-container { padding: 0 12px; }
	.sgf-top { position: relative; }
	.sgf-top-inner { grid-template-columns: 1fr auto; gap: 10px; padding: 8px 12px; }
	.sgf-brand img { height: 46px; }
	.sgf-brand-text strong { font-size: 20px; }
	.sgf-brand-text small { display: none; }
	.sgf-search { grid-column: 1 / -1; order: 3; height: 44px; }
	.sgf-top-item { display: none; }
	.sgf-cart-mini > span:last-child { display: none; }
	.sgf-nav { display: none; }
	.sgf-hero h1 { font-size: 32px; }
	.sgf-hero-inner { padding-top: 30px; padding-bottom: 36px; }
	.sgf-quick, .sgf-quick-home { grid-template-columns: 1fr 1fr; }
	.sgf-q { min-height: 72px; padding: 10px; }
	.sgf-q strong { font-size: 14px; }
	.sgf-q .sgf-ico { width: 28px; height: 28px; }
	.sgf-kpis { grid-template-columns: 1fr 1fr; }
	.sgf-grid3, .sgf-grid4, .sgf-grid2, .sgf-audiences, .sgf-info-grid, .sgf-auth { grid-template-columns: 1fr; }
	.sgf-grid, .sgf-grid-5 { grid-template-columns: 1fr 1fr; gap: 8px; }
	.sgf-card-img { height: 120px; }
	.sgf-add { flex-wrap: wrap; }
	.sgf-qty { width: 100%; justify-content: space-between; }
	.sgf-qty input { flex: 1; }
	.sgf-dash-hero { padding: 18px; min-height: 0; }
	.sgf-dash-hero h1 { font-size: 26px; }
	.sgf-dash-avatar { width: 46px; height: 46px; font-size: 22px; }
	.sgf-map { height: 190px; }
	.sgf-fields { grid-template-columns: 1fr; }
	.sgf-fields > * { grid-column: auto !important; }
	.sgf-date { grid-template-columns: 1fr; }
	.sgf-track { grid-template-columns: 1fr 1fr; }
	.sgf-footer-strip { display: none; }
	.sgf-footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
	.sgf-footer-links { margin-left: 0; }
	.sgf-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; height: 64px; background: #06285d; display: grid; grid-template-columns: repeat(5, 1fr); z-index: 60; }
	.sgf-mobile-nav a { display: grid; place-items: center; gap: 2px; color: #fff !important; text-decoration: none; font-size: 11px; font-weight: 600; padding-top: 8px; }
	.sgf-mobile-nav .sgf-ico { width: 22px; height: 22px; }
	.sgf-cookies { bottom: 76px; flex-direction: column; align-items: stretch; }
	.sgf-sticky-total { bottom: 74px; flex-direction: column; align-items: stretch; }
	.sgf-product-grid { padding: 14px; }
	.sgf-product-info h1 { font-size: 24px; }
	.sgf-gallery-main { min-height: 240px; }
	.sgf-wc .form-row-first, .sgf-wc .form-row-last { width: 100%; margin-left: 0; }
	.sgf-wc table.shop_table_responsive thead { display: none; }
	.sgf-wc table.shop_table_responsive tr td { display: block; text-align: right; }
	.sgf-wc table.shop_table_responsive tr td::before { content: attr(data-title) " : "; float: left; font-weight: 700; }
	.sgf-page-title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
	.sgf-dot.is-live { animation: none; }
	.sgf-card, .sgf-q, .sgf-cat { transition: none; }
}
@media print {
	.sgf-top, .sgf-footer, .sgf-mobile-nav, .sgf-side, .sgf-cookies { display: none !important; }
}

/* Page introuvable */
.sgf-notfound { padding: 40px 16px; }
.sgf-notfound .sgf-search { margin: 18px 0; }
.sgf-notfound p .sgf-btn { margin: 0 8px 8px 0; }

/* Promotions */
.sgf-card-img { position: relative; }
.sgf-promo-badge { position: absolute; top: 8px; left: 8px; background: var(--f-red, #e4312b); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 9px; border-radius: 999px; z-index: 2; }
.sgf-promo-tag { display: inline-block; background: #fdecea; color: #c0261f; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.sgf-inline-form { display: inline-block; margin-top: 6px; }
.sgf-btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
