:root {
    --c-deep: #0B1F3A;
    --c-steel: #163B5C;
    --c-ink: #0F2847;
    --c-ink-soft: #4B5563;
    --c-line: #E5E9EF;
    --c-bg: #F5F7FA;
    --c-surface: #FFFFFF;
    --c-accent: #FF8A00;
    --c-accent-strong: #E67700;
    --c-yellow: #FFC400;
    --c-success: #1A7F5A;

    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 1px 3px rgba(11,31,58,.04);
    --shadow-md: 0 6px 18px rgba(11,31,58,.08);
    --shadow-lg: 0 18px 48px rgba(11,31,58,.14);
    --shadow-deep: 0 24px 72px rgba(11,31,58,.22);

    --maxw: 1280px;
    --header-h: 76px;

    --easing: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-ink);
    background: var(--c-surface);
    font-feature-settings: 'cv11', 'ss01';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: inherit; }
::selection { background: var(--c-accent); color: #fff; }

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    color: var(--c-deep);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: 'tnum'; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }

/* Reusable section head — eyebrow + h2 + lead */
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}
.section-head .eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: currentColor;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--c-ink-soft); font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 580px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 15px;
    transition: transform .15s var(--easing), box-shadow .2s var(--easing), background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1;
    text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--easing); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
    background: var(--c-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255,138,0,.32);
}
.btn-primary:hover {
    background: var(--c-accent-strong);
    box-shadow: 0 10px 28px rgba(255,138,0,.45);
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    color: var(--c-deep);
    border-color: var(--c-deep);
}
.btn-outline:hover { background: var(--c-deep); color: #fff; }
.btn-light {
    background: rgba(255,255,255,.1);
    color: #fff;
    border-color: rgba(255,255,255,.25);
    backdrop-filter: blur(4px);
}
.btn-light:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.btn-ghost { color: var(--c-deep); padding: 10px 14px; }
.btn-ghost:hover { background: var(--c-bg); }
.btn-block { width: 100%; padding: 18px 28px; font-size: 16px; }

/* Topbar — slim utility band */
.topbar {
    background: var(--c-deep);
    color: rgba(255,255,255,.78);
    font-size: 13px;
    padding: 9px 0;
    font-family: 'JetBrains Mono', monospace;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar strong { color: var(--c-yellow); font-weight: 600; }
.topbar-trust { display: flex; gap: 24px; }
.topbar-trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Header — sticky main nav */
header.site {
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.03em;
    color: var(--c-deep);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--c-deep);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--c-yellow);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 4px, rgba(255,255,255,.08) 4px 5px);
}
nav.primary { display: flex; gap: 4px; flex: 1; }
nav.primary a {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink-soft);
    padding: 10px 14px;
    border-radius: var(--r-sm);
    transition: color .15s, background-color .15s;
}
nav.primary a:hover { color: var(--c-deep); background: var(--c-bg); }
nav.primary a.active { color: var(--c-deep); }
.header-actions { display: flex; gap: 12px; align-items: center; }

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    background: var(--c-bg);
    place-items: center;
    color: var(--c-deep);
}

/* Hero — high-impact landing */
.hero {
    background:
        linear-gradient(180deg, var(--c-deep) 0%, var(--c-steel) 100%);
    color: #fff;
    padding: clamp(60px, 9vw, 110px) 0 clamp(80px, 11vw, 130px);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 16px),
        radial-gradient(ellipse 80% 50% at 90% 10%, rgba(255,138,0,.18), transparent 60%),
        radial-gradient(ellipse 60% 60% at 0% 100%, rgba(255,196,0,.06), transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    background: rgba(255,196,0,.12);
    border: 1px solid rgba(255,196,0,.3);
    border-radius: 100px;
    font-size: 13px;
    color: #fff;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
}
.hero-pill::before {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--c-yellow);
    color: var(--c-deep);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 12px;
    background-image: linear-gradient(135deg, var(--c-yellow), #fdaa00);
}
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em {
    color: var(--c-yellow);
    font-style: normal;
    position: relative;
    white-space: nowrap;
}
.hero h1 em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6px;
    height: 8px;
    background: var(--c-accent);
    z-index: -1;
    opacity: .5;
}
.hero p.lead {
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    color: rgba(255,255,255,.78);
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
}
.hero-badge svg { color: var(--c-yellow); flex-shrink: 0; }

