:root {
    --primary: #a9cbd7;
    --secondary: #D4C4EC;
    --bg: #050814;
    --panel: #0f172a;
    --panel-soft: #131c3b;
    --text: #e5e7eb;
    --muted: #9ca3af;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, sans-serif;
}

body {
    background: radial-gradient(circle at top, #1b2450, #050814);
    color: var(--text);
    min-height: 100vh;
}

/* ================= HEADER ================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    letter-spacing: 4px;
    font-size: 1.2rem;
}

.site-header nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text);
}

.btn-header {
    background: var(--secondary);
    padding: 8px 18px;
    border-radius: 20px;
    color: #000 !important;
}

/* ================= HERO ================= */
.hero {
    text-align: center;
    padding: 120px 20px 80px;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    margin-top: 12px;
    color: var(--muted);
}

/* ================= SLIDER ================= */
.home-slider {
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.slider {
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 25px;
    animation: slide 30s linear infinite;
}

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.slider-item {
    min-width: 220px;
    background: #fff;
    color: #000;
    border-radius: 18px;
    padding: 14px;
    text-align: center;
}

.slider-item img {
    width: 100%;
    border-radius: 12px;
}

/* ================= POPULAIRES ================= */
.home-popular {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}

.popular-item {
    background: #ffffff;
    color: #000;
    border-radius: 24px;
    padding: 22px;
    text-align: center;
}

.popular-item img {
    width: 100%;
    border-radius: 14px;
}

.price {
    font-weight: bold;
    margin: 10px 0;
}

.btn-small {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: var(--secondary);
    border-radius: 20px;
    color: #000;
    text-decoration: none;
}

/* ================= STEPS ================= */
.home-steps {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 30px;
}

.home-steps .step-item {
    background: var(--panel);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
}

/* 🔥 ICONES — TAILLE EMOJI + */
.home-steps .step-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,.35));
}

/* ================= QUOTE ================= */
.home-quote {
    margin: 100px auto;
    text-align: center;
    font-size: 1.4rem;
    max-width: 800px;
    color: var(--muted);
}

/* ================= LOGIN / REGISTER ================= */
.auth-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: var(--panel-soft);
    padding: 40px;
    border-radius: 30px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
}

.auth-box h2 {
    text-align: center;
    margin-bottom: 25px;
}

.auth-box input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 15px;
    border-radius: 14px;
    border: none;
    background: #0b122a;
    color: var(--text);
}

.auth-box button {
    width: 100%;
    padding: 12px;
    border-radius: 20px;
    border: none;
    background: var(--secondary);
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.auth-box p {
    margin-top: 15px;
    text-align: center;
    font-size: .9rem;
}

.auth-box a {
    color: var(--secondary);
    text-decoration: none;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}

/* ===== ESPACE CLIENT ===== */
.account-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #e0f2fe, #ede9fe);
    display: flex;
}

.account-sidebar {
    width: 240px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    box-shadow: 5px 0 30px rgba(0,0,0,0.05);
}

.account-sidebar h2 {
    font-size: 1.4rem;
    color: #7c3aed;
    margin-bottom: 30px;
}

.account-sidebar a {
    display: block;
    margin-bottom: 15px;
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.account-sidebar a:hover,
.account-sidebar a.active {
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    color: white;
}

.account-content {
    flex: 1;
    padding: 60px;
}

.account-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1e293b;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.account-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.account-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #7c3aed;
}

.account-card span {
    font-size: 2rem;
    font-weight: bold;
    color: #0f172a;
}

.account-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.account-table th,
.account-table td {
    padding: 18px;
    text-align: left;
}

.account-table th {
    background: #f1f5f9;
    color: #334155;
}

.account-table tr:not(:last-child) td {
    border-bottom: 1px solid #e5e7eb;
}

.status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.status.pending { background: #fde68a; color: #92400e; }
.status.shipped { background: #bfdbfe; color: #1e40af; }
.status.delivered { background: #bbf7d0; color: #166534; }
