/* =========================================================================
   Linfux — Page d'accueil (vitrine e-commerce WhatsApp)
   Mobile-first strict. Palette WhatsApp. Aucune dépendance externe.
   ========================================================================= */

:root {
    --primary: #075e54;
    --primary-light: #128c7e;
    --accent: #25d366;
    --accent-soft: #e7f7ee;
    --ink: #111b21;
    --ink-soft: #667781;
    --line: #e6eaed;
    --bg: #f2f5f7;
    --surface: #fff;
    --danger: #e0293e;
    --amber: #f59e0b;
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .1);
    --shadow-lg: 0 16px 40px rgba(7, 94, 84, .18);
    --header-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    padding-bottom: 86px;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid rgba(37, 211, 102, .55); outline-offset: 2px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 14px; }

/* ===================== NAVIGATION MODERNE ===================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: linear-gradient(135deg, var(--primary), #054a43);
    z-index: 120;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .2);
}

.nav-inner {
    max-width: 1120px; margin: 0 auto; height: 100%;
    padding: 0 12px;
    display: flex; align-items: center; gap: 8px;
}

.nav-burger {
    width: 38px; height: 38px; border: none; border-radius: 10px;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.nav-brand { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-brand img { height: 22px; width: auto; filter: brightness(0) invert(1); }
.nav-brand .nav-word { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -.5px; }

.nav-links { display: none; align-items: center; gap: 4px; margin-left: 10px; flex: 1; }
.nav-links a {
    color: rgba(255, 255, 255, .88); font-size: 13px; font-weight: 600;
    padding: 8px 12px; border-radius: 9px; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 7px;
    transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.nav-links a.is-active { background: rgba(255, 255, 255, .18); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

.nav-icon {
    position: relative;
    width: 38px; height: 38px; border: none; border-radius: 50%;
    background: transparent; color: #fff; font-size: 16px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background .18s;
}
.nav-icon:hover { background: rgba(255, 255, 255, .16); }

.nav-bubble {
    position: absolute; top: 1px; right: 1px;
    min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
    background: var(--danger); color: #fff;
    font-size: 10px; font-weight: 800;
    display: none; align-items: center; justify-content: center;
}
.nav-bubble.show { display: flex; }

.nav-cta {
    display: none; align-items: center; gap: 7px;
    background: var(--accent); color: #fff;
    font-size: 13px; font-weight: 700;
    padding: 9px 16px; border-radius: 22px; white-space: nowrap;
    box-shadow: 0 3px 12px rgba(37, 211, 102, .38);
    transition: transform .18s, background .18s;
}
.nav-cta:hover { background: #1ebe5b; transform: translateY(-1px); }

/* Menu mobile déroulant */
.nav-drawer {
    position: fixed; inset: 0; z-index: 130;
    background: rgba(0, 0, 0, .5);
    opacity: 0; pointer-events: none; transition: opacity .22s;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }

.nav-drawer-panel {
    position: absolute; top: 0; left: 0; bottom: 0;
    width: 82%; max-width: 320px;
    background: var(--surface);
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.32, .72, 0, 1);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.nav-drawer.open .nav-drawer-panel { transform: translateX(0); }