.hero-visual {
    position: relative;
    aspect-ratio: 5/6;
    background:
        linear-gradient(180deg, rgba(11,31,58,.55) 0%, rgba(11,31,58,.85) 100%),
        url('../img/hero-atelier.jpg') center/cover no-repeat;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.hero-stat {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border-radius: var(--r-md);
    padding: 18px 22px;
    color: #fff;
    position: relative;
    z-index: 1;
}
.hero-stat .num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--c-yellow);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); }
.hero-blueprint {
    flex: 1;
    display: grid;
    place-items: center;
    margin: 12px 0;
    position: relative;
    z-index: 1;
}
.hero-blueprint svg { max-width: 100%; max-height: 100%; }

/* Categories — 4 modern cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.cat-card {
    position: relative;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 32px 28px 28px;
    transition: transform .35s var(--easing), box-shadow .35s var(--easing), border-color .35s;
    overflow: hidden;
    isolation: isolate;
}
.cat-card .cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .5s var(--easing), transform .5s var(--easing);
    z-index: -1;
}
.cat-card .cat-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,31,58,.78) 0%, rgba(11,31,58,.92) 100%);
}
.cat-card:hover .cat-bg { opacity: 1; transform: scale(1); }
.cat-card:hover { color: #fff; }
.cat-card:hover h3 { color: #fff; }
.cat-card:hover p { color: rgba(255,255,255,.85); }
.cat-card:hover .more { color: var(--c-yellow); }
.cat-card:hover .count { color: rgba(255,255,255,.7); }
.cat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--easing);
}
.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--r-sm);
    background: var(--c-bg);
    display: grid;
    place-items: center;
    color: var(--c-deep);
    margin-bottom: 24px;
    transition: background .25s, color .25s;
}
.cat-card:hover .cat-icon { background: var(--c-deep); color: var(--c-yellow); }
.cat-card h3 { font-size: 20px; margin-bottom: 8px; }
.cat-card p { color: var(--c-ink-soft); font-size: 14px; margin-bottom: 22px; min-height: 42px; }
.cat-card .more {
    color: var(--c-deep);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cat-card .more svg { transition: transform .2s var(--easing); }
.cat-card:hover .more svg { transform: translateX(4px); }
.cat-card .count {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--c-ink-soft);
    opacity: .6;
}

/* Trust block — 4 advantages */
.trust-section {
    background: var(--c-bg);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item { padding: 12px 0; }
.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    display: grid;
    place-items: center;
    color: var(--c-accent);
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.trust-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1.5px dashed var(--c-line);
    border-radius: 18px;
    opacity: 0;
    transition: opacity .3s, transform .3s;
    transform: scale(.92);
}
.trust-item:hover .trust-icon::after { opacity: 1; transform: scale(1); }
.trust-item h3 { font-size: 18px; margin-bottom: 8px; }
.trust-item p { color: var(--c-ink-soft); font-size: 14px; }

