/* ==========================================================================
   VOTRE BOUTIQUE — Feuille de styles principale
   Palette : Noir/anthracite (--ink), Vert signature (--green), Blanc (--white)
   Typo : Space Grotesk (display) + Inter (texte) + JetBrains Mono (data/hashrate)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    /* --- Couleurs --- */
    --ink: #0a0d0b;
    --ink-soft: #10150f;
    --ink-2: #161c17;
    --line-dark: #232b24;

    --green-deep: #0b5c3f;
    --green: #17b378;
    --green-2: #1fd48f;
    --green-bright: #5dffc0;
    --green-glow: rgba(23, 179, 120, .35);

    --white: #ffffff;
    --paper: #f6f8f6;
    --paper-2: #eef2ef;
    --line: #e3e9e4;
    --ink-mute: #6b756f;
    --ink-text: #10150f;

    --danger: #ff4d4d;
    --gold: #ffb020;

    /* --- Typo --- */
    --f-display: 'Space Grotesk', sans-serif;
    --f-body: 'Inter', sans-serif;
    --f-mono: 'JetBrains Mono', monospace;

    /* --- Divers --- */
    --radius-s: 8px;
    --radius-m: 14px;
    --radius-l: 22px;
    --shadow-s: 0 4px 18px rgba(0, 0, 0, .08);
    --shadow-m: 0 14px 40px rgba(0, 0, 0, .12);
    --shadow-glow: 0 0 0 1px rgba(23, 179, 120, .35), 0 10px 40px rgba(23, 179, 120, .18);
    --ease: cubic-bezier(.22, .9, .3, 1);
    --wrap: 1320px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--f-body);
    background: var(--paper);
    color: var(--ink-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}
input,
select,
textarea {
    font-family: inherit;
}
::selection {
    background: var(--green);
    color: var(--ink);
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--ink);
}
::-webkit-scrollbar-thumb {
    background: var(--green-deep);
    border-radius: 10px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}
.only-mobile {
    display: none;
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .92rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green);
    color: var(--ink);
}
.btn-primary:hover {
    background: var(--green-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--green-glow);
}
.btn-outline {
    border: 1.5px solid rgba(255, 255, 255, .25);
    color: var(--white);
}
.btn-outline:hover {
    border-color: var(--green);
    color: var(--green-bright);
    transform: translateY(-2px);
}
.btn-dark {
    background: var(--ink);
    color: var(--white);
}
.btn-dark:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
}
.btn-block {
    width: 100%;
}
.btn-sm {
    padding: 10px 18px;
    font-size: .82rem;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--green);
}

.section-head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}
.section-head h2 {
    font-family: var(--f-display);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -.01em;
}
.section-head p {
    color: var(--ink-mute);
    margin-top: 12px;
    font-size: 1rem;
}
.section-head.left {
    text-align: left;
    margin: 0 0 40px;
}

section {
    padding: 80px 0;
}
@media(max-width:768px) {
    section {
        padding: 0px 0;
    }
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
    background: var(--ink);
    color: rgba(255, 255, 255, .55);
    font-size: .78rem;
    border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 24px;
    gap: 10px;
    flex-wrap: wrap;
}
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.topbar a {
    transition: color .2s;
}
.topbar a:hover {
    color: var(--green-bright);
}
.topbar .trust {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .7);
    font-weight: 600;
}
.topbar .trust .stars {
    color: var(--gold);
    letter-spacing: 1px;
}
.topbar select {
    background: transparent;
    color: rgba(255, 255, 255, .55);
    border: none;
    font-size: .78rem;
}
.topbar select option {
    color: #000;
}

/* ==========================================================================
   HEADER + MEGA MENU
   ========================================================================== */
.site-header {
    background: var(--ink);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
}
.header-main {
    display: flex;
    align-items: center;
    gap: 7%;
    padding: 16px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--green), var(--green-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px var(--green-glow);
}
.logo-mark svg {
    width: 22px;
    height: 22px;
}
.logo-text {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.28rem;
    color: var(--white);
    letter-spacing: -.01em;
    line-height: 1.1;
}
.logo-text span {
    display: block;
    font-family: var(--f-mono);
    font-size: .62rem;
    /*letter-spacing: .16em;*/
    color: var(--green-bright);
    font-weight: 500;
    text-transform: uppercase;
}

.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.header-search input {
    width: 100%;
    padding: 12px 46px 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    color: var(--white);
    font-size: .9rem;
    outline: none;
    transition: border .2s, background .2s;
}
.header-search input::placeholder {
    color: rgba(255, 255, 255, .35);
}
.header-search input:focus {
    border-color: var(--green);
    background: rgba(255, 255, 255, .08);
}
.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: background .2s;
}
.header-search button:hover {
    background: var(--green-bright);
}
.header-search svg {
    width: 16px;
    height: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 45px;
    flex-shrink: 0;
}
.h-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: rgba(255, 255, 255, .8);
    font-size: .72rem;
    position: relative;
    transition: color .2s;
}
.h-action:hover {
    color: var(--green-bright);
}
.h-action svg {
    width: 22px;
    height: 22px;
}
.h-action .count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--green);
    color: var(--ink);
    font-family: var(--f-mono);
    font-weight: 700;
    font-size: .62rem;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.h-action.account small {
    display: block;
    color: rgba(255, 255, 255, .42);
    font-weight: 400;
}
.h-action.account strong {
    font-size: .74rem;
    color: var(--white);
    font-weight: 600;
}
.mobile-toggle {
    display: none;
    color: var(--white);
}
.mobile-toggle svg {
    width: 26px;
    height: 26px;
}