.nav-drawer-head {
    background: linear-gradient(135deg, var(--primary), #054a43);
    padding: 18px 16px;
    display: flex; align-items: center; gap: 10px;
}
.nav-drawer-head img { height: 24px; filter: brightness(0) invert(1); }
.nav-drawer-head strong { color: #fff; font-size: 17px; font-weight: 800; flex: 1; }
.nav-drawer-head button {
    width: 34px; height: 34px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

.nav-drawer-body { padding: 10px 12px 20px; display: flex; flex-direction: column; gap: 2px; }
.nav-drawer-body a {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 12px; border-radius: 11px;
    font-size: 14px; font-weight: 600; color: var(--ink);
}
.nav-drawer-body a:hover { background: var(--bg); }
.nav-drawer-body a i:first-child {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--accent-soft); color: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    flex-shrink: 0;
}
.nav-drawer-body a .nav-chev { margin-left: auto; color: var(--ink-soft); font-size: 12px; }
.nav-drawer-sep { height: 1px; background: var(--line); margin: 10px 4px; }
.nav-drawer-body .drawer-cta {
    justify-content: center; background: var(--accent); color: #fff; margin-top: 6px;
}
.nav-drawer-body .drawer-cta i:first-child { background: rgba(255, 255, 255, .22); color: #fff; }

/* ===================== HERO ===================== */
.hero {
    margin-top: var(--header-h);
    background: linear-gradient(170deg, #f0faf5 0%, var(--bg) 100%);
    padding: 18px 0 22px;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex; flex-direction: column;
}

/* Sur mobile, le visuel est volontairement compact (100px de large) */
.hero-visual {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 16px 0;
}
.hero-visual img {
    width: 100px; height: auto; flex-shrink: 0;
    border-radius: var(--radius-sm);
}
.hero-visual .hero-kicker {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--accent-soft); color: var(--primary);
    font-size: 11px; font-weight: 800; letter-spacing: .3px;
    padding: 5px 11px; border-radius: 20px; text-transform: uppercase;
    margin-bottom: 8px;
}
.hero-visual .hero-lead { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }

.hero-body { padding: 14px 16px 18px; }
.hero-body h1 {
    font-size: 23px; font-weight: 800; line-height: 1.28; letter-spacing: -.5px;
}
.hero-body h1 em { font-style: normal; color: var(--accent); }
.hero-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 10px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 20px; border-radius: 26px; border: none;
    font-size: 14px; font-weight: 700; white-space: nowrap;
    transition: transform .18s, background .18s, box-shadow .18s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 16px rgba(37, 211, 102, .34); }
.btn-primary:hover { background: #1ebe5b; transform: translateY(-2px); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--primary); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--primary-light); }
.btn-block { width: 100%; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero-stats span {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg); border: 1px solid var(--line);
    border-radius: 20px; padding: 7px 12px;
    font-size: 11.5px; font-weight: 600; color: var(--ink-soft);
}
.hero-stats span strong { color: var(--primary); }
.hero-stats i { color: var(--accent); }

/* ===================== BLOCS OUTILS (catalogue / reçu) ===================== */
.tools { padding: 4px 0 6px; }

.tools-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: stretch;
}

/* Rectangle gauche : créer un catalogue WhatsApp */
.tool-rect {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 5px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    display: flex; align-items: center; gap: 13px;
    min-width: 0;
    transition: transform .18s, box-shadow .18s;
}
.tool-rect:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.tool-rect .tool-ico {
    width: 52px; height: 52px; flex-shrink: 0;
    border-radius: 14px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft);
}
.tool-rect .tool-ico img { width: 100%; height: 100%; object-fit: contain; }

.tool-rect .tool-txt { min-width: 0; }
.tool-rect .tool-txt strong {
    display: block; font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--ink);
}
.tool-rect .tool-txt span {
    display: block; font-size: 11.5px; color: var(--ink-soft); line-height: 1.45; margin-top: 3px;
}
.tool-rect .tool-go {
    margin-top: 8px;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 800; color: var(--primary-light);
}