/* Spec sheet section — uses the OG technical drawing image */
.specsheet-section {
    background: var(--c-surface);
    overflow: hidden;
}
.specsheet-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.specsheet-image {
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--c-line);
    aspect-ratio: 16/9;
    background: var(--c-bg);
    position: relative;
}
.specsheet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--easing);
}
.specsheet-image:hover img { transform: scale(1.03); }
.specsheet-content { padding: 0 8px; }
.specsheet-content .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}
.specsheet-content .eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: currentColor;
}
.specsheet-content h2 { margin-bottom: 18px; }
.specsheet-content > p {
    color: var(--c-ink-soft);
    font-size: 1.05rem;
    margin-bottom: 28px;
    max-width: 520px;
}
.spec-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.spec-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-line);
    font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt {
    color: var(--c-ink-soft);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.spec-row dd { color: var(--c-deep); font-weight: 500; }

@media (max-width: 1024px) {
    .specsheet-grid { grid-template-columns: 1fr; gap: 36px; }
    .specsheet-image { aspect-ratio: 16/9; }
}

/* Quick configurator block */
.config-section {
    background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface) 100%);
}
.config-shell {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-lg);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
}
.config-fields { display: flex; flex-direction: column; gap: 22px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-ink-soft);
    font-weight: 500;
}
.field-label .field-value {
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-deep);
    font-weight: 600;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-bg);
    font-size: 16px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-deep);
    transition: border-color .15s, background .15s;
}
.field-input:focus {
    outline: none;
    border-color: var(--c-accent);
    background: var(--c-surface);
}
.field-suffix-wrap { position: relative; }
.field-suffix-wrap .suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-ink-soft);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    pointer-events: none;
}
.range-input {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: var(--c-line);
    border-radius: 3px;
    outline: none;
}
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--c-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255,138,0,.4);
    transition: transform .15s;
}
.range-input::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--c-accent);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255,138,0,.4);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 10px 16px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink-soft);
    cursor: pointer;
    transition: all .15s var(--easing);
}
.chip:hover { border-color: var(--c-ink-soft); color: var(--c-deep); }
.chip.active {
    border-color: var(--c-accent);
    background: rgba(255,138,0,.06);
    color: var(--c-deep);
}
.color-row { display: flex; gap: 10px; }
.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .15s, border-color .15s;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.4);
}
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.active { border-color: var(--c-deep); transform: scale(1.08); }

.config-summary {
    background: var(--c-deep);
    color: #fff;
    border-radius: var(--r-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.config-summary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 100% 0%, rgba(255,138,0,.18), transparent 60%);
    pointer-events: none;
}
.config-summary > * { position: relative; z-index: 1; }
.config-summary-head {
    font-size: 12px;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
}
.config-preview {
    aspect-ratio: 5/3;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r-sm);
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.config-preview svg { max-width: 80%; max-height: 80%; }
.config-preview .dim-label {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,.5);
    background: rgba(0,0,0,.4);
    padding: 3px 8px;
    border-radius: 4px;
}
.config-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.config-summary-row span:last-child { color: #fff; font-weight: 500; }
.config-summary-row.total {
    border-bottom: none;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.16);
    align-items: baseline;
}
.config-summary-row.total .label { color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-family: 'JetBrains Mono', monospace; }
.config-summary-row.total .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--c-yellow);
    line-height: 1;
}
.config-summary-row.total .price small { font-size: 14px; opacity: .7; font-weight: 400; margin-left: 4px; }
.config-actions { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }

