/* Boutique en ligne. Tout est sous .shop; les couleurs, coins et police viennent des variables posées par ShopLayout
   (--brand, --accent, --radius, --font...). Tailles en pixels entiers (Windows en français écrit « 3,5 »). */

.shop {
    --bg: #fbfaff;
    --surface: #ffffff;
    --surface-2: #f4f2fb;
    --ink: #14111f;
    --muted: #6b6880;
    --line: #e9e6f2;
    --shadow: 0 10px 30px -12px rgba(20, 17, 31, .18);
    --shadow-lg: 0 30px 60px -20px rgba(var(--brand-rgb), .35);
    --grad: linear-gradient(120deg, var(--brand), var(--accent));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

.shop.theme-dark {
    --bg: #0c0a14;
    --surface: #15121f;
    --surface-2: #1d1a2a;
    --ink: #f1eff8;
    --muted: #a19db5;
    --line: #2a2639;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}

.shop h1, .shop h2, .shop h3, .shop .shop-brand-name, .shop .product-title {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.shop a {
    color: inherit;
}

.shop .btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.shop .btn-primary,
.shop .btn-brand {
    background: var(--grad);
    border: 0;
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .6);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

    .shop .btn-primary:hover:not(:disabled),
    .shop .btn-brand:hover:not(:disabled) {
        color: #fff;
        transform: translateY(-1px);
        filter: saturate(1.15);
        box-shadow: 0 14px 28px -10px rgba(var(--brand-rgb), .7);
    }

.shop .btn-outline-primary {
    color: var(--brand);
    border-color: rgba(var(--brand-rgb), .45);
}

    .shop .btn-outline-primary:hover {
        background: rgba(var(--brand-rgb), .08);
        color: var(--brand);
        border-color: var(--brand);
    }

.shop .form-control,
.shop .form-select {
    border-radius: var(--radius-sm);
    border-color: var(--line);
    background-color: var(--surface);
    color: var(--ink);
}

    .shop .form-control:focus,
    .shop .form-select:focus {
        border-color: var(--brand);
        box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .15);
    }

.shop .text-muted {
    color: var(--muted) !important;
}

/* ---------- Bandeau d'annonce ---------- */

.shop-announce {
    background: var(--grad);
    background-size: 200% 100%;
    animation: shop-slide 8s ease-in-out infinite alternate;
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 8px 16px;
}

@keyframes shop-slide {
    from { background-position: 0% 50%; }
    to { background-position: 100% 50%; }
}

/* ---------- En-tête ---------- */

.shop-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}

.shop-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.shop-burger {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    padding: 6px;
}

.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

    .shop-brand img {
        height: 40px;
        width: auto;
    }

.shop-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 16px -6px rgba(var(--brand-rgb), .7);
}

.shop-brand-name {
    font-weight: 800;
    font-size: 20px;
}

.shop-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 4px;
    align-items: center;
    min-width: 0;
    height: 40px; /* une seule rangée : un lien qui ne tient pas passe à la ligne suivante, cachée, plutôt que d'être coupé */
    overflow: hidden;
}

    .shop-nav a {
        position: relative;
        padding: 8px 12px;
        text-decoration: none;
        color: var(--muted);
        font-weight: 600;
        font-size: 15px;
        white-space: nowrap;
        transition: color .2s;
    }

        .shop-nav a::after {
            content: "";
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 2px;
            height: 2px;
            border-radius: 2px;
            background: var(--grad);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .25s ease;
        }

        .shop-nav a:hover,
        .shop-nav a.active {
            color: var(--ink);
        }

            .shop-nav a:hover::after,
            .shop-nav a.active::after {
                transform: scaleX(1);
            }

.shop-search {
    flex: 1 1 240px;
    max-width: 360px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    height: 42px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid transparent;
    color: var(--muted);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

    .shop-search:focus-within {
        background: var(--surface);
        border-color: var(--brand);
        box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12);
    }

    .shop-search input {
        flex: 1;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--ink);
        font-size: 15px;
    }