/* --- Compte connecté (auth-nav.js) --- */
.account-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, .22);
    min-width: 220px;
    padding: 8px;
    z-index: 9999;
    border: 1px solid #ececf1;
    text-align: left;
    color: var(--ink-text);
}
.account-menu-head {
    padding: 8px 12px 6px;
    border-bottom: 1px solid #f0f0f4;
    margin-bottom: 4px;
}
.account-menu-head .am-name {
    font-weight: 700;
    font-size: .9rem;
    color: var(--ink);
}
.account-menu-head .am-email {
    font-size: .75rem;
    color: var(--ink-mute);
    word-break: break-all;
}
.am-link {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .86rem;
    color: var(--ink-text);
    transition: background .15s;
}
.am-link:hover {
    background: var(--paper);
    color: var(--green-deep);
}
.am-sep {
    height: 1px;
    background: #f0f0f4;
    margin: 4px 0;
}
.am-logout {
    display: block;
    width: 100%;
    text-align: left;
    padding: 9px 12px;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: .86rem;
    color: #d04a4a;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.am-logout:hover {
    background: #fdf0f0;
}
.h-action.account.open {
    color: var(--green-bright);
}

/* --- Nav bar --- */
.nav-bar {
    background: var(--green-deep);
    position: relative;
    padding: 8px;
}
.nav-inner {
    display: flex;
    align-items: stretch;
}
.nav-shop-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 22px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    font-size: .86rem;
    letter-spacing: .02em;
    white-space: nowrap;
    position: relative;
}
.nav-shop-btn svg {
    width: 18px;
    height: 18px;
    color: var(--green-bright);
}
.nav-shop-btn .chev {
    width: 12px;
    height: 12px;
    margin-left: auto;
    transition: transform .25s;
}
.nav-shop-btn.open .chev {
    transform: rotate(180deg);
}

.main-nav {
    display: flex;
    flex: 1;
}
.main-nav > li {
    position: relative;
}
.main-nav > li > a {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    color: rgba(255, 255, 255, .92);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .03em;
    transition: background .2s, color .2s;
    position: relative;
}
.main-nav > li > a::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 2px;
    background: var(--green-bright);
    transform: scaleX(0);
    transition: transform .25s var(--ease);
}
.main-nav > li:hover > a,
.main-nav > li.active > a {
    background: rgba(0, 0, 0, .14);
    color: var(--white);
}
.main-nav > li:hover > a::after,
.main-nav > li.active > a::after {
    transform: scaleX(1);
}
.nav-help {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    font-weight: 600;
    border-radius: 4px;
}
.nav-help svg {
    width: 18px;
    height: 18px;
}


/* --- Dropdown Boutique (colonne) --- */
.shop-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--green);
    box-shadow: var(--shadow-m);
    border-radius: 0 0 var(--radius-m) 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .25s var(--ease);
    z-index: 60;
}
.nav-shop-btn.open + .shop-dropdown,
.shop-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.shop-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--ink);
    font-weight: 700;
    font-size: .86rem;
    transition: background .2s, padding-left .2s;
}
.shop-dropdown a:hover {
    background: rgba(255, 255, 255, .25);
    padding-left: 26px;
}
.shop-dropdown a svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

/* --- Mega menu (sous-onglets, ex: ASICS -> marques) --- */
.mega {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--white);
    box-shadow: var(--shadow-m);
    border-radius: 0 0 var(--radius-s) var(--radius-s);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all .25s var(--ease);
    z-index: 55;
    padding: 8px 0;
}
.main-nav > li:hover .mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega a {
    display: block;
    padding: 11px 22px;
    font-size: .86rem;
    font-weight: 600;
    color: var(--ink-text);
    border-left: 3px solid transparent;
    transition: all .2s;
}
.mega a:hover {
    background: var(--paper);
    border-left-color: var(--green);
    color: var(--green-deep);
    padding-left: 28px;
}
.mega .mega-all {
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 14px;
    color: var(--green-deep);
}

/* ==========================================================================
   HERO — Slideshow + afficheur de machine (élément signature)
   ========================================================================== */