/* Products carousel */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--easing), box-shadow .35s var(--easing);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.product-media {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #d4d6d3, #b8bcb6);
    position: relative;
    overflow: hidden;
}
.product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--easing);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px;
    border-radius: 4px;
    z-index: 2;
    font-family: 'JetBrains Mono', monospace;
}
.product-badge.new { background: var(--c-deep); }
.product-badge.best { background: var(--c-success); }
.product-info { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
    color: var(--c-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
}
.product-title { font-size: 19px; margin-bottom: 8px; line-height: 1.3; font-weight: 600; }
.product-desc { color: var(--c-ink-soft); font-size: 14px; margin-bottom: 18px; flex: 1; }
.product-specs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.product-spec {
    background: var(--c-bg);
    color: var(--c-deep);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
}
.product-foot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--c-line);
}
.product-price-from { font-size: 12px; color: var(--c-ink-soft); display: block; margin-bottom: 2px; }
.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--c-deep);
    line-height: 1;
}
.product-price small { font-size: 12px; font-weight: 500; color: var(--c-ink-soft); }
.product-cta {
    color: var(--c-accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.product-cta:hover { color: var(--c-accent-strong); }

/* Stats — animated counters */
.stats-section {
    background: var(--c-deep);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 16px);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.stat-item .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--c-yellow);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.stat-item .stat-label {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    max-width: 220px;
    margin: 0 auto;
}
.stat-item .stat-suffix { font-size: 0.6em; color: var(--c-accent); }

/* Reviews */
.reviews-section {
    background: var(--c-bg);
}
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.reviews-rating .score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--c-deep);
}
.reviews-rating .stars { color: var(--c-yellow); font-size: 22px; letter-spacing: 2px; }
.reviews-rating .count { color: var(--c-ink-soft); font-size: 14px; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.review-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 28px;
    transition: transform .3s var(--easing), box-shadow .3s var(--easing);
    display: flex;
    flex-direction: column;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-card .quote-mark {
    color: var(--c-accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 60px;
    line-height: 1;
    height: 36px;
    opacity: .25;
}
.review-stars { color: var(--c-yellow); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review-quote { font-size: 16px; color: var(--c-deep); margin-bottom: 22px; line-height: 1.55; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-deep);
    color: var(--c-yellow);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
.review-meta strong { display: block; font-size: 14px; color: var(--c-deep); }
.review-meta span { color: var(--c-ink-soft); font-size: 12px; }

/* FAQ accordion */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    margin-bottom: 12px;
    background: var(--c-surface);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--c-ink-soft); }
.faq-item.open {
    border-color: var(--c-deep);
    box-shadow: var(--shadow-md);
}
.faq-q {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--c-deep);
}
.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-bg);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .2s, transform .25s var(--easing);
    color: var(--c-deep);
}
.faq-item.open .faq-toggle {
    background: var(--c-deep);
    color: var(--c-yellow);
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--easing);
}
.faq-a-inner {
    padding: 0 24px 22px;
    color: var(--c-ink-soft);
    font-size: 15px;
    line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 320px; }

