/* assets/css/configurateur.css */
:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
}

body {
    margin: 0; padding: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
}

.config-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.steps-sidebar {
    width: 280px;
    background: #020617;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1e293b;
    position: fixed;
    height: 100vh;
}

.brand { font-weight: 800; font-size: 20px; margin-bottom: 40px; display: flex; align-items: center; gap: 10px; }
.logo-dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }

.menu-item {
    display: flex; align-items: center; gap: 15px;
    padding: 15px; margin-bottom: 8px;
    border-radius: 10px; cursor: pointer;
    color: var(--text-muted); transition: 0.3s;
}
.menu-item:hover { background: #1e293b; color: white; }
.menu-item.active { background: var(--accent); color: white; }
.menu-item.done .status-check { display: block; }
.status-check { display: none; margin-left: auto; color: var(--success); font-weight: bold; }

/* Main Area */
.selection-area {
    margin-left: 280px;
    flex: 1;
    padding: 40px;
}

.selection-header { margin-bottom: 40px; }
.selection-header h1 { font-size: 32px; margin: 0; }
.selection-header p { color: var(--text-muted); margin: 10px 0 0; }

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); border-color: #334155; }
.product-card.selected { border-color: var(--accent); background: #1e293b; box-shadow: 0 0 20px rgba(59, 130, 246, 0.2); }

.img-wrapper {
    height: 200px; padding: 20px; background: white;
    display: flex; align-items: center; justify-content: center;
}
.img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; }

.card-content { padding: 20px; flex: 1; }
.card-content h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.card-content p { font-size: 13px; color: var(--text-muted); margin: 10px 0; }

.price-tag { font-size: 22px; font-weight: 800; color: var(--text-main); margin-top: 15px; }

.select-indicator {
    padding: 12px; text-align: center; font-size: 12px; font-weight: 800;
    background: #334155; color: white; transition: 0.3s;
}
.product-card.selected .select-indicator { background: var(--success); }

/* Cart Summary */
.cart-summary { margin-top: auto; padding-top: 20px; border-top: 1px solid #1e293b; }
.total-label { color: var(--text-muted); font-size: 14px; }
.total-amount { font-size: 28px; font-weight: 800; margin: 5px 0 20px; }
.btn-checkout {
    width: 100%; background: var(--accent); color: white; border: none;
    padding: 15px; border-radius: 10px; font-weight: 800; cursor: pointer; transition: 0.3s;
}
.btn-checkout:hover { background: var(--accent-hover); box-shadow: 0 0 15px var(--accent); }

.empty-msg { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-muted); border: 2px dashed #1e293b; border-radius: 20px; }