.shop-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.shop .language-selector {
    background: var(--surface-2);
    border-color: var(--line);
}

    .shop .language-selector .active {
        background: var(--grad);
        color: #fff;
    }

.shop-login,
.shop-account summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
    transition: background .2s;
}

    .shop-account summary::-webkit-details-marker {
        display: none;
    }

    .shop-login:hover,
    .shop-account summary:hover {
        background: var(--surface-2);
    }

.shop-account {
    position: relative;
}

    .shop-account summary span {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.shop-account-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 6px;
    display: grid;
    animation: shop-pop .18s ease both;
}

    .shop-account-panel a,
    .shop-account-panel button {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 9px 12px;
        border-radius: var(--radius-sm);
        border: 0;
        background: transparent;
        color: var(--ink);
        text-decoration: none;
        font-size: 14px;
        text-align: left;
        width: 100%;
    }

        .shop-account-panel a:hover,
        .shop-account-panel button:hover {
            background: var(--surface-2);
        }

    .shop-account-panel form {
        margin: 0;
    }

@keyframes shop-pop {
    from { opacity: 0; transform: translateY(-6px) scale(.98); }
    to { opacity: 1; transform: none; }
}

/* Bouton panier */

.shop .cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: transform .2s;
}

    .shop .cart-button:hover {
        transform: translateY(-1px);
        color: var(--bg);
    }

.shop .cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
}

    .shop .cart-count.bump {
        animation: shop-bump .5s cubic-bezier(.3, 1.6, .5, 1);
    }

.shop .cart-total {
    font-weight: 600;
    opacity: .8;
}

@keyframes shop-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.5); }
    100% { transform: scale(1); }
}

/* ---------- Contenu ---------- */

.shop-main {
    flex: 1;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 64px;
}

.shop-section {
    margin-top: 72px;
}

.shop-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

    .shop-section-head h2 {
        font-size: 32px;
        font-weight: 800;
        margin: 0;
    }

    .shop-section-head p {
        color: var(--muted);
        margin: 4px 0 0;
    }

.shop-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 6px;
}

.shop-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--brand) !important;
    text-decoration: none;
    white-space: nowrap;
}

    .shop-link-arrow .icon {
        transition: transform .2s;
    }

    .shop-link-arrow:hover .icon {
        transform: translateX(4px);
    }

/* Apparition au défilement (sans script : animation au chargement, décalée par --i). */
.reveal {
    animation: shop-rise .7s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes shop-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Accueil : héros ---------- */

.hero {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) * 2);
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 72px 56px;
    isolation: isolate;
}

.hero-aurora {
    background: #0b0816;
    color: #fff;
}

    .hero-aurora .blob {
        position: absolute;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        filter: blur(80px);
        opacity: .75;
        z-index: -1;
        animation: shop-float 14s ease-in-out infinite alternate;
    }

        .hero-aurora .blob.b1 { background: var(--brand); top: -160px; left: -120px; }
        .hero-aurora .blob.b2 { background: var(--accent); bottom: -200px; right: -80px; animation-delay: -5s; }
        .hero-aurora .blob.b3 { background: color-mix(in srgb, var(--brand) 50%, var(--accent)); top: 30%; left: 45%; width: 360px; height: 360px; animation-delay: -9s; opacity: .55; }

    .hero-aurora::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
        background-size: 26px 26px;
        mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    }

@keyframes shop-float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.12); }
    100% { transform: translate(-40px, 20px) scale(.95); }
}

.hero-image {
    color: #fff;
    background-size: cover;
    background-position: center;
}

    .hero-image::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(100deg, rgba(10, 8, 20, .85) 0%, rgba(10, 8, 20, .55) 45%, rgba(var(--brand-rgb), .25) 100%);
    }

.hero-split {
    background: var(--surface-2);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
}

    .hero-split .hero-visual {
        position: relative;
        aspect-ratio: 4 / 3;
        border-radius: calc(var(--radius) * 1.5);
        overflow: hidden;
        box-shadow: var(--shadow-lg);
        transform: rotate(2deg);
        background: var(--grad);
    }

        .hero-split .hero-visual img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-split .hero-badge {
    background: var(--surface);
    border-color: var(--line);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .25);
}