/* Final CTA */
.cta-section {
    padding: clamp(60px, 9vw, 110px) 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255,138,0,.18), transparent 60%),
        linear-gradient(135deg, var(--c-deep) 0%, var(--c-steel) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 2px, transparent 2px 24px);
}
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-section h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 36px; }
.cta-section .btn-primary { padding: 18px 36px; font-size: 17px; }
.cta-meta {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}
.cta-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Footer */
footer.site {
    background: #050E1E;
    color: rgba(255,255,255,.65);
    padding: 80px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 56px;
}
footer h5 { color: #fff; font-size: 13px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.1em; font-family: 'JetBrains Mono', monospace; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
footer a, footer li { color: rgba(255,255,255,.65); font-size: 14px; transition: color .15s; }
footer a:hover { color: var(--c-yellow); }
.footer-brand { color: #fff; font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}

/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--easing), transform .7s var(--easing);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { transition-delay: var(--stagger, 0ms); }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { aspect-ratio: 16/10; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .config-shell { grid-template-columns: 1fr; gap: 32px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    nav.primary { display: none; }
    .menu-toggle { display: grid; }
    .topbar-trust { display: none; }
}
@media (max-width: 580px) {
    .container { padding: 0 18px; }
    .categories-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .field-row { grid-template-columns: 1fr; }
    .header-actions .btn-outline { display: none; }
    .footer-bottom { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

.crumb {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 18px 0;
    font-size: 13px;
    color: var(--c-ink-soft);
    font-family: 'JetBrains Mono', monospace;
}
.crumb a:hover { color: var(--c-accent); }
.crumb svg { color: var(--c-line); flex-shrink: 0; }

.product-page {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    padding: 24px 0 80px;
}

.product-gallery { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.gallery-main {
    aspect-ratio: 1;
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    margin-bottom: 14px;
    overflow: hidden;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.gallery-thumbs button {
    aspect-ratio: 1;
    border-radius: var(--r-sm);
    border: 2px solid transparent;
    background: var(--c-bg);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: border-color .15s, transform .15s;
}
.gallery-thumbs button:hover { transform: translateY(-2px); }
.gallery-thumbs button.active { border-color: var(--c-accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

.bullets-card {
    background: var(--c-bg);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px;
}
.bullets-card h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-deep);
}
.bullets-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullets-card li {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: var(--c-ink-soft);
    align-items: flex-start;
}
.bullets-card li svg { flex-shrink: 0; margin-top: 2px; }

.product-detail .cat-tag {
    display: inline-block;
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}
.product-detail h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    margin-bottom: 14px;
    line-height: 1.1;
}
.rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    font-size: 14px;
    color: var(--c-ink-soft);
}
.rating-line .stars { color: var(--c-yellow); font-size: 16px; letter-spacing: 1px; }
.rating-line strong { color: var(--c-deep); }
.rating-line .rating-sep { color: var(--c-line); }
.rating-line .in-stock {
    color: var(--c-success);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}
.product-detail .lead {
    color: var(--c-ink-soft);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--c-line);
}

.config-block {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    padding: 24px;
    margin-bottom: 18px;
    transition: border-color .2s;
}
.config-block:hover { border-color: var(--c-deep); }
.config-block h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-deep);
}
.config-block h4 .help {
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
    color: var(--c-accent);
    font-weight: 500;
    cursor: help;
    font-family: 'Inter', sans-serif;
}

.matiere-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 480px) { .matiere-grid { grid-template-columns: 1fr 1fr; } }
.matiere-opt {
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: all .15s var(--easing);
    background: var(--c-surface);
}
.matiere-opt:hover { border-color: var(--c-ink-soft); transform: translateY(-1px); }
.matiere-opt.selected {
    border-color: var(--c-accent);
    background: rgba(255,138,0,.05);
    box-shadow: 0 4px 14px rgba(255,138,0,.12);
}
.matiere-opt .mat-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--c-deep);
    font-family: 'Space Grotesk', sans-serif;
}
.matiere-opt .mat-meta { font-size: 12px; color: var(--c-ink-soft); }
.matiere-opt .mat-price {
    font-size: 13px;
    color: var(--c-deep);
    font-weight: 600;
    margin-top: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.dim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dim-field label { display: block; font-size: 13px; color: var(--c-ink-soft); margin-bottom: 6px; }
.input-suffix { position: relative; }
.dim-field input {
    width: 100%;
    padding: 12px 38px 12px 14px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-bg);
    font-size: 16px;
    font-weight: 600;
    color: var(--c-deep);
    font-family: 'JetBrains Mono', monospace;
}
.dim-field input:focus { outline: 2px solid var(--c-accent); outline-offset: -1px; border-color: var(--c-accent); background: var(--c-surface); }
.dim-field .suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-ink-soft);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
}
.dim-hint { color: var(--c-ink-soft); font-size: 12px; margin-top: 8px; }

.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-bg);
    cursor: pointer;
    transition: all .15s var(--easing);
}
.option-row:hover { border-color: var(--c-ink-soft); }
.option-row input { accent-color: var(--c-accent); width: 18px; height: 18px; flex-shrink: 0; }
.option-row .opt-text { flex: 1; }
.option-row .opt-name { font-weight: 600; font-size: 14px; color: var(--c-deep); }
.option-row .opt-desc { font-size: 12px; color: var(--c-ink-soft); margin-top: 2px; }
.option-row .opt-price {
    color: var(--c-deep);
    font-weight: 600;
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    flex-shrink: 0;
}
.option-row:has(input:checked) { border-color: var(--c-accent); background: rgba(255,138,0,.04); }