.hero {
    position: relative;
    background: var(--ink);
    overflow: hidden;
}
.hero-slider {
    position: relative;
    height: 560px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s var(--ease);
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 13, 11, .94) 0%, rgba(10, 13, 11, .75) 42%, rgba(10, 13, 11, .25) 100%);
}
.hero-slide .wrap {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
}
.hero-slide.s1 {
    background: radial-gradient(circle at 78% 30%, #0c2a20 0%, var(--ink) 62%);
}
.hero-slide.s2 {
    background: radial-gradient(circle at 75% 60%, #123726 0%, var(--ink) 65%);
}
.hero-slide.s3 {
    background: radial-gradient(circle at 70% 40%, #0d2419 0%, var(--ink) 60%);
}

.hero-copy h1 {
    font-family: var(--f-display);
    color: var(--white);
    font-weight: 700;
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: -.02em;
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn .8s .15s var(--ease) forwards;
}
.hero-copy h1 em {
    font-style: normal;
    color: var(--green-bright);
}
.hero-copy p {
    color: rgba(255, 255, 255, .6);
    font-size: 1.02rem;
    max-width: 460px;
    margin: 18px 0 30px;
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn .8s .3s var(--ease) forwards;
}
.hero-copy .cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(24px);
    animation: heroIn .8s .45s var(--ease) forwards;
}
@keyframes heroIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Afficheur de machine (signature) --- */
.machine-panel {
    background: linear-gradient(160deg, #0d1712, #070a08);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-l);
    padding: 26px 26px 22px;
    box-shadow: var(--shadow-glow);
    position: relative;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    animation: heroIn .8s .55s var(--ease) forwards;
}
.machine-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-l);
    background: repeating-linear-gradient(0deg, rgba(93, 255, 192, .035) 0px, rgba(93, 255, 192, .035) 1px, transparent 1px, transparent 3px);
    pointer-events: none;
}
.mp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.mp-head .model {
    font-family: var(--f-mono);
    font-size: .72rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .08em;
}
.mp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 8px var(--green-bright);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: .35;
    }
}
.mp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.mp-item {
    border-top: 1px solid var(--line-dark);
    padding-top: 10px;
}
.mp-item .label {
    font-family: var(--f-mono);
    font-size: .62rem;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
}
.mp-item .value {
    font-family: var(--f-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 4px;
}
.mp-item .value.green {
    color: var(--green-bright);
}
.mp-item .unit {
    font-size: .9rem;
    color: rgba(255, 255, 255, .4);
    margin-left: 3px;
}
.mp-status {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-mono);
    font-size: .76rem;
    color: var(--green-bright);
}

.hero-dots {
    position: absolute;
    left: 24px;
    bottom: 22px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dots button {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, .25);
    border-radius: 3px;
    transition: background .3s;
}
.hero-dots button.active {
    background: var(--green-bright);
}
.hero-arrows {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    gap: 10px;
}
.hero-arrows button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.hero-arrows button:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}
.hero-arrows svg {
    width: 16px;
    height: 16px;
}

@media(max-width:900px) {
    /* CORRECTION ICI : Hauteur fixe adaptative pour éviter le chevauchement avec absolute */
    .hero-slider { height: 750px; padding: 0; }
    .hero-slide .wrap { grid-template-columns: 1fr; text-align: left; padding-top: 40px; }
    .machine-panel { max-width: 440px; }
}
@media(max-width:640px) {
    .hero-slider { height: 800px; }
}
@media(max-width:480px) {
    .hero-slider { height: 860px; }
}
@media(max-width:380px) {
    .hero-slider { height: 960px; }
}

/* ==========================================================================
   FEATURE STRIP
   ========================================================================== */
.feature-strip {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.feature-strip .wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 20px;
    border-right: 1px solid var(--line);
    transition: background .25s;
}
.feature-item:last-child {
    border-right: none;
}
.feature-item:hover {
    background: var(--paper);
}
.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-deep);
}
.feature-icon svg {
    width: 24px;
    height: 24px;
}
.feature-item h4 {
    font-family: var(--f-display);
    font-size: 1rem;
    font-weight: 700;
}
.feature-item p {
    font-size: .82rem;
    color: var(--ink-mute);
    margin-top: 2px;
}
@media(max-width:768px) {
    .feature-strip .wrap {
        grid-template-columns: 1fr;
    }
    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
}

/* ==========================================================================
   TRUSTPILOT MINI
   ========================================================================== */
.trust-mini {
    padding: 30px 0;
    text-align: center;
}
.trust-mini .stars {
    color: var(--gold);
    font-size: 1.4rem;
    letter-spacing: 2px;
}
.trust-mini .score {
    font-family: var(--f-mono);
    font-weight: 700;
    margin-top: 6px;
    color: var(--ink-mute);
    font-size: .86rem;
}

/* ==========================================================================
   CRYPTO CATEGORY PILLS
   ========================================================================== */