.hero h1 {
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 800;
    margin: 0 0 20px;
}

.hero-aurora h1 span,
.hero-image h1 span {
    background: linear-gradient(120deg, #fff 20%, color-mix(in srgb, var(--accent) 60%, #fff));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-split h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p.lead {
    font-size: 19px;
    line-height: 1.55;
    opacity: .88;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .hero-cta .btn {
        padding: 14px 26px;
        font-size: 16px;
        border-radius: 999px;
    }

.hero .btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    backdrop-filter: blur(6px);
}

    .hero .btn-ghost:hover {
        background: rgba(255, 255, 255, .2);
        color: #fff;
    }

.hero-split .btn-ghost {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--line);
}

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 44px;
    flex-wrap: wrap;
}

    .hero-stats strong {
        display: block;
        font-size: 30px;
        font-weight: 800;
    }

    .hero-stats span {
        font-size: 13px;
        opacity: .75;
    }

/* Avantages */

.perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}

    .perk .perk-icon {
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
        display: grid;
        place-items: center;
        flex-shrink: 0;
        color: var(--brand);
        background: rgba(var(--brand-rgb), .1);
    }

    .perk strong {
        display: block;
        font-size: 15px;
    }

    .perk span {
        color: var(--muted);
        font-size: 13px;
    }

/* Catégories en tuiles */

.cat-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--radius) * 1.3);
    overflow: hidden;
    text-decoration: none;
    color: #fff !important;
    background: var(--grad);
    box-shadow: var(--shadow);
    isolation: isolate;
}

    .cat-tile:nth-child(3n+2) { background: linear-gradient(160deg, var(--accent), var(--brand)); }
    .cat-tile:nth-child(3n) { background: linear-gradient(200deg, color-mix(in srgb, var(--brand) 70%, #000), var(--accent)); }

    .cat-tile img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
        transition: transform .8s cubic-bezier(.2, .7, .2, 1);
    }

    .cat-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(180deg, transparent 40%, rgba(8, 6, 16, .82) 100%);
    }

    .cat-tile:hover img {
        transform: scale(1.08);
    }

    .cat-tile .cat-tile-body {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 18px;
    }

    .cat-tile strong {
        display: block;
        font-size: 22px;
        font-family: var(--font-heading);
        line-height: 1.15;
    }

    .cat-tile span {
        font-size: 13px;
        opacity: .85;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

/* Bandeau d'appel */

.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--radius) * 1.5);
    padding: 48px;
    background: var(--grad);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
}

    .cta-band h2 {
        font-size: 30px;
        font-weight: 800;
        margin: 0 0 6px;
    }

    .cta-band p {
        margin: 0;
        opacity: .9;
    }

    .cta-band .btn {
        background: #fff;
        color: var(--ink);
        border-radius: 999px;
        padding: 12px 24px;
    }

    .cta-band::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        right: -120px;
        top: -160px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .14);
    }

/* ---------- Produits (pages Vente sous .shop) ---------- */

.shop .vente {
    --v-accent: var(--brand);
    --v-border: var(--line);
    --v-soft: var(--surface-2);
    --v-muted: var(--muted);
    --v-ink: var(--ink);
}

.shop .product-grid {
    gap: 20px;
}

.shop .product-card {
    background: var(--surface);
    border-color: var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}

    .shop .product-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(var(--brand-rgb), .35);
    }

.shop .product-photo {
    background: var(--surface-2);
    overflow: hidden;
}

    .shop .product-photo img {
        transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    }

.shop .product-card:hover .product-photo img {
    transform: scale(1.07);
}