/* Carré droite : reçu libre hors connexion */
.tool-square {
    width: 116px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 12px 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 7px; text-align: center;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tool-square:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.tool-square .tool-ico { width: 46px; height: 46px; }
.tool-square .tool-ico img { width: 100%; height: 100%; object-fit: contain; }
.tool-square strong { font-size: 12px; font-weight: 800; line-height: 1.3; }
.tool-square span { font-size: 10px; color: var(--ink-soft); line-height: 1.35; }
.tool-square .badge-off {
    display: inline-flex; align-items: center; gap: 4px;
    background: #fff7e6; color: #a16207; border: 1px solid #fde68a;
    font-size: 9.5px; font-weight: 800; padding: 3px 7px; border-radius: 10px;
}

/* Lien reçu connecté */
.tool-linked {
    margin-top: 10px;
    background: var(--surface);
    border: 1px dashed #cfe3da;
    border-radius: var(--radius);
    padding: 12px 14px;
    display: flex; align-items: center; gap: 11px;
}
.tool-linked i.tl-ico {
    width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px;
    background: var(--accent-soft); color: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.tool-linked .tl-txt { flex: 1; min-width: 0; }
.tool-linked .tl-txt strong { font-size: 12.5px; font-weight: 800; display: block; }
.tool-linked .tl-txt span { font-size: 11px; color: var(--ink-soft); }
.tool-linked .tl-go {
    background: var(--primary); color: #fff; border-radius: 20px;
    padding: 9px 14px; font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
.tool-linked .tl-go:hover { background: var(--primary-light); }

/* ===================== SECTION FORMULAIRES ===================== */
.forms-sec { padding: 18px 0 6px; }

.forms-card {
    background: linear-gradient(135deg, #ffffff, #f6fbf8);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex; flex-direction: column;
}

.forms-flyer { background: var(--accent-soft); padding: 14px; }
.forms-flyer img { width: 100%; height: auto; border-radius: var(--radius-sm); }

.forms-body { padding: 16px; }
.forms-body .tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary); color: #fff;
    font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
    padding: 5px 11px; border-radius: 20px;
}
.forms-body h2 { font-size: 18px; font-weight: 800; line-height: 1.32; margin-top: 10px; }
.forms-body p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }

.forms-list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.forms-list li {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 12.5px; color: var(--ink); line-height: 1.45;
}
.forms-list li i {
    width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
    background: var(--accent-soft); color: var(--primary-light);
    display: flex; align-items: center; justify-content: center; font-size: 10px;
    margin-top: 1px;
}

/* Compteur animé du flyer (piloté par JS) */
.forms-metrics { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.forms-metrics div {
    flex: 1; min-width: 92px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 10px 12px;
}
.forms-metrics strong { display: block; font-size: 18px; font-weight: 800; color: var(--primary); }
.forms-metrics span { font-size: 10.5px; color: var(--ink-soft); font-weight: 600; }

/* ===================== TITRE + RECHERCHE ===================== */
.shop-head { padding: 22px 0 0; }

.shop-title {
    display: flex; align-items: center; gap: 12px;
}
.shop-title .st-ico {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-size: 19px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(7, 94, 84, .25);
}
.shop-title h2 {
    font-size: 20px; font-weight: 800; letter-spacing: -.5px; line-height: 1.25;
}
.shop-title p { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

/* Barre de recherche */
.search-row { display: flex; gap: 8px; margin-top: 14px; align-items: stretch; }

.search-box {
    flex: 1; min-width: 0;
    display: flex; align-items: center; gap: 8px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 26px;
    padding: 4px 4px 4px 14px;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s, box-shadow .18s;
}
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 211, 102, .12); }
.search-box input {
    flex: 1; min-width: 0; border: none; outline: none; background: transparent;
    font-size: 14px; color: var(--ink); padding: 9px 0;
}
.search-box input::placeholder { color: var(--ink-soft); }
.search-clear {
    width: 32px; height: 32px; border: none; border-radius: 50%;
    background: transparent; color: var(--ink-soft); font-size: 13px;
    display: none; align-items: center; justify-content: center; flex-shrink: 0;
}
.search-clear.show { display: flex; }
.search-go {
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: var(--accent); color: #fff; font-size: 15px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background .18s, transform .18s;
}
.search-go:hover { background: #1ebe5b; transform: scale(1.05); }

.filter-btn {
    position: relative;
    width: 48px; flex-shrink: 0;
    border: 1.5px solid var(--line); border-radius: 16px;
    background: var(--surface); color: var(--primary);
    font-size: 17px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: border-color .18s, color .18s, background .18s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--primary-light); background: var(--accent-soft); }
.filter-btn .fb-dot {
    position: absolute; top: 7px; right: 8px;
    width: 8px; height: 8px; border-radius: 50%; background: var(--danger);
    display: none;
}
.filter-btn .fb-dot.show { display: block; }

/* Panneau de filtres */
.filters {
    margin-top: 12px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 14px;
    box-shadow: var(--shadow-sm);
    display: none;
}
.filters.open { display: block; }
.filters h4 {
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
    color: var(--ink-soft); margin-bottom: 9px;
}
.filters h4:not(:first-child) { margin-top: 15px; }

.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
    background: var(--bg); border: 1.5px solid var(--line);
    border-radius: 20px; padding: 8px 13px;
    font-size: 11.5px; font-weight: 700; color: var(--ink-soft);
    display: inline-flex; align-items: center; gap: 6px;
    transition: all .16s;
}
.chip:hover { border-color: var(--accent); color: var(--primary-light); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.filters-foot { display: flex; gap: 8px; margin-top: 15px; }
.filters-foot button { flex: 1; padding: 11px; border-radius: 11px; font-size: 12.5px; font-weight: 700; border: none; }
.filters-foot .fr-reset { background: var(--bg); color: var(--ink-soft); border: 1.5px solid var(--line); }
.filters-foot .fr-apply { background: var(--primary); color: #fff; }

.result-line {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin: 16px 0 12px; flex-wrap: wrap;
}
.result-line .rl-count { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.result-line .rl-count strong { color: var(--ink); }
.result-line .rl-shuffle {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px;
    padding: 8px 13px; font-size: 11.5px; font-weight: 700; color: var(--primary-light);
}
.result-line .rl-shuffle:hover { border-color: var(--accent); }

/* ===================== GRILLE PRODUITS ===================== */
.p-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.p-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    text-align: left; padding: 0; width: 100%;
    border-width: 1px;
    transition: transform .18s, box-shadow .18s;
}
.p-card:active { transform: scale(.98); }
.p-card:hover { box-shadow: var(--shadow-md); }

.p-media {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    background: #fff; overflow: hidden;
}

/* Placeholder : logo Linfux noir sur blanc pendant le chargement */
.img-holder {
    position: absolute; inset: 0;
    background: #fff url('/assets/icon/logo-placeholder.svg') center / 46% no-repeat;
}
.img-holder::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(7, 94, 84, .09) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: shimmer 1.35s ease-in-out infinite;
}
.img-holder.loaded::after { display: none; }
@keyframes shimmer { to { transform: translateX(100%); } }

.p-media img {
    position: relative;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .3s ease;
}
.p-media img.ready { opacity: 1; }

.p-media .p-noimg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: var(--line); font-size: 26px;
}