.crypto-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.crypto-pill {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 20px 18px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
    position: relative;
    overflow: hidden;
}
.crypto-pill:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
    border-color: var(--green);
}
.crypto-pill .tag {
    font-family: var(--f-mono);
    font-size: .62rem;
    color: var(--green-deep);
    letter-spacing: .08em;
    text-transform: uppercase;
}
.crypto-pill h4 {
    font-family: var(--f-display);
    font-size: 1.1rem;
    margin-top: 6px;
}
.crypto-pill span {
    font-size: .78rem;
    color: var(--ink-mute);
}
@media(max-width:900px) {
    .crypto-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 480px) {
    .crypto-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PRODUCT GRID / CARDS
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-m);
}
.product-card .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--danger);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 999px;
    letter-spacing: .03em;
}
.product-card .badge.new {
    background: var(--ink);
}
.pc-media {
    aspect-ratio: 1/.85;
    background: linear-gradient(150deg, var(--paper-2), var(--paper));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.pc-media svg {
    width: 52%;
    height: 52%;
    color: var(--ink);
    opacity: .14;
    transition: transform .4s var(--ease), opacity .3s;
}
.product-card:hover .pc-media svg {
    transform: scale(1.08) rotate(-2deg);
    opacity: .22;
}
.pc-quickadd {
    position: absolute;
    bottom: -46px;
    left: 0;
    right: 0;
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .03em;
    transition: bottom .3s var(--ease);
}
.product-card:hover .pc-quickadd {
    bottom: 0;
}
.pc-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.pc-cat {
    font-family: var(--f-mono);
    font-size: .64rem;
    color: var(--green-deep);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pc-title {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.3;
    min-height: 2.5em;
}
.pc-specs {
    display: flex;
    gap: 12px;
    font-family: var(--f-mono);
    font-size: .72rem;
    color: var(--ink-mute);
    margin: 4px 0;
}
.pc-specs b {
    color: var(--ink-text);
}
.pc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}
.pc-price {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.15rem;
}
.pc-price .old {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: .82rem;
    color: var(--ink-mute);
    text-decoration: line-through;
    margin-right: 6px;
}
.pc-add {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
    flex-shrink: 0;
}
.pc-add:hover {
    background: var(--green);
    color: var(--ink);
    transform: rotate(90deg);
}
.pc-add svg {
    width: 17px;
    height: 17px;
}
@media(max-width:1100px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media(max-width:768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .crypto-row {
        gap: 10px;
    }
}
@media(max-width:520px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.section-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-toolbar h2 {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700;
}
.tabs {
    display: flex;
    gap: 6px;
    background: var(--paper-2);
    padding: 5px;
    border-radius: 999px;
    flex-wrap: wrap;
}
.tabs button {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-mute);
    transition: all .25s;
}
.tabs button.active {
    background: var(--ink);
    color: var(--white);
}

/* ==========================================================================
   CATÉGORIES (La boutique) — Défilement horizontal automatique
   ========================================================================== */
.cat-strip-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--white);
}
.cat-strip {
    display: flex;
    width: max-content;
    animation: scrollCategories 28s linear infinite;
    padding: 20px 10px;
    gap: 10px;
}
.cat-strip:hover {
    animation-play-state: paused;
}
.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: var(--radius-m);
    transition: background .25s, transform .25s;
    flex: 0 0 auto;
    min-width: 110px;
}
.cat-item:hover {
    background: var(--paper);
    transform: translateY(-4px);
}
.cat-item .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-deep);
    transition: all .25s;
}
.cat-item:hover .ic {
    background: var(--green);
    color: var(--ink);
    transform: rotate(-8deg) scale(1.05);
}
.cat-item .ic svg {
    width: 24px;
    height: 24px;
}
.cat-item span {
    font-size: .78rem;
    font-weight: 600;
    text-align: center;
}
.cat-item .cat-count {
    font-size: .65rem;
    font-weight: 700;
    color: var(--green-deep);
    background: var(--paper-2);
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--f-mono);
}
.cat-item:hover .cat-count {
    background: var(--green);
    color: var(--ink);
}