.shop .placeholder-code {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.shop .ribbon {
    background: var(--grad);
    border-radius: 999px;
}

.shop .product-name {
    color: var(--ink);
    font-weight: 700;
}

.shop .price span,
.shop .price-big {
    color: var(--ink);
    font-weight: 800;
}

.shop .chip {
    border-radius: 999px;
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
    transition: all .2s;
}

    .shop .chip:hover {
        border-color: var(--brand);
    }

    .shop .chip.selected {
        background: var(--grad);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 6px 16px -8px rgba(var(--brand-rgb), .8);
    }

.shop .gallery-main,
.shop .set-box,
.shop .features,
.shop .cart-line,
.shop .summary,
.shop .shop-cats,
.shop .cart-lines,
.shop .empty {
    background: var(--surface);
    border-color: var(--line);
    border-radius: var(--radius);
}

.shop .cat.active {
    background: rgba(var(--brand-rgb), .1);
    color: var(--brand);
}

.shop .stepper {
    border-radius: 999px;
    border-color: var(--line);
    background: var(--surface);
}

    .shop .stepper input,
    .shop .stepper button {
        background: transparent;
        color: var(--ink);
    }

.shop .added-toast {
    border-radius: var(--radius-sm);
    background: rgba(34, 197, 94, .1);
    border-color: rgba(34, 197, 94, .35);
    animation: shop-pop .25s ease both;
}

.shop .shop-search-page {
    border-radius: 999px;
}

.shop-page-title {
    font-size: 40px;
    font-weight: 800;
    margin: 0;
}

/* ---------- Caisse ---------- */

.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 32px;
    align-items: start;
}

.checkout-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 18px;
}

    .checkout-card h2 {
        font-size: 18px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 16px;
    }

    .checkout-card h2 .step {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--grad);
        color: #fff;
        display: inline-grid;
        place-items: center;
        font-size: 13px;
    }

.delivery-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.delivery-option {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--line);
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

    .delivery-option.selected {
        border-color: var(--brand);
        background: rgba(var(--brand-rgb), .06);
    }

    .delivery-option input {
        margin-top: 4px;
        accent-color: var(--brand);
    }

    .delivery-option strong {
        display: block;
    }

    .delivery-option span {
        font-size: 13px;
        color: var(--muted);
    }

.order-summary {
    position: sticky;
    top: 96px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

    .order-summary h2 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 16px;
    }

.summary-line {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

    .summary-line .thumb {
        position: relative;
        width: 56px;
        height: 56px;
        border-radius: var(--radius-sm);
        background: var(--surface-2);
        flex-shrink: 0;
        overflow: hidden;
        display: grid;
        place-items: center;
        font-size: 10px;
        font-weight: 700;
        color: var(--muted);
    }

        .summary-line .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .summary-line .thumb .qty {
            position: absolute;
            top: 2px;
            right: 2px;
            min-width: 20px;
            height: 20px;
            border-radius: 999px;
            background: var(--ink);
            color: var(--bg);
            font-size: 11px;
            display: grid;
            place-items: center;
            padding: 0 4px;
        }

.totals {
    margin-top: 14px;
}

    .totals div {
        display: flex;
        justify-content: space-between;
        padding: 4px 0;
        color: var(--muted);
    }

    .totals .grand {
        color: var(--ink);
        font-size: 22px;
        font-weight: 800;
        border-top: 1px solid var(--line);
        margin-top: 8px;
        padding-top: 12px;
    }

.free-shipping-meter {
    margin: 12px 0 4px;
    font-size: 13px;
    color: var(--muted);
}

    .free-shipping-meter .bar {
        height: 8px;
        border-radius: 999px;
        background: var(--surface-2);
        overflow: hidden;
        margin-top: 6px;
    }

        .free-shipping-meter .bar span {
            display: block;
            height: 100%;
            background: var(--grad);
            border-radius: 999px;
            transition: width .6s cubic-bezier(.2, .7, .2, 1);
        }

/* ---------- Suivi d'une commande ---------- */

.order-hero {
    text-align: center;
    padding: 48px 24px 28px;
}

.order-check {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
    animation: shop-bump .7s cubic-bezier(.3, 1.6, .5, 1) both;
}

    .order-check .icon {
        width: 44px;
        height: 44px;
        stroke-width: 2.6;
        stroke-dasharray: 30;
        stroke-dashoffset: 30;
        animation: shop-draw .6s .35s ease forwards;
    }

@keyframes shop-draw {
    to { stroke-dashoffset: 0; }
}

.order-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 760px;
    margin: 28px auto;
}

    .order-steps::before {
        content: "";
        position: absolute;
        left: 6%;
        right: 6%;
        top: 17px;
        height: 4px;
        border-radius: 4px;
        background: var(--line);
    }

    .order-steps .progress-line {
        position: absolute;
        left: 6%;
        top: 17px;
        height: 4px;
        border-radius: 4px;
        background: var(--grad);
        transition: width .8s ease;
    }