.preview-shape {
    margin: 18px 0;
    aspect-ratio: 4/3;
    background:
        linear-gradient(135deg, rgba(11,31,58,.04) 0%, rgba(11,31,58,.08) 100%),
        repeating-linear-gradient(45deg, var(--c-bg) 0 8px, #ECEFF4 8px 16px);
    border-radius: var(--r-md);
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    transition: aspect-ratio .2s;
}
.preview-canvas {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    position: relative;
}
.fullscreen-panel { display: none; }

.preview-shape.is-fullscreen {
    position: fixed;
    inset: 16px;
    aspect-ratio: auto;
    z-index: 200;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,0.06), transparent),
        repeating-linear-gradient(45deg, #0F2847 0 12px, #0B1F3A 12px 24px);
    border-color: rgba(255,255,255,.1);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-deep);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 0;
    place-items: stretch;
    overflow: hidden;
}
.preview-shape.is-fullscreen .preview-canvas {
    overflow: hidden;
    padding: 32px;
    box-sizing: border-box;
}
.preview-shape.is-fullscreen #preview-svg {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}
.preview-shape.is-fullscreen .fullscreen-panel {
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border-left: 1px solid var(--c-line);
    overflow-y: auto;
    padding: 28px 24px 36px;
    gap: 14px;
}
.fullscreen-panel-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-ink-soft);
    margin: 0 0 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-line);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}
.preview-shape.is-fullscreen .config-block {
    margin: 0 0 12px;
    padding: 0;
    background: transparent;
    border: none;
}
.preview-shape.is-fullscreen .config-block h4 { margin-bottom: 12px; }

.preview-fullscreen-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11,31,58,.78);
    backdrop-filter: blur(4px);
    z-index: 199;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--easing);
}
.preview-fullscreen-backdrop.is-active { opacity: 1; pointer-events: auto; }

.preview-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--c-deep);
    cursor: pointer;
    z-index: 5;
    transition: transform .15s, background .15s;
    box-shadow: var(--shadow-sm);
}
.preview-zoom-btn:hover { transform: scale(1.06); background: var(--c-bg); }
.preview-shape.is-fullscreen .preview-zoom-btn {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.2);
    color: #fff;
    top: 16px;
    right: 16px;
}
.preview-shape.is-fullscreen .preview-zoom-btn:hover { background: rgba(255,255,255,.2); }

.preview-dims {
    position: absolute;
    bottom: 10px;
    right: 14px;
    font-size: 12px;
    color: var(--c-ink-soft);
    background: rgba(255,255,255,.85);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.preview-shape.is-fullscreen .preview-dims {
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 14px;
    padding: 6px 14px;
    bottom: 18px;
    right: 18px;
}

#preview-svg { max-width: 92%; max-height: 92%; user-select: none; -webkit-user-select: none; }
#preview-svg .draggable { cursor: grab; }
#preview-svg .draggable.grabbing { cursor: grabbing; }
#preview-svg .selection-frame { fill: none; stroke: var(--c-accent); stroke-width: 1.4; stroke-dasharray: 3 3; pointer-events: none; }

.upload-zone {
    display: block;
    width: 100%;
    border: 2px dashed var(--c-line);
    border-radius: var(--r-sm);
    padding: 28px 20px;
    text-align: center;
    background: var(--c-bg);
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.upload-zone:hover, .upload-zone:focus-visible {
    border-color: var(--c-accent);
    background: rgba(255,138,0,.04);
    outline: none;
}
.upload-zone.is-dragover { border-color: var(--c-accent); background: rgba(255,138,0,.08); }
.upload-zone > * { pointer-events: none; }
.upload-zone svg { color: var(--c-ink-soft); margin: 0 auto 10px; display: block; }
.upload-zone strong { display: block; color: var(--c-deep); font-size: 14px; margin-bottom: 4px; }
.upload-zone small { color: var(--c-ink-soft); font-size: 12px; }

.visuals-list { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.visuals-list:empty { display: none; }
.visual-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all .15s;
}
.visual-chip:hover { border-color: var(--c-ink-soft); }
.visual-chip.active {
    border-color: var(--c-accent);
    background: rgba(255,138,0,.04);
    box-shadow: 0 0 0 2px rgba(255,138,0,.18);
}
.visual-chip-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--c-bg);
    flex-shrink: 0;
}
.visual-chip-info { flex: 1; min-width: 0; }
.visual-chip-info strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-deep);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.visual-chip-info small { color: var(--c-ink-soft); font-size: 11px; font-family: 'JetBrains Mono', monospace; }
.visual-chip-remove {
    color: #C0392B;
    font-size: 18px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
}
.visual-chip-remove:hover { background: rgba(192,57,43,.1); }