.p-flag {
    position: absolute; top: 7px; left: 7px; z-index: 3;
    font-size: 9.5px; font-weight: 800; color: #fff;
    padding: 3px 7px; border-radius: 7px;
}
.p-flag-promo { background: var(--danger); }
.p-flag-new { position: absolute; top: 7px; right: 7px; left: auto; background: var(--primary-light); }

.p-body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1; }

.p-shop {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; font-weight: 700; color: var(--primary-light);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-shop i { font-size: 9px; }

.p-name {
    font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    min-height: 34px;
}

.p-price { font-size: 14px; font-weight: 800; color: var(--primary); }
.p-price .old {
    display: block; font-size: 10px; font-weight: 500; color: var(--ink-soft);
    text-decoration: line-through;
}

.p-foot { display: flex; gap: 6px; margin-top: auto; padding-top: 7px; }
.p-foot .p-btn {
    flex: 1; border: none; border-radius: 9px;
    padding: 9px 4px; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s;
}
.p-btn-view { background: var(--bg); color: var(--primary); border: 1px solid var(--line); }
.p-btn-view:hover { background: var(--accent-soft); }
.p-btn-wa { background: var(--accent); color: #fff; }
.p-btn-wa:hover { background: #1ebe5b; }

/* Squelettes de chargement */
.p-skel {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
}
.p-skel .sk-img { width: 100%; aspect-ratio: 1 / 1; background: #fff url('/assets/icon/logo-placeholder.svg') center / 46% no-repeat; }
.p-skel .sk-lines { padding: 10px; display: grid; gap: 7px; }
.p-skel .sk-line { height: 9px; border-radius: 5px; background: var(--bg); }
.p-skel .sk-line.w70 { width: 70%; }
.p-skel .sk-line.w45 { width: 45%; }

/* Sentinelle / état de chargement */
.load-zone { padding: 22px 0 6px; text-align: center; min-height: 20px; }
.load-zone .lz-spin { display: none; align-items: center; justify-content: center; gap: 9px; color: var(--primary-light); font-size: 12.5px; font-weight: 700; }
.load-zone .lz-spin.show { display: flex; }
.load-zone .lz-end { display: none; font-size: 12px; color: var(--ink-soft); }
.load-zone .lz-end.show { display: block; }
.load-zone .lz-more {
    display: none; margin: 0 auto;
    background: var(--surface); border: 1.5px solid var(--line); border-radius: 24px;
    padding: 12px 22px; font-size: 13px; font-weight: 700; color: var(--primary);
}
.load-zone .lz-more.show { display: inline-flex; align-items: center; gap: 8px; }

.p-empty {
    grid-column: 1 / -1;
    text-align: center; padding: 46px 18px; color: var(--ink-soft);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.p-empty i { font-size: 38px; color: var(--line); margin-bottom: 12px; }
.p-empty h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.p-empty p { font-size: 12.5px; line-height: 1.5; }
.p-empty button { margin-top: 14px; }

/* ===================== TEXTE SEO / MOTS-CLÉS ===================== */
.about-sec { padding: 26px 0 4px; }
.about-card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}
.about-card h2 { font-size: 18px; font-weight: 800; line-height: 1.35; }
.about-card h3 { font-size: 14px; font-weight: 800; margin-top: 16px; }
.about-card p { font-size: 13px; color: #3a4247; line-height: 1.7; margin-top: 9px; }
.about-card p strong { color: var(--primary); }

.kw-title {
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
    color: var(--ink-soft); margin-top: 18px;
}
.kw-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.kw {
    background: var(--accent-soft); border: 1px solid #d6efe2;
    color: var(--primary); border-radius: 20px;
    padding: 8px 13px; font-size: 11.5px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 6px;
    transition: background .16s, transform .16s;
}
.kw:hover { background: #d6efe2; transform: translateY(-1px); }
.kw i { font-size: 10px; }

.about-cta { margin-top: 18px; }

/* ===================== INSTALLATION PWA ===================== */
.pwa-sec { padding: 22px 0 6px; }
.pwa-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-light) 55%, var(--accent));
    border-radius: var(--radius-lg);
    padding: 20px 18px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}
.pwa-card::before {
    content: ''; position: absolute; top: -40px; right: -30px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.pwa-card .pwa-ico {
    position: relative;
    width: 50px; height: 50px; border-radius: 15px;
    background: rgba(255, 255, 255, .2);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.pwa-card h2 { position: relative; font-size: 18px; font-weight: 800; line-height: 1.35; margin-top: 12px; }
.pwa-card p { position: relative; font-size: 12.5px; line-height: 1.6; opacity: .93; margin-top: 8px; }
.pwa-steps { position: relative; list-style: none; margin-top: 14px; display: grid; gap: 7px; }
.pwa-steps li { display: flex; align-items: center; gap: 9px; font-size: 12px; opacity: .95; }
.pwa-steps li i { font-size: 11px; }
.pwa-card .pwa-actions { position: relative; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.pwa-card .pwa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--primary);
    border: none; border-radius: 24px;
    padding: 13px 20px; font-size: 13.5px; font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.pwa-card .pwa-btn:hover { transform: translateY(-2px); }
.pwa-card .pwa-btn-ghost {
    background: rgba(255, 255, 255, .16); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5);
    box-shadow: none;
}
.pwa-card .pwa-ok {
    position: relative; margin-top: 14px;
    background: rgba(255, 255, 255, .18); border-radius: 12px; padding: 11px 13px;
    font-size: 12px; font-weight: 700;
    display: none; align-items: center; gap: 8px;
}
.pwa-card .pwa-ok.show { display: flex; }

/* Bandeau fixe d'installation (mobile) */
.pwa-bar {
    position: fixed; left: 10px; right: 10px; bottom: 88px;
    z-index: 110;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 10px 12px;
    display: none; align-items: center; gap: 10px;
}
.pwa-bar.show { display: flex; }
.pwa-bar img { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; }
.pwa-bar .pb-txt { flex: 1; min-width: 0; }
.pwa-bar .pb-txt strong { display: block; font-size: 12.5px; font-weight: 800; }
.pwa-bar .pb-txt span { font-size: 10.5px; color: var(--ink-soft); }
.pwa-bar .pb-go {
    background: var(--accent); color: #fff; border: none; border-radius: 20px;
    padding: 9px 15px; font-size: 11.5px; font-weight: 800; white-space: nowrap;
}
.pwa-bar .pb-close {
    width: 28px; height: 28px; border: none; border-radius: 50%;
    background: var(--bg); color: var(--ink-soft); font-size: 11px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Modal d'installation (iOS / navigateurs sans prompt) */
.modal {
    position: fixed; inset: 0; z-index: 400;
    background: rgba(0, 0, 0, .55);
    display: none; align-items: flex-end; justify-content: center;
}
.modal.show { display: flex; }
.modal-panel {
    background: var(--surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%; max-width: 520px;
    max-height: 88vh; overflow-y: auto;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
    animation: slideUp .28s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-panel h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.modal-panel > p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 8px; }
.modal-steps { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.modal-steps li {
    display: flex; gap: 11px; align-items: flex-start;
    background: var(--bg); border-radius: var(--radius-sm); padding: 12px;
}
.modal-steps li b {
    width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
    background: var(--primary); color: #fff;
    font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.modal-steps li span { font-size: 12.5px; color: var(--ink); line-height: 1.5; }
.modal-steps li span i { color: var(--primary-light); }
.modal-foot { display: flex; gap: 8px; margin-top: 18px; }

/* ===================== OFFCANVAS DÉTAIL (plein écran) ===================== */
.dt-overlay {
    position: fixed; inset: 0; z-index: 300;
    background: rgba(0, 0, 0, .6);
    opacity: 0; pointer-events: none; transition: opacity .22s;
}
.dt-overlay.show { opacity: 1; pointer-events: auto; }

.dt-panel {
    position: fixed; inset: 0; z-index: 301;
    width: 100%; height: 100%;
    background: var(--surface);
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.32, .72, 0, 1);
    display: flex; flex-direction: column;
    overflow: hidden;
}
.dt-panel.open { transform: translateY(0); }

.dt-topbar {
    flex-shrink: 0; height: 52px;
    background: linear-gradient(135deg, var(--primary), #054a43);
    display: flex; align-items: center; gap: 10px; padding: 0 12px;
}
.dt-topbar button, .dt-topbar a {
    width: 36px; height: 36px; border: none; border-radius: 50%;
    background: rgba(255, 255, 255, .16); color: #fff; font-size: 15px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dt-topbar .dt-tb-title {
    flex: 1; min-width: 0; color: #fff;
    font-size: 14px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dt-topbar .dt-tb-sub { display: block; font-size: 10px; font-weight: 500; opacity: .75; }

.dt-content {
    flex: 1; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
}

/* --- Styles du fragment section-detail.php (identiques au catalogue) --- */
.gal { position: relative; background: #0c1416; }
.gal-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #0c1416; touch-action: pan-y; }
.gal-track { display: flex; height: 100%; transition: transform .34s cubic-bezier(.25, .8, .25, 1); will-change: transform; }
.gal-track.dragging { transition: none; }
.gal-slide { flex: 0 0 100%; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gal-slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.gal-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .35); font-size: 40px; }
.gal-empty span { font-size: 12px; font-weight: 600; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; border: none; font-size: 14px; display: flex; align-items: center; justify-content: center; z-index: 6; }
.gal-arrow:hover { background: rgba(0, 0, 0, .72); }
.gal-prev { left: 10px; } .gal-next { right: 10px; }
.gal-counter { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 14px; z-index: 6; }
.gal-dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 6; max-width: 70%; overflow: hidden; }
.gal-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .45); border: none; padding: 0; flex-shrink: 0; transition: width .2s, background .2s; }
.gal-dot.active { background: #fff; width: 20px; border-radius: 4px; }
.gal-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 8px 10px; background: #111d20; scrollbar-width: none; }
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumb { flex: 0 0 54px; width: 54px; height: 54px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: #0c1416; padding: 0; opacity: .55; transition: opacity .18s, border-color .18s; }
.gal-thumb.active { opacity: 1; border-color: var(--accent); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.dt { display: flex; flex-direction: column; min-height: 100%; }
.dt-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 90px 20px; color: var(--primary-light); font-size: 13px; font-weight: 600; }
.dt-loading i { font-size: 28px; }
.dt-error { text-align: center; padding: 70px 24px; color: var(--ink-soft); }
.dt-error i { font-size: 40px; color: var(--line); display: block; margin-bottom: 12px; }
.dt-error h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.dt-error p { font-size: 13px; }
.dt-flags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; z-index: 6; }
.dt-flag { font-size: 10.5px; font-weight: 800; padding: 4px 9px; border-radius: 7px; color: #fff; display: inline-flex; align-items: center; gap: 4px; }
.dt-flag-promo { background: var(--danger); } .dt-flag-new { background: var(--primary-light); }
.dt-body { padding: 16px 16px 8px; display: flex; flex-direction: column; max-width: 760px; margin: 0 auto; width: 100%; }
.dt-crumb { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--primary-light); background: var(--accent-soft); align-self: flex-start; padding: 5px 11px; border-radius: 20px; margin-bottom: 10px; flex-wrap: wrap; }
.dt-title { font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--ink); }
.dt-ref { font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dt-price-card { margin-top: 14px; background: linear-gradient(135deg, var(--accent-soft), #f6fbf8); border: 1px solid #d6efe2; border-radius: var(--radius); padding: 14px; }
.dt-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.dt-price { font-size: 25px; font-weight: 800; color: var(--primary); letter-spacing: -.5px; }
.dt-price-old { font-size: 14px; color: var(--ink-soft); text-decoration: line-through; font-weight: 600; }
.dt-save { margin-top: 8px; font-size: 12px; color: var(--danger); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dt-stock { margin-top: 8px; font-size: 11.5px; color: var(--primary-light); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.dt-block { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.dt-h3 { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.dt-h3 i { color: var(--primary-light); font-size: 13px; }
.dt-desc { font-size: 13px; color: #3a4247; line-height: 1.65; max-height: 120px; overflow: hidden; position: relative; }
.dt-desc.open { max-height: none; }
.dt-more { background: none; border: none; color: var(--primary-light); font-size: 12px; font-weight: 700; padding: 8px 0 0; display: inline-flex; align-items: center; gap: 6px; }
.dt-hint { font-size: 11.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 8px; }
.dt-sizes { display: flex; flex-wrap: wrap; gap: 7px; }
.dt-size { padding: 9px 15px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 700; color: var(--ink-soft); transition: all .16s; }
.dt-size:hover { border-color: var(--accent); }
.dt-size.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.dt-qty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dt-qty > button { width: 36px; height: 36px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--primary); font-size: 12px; display: flex; align-items: center; justify-content: center; }
.dt-qty > span { font-size: 15px; font-weight: 800; min-width: 26px; text-align: center; }
.dt-qty-total { margin-left: auto; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.dt-qty-total strong { color: var(--primary); font-size: 14px; }
.dt-zones { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.dt-zones li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-soft); }
.dt-zones li:last-child { border-bottom: none; }
.dt-zones li i { color: var(--primary-light); margin-right: 5px; }
.dt-zones li strong { color: var(--primary); font-weight: 800; white-space: nowrap; }
.dt-trust { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.dt-trust li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-soft); }
.dt-trust li i { width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }
.dt-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dt-rel-card { display: flex; flex-direction: column; gap: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 0 8px; overflow: hidden; text-align: left; }
.dt-rel-card:hover { box-shadow: var(--shadow-md); }
.dt-rel-img { width: 100%; aspect-ratio: 1 / 1; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--line); font-size: 20px; overflow: hidden; }
.dt-rel-img img { width: 100%; height: 100%; object-fit: cover; }
.dt-rel-name { font-size: 10.5px; font-weight: 700; line-height: 1.3; color: var(--ink); padding: 0 7px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dt-rel-price { font-size: 11px; font-weight: 800; color: var(--primary-light); padding: 0 7px; }
.dt-sticky { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); backdrop-filter: blur(8px); margin-top: 20px; z-index: 10; }
.dt-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 12px; border-radius: 11px; font-size: 13.5px; font-weight: 700; border: none; white-space: nowrap; }
.dt-btn-share { width: 46px; flex: 0 0 46px; background: var(--bg); color: var(--primary); border: 1.5px solid var(--line); }
.dt-btn-cart { flex: 1; background: var(--primary-light); color: #fff; }
.dt-btn-wa { flex: 1.2; background: var(--accent); color: #fff; }

/* ===================== PANIER (offcanvas) ===================== */
.cart-panel {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 301;
    width: 100%; max-width: 400px;
    background: var(--surface);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.32, .72, 0, 1);
    display: flex; flex-direction: column;
}
.cart-panel.open { transform: translateX(0); }
.cart-head { background: linear-gradient(135deg, var(--primary), #054a43); padding: 13px 12px; display: flex; align-items: center; gap: 10px; }
.cart-head h3 { color: #fff; font-size: 15px; font-weight: 700; flex: 1; }
.cart-head button { width: 36px; height: 36px; border: none; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cart-body { flex: 1; overflow-y: auto; padding: 14px; }
.cart-foot { border-top: 1px solid var(--line); padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
.c-group { font-size: 11px; font-weight: 800; color: var(--primary-light); text-transform: uppercase; letter-spacing: .4px; margin: 12px 0 4px; }
.c-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.c-item img, .c-item .c-none { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--bg); flex-shrink: 0; }
.c-item .c-none { display: flex; align-items: center; justify-content: center; color: var(--line); }
.c-item .c-info { flex: 1; min-width: 0; }
.c-item .c-info h4 { font-size: 12.5px; font-weight: 700; line-height: 1.3; }
.c-item .c-info .c-price { font-size: 12px; font-weight: 800; color: var(--primary-light); margin-top: 3px; }
.c-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.c-qty button { width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--line); background: var(--surface); font-size: 11px; color: var(--primary); }
.c-qty span { font-size: 12px; font-weight: 700; min-width: 18px; text-align: center; }
.c-del { background: none; border: none; color: var(--danger); font-size: 13px; align-self: flex-start; }
.c-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.c-total span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.c-total strong { font-size: 17px; font-weight: 800; color: var(--primary); }
.cart-empty { text-align: center; padding: 50px 16px; color: var(--ink-soft); }
.cart-empty i { font-size: 36px; color: var(--line); margin-bottom: 12px; }
.cart-empty h3 { font-size: 15px; color: var(--ink); margin-bottom: 5px; }
.cart-empty p { font-size: 12.5px; }

/* ===================== FOOTER ===================== */
.site-foot { padding: 28px 0 20px; text-align: center; }
.site-foot .sf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.site-foot .sf-links a { font-size: 12px; font-weight: 600; color: var(--primary-light); }
.site-foot .sf-copy { font-size: 11px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* Barre de navigation basse (mobile) */
.tabbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
    background: var(--surface);
    border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-around;
    padding: 7px 0 calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .05);
}
.tabbar a, .tabbar button {
    background: none; border: none;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 600; color: var(--ink-soft);
    min-width: 60px; padding: 3px 8px; text-align: center;
}
.tabbar a.is-active { color: var(--primary-light); }
.tabbar i { font-size: 18px; }
.tabbar .tab-fab { position: relative; top: -14px; }
.tabbar .tab-fab .fab {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .4);
    margin-bottom: 2px;
}
.tabbar .tab-fab span { color: var(--primary-light); font-weight: 700; }

/* Toast */
.toast {
    position: fixed; left: 50%; bottom: 104px; z-index: 600;
    transform: translateX(-50%) translateY(12px);
    background: #1e2428; color: #fff;
    font-size: 13px; font-weight: 500;
    padding: 11px 18px; border-radius: 24px;
    display: flex; align-items: center; gap: 8px;
    max-width: 90%;
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast i { color: var(--accent); }

/* Bouton retour en haut */
.to-top {
    position: fixed; right: 12px; bottom: 96px; z-index: 105;
    width: 42px; height: 42px; border: none; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity .2s, transform .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (min-width: 420px) {
    .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .tool-square { width: 132px; }
}

@media (min-width: 640px) {
    .hero-visual img { width: 160px; }
    .hero-body h1 { font-size: 27px; }
    .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
    .p-name { font-size: 13px; }
    .forms-card { flex-direction: row-reverse; align-items: center; }
    .forms-card .forms-flyer { flex: 0 0 46%; align-self: stretch; display: flex; align-items: center; }
    .forms-card .forms-body { flex: 1; }
    .dt-rel { grid-template-columns: repeat(4, 1fr); }
    .pwa-bar { left: auto; right: 14px; width: 380px; }
}

@media (min-width: 900px) {
    body { padding-bottom: 24px; }
    .nav-links { display: flex; }
    .nav-cta { display: inline-flex; }
    .nav-burger { display: none; }
    .tabbar { display: none; }
    .to-top { bottom: 24px; }
    .toast { bottom: 32px; }
    .pwa-bar { bottom: 20px; }

    .hero { padding: 26px 0 30px; }
    .hero-card { flex-direction: row-reverse; align-items: stretch; }
    .hero-card .hero-visual {
        flex: 0 0 42%; padding: 22px;
        flex-direction: column; justify-content: center; text-align: center;
        background: linear-gradient(160deg, #f0faf5, #ffffff);
    }
    .hero-card .hero-visual img { width: 100%; max-width: 320px; }
    .hero-card .hero-body { flex: 1; padding: 30px 26px; display: flex; flex-direction: column; justify-content: center; }
    .hero-body h1 { font-size: 32px; }
    .hero-body p { font-size: 15px; }

    .tools-grid { grid-template-columns: 1fr 190px 190px; }
    .tool-square { width: auto; }
    .tool-linked { margin-top: 12px; }

    .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .shop-title h2 { font-size: 24px; }
    .about-card { padding: 26px 24px; }
    .about-card h2 { font-size: 22px; }
    .pwa-card { padding: 28px 26px; }
    .pwa-card h2 { font-size: 22px; }
    .modal { align-items: center; }
    .modal-panel { border-radius: var(--radius-lg); max-height: 82vh; }
    .dt-panel { top: 0; left: 50%; transform: translate(-50%, 100%); width: min(920px, 100%); border-radius: 0; }
    .dt-panel.open { transform: translate(-50%, 0); }
}

@media (min-width: 1120px) {
    .p-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
}