.order-step {
    position: relative;
    flex: 1;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
}

    .order-step .bubble {
        width: 38px;
        height: 38px;
        margin: 0 auto 8px;
        border-radius: 50%;
        background: var(--surface);
        border: 3px solid var(--line);
        display: grid;
        place-items: center;
        position: relative;
        z-index: 1;
    }

    .order-step.done {
        color: var(--ink);
        font-weight: 600;
    }

        .order-step.done .bubble {
            background: var(--grad);
            border-color: transparent;
            color: #fff;
        }

    .order-step.current .bubble {
        box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .18);
    }

.order-box {
    max-width: 860px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.order-list .order-item {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    margin-bottom: 12px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

    .order-list .order-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(var(--brand-rgb), .1);
    color: var(--brand);
}

    .status-pill.is-done { background: rgba(34, 197, 94, .12); color: #15803d; }
    .status-pill.is-cancelled { background: rgba(239, 68, 68, .12); color: #b91c1c; }

/* ---------- Pied de page ---------- */

.shop-footer {
    margin-top: 40px;
    background: #0d0b16;
    color: #c9c5d9;
    position: relative;
}

    .shop-footer::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        background: var(--grad);
    }

.shop-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 32px;
}

    .shop-footer-inner a {
        display: block;
        color: #c9c5d9;
        text-decoration: none;
        padding: 3px 0;
        font-size: 14px;
    }

        .shop-footer-inner a:hover {
            color: #fff;
        }

.shop-footer .shop-brand-name {
    color: #fff;
    font-size: 24px;
}

.shop-footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.shop-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

    .shop-social a {
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid #2c2840;
        font-size: 13px;
    }

.shop-address {
    white-space: pre-line;
    font-size: 14px;
}

.shop-footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px 28px;
    border-top: 1px solid #221f31;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    color: #8e89a3;
}

/* ---------- Petits écrans ---------- */

@media (max-width: 1080px) {
    .shop-burger {
        display: inline-flex;
    }

    .shop-nav {
        display: none;
        position: absolute;
        left: 12px;
        right: 12px;
        top: calc(100% + 6px);
        flex-direction: column;
        align-items: stretch;
        padding: 8px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        flex-wrap: nowrap;
        height: auto;
    }

        .shop-nav.open {
            display: flex;
            animation: shop-pop .18s ease both;
        }

    .shop-header-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .shop-search {
        order: 10;
        flex-basis: 100%;
        max-width: none;
    }

    .shop .cart-label,
    .shop .cart-total,
    .shop-login span,
    .shop-account summary span {
        display: none;
    }

    .checkout {
        grid-template-columns: 1fr;
    }

    .hero-split {
        grid-template-columns: 1fr;
    }

    .shop-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .shop-header-inner,
    .shop-main {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding: 48px 24px;
        min-height: 440px;
    }

    .shop-footer-inner {
        grid-template-columns: 1fr;
    }

    .shop .language-selector {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop *,
    .shop *::before,
    .shop *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Encadrés d'information lisibles en thème sombre. */
.shop.theme-dark .alert-info {
    background: rgba(var(--brand-rgb), .16);
    border-color: rgba(var(--brand-rgb), .35);
    color: var(--ink);
}