.print-controls { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.active-visual-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255,138,0,.05);
    border: 1px solid rgba(255,138,0,.25);
    border-radius: var(--r-sm);
    margin-bottom: 4px;
    font-size: 13px;
    color: var(--c-ink-soft);
}
.active-visual-head strong { color: var(--c-deep); font-weight: 600; }
.link-danger { color: #C0392B; font-size: 13px; font-weight: 500; padding: 2px 6px; }
.link-danger:hover { text-decoration: underline; }

.slider-row { display: flex; flex-direction: column; gap: 6px; }
.slider-row label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-ink-soft);
}
.slider-row label span:last-child {
    font-family: 'JetBrains Mono', monospace;
    color: var(--c-deep);
    font-weight: 600;
}
.slider-row input[type="range"] {
    width: 100%;
    accent-color: var(--c-accent);
    height: 4px;
}

.mode-label-text { display: block; font-size: 13px; color: var(--c-ink-soft); margin-bottom: 6px; }
.mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mode-row button {
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 500;
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-sm);
    background: var(--c-surface);
    color: var(--c-ink-soft);
    cursor: pointer;
    transition: all .15s;
    font-family: 'JetBrains Mono', monospace;
}
.mode-row button:hover { border-color: var(--c-ink-soft); }
.mode-row button.active {
    border-color: var(--c-accent);
    background: rgba(255,138,0,.06);
    color: var(--c-deep);
}

.price-summary {
    background: var(--c-deep);
    color: #fff;
    border-radius: var(--r-md);
    padding: 24px 26px;
    margin: 22px 0 14px;
    overflow: hidden;
    position: relative;
}
.price-summary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255,138,0,.16), transparent 60%);
    pointer-events: none;
}
.price-summary > * { position: relative; z-index: 1; }
.price-line {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,.65);
}
.price-line span:last-child {
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
}
.price-line.total {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.16);
    align-items: baseline;
}
.price-line.total span:first-child {
    color: rgba(255,255,255,.6);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
}
.price-line.total span:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--c-yellow);
    letter-spacing: -0.02em;
}

.delivery-info {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: rgba(26,127,90,.08);
    border: 1px solid rgba(26,127,90,.3);
    border-radius: var(--r-sm);
    margin-bottom: 16px;
    color: var(--c-deep);
}
.delivery-info svg { color: var(--c-success); flex-shrink: 0; }
.delivery-info strong { color: var(--c-success); }
.delivery-info span { font-size: 13px; }

.trust-pills {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 18px;
    font-size: 12px;
    color: var(--c-ink-soft);
    flex-wrap: wrap;
    font-family: 'JetBrains Mono', monospace;
}
.trust-pills span { display: inline-flex; align-items: center; gap: 6px; }
.trust-pills svg { color: var(--c-success); }