@keyframes scrollCategories {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media(max-width:900px) {
    .cat-item {
        min-width: 90px;
        padding: 10px 12px;
    }
    .cat-item .ic {
        width: 42px;
        height: 42px;
    }
    .cat-item .ic svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   MARQUEE (Choisissez votre miner)
   ========================================================================== */
.marquee-band {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    padding: 16px 0;
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 24s linear infinite;
}
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: .02em;
    padding: 0 34px;
    white-space: nowrap;
    color: rgba(255, 255, 255, .85);
}
.marquee-track span svg {
    width: 20px;
    height: 20px;
    color: var(--green-bright);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.marquee-band:hover .marquee-track {
    animation-play-state: paused;
}

/* ==========================================================================
   TUTORIELS
   ========================================================================== */
.tuto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tuto-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tuto-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-m);
}
.tuto-media {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--ink), var(--green-deep));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tuto-play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}
.tuto-card:hover .tuto-play {
    background: var(--green);
    transform: scale(1.08);
}
.tuto-play svg {
    width: 20px;
    height: 20px;
    color: #fff;
    margin-left: 3px;
}
.tuto-body {
    padding: 18px 20px 22px;
}
.tuto-body .meta {
    font-family: var(--f-mono);
    font-size: .68rem;
    color: var(--ink-mute);
    margin-bottom: 8px;
}
.tuto-body h4 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.3;
}
.tuto-body p {
    font-size: .84rem;
    color: var(--ink-mute);
    margin-top: 8px;
}
.tuto-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--green-deep);
}
.tuto-link svg {
    width: 14px;
    height: 14px;
    transition: transform .2s;
}
.tuto-card:hover .tuto-link svg {
    transform: translateX(4px);
}
@media(max-width:900px) {
    .tuto-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SELLER BLOCK
   ========================================================================== */
.seller-block {
    background: var(--ink);
    border-radius: var(--radius-l);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.seller-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 20%, rgba(23, 179, 120, .18), transparent 60%);
}
.seller-left {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}
.seller-left .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-weight: 700;
    color: var(--ink);
}
.seller-left .stars {
    color: var(--gold);
}
.seller-left h5 {
    color: var(--white);
    font-family: var(--f-display);
}
.seller-right {
    position: relative;
    z-index: 1;
}
.seller-right h3 {
    font-family: var(--f-display);
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.1;
}
.seller-right p {
    color: rgba(255, 255, 255, .55);
    margin: 14px 0 20px;
    max-width: 420px;
}
@media(max-width:800px) {
    .seller-block {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
}
@media(max-width:480px) {
    .seller-block {
        padding: 30px 16px;
    }
}

/* ==========================================================================
   REVIEWS CAROUSEL
   ========================================================================== */
.reviews-track {
    display: flex;
    gap: 20px;
    overflow: hidden;
}
.review-card {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    padding: 26px;
    transition: box-shadow .3s;
}
.review-card:hover {
    box-shadow: var(--shadow-m);
}
.review-card .stars {
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.review-card h5 {
    font-family: var(--f-display);
    font-weight: 700;
    margin-bottom: 8px;
}
.review-card p {
    font-size: .88rem;
    color: var(--ink-mute);
}
.review-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.review-foot .who {
    font-weight: 700;
    font-size: .86rem;
}
.review-foot .when {
    font-size: .76rem;
    color: var(--ink-mute);
}
.review-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}
.review-nav button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.review-nav button:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.review-nav svg {
    width: 16px;
    height: 16px;
}
@media(max-width:900px) {
    .review-card {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   TRUST STRIP (livraison / paiement / boutique / support)
   ========================================================================== */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.trust-strip .ic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--green-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.trust-strip .ic svg {
    width: 24px;
    height: 24px;
}
.trust-strip h5 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: .96rem;
}
.trust-strip p {
    font-size: .8rem;
    color: var(--ink-mute);
    margin-top: 6px;
}
@media(max-width:768px) {
    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width:480px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ CTA
   ========================================================================== */
.faq-cta {
    text-align: center;
    background: var(--paper-2);
    border-radius: var(--radius-l);
    padding: 56px 24px;
}
.faq-cta h3 {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.faq-cta p {
    color: var(--ink-mute);
    margin: 12px 0 26px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .55);
    padding-top: 64px;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-brand p {
    margin: 16px 0 20px;
    font-size: .86rem;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 85px;
    height: 50px;
    /*border-radius: 50%;
    border: 1px solid var(--line-dark);*/
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
/*.footer-social a:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}*/
.footer-social svg {
    width: 16px;
    height: 16px;
}
.site-footer h5 {
    color: var(--white);
    font-family: var(--f-display);
    font-size: .94rem;
    margin-bottom: 18px;
}
.site-footer ul li {
    margin-bottom: 11px;
}
.site-footer ul a {
    font-size: .86rem;
    transition: color .2s, padding-left .2s;
}
.site-footer ul a:hover {
    color: var(--green-bright);
    padding-left: 4px;
}
.footer-news form {
    display: flex;
    margin-top: 14px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--line-dark);
}
.footer-news input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #fff;
    font-size: .84rem;
    outline: none;
}
.footer-news button {
    background: var(--green);
    color: var(--ink);
    padding: 0 20px;
    font-weight: 700;
    font-size: .82rem;
}
.footer-news .phone {
    margin-top: 18px;
    font-size: .86rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    font-size: .8rem;
    flex-wrap: wrap;
    gap: 14px;
}
.footer-pay {
    display: flex;
    gap: 8px;
}
.footer-pay span {
    width: 38px;
    height: 24px;
    background: rgba(255, 255, 255, .08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .5);
}
@media(max-width:900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width:560px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 1400;
}
.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}
.mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 360px;
    height: 100%;
    background: var(--ink);
    z-index: 1500;
    transition: right .35s var(--ease);
    overflow-y: auto;
}
.mobile-panel.open {
    right: 0;
}
.mp-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--line-dark);
}
.mp-top span {
    color: var(--white);
    font-family: var(--f-display);
    font-weight: 700;
}
.mp-top button {
    color: var(--white);
}
.mp-top svg {
    width: 22px;
    height: 22px;
}
.mobile-nav {
    padding: 10px 0;
}
.mobile-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .sub {
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, .03);
    transition: max-height .3s var(--ease);
}
/* CORRECTION ICI : max-height augmenté pour inclure tout le grand menu Boutique */
.mobile-nav .sub.open,
.mobile-nav li.open > .sub {
    max-height: 800px;
}
.mobile-nav .sub a {
    display: block;
    padding: 12px 34px;
    color: rgba(255, 255, 255, .6);
    font-size: .86rem;
}
.mobile-nav .chev {
    width: 14px;
    height: 14px;
    transition: transform .25s;
}
.mobile-nav li.open > a .chev {
    transform: rotate(90deg);
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 1400;
}
.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 92%;
    max-width: 420px;
    height: 100%;
    background: var(--white);
    z-index: 1500;
    transition: right .35s var(--ease);
    display: flex;
    flex-direction: column;
}
.cart-drawer.open {
    right: 0;
}
.cd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
}
.cd-head h4 {
    font-family: var(--f-display);
    font-weight: 700;
}
.cd-head button svg {
    width: 20px;
    height: 20px;
}
.cd-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px 22px;
}
.cd-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-mute);
}
.cd-empty svg {
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    opacity: .3;
}
.cd-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.cd-item .thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cd-item .thumb svg {
    width: 30px;
    height: 30px;
    color: var(--ink);
    opacity: .25;
}
.cd-item .info {
    flex: 1;
}
.cd-item .info h5 {
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
}
.cd-item .info .price {
    font-family: var(--f-mono);
    color: var(--green-deep);
    font-weight: 700;
    margin-top: 4px;
    font-size: .9rem;
}
.cd-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}
.cd-qty button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.cd-qty span {
    font-family: var(--f-mono);
    font-size: .86rem;
    min-width: 16px;
    text-align: center;
}
.cd-remove {
    color: var(--ink-mute);
    align-self: flex-start;
}
.cd-remove svg {
    width: 17px;
    height: 17px;
}
.cd-foot {
    padding: 20px 22px;
    border-top: 1px solid var(--line);
}
.cd-total {
    display: flex;
    justify-content: space-between;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 16px;
}
.cd-foot .btn {
    margin-bottom: 10px;
}

