    :root {
        --bg: #0f1724;
        --card: #0b1220;
        --muted: #94a3b8;
        --accent: #7c3aed;
        --glass: rgba(255, 255, 255, 0.04);
        --radius: 16px;
        --shadow: 0 6px 24px rgba(2, 6, 23, 0.6);
        font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial
    }

    * {
        box-sizing: border-box
    }

    html,
    body,
    #app {
        height: 100%
    }

    body {
        margin: 0;
        background: linear-gradient(180deg, #071028 0%, #07192a 100%);
        color: #e6eef8;
        -webkit-font-smoothing: antialiased
    }

    /* Loader */
    .welcome {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        background: linear-gradient(180deg, #071028 0%, #07192a 100%);
        flex-direction: column;
        gap: 18px
    }

    .logo-circle {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), #4f46e5);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 20px;
        box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25)
    }

    .loader-dots {
        display: flex;
        gap: 8px
    }

    .loader-dots span {
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
        opacity: .15;
        animation: blink 1s infinite
    }

    .loader-dots span:nth-child(2) {
        animation-delay: .15s
    }

    .loader-dots span:nth-child(3) {
        animation-delay: .30s
    }

    @keyframes blink {
        0% {
            opacity: .15;
            transform: translateY(0)
        }

        50% {
            opacity: 1;
            transform: translateY(-6px)
        }

        100% {
            opacity: .15;
            transform: translateY(0)
        }
    }

    header.app-header {
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 50;
        top: 30px;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .brand .mini {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--accent), #4f46e5);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700
    }

    .brand h1 {
        margin: 0;
        font-size: 18px
    }

    main.hero {
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        padding: 24px 18px
    }

    .product-carousel {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        padding: 18px 8px;
        scroll-snap-type: x mandatory
    }

    .product-carousel::-webkit-scrollbar {
        height: 10px
    }

    .product-carousel::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 999px
    }

    .card {
        min-width: 320px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), var(--glass));
        border-radius: 8px;
        padding: 18px;
        box-shadow: var(--shadow);
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        gap: 14px
    }

    .card .media {
        position: relative;
        height: 180px;
        overflow: hidden;
    }

    .card .media::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--bg);
        background-size: cover;
        background-position: center;
        filter: blur(20px);
        transform: scale(1.1);
        opacity: 0.6;
        z-index: 1;
    }

    .card .media img {
        position: relative;
        z-index: 2;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        margin: auto;
    }


    .card h3 {
        margin: 0;
        font-size: 18px
    }

    .card .price {
        font-weight: 700
    }

    .card .ctas {
        display: flex;
        gap: 10px
    }

    .btn {
        padding: 10px 14px;
        border-radius: 12px;
        border: 0;
        background: transparent;
        color: inherit;
        cursor: pointer;
        font-weight: 600
    }

    .btn.primary {
        background: linear-gradient(90deg, var(--accent), #6366f1);
        box-shadow: 0 6px 22px rgba(99, 102, 241, 0.16)
    }

    .btn.ghost {
        background: rgba(255, 255, 255, 0.03);
    }

    .fixed-search {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        background: rgba(10, 14, 20, 0.6);
        backdrop-filter: blur(8px);
        border-radius: 999px;
        box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
        z-index: 80
    }

    #announcementBar {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 5px 9px;
        background: rgba(10, 14, 20, 0.6);
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);

    }

    .fixed-search input {
        border: 0;
        background: transparent;
        color: inherit;
        outline: none;
        min-width: 320px;
        font-size: 16px
    }

    .fixed-search .circle-btn {
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #0b1220, rgba(255, 255, 255, 0.03));
        cursor: pointer
    }

    .drawer {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 360px;
        background: linear-gradient(180deg, #071028, #07192a);
        transform: translateX(-110%);
        transition: transform .28s cubic-bezier(.2, .9, .3, 1);
        z-index: 90;
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .drawer.open {
        transform: translateX(0)
    }

    .drawer .head {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .drawer .head .left {
        display: flex;
        gap: 12px;
        align-items: center
    }

    .nav {
        margin-top: 24px;
        display: flex;
        flex-direction: column;
        gap: 12px
    }

    .nav a {
        color: var(--muted);
        text-decoration: none;
        padding: 10px;
        border-radius: 12px
    }

    .nav a:hover {
        background: rgba(255, 255, 255, 0.02);
        color: #fff
    }

    .socials {
        display: flex;
        gap: 12px;
        align-items: center
    }

    /* Backdrop */
    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.55);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        transition: .25s ease;
        z-index: 9999;
    }

    .modal-backdrop.show {
        opacity: 1;
        visibility: visible;
    }

    /* Box */
    .modal {
        background: var(--card);
        width: 100%;
        max-width: 480px;
        border-radius: 14px;
        padding: 20px;
        position: relative;
        max-height: 90vh;
        display: flex;
        flex-direction: column;
    }

    /* Close button */
    .modal-close {
        position: absolute;
        right: 12px;
        top: 10px;
        font-size: 26px;
        background: none;
        border: none;
        cursor: pointer;
        color: var(--muted);
        transition: .2s;
    }

    .modal-close:hover {
        color: var(--primary);
    }

    /* Title */
    .modal-title {
        margin-top: 10px;
        margin-bottom: 12px;
    }

    /* Description (scrollable) */
    .modal-desc {
        overflow-y: auto;
        flex: 1;
        padding-right: 6px;
    }

    .modal-desc::-webkit-scrollbar {
        width: 6px;
    }

    .modal-desc::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.25);
        border-radius: 20px;
    }

    /* Footer */
    .modal-footer {
        display: flex;
        justify-content: flex-end;
        margin-top: 12px;
        gap: 10px;
    }

    div::-webkit-scrollbar {
        display: none;
    }


    /* Admin modal */
    .admin-modal {
        width: 95%;
        max-width: 900px;
        background: linear-gradient(180deg, #071226, #041428);
        border-radius: 14px;
        padding: 18px;
        color: #e6eef8
    }

    .form-row {
        display: flex;
        gap: 8px
    }

    .form-row input,
    .form-row textarea {
        flex: 1;
        padding: 10px;
        border-radius: 10px;
        border: 0;
        background: rgba(255, 255, 255, 0.03);
        color: inherit
    }

    .userbox {
        position: relative
    }

    .dropdown {
        position: absolute;
        right: 0;
        top: 60px;
        background: #071025;
        padding: 12px;
        border-radius: 12px;
        min-width: 220px;
        box-shadow: var(--shadow);
        display: none
    }

    .dropdown.show {
        display: block
    }

    .auth-form {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px
    }

    .auth-form input {
        padding: 10px;
        border-radius: 10px;
        border: 0;
        background: rgba(255, 255, 255, 0.03);
        color: inherit
    }

    @media(min-width:900px) {
        .product-carousel {
            padding: 28px 48px
        }

        .card {
            min-width: 380px
        }
    }

    @media(max-width:480px) {
        .fixed-search input {
            min-width: 160px
        }

        .drawer {
            width: 100%
        }
    }

    /* ---- CARD PREMIUM ---- */
    .card {
        background: rgb(14, 20, 36);
        background: linear-gradient(145deg, rgba(18, 25, 42, 0.7), rgba(10, 14, 25, 0.7));
        border-radius: 10px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 14px;

        border: 1px solid rgba(255, 255, 255, 0.05);

        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.35),
            inset 0 0 0 1px rgba(255, 255, 255, 0.04);

        backdrop-filter: blur(12px);
        transition: all .25s ease;
    }

    .card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow:
            0 12px 32px rgba(0, 0, 0, 0.45),
            inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.12);
    }


    /* ---- MEDIA ---- */
    .card .media {
        position: relative;
        height: 190px;
        border-radius: 8px;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.02);

        display: flex;
        align-items: center;
        justify-content: center;

        transition: transform .25s ease;
    }

    .card .media img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        transition: transform .35s ease;
    }

    .card:hover .media img {
        transform: scale(1.05);
    }


    /* ---- TITRE ---- */
    .card h3 {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        margin: 0;
    }

    /* ---- TEXTE ---- */
    .card .description {
        color: rgba(255, 255, 255, 0.6);
        font-size: 13px;
        line-height: 1.45;
    }

    /* ---- ICONES (Livraison rapide / Paiement sécurisé) ---- */
    .product-icons {
        display: flex;
        gap: 12px;
        margin-top: 8px;
    }

    .product-icons div {
        display: flex;
        gap: 6px;
        align-items: center;
        padding: 4px 8px;
        font-size: 12px;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.03);
        color: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .product-icons i {
        color: #7c3aed;
        /* violet premium */
        font-size: 14px;
    }


    /* ---- PRIX ---- */
    .card .price {
        font-size: 18px;
        font-weight: 800;
        background: linear-gradient(90deg, #7c3aed, #a78bfa);
        -webkit-background-clip: text;
        color: transparent;
    }


    /* ---- BOUTONS ---- */
    .card .btn {
        padding: 8px 14px;
        font-size: 14px;
        border-radius: 10px;
        cursor: pointer;
        transition: .25s ease;
    }

    .card .btn.primary {
        background: linear-gradient(90deg, #7c3aed, #a78bfa);
        color: #fff;
        border: none;
        font-weight: 600;
    }

    .card .btn.primary:hover {
        filter: brightness(1.12);
    }

    .card .btn.ghost {
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    .card .btn.ghost:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* OVERLAY */
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(10px);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 99999;
    }

    /* MODAL */
    .modal-content {
        width: 92%;
        max-width: 430px;
        background: rgba(1, 10, 34, 0.945);
        padding: 28px;
        border-radius: 22px;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.918);
        animation: fadeUp .35s ease;
        font-family: 'Inter', sans-serif;
    }

    /* ANIMATION */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(40px) scale(.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .modal-title {
        font-size: 1.7rem;
        font-weight: 700;
        margin-bottom: 20px;
        text-align: center;
    }

    .modal-label {
        font-weight: 600;
        margin-top: 10px;
        display: block;
        font-size: .95rem;
    }

    .modal-input,
    .modal-textarea {
        width: 100%;
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 1rem;
        margin-top: 6px;
        transition: .2s;
        background: #0e0d0d9f;
        color: white !important;
    }

    .modal-input:focus,
    .modal-textarea:focus {
        border-color: #1a73e8;
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.25);
    }

    .modal-textarea {
        height: 110px;
        resize: none;
    }

    /* FILE BOX */
    .file-box {
        margin-top: 10px;
        padding: 12px;
        background: white;
        border-radius: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    #modalFile {
        display: none;
    }

    .file-icon {
        cursor: pointer;
        font-size: 1.4rem;
    }

    #fileName {
        font-size: .9rem;
        color: #666;
    }

    /* BUTTONS */
    .modal-btn {
        width: 100%;
        background: #1a73e8;
        color: white;
        padding: 13px;
        border: none;
        border-radius: 14px;
        font-size: 1.1rem;
        margin-top: 18px;
        cursor: pointer;
        transition: .2s;
    }

    .modal-btn:hover {
        background: #125ecc;
    }

    .modal-close {
        margin-top: 8px;
        display: block;
        width: 100%;
        text-align: center;
        background: transparent;
        border: none;
        color: #333;
        font-size: .95rem;
        cursor: pointer;
    }

    .announcement-wrapper {
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        position: relative;
        padding: 12px 0;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.08));
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
        font-size: 16px;
        color: #fff;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .announcement-content {
        display: inline-block;
        padding-left: 100%;
        animation: scrollText 38s linear infinite;
        font-size: 17px;
    }

    @keyframes scrollText {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-100%);
        }
    }


    /* ----------------------------
   WELCOME SCREEN PREMIUM
   Isolation totale via #divWelcome
-----------------------------*/
    /* --- WELCOME SCREEN FULLPAGE --- */
    #divWelcome {
        position: fixed;
        inset: 0;
        height: 100vh;
        width: 100vw;
        z-index: 9999;

        /* 🖼️ IMAGE BACKGROUND PREMIUM (à remplacer par ton URL) */
        background: linear-gradient(180deg, rgba(7, 16, 40, 0.8), rgba(7, 25, 42, 0.85)),
            url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=1200') center/cover no-repeat;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;

        animation: fadeInWelcome .7s ease forwards;
    }

    /* --- TEXT BLOCK --- */
    #divWelcome .welcome-text {
        font-size: 1.7rem;
        font-weight: 700;
        color: #ffffff;
        max-width: 680px;
        line-height: 1.4;
        opacity: 0;
        animation: fadeUp .9s ease .3s forwards;
        padding: 0 18px;
    }

    /* --- PREMIUM BUTTON --- */
    #divWelcome .welcome-btn {
        margin-top: 28px;
        padding: 14px 28px;
        font-size: 1.15rem;
        font-weight: 600;

        display: flex;
        align-items: center;
        gap: 10px;

        color: #fff;
        background: linear-gradient(90deg, #7c3aed, #a78bfa);
        border: none;
        border-radius: 14px;

        cursor: pointer;
        transition: transform .25s ease, filter .25s ease, box-shadow .3s;

        opacity: 0;
        animation: fadeUp .9s ease .55s forwards;
    }

    #divWelcome .welcome-btn i {
        font-size: 1.25rem;
    }

    /* Hover premium */
    #divWelcome .welcome-btn:hover {
        transform: translateY(-4px);
        filter: brightness(1.17);
        box-shadow: 0 10px 32px rgba(124, 58, 237, 0.35);
    }

    /* --- ANIMATIONS --- */
    @keyframes fadeInWelcome {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(35px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }


    /* Fade-in background */
    @keyframes fadeInWelcome {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    /* BOX CENTRÉE */
    #divWelcome .welcome-box {
        text-align: center;
        max-width: 520px;
        background: transparent;
        padding: 38px 32px;




        animation: slideUp .7s cubic-bezier(.2, .8, .3, 1) forwards;
    }

    /* slide up */
    @keyframes slideUp {
        from {
            transform: translateY(40px) scale(.95);
            opacity: 0;
        }

        to {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
    }

    /* TITRE */
    #divWelcome h2 {
        font-size: 1.9rem;
        font-weight: 800;
        margin: 0 0 12px 0;
        color: #fff;
    }

    #divWelcome h2 span {
        background: linear-gradient(90deg, #7c3aed, #a78bfa);
        -webkit-background-clip: text;
        color: transparent;
    }

    /* MESSAGE */
    #divWelcome p {
        color: rgba(255, 255, 255, 0.75);
        font-size: 1.1rem;
        margin-bottom: 28px;
        line-height: 1.55;
    }

    /* BOUTON PREMIUM */
    #divWelcome .welcome-btn {
        padding: 14px 22px;
        border-radius: 14px;
        font-size: 1.05rem;
        background: linear-gradient(90deg, #7c3aed, #6d28d9);
        border: none;
        cursor: pointer;
        color: white;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 10px;

        box-shadow: 0 10px 28px rgba(124, 58, 237, .35);
        transition: .25s ease;
    }

    /* Icône */
    #divWelcome .icon-arrow {
        display: inline-block;
        font-size: 1.3rem;
        transition: transform .25s ease;
    }

    /* Hover effect */
    #divWelcome .welcome-btn:hover {
        filter: brightness(1.15);
        transform: translateY(-3px);
    }

    #divWelcome .welcome-btn:hover .icon-arrow {
        transform: translateX(6px);
    }




    #simpleModal {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    #simpleModal.show {
        display: flex;
    }

    #simpleModal .modal-box {
        background: #111;
        padding: 20px;
        border-radius: 12px;
        width: 100%;
        max-width: 400px;
    }

    #simpleModal .modal-box textarea,
    #simpleModal .modal-box input {
        width: 100%;
        margin-top: 10px;
    }

    #simpleModal .close {
        background: none;
        border: none;
        color: #fff;
        font-size: 20px;
        float: right;
        cursor: pointer;
    }