.related-section {
    padding: 64px 0 96px;
    border-top: 1px solid var(--c-line);
    margin-top: 32px;
}
.related-section .section-head { margin-bottom: 40px; }
.related-section .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}
.related-section .eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: currentColor;
}
.related-section h2 { margin-bottom: 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.related-section .section-head p { color: var(--c-ink-soft); max-width: 580px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .related-grid { grid-template-columns: 1fr; } }

.tab-section { margin-top: 64px; padding-bottom: 80px; }
.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--c-line);
    margin-bottom: 32px;
    overflow-x: auto;
}
.tab-btn {
    padding: 16px 4px;
    margin-right: 28px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-ink-soft);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: 'Space Grotesk', sans-serif;
    transition: color .15s, border-color .15s;
}
.tab-btn:hover { color: var(--c-deep); }
.tab-btn.active { color: var(--c-deep); border-bottom-color: var(--c-accent); font-weight: 600; }
.tab-content { display: none; max-width: 820px; }
.tab-content.active { display: block; }
.tab-content h3 { margin-bottom: 14px; margin-top: 24px; font-size: 18px; }
.tab-content h3:first-child { margin-top: 0; }
.tab-content p, .tab-content li { color: var(--c-ink-soft); margin-bottom: 14px; line-height: 1.65; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--c-line);
    font-size: 14px;
}
.spec-table td:first-child {
    width: 40%;
    color: var(--c-ink-soft);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
}
.spec-table td:last-child { color: var(--c-deep); font-weight: 500; }

@media (max-width: 1024px) {
    .product-page { grid-template-columns: 1fr; gap: 36px; padding-bottom: 60px; }
    .product-gallery { position: static; }
}
@media (max-width: 760px) {
    .preview-shape.is-fullscreen { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
    .preview-shape.is-fullscreen .fullscreen-panel { border-left: none; border-top: 1px solid var(--c-line); max-height: 45vh; }
}

/* ===== Pages catégorie (cat-hero, cat-intro) ===== */
.cat-hero {
  padding: 56px 0 72px;
  background: linear-gradient(180deg, #fff 0%, var(--c-bg) 100%);
  position: relative;
}
.cat-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cat-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--c-deep);
  margin: 16px 0 22px;
}
.cat-hero h1 em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 500;
}
.cat-hero .lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}
.cat-hero-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 60px rgba(11, 31, 58, .14);
}
.cat-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cat-intro {
  max-width: 820px;
  margin: 0 auto;
}
.cat-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.01em;
  color: var(--c-deep);
  margin-bottom: 22px;
}
.cat-intro p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
}
.cat-intro p:last-child { margin-bottom: 0; }
.cat-intro strong {
  color: var(--c-deep);
  font-weight: 600;
}

@media (max-width: 900px) {
  .cat-hero { padding: 40px 0 50px; }
  .cat-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .cat-hero-img { aspect-ratio: 16 / 10; }
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all .3s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 31, 58, .12);
  border-color: var(--c-deep);
}
.blog-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg);
}
.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-info {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
}
.blog-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--c-deep);
  margin: 0;
}
.blog-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  margin: 0;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--c-ink-soft);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
}

/* ===== Article (long form) ===== */
.article-hero {
  padding: 56px 0 32px;
  background: var(--c-bg);
}
.article-hero .article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--c-ink-soft);
  margin-bottom: 18px;
}
.article-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--c-deep);
  margin: 0 0 22px;
  max-width: 820px;
}
.article-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  max-width: 820px;
  font-weight: 400;
}
.article-cover {
  max-width: 1120px;
  margin: 0 auto 60px;
  aspect-ratio: 21 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 31, 58, .14);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.78;
  color: var(--c-ink);
}
.article-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 30px);
  letter-spacing: -.01em;
  color: var(--c-deep);
  margin: 56px 0 22px;
}
.article-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -.01em;
  color: var(--c-deep);
  margin: 36px 0 16px;
}
.article-body p { margin-bottom: 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px 22px; padding: 0; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--c-deep); font-weight: 600; }
.article-body a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.article-body th, .article-body td {
  border: 1px solid var(--c-line);
  padding: 12px 14px;
  text-align: left;
}
.article-body th {
  background: var(--c-bg);
  font-weight: 600;
  color: var(--c-deep);
  font-family: 'Space Grotesk', sans-serif;
}
.article-body blockquote {
  border-left: 4px solid var(--c-accent);
  padding: 14px 22px;
  margin: 28px 0;
  background: var(--c-bg);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--c-ink-soft);
}