/* ==========================================================================
   CHAT WIDGET
   ========================================================================== */
.chat-launcher {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 1300;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--green);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px var(--green-glow);
    transition: transform .25s;
}
.chat-launcher:hover {
    transform: scale(1.08);
}
.chat-launcher svg {
    width: 26px;
    height: 26px;
}
.chat-launcher .ping {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}
.chat-window {
    position: fixed;
    bottom: 96px;
    left: 26px;
    width: 320px;
    max-width: 88vw;
    background: var(--white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-m);
    z-index: 1300;
    overflow: hidden;
    transform: translateY(16px) scale(.96);
    opacity: 0;
    visibility: hidden;
    transition: all .25s var(--ease);
}
.chat-window.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}
.chat-window.chat-full {
    width: min(720px, 94vw);
    height: min(78vh, 640px);
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
}
.chat-window.chat-full.open {
    transform: translate(-50%, 50%);
}
.chat-head {
    background: var(--ink);
    color: var(--white);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-head-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.chat-head-actions button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.chat-head-actions button:hover {
    background: rgba(255, 255, 255, .12);
}
.chat-login-prompt {
    text-align: center;
    padding: 26px 20px;
}
.chat-login-prompt .clp-ico {
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.chat-login-prompt h4 {
    font-family: var(--f-display);
    margin-bottom: 8px;
}
.chat-login-prompt p {
    font-size: .84rem;
    color: var(--ink-mute);
    margin-bottom: 16px;
}
.chat-login-prompt a {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
}
.chat-login-prompt a:hover {
    background: var(--green-deep);
}
.chat-head .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow: 0 0 6px var(--green-bright);
}
.chat-head strong {
    font-family: var(--f-display);
    font-size: .92rem;
}
.chat-head small {
    display: block;
    color: rgba(255, 255, 255, .5);
    font-size: .72rem;
}
.chat-body {
    padding: 16px 18px;
}
.chat-msg {
    background: var(--paper);
    border-radius: 12px 12px 12px 3px;
    padding: 10px 14px;
    font-size: .84rem;
    margin-bottom: 12px;
    max-width: 88%;
}
.chat-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}
.chat-quick button {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: .82rem;
    transition: all .2s;
}
.chat-quick button:hover {
    border-color: var(--green);
    background: var(--paper);
}
.chat-input {
    display: flex;
    border-top: 1px solid var(--line);
}
.chat-input input {
    flex: 1;
    padding: 14px 16px;
    border: none;
    outline: none;
    font-size: .84rem;
}
.chat-input button {
    padding: 0 18px;
    color: var(--green-deep);
}
.chat-input svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.back-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .3s;
}
.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-top:hover {
    background: var(--green);
    color: var(--ink);
}
.back-top svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ink);
    color: var(--white);
    padding: 14px 22px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
    box-shadow: var(--shadow-m);
}
.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.toast svg {
    width: 18px;
    height: 18px;
    color: var(--green-bright);
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.visible>* {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal-stagger>*:nth-child(1) {
    transition-delay: .02s;
}
.reveal-stagger>*:nth-child(2) {
    transition-delay: .09s;
}
.reveal-stagger>*:nth-child(3) {
    transition-delay: .16s;
}
.reveal-stagger>*:nth-child(4) {
    transition-delay: .23s;
}
.reveal-stagger>*:nth-child(5) {
    transition-delay: .3s;
}
.reveal-stagger>*:nth-child(6) {
    transition-delay: .37s;
}

/* ==========================================================================
   PAGE HEADER (pages internes)
   ========================================================================== */
.page-hero {
    /*background: var(--ink);*/
    padding: 40px;
}
.page-hero .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.page-hero h1 {
    font-family: var(--f-display);
    /*color: var(--white);*/
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.breadcrumb {
    display: flex;
    gap: 8px;
    color: rgba(255, 255, 255, .5);
    font-size: .82rem;
}
.breadcrumb a:hover {
    color: var(--green-bright);
}
.steps {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .4);
    font-family: var(--f-mono);
    font-size: .78rem;
}
.steps .step {
    display: flex;
    align-items: center;
    gap: 8px;
}
.steps .num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
}
.steps .step.active {
    color: var(--white);
}
.steps .step.active .num {
    background: var(--green);
    border-color: var(--green);
    color: var(--ink);
}
.steps .step.done .num {
    background: var(--green-deep);
    border-color: var(--green-deep);
    color: #fff;
}
.steps .sep {
    width: 26px;
    height: 1px;
    background: rgba(255, 255, 255, .2);
}

/* ==========================================================================
   RESPONSIVE — Header / Nav
   ========================================================================== */
@media(max-width:1080px) {
    .main-nav {
        display: none;
    }
    .nav-help {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .header-search {
        order: 3;
        max-width: none;
        flex: 1 1 100%;
    }
    .header-main {
        flex-wrap: wrap;
    }
    .nav-bar {
        display: none;
    }
}
@media(max-width:640px) {
    .topbar-left span:not(:first-child),
    .topbar-right .lang {
        display: none;
    }
    .h-action.account {
        display: none;
    }
    .hero-copy p {
        max-width: 100%;
    }
    .only-mobile {
        display: block;
    }
    .header-actions {
        gap: 15px; 
    }
    .logo-text {
        font-size: 1rem; 
    }
    .logo img {
        height: 45px !important;
    }
    .topbar-left, .topbar-right {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   AJUSTEMENTS ULTRA-STRICTS POUR PETITS ÉCRANS (320px - 414px)
   ========================================================================== */
@media(max-width:420px) {
    /* Sécuriser le Header pour ne pas pousser le bouton Menu/Panier */
    .logo-text { font-size: .85rem; line-height: 1.1; }
    .logo-text span { font-size: .55rem; }
    .logo img { height: 35px !important; }
    .header-main { gap: 10px; }
    .header-search button { right: 4px; width: 30px; height: 30px; }
    
    /* Réduire la taille du titre hero pour éviter les mots coupés */
    .hero-copy h1 { font-size: 1.8rem; }
    
    /* Carte machine : réduire les textes pour que tout rentre */
    .mp-item .value { font-size: 1.15rem; }
    .mp-item .unit { font-size: .8rem; }
    .mp-head .model { font-size: .65rem; }
    
    /* Empiler les boutons d'appels à l'action sur toute la largeur */
    .cta-row { flex-direction: column; width: 100%; }
    .cta-row .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PAGES — Connexion, Inscription, Contact, FAQ
   ========================================================================== */
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 0;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-l);
    padding: 40px 36px;
    box-shadow: var(--shadow-m);
    border: 1px solid var(--line);
}
.auth-card h2 {
    font-family: var(--f-display);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.auth-card .sub {
    color: var(--ink-mute);
    font-size: .92rem;
    margin-bottom: 28px;
}
.auth-card .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--ink-mute);
    font-size: .8rem;
}
.auth-card .divider::before,
.auth-card .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    font-size: .92rem;
    transition: border .2s;
    background: var(--paper);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
    outline: none;
    background: var(--white);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.auth-card .btn {
    width: 100%;
    margin-top: 8px;
}
.auth-card .auth-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: .88rem;
    color: var(--ink-mute);
}
.auth-card .auth-link a {
    color: var(--green-deep);
    font-weight: 600;
}
.auth-card .auth-link a:hover {
    color: var(--green);
}

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.contact-info-item:last-child {
    border-bottom: none;
}
.contact-info-icon {
    font-size: 1.6rem;
    width: 44px;
    flex-shrink: 0;
}
.contact-info-text h4 {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: .96rem;
}
.contact-info-text p {
    font-size: .88rem;
    color: var(--ink-mute);
}
.contact-form h3 {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 700;
}

/* FAQ page */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--line);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s;
}
.faq-question:hover {
    color: var(--green-deep);
}
.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform .25s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
}
.faq-answer-inner {
    padding: 0 0 20px;
    color: var(--ink-mute);
    font-size: .92rem;
    line-height: 1.7;
}
.faq-answer-inner a {
    color: var(--green-deep);
    font-weight: 600;
}
.faq-answer-inner a:hover {
    color: var(--green);
}

@media(max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .auth-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   SEARCH SUGGESTIONS
   ========================================================================== */
.header-search {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-m);
    border: 1px solid var(--line);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    padding: 8px 0;
}

.search-suggestions.active {
    display: block;
}

.search-suggestions .suggestion-group {
    padding: 6px 16px 4px;
    font-family: var(--f-mono);
    font-size: .6rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-mute);
    font-weight: 600;
}

.search-suggestions .suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .15s;
    color: var(--ink-text);
    font-size: .88rem;
}

.search-suggestions .suggestion-item:hover {
    background: var(--paper);
}

.search-suggestions .suggestion-item .icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-deep);
}

.search-suggestions .suggestion-item .icon svg {
    width: 16px;
    height: 16px;
}

.search-suggestions .suggestion-item .info {
    flex: 1;
}

.search-suggestions .suggestion-item .info .name {
    font-weight: 600;
}

.search-suggestions .suggestion-item .info .desc {
    font-size: .76rem;
    color: var(--ink-mute);
}

.search-suggestions .suggestion-item .badge-type {
    font-size: .62rem;
    font-weight: 600;
    color: var(--white);
    background: var(--green-deep);
    padding: 2px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
    flex-shrink: 0;
}

.search-suggestions .suggestion-item .badge-type.product {
    background: var(--green-deep);
}

.search-suggestions .suggestion-item .badge-type.category {
    background: var(--ink-mute);
}

.search-suggestions .suggestion-item .badge-type.page {
    background: var(--gold);
    color: var(--ink);
}

.search-suggestions .no-results {
    padding: 24px 16px;
    text-align: center;
    color: var(--ink-mute);
    font-size: .9rem;
}

.search-suggestions .no-results span {
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}

/* Highlight matching text */
.search-suggestions .highlight {
    background: rgba(23, 179, 120, 0.2);
    padding: 0 2px;
    border-radius: 2px;
}

/* Scrollbar for suggestions */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}
.search-suggestions::-webkit-scrollbar-track {
    background: var(--paper);
    border-radius: 0 0 var(--radius-m) 0;
}
.search-suggestions::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
}
.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: var(--ink-mute);
}

/* Mobile responsive */
@media(max-width:768px) {
    .search-suggestions {
        max-height: 300px;
        margin: 0 8px;
        left: 0;
        right: 0;
        width: auto;
    }
    .search-suggestions .suggestion-item {
        padding: 8px 12px;
        font-size: .82rem;
    }
}


/* Conteneur des logos */
.footer-pay {
    display: flex;         /* Active l'alignement linéaire */
    align-items: center;   /* Centre les images verticalement */
    gap: 20px;             /* Espace entre les logos */
}

/* Réglage de la taille des images */
.pay-icon {
    height: 25px;          /* Ajustez la hauteur selon vos besoins */
    width: auto;           /* Maintient les proportions */
    object-fit: contain;   /* Évite que l'image ne soit déformée */
}

/* Optionnel : alignement global du footer */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   POUR LE CHANGEMENT DE LANGUE
   ========================================================================== */

/* Conteneur du bouton globe */
.language-btn-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    background-color: #1a1a1a; /* Fond sombre de votre barre */
    border: 1px solid #333333;
    border-radius: 20px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.language-btn-container:hover {
    border-color: #00bcd4; /* Effet lumineux au survol */
}

/* L'icône du globe visible */
.language-btn-container .globe-icon {
    font-size: 20px;
    line-height: 1;
    pointer-events: none; /* Laisse le clic traverser l'icône */
}

/* Nettoyage total des éléments de Google */
.goog-te-banner-frame { display: none !important; }
body { top: 0px !important; }
.goog-logo-link, .goog-te-gadget img { display: none !important; }
.goog-te-gadget { font-size: 0px !important; color: transparent !important; }
.goog-te-gadget > span { display: none !important; }
.goog-tooltip { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* Le piège invisible : le menu Google couvre tout le bouton mais est transparent */
#google_translate_element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Invisible mais présent */
    cursor: pointer;
    z-index: 10;
}

.goog-te-combo {
    width: 100% !important;
    height: 100% !important;
    cursor: pointer !important;
}

/* ==========================================================================
   CORRECTION WIDGET GOOGLE TRANSLATE
   ========================================================================== */

/* 1. Masquer la barre (iframe) injectée par Google en haut de la page */
.skiptranslate > iframe.skiptranslate {
    display: none !important;
    visibility: hidden !important;
}

/* 3. Optionnel : Désactiver l'infobulle "Texte original" et le surlignage jaune au survol */
.goog-tooltip {
    display: none !important;
}
.goog-tooltip:hover {
    display: none !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   PAGINATION (boutons désactivés)
   ========================================================================== */
.shop-pagination .pg-arrow.disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}