/* ==========================================================================
   FABRIKA ENTERPRISE JOINERY - UNIFIED DESIGN SYSTEM
   High-end dark architectural theme with premium typography & custom print styles.
   ========================================================================== */

/* 1. Imports & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* 2. Global Custom Properties (Design Tokens) */
:root {
    /* Color Palette */
    --color-bg: #121316;
    --color-surface: #1A1C20;
    --color-surface-hover: #22252A;
    --color-surface-glow: rgba(0, 80, 255, 0.04);
    
    --color-gold: #0050FF;              /* French Royal Blue replacing Gold */
    --color-gold-hover: #E02A3C;        /* French Red for hover indicators */
    --color-gold-dark: #003B86;         /* Deep Royal Blue for gradients */
    --color-gold-glass: rgba(0, 80, 255, 0.12);
    
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #A0A5B5;
    --color-text-muted: #646875;
    
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-gold: rgba(0, 80, 255, 0.22);
    
    /* Semantic Colors */
    --color-success: #10B981;
    --color-success-bg: rgba(16, 185, 129, 0.12);
    --color-warning: #F59E0B;
    --color-warning-bg: rgba(245, 158, 11, 0.12);
    --color-danger: #EF4444;
    --color-danger-bg: rgba(239, 68, 68, 0.12);
    --color-info: #3B82F6;
    --color-info-bg: rgba(59, 130, 246, 0.12);
    
    /* Layout & Effects */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --glass-bg: rgba(26, 28, 32, 0.75);
    --glass-blur: blur(16px);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-glow: 0 0 25px rgba(0, 80, 255, 0.05);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

/* 3. Base & Typography Rules */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Premium Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-surface-hover);
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-dark);
}

/* 4. Common & Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.glass-panel.gold-glow {
    border-color: var(--color-border-gold);
    box-shadow: var(--glass-shadow), var(--glass-glow);
}

.gold-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Luxury Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 80, 255, 0.25);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-hover), var(--color-gold));
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 42, 60, 0.35);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
    background: var(--color-danger);
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-control {
    width: 100%;
    background: rgba(18, 19, 22, 0.6);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition-fast);
}
.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Custom Interactive Sliders */
.range-slider-container {
    margin-bottom: 20px;
}
.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.range-value {
    font-family: 'Outfit', sans-serif;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 15px;
}
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    outline: none;
    transition: var(--transition-fast);
}
.range-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: var(--color-surface-hover);
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
}
.range-slider::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -8px;
    border: 2px solid var(--color-bg);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    transition: var(--transition-fast);
}
.range-slider::-webkit-slider-thumb:hover {
    background: var(--color-gold-hover);
    transform: scale(1.1);
}

/* 5. Main Public Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}
.navbar.scrolled {
    background: rgba(18, 19, 22, 0.85);
    backdrop-filter: var(--glass-blur);
    height: 70px;
}
.navbar .container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.navbar .container > div, .navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2000;
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-right: 40px;
}
.brand-logo {
    width: 34px;
    height: 34px;
    border: 2px solid transparent;
    background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
                linear-gradient(90deg, #00209F 0%, #FFFFFF 50%, #EF4135 100%) border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    border-radius: 6px;
}
:root.light-mode .brand-logo {
    background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
                linear-gradient(90deg, #00209F 0%, #8E94A6 50%, #EF4135 100%) border-box;
}
.brand-logo span {
    background: linear-gradient(90deg, #00209F 0%, #A0A5B5 50%, #EF4135 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    font-size: 19px;
    font-family: 'Outfit', sans-serif;
}
.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--color-text-primary);
    text-transform: uppercase;
}
.brand-name span {
    background: linear-gradient(90deg, #00209F 0%, #FFFFFF 50%, #EF4135 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root.light-mode .brand-name span {
    background: linear-gradient(90deg, #00209F 0%, #8E94A6 50%, #EF4135 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
    margin-left: auto;
    margin-right: 20px;
}
.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

/* 6. Landing Page Styles */
.hero {
    min-height: 85vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}
.hero-tag {
    display: inline-block;
    color: var(--color-gold);
    background: var(--color-gold-glass);
    border: 1px solid var(--color-border-gold);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}
.hero-desc {
    color: var(--color-text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 15px;
}
.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1A1C20, #121316);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-badge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
}
.badge-card {
    text-align: left;
}
.badge-card h4 {
    color: var(--color-gold);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}
.badge-card p {
    color: var(--color-text-secondary);
    font-size: 13px;
}

/* Materials Cards Section */
.section {
    padding: 100px 0;
    position: relative;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-subtitle {
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}
.section-title {
    font-size: 38px;
    margin-bottom: 15px;
}
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.material-card {
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.material-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-gold);
    box-shadow: var(--glass-shadow), var(--glass-glow);
}
.material-icon {
    font-size: 36px;
    margin-bottom: 25px;
    display: block;
}
.material-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--color-text-primary);
}
.material-card p {
    color: var(--color-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}
.material-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    font-weight: 600;
    margin-top: 10px;
}

/* 7. Public Window Configurator Section */
.configurator-area {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: stretch;
}

/* Configurator Left Canvas Container */
.configurator-canvas-wrapper {
    position: sticky;
    top: 100px;
    height: calc(100vh - 160px);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    padding: 30px;
}
.canvas-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.canvas-title span {
    color: var(--color-gold);
    font-size: 14px;
    font-family: monospace;
}
.visualizer-pane {
    flex: 1;
    background: #16181C;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Visualizer dynamic SVG container */
#window-svg-container {
    width: 80%;
    height: 80%;
    max-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
#window-svg-container svg {
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.6));
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

/* Glazing effect and reflections */
.glass-reflection {
    animation: glassGlint 8s infinite ease-in-out;
    transform-origin: center;
}
@keyframes glassGlint {
    0%, 100% { opacity: 0.15; transform: scale(1) translate(-5px, -5px); }
    50% { opacity: 0.35; transform: scale(1.02) translate(5px, 5px); }
}

/* Configurator Right Steps Panel */
.configurator-steps-panel {
    padding: 40px;
}
.step-container {
    margin-bottom: 35px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 25px;
}
.step-container:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.step-title {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-title::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: var(--radius-full);
}

/* Option Grids (Radio Buttons) */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.options-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.option-card {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.option-card-content {
    background: rgba(18, 19, 22, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: var(--transition-fast);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 84px;
    width: 100%;
}
.option-card-content:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(18, 19, 22, 0.6);
}
.option-card input[type="radio"]:checked + .option-card-content {
    border-color: var(--color-gold);
    background: var(--color-gold-glass);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.option-card-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}
.option-card-content p {
    font-size: 11px;
    color: var(--color-text-secondary);
}

/* Colors Option specific styling */
.color-swatch-box {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}
.color-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Dynamic Summary and Quote CTA */
.quote-summary-panel {
    background: rgba(18, 19, 22, 0.5);
    border: 1px solid var(--color-border-gold);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 30px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--color-text-secondary);
}
.summary-row.total {
    border-top: 1px solid var(--color-border);
    padding-top: 15px;
    margin-top: 5px;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-primary);
}
.summary-row.total span {
    color: var(--color-gold);
}

/* Modal Windows styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 19, 22, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-box {
    width: 100%;
    max-width: 550px;
    padding: 40px;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}
.modal-overlay.active .modal-box {
    transform: translateY(0);
}
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.modal-close-btn:hover {
    color: var(--color-gold);
}

/* Success Voucher Modal specific */
.success-checkmark {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    border: 3px solid var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-success);
    margin: 0 auto 20px;
}

/* public configurator tabs and premium additions */
.visualizer-tabs-container {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}
.visualizer-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    padding: 8px 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}
.visualizer-tab-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
}
.visualizer-tab-btn.active {
    background: var(--color-gold-glass);
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}
.visualizer-tab-content {
    display: none;
    width: 100%;
    height: 100%;
}
.visualizer-tab-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Technical Details Coupe View */
.profile-details-pane {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 15px;
    padding: 12px;
    background: rgba(18, 19, 22, 0.3);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    width: 100%;
    align-items: center;
    margin-top: 5px;
}
.profile-cut-img-wrapper {
    background: #0f1013;
    padding: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    height: 180px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.profile-cut-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.profile-cut-img-wrapper:hover img {
    transform: scale(1.1);
}
.profile-specs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile-specs-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 5px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.specs-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.specs-table tr:last-child {
    border-bottom: none;
}
.specs-table td {
    padding: 8px 4px;
    color: var(--color-text-secondary);
}
.specs-table td:last-child {
    text-align: right;
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Color Categories Tabs */
.color-tabs-nav {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    background: rgba(18, 19, 22, 0.5);
    padding: 4px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
}
.color-tabs-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.color-tabs-btn:hover {
    color: var(--color-text-primary);
}
.color-tabs-btn.active {
    background: var(--color-gold);
    color: #121316;
}
.color-tab-pane {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.color-tab-pane.active {
    display: grid;
}

/* Admin Dashboard Section Header Placement */


/* ==========================================================================
   8. ADMIN DASHBOARD SPECIFIC STYLES
   ========================================================================== */
.admin-shell {
    display: flex;
    min-height: 100vh;
}

/* Admin Sidebar Menu */
.admin-sidebar {
    width: 280px;
    background: #16181C;
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}
.admin-sidebar-header {
    padding: 0 30px 30px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 30px;
}
.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 15px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 20px;
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}
.sidebar-link:hover {
    color: var(--color-text-primary);
    background: rgba(255,255,255,0.03);
}
.sidebar-link.active {
    color: #121316;
    background: var(--color-gold);
    font-weight: 600;
}
.admin-logout-btn {
    margin-top: auto;
    padding: 0 15px;
}

/* Admin Content Body */
.admin-body {
    flex: 1;
    background: var(--color-bg);
    overflow-y: auto;
    padding: 40px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
}
.admin-header-title h1 {
    font-size: 28px;
    color: var(--color-text-primary);
}
.admin-header-title p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    padding: 24px;
}
.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 4px;
}
.stat-val.gold {
    color: var(--color-gold);
}
.stat-footer {
    font-size: 12px;
    color: var(--color-success);
}
.stat-footer.down {
    color: var(--color-danger);
}

/* Multi-Panel Dashboard Layout */
.dashboard-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Custom interactive canvas chart */
.chart-panel {
    padding: 30px;
}
.chart-container {
    width: 100%;
    height: 250px;
    position: relative;
    margin-top: 20px;
}

/* Custom Table Layouts */
.panel-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.table-responsive {
    overflow-x: auto;
    width: 100%;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.custom-table th {
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
}
.custom-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.custom-table tbody tr {
    transition: var(--transition-fast);
}
.custom-table tbody tr:hover {
    background: rgba(255,255,255,0.015);
}

/* Dynamic Status Badges */
.status-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-tag.nouveau {
    background: var(--color-info-bg);
    color: var(--color-info);
    border: 1px solid rgba(59,130,246,0.3);
}
.status-tag.production {
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border: 1px solid rgba(245,158,11,0.3);
}
.status-tag.termine {
    background: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid rgba(16,185,129,0.3);
}

/* Action Dropdown and Select inputs */
.table-select {
    background: #121316;
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    outline: none;
    transition: var(--transition-fast);
}
.table-select:focus {
    border-color: var(--color-gold);
}

/* Pricing Grid Inputs */
.pricing-inputs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.pricing-category-title {
    grid-column: span 2;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    margin-top: 15px;
    margin-bottom: 5px;
}

/* Admin Login Gate */
.login-gate-body {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.05) 0%, var(--color-bg) 70%);
}
.login-box {
    width: 100%;
    max-width: 440px;
    padding: 40px;
    text-align: center;
}
.login-header {
    margin-bottom: 35px;
}
.login-header h2 {
    font-size: 26px;
    margin-bottom: 8px;
}
.login-header p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* ==========================================================================
   9. HIGH-END PRINTABLE FRENCH INVOICE STYLING
   ========================================================================== */
.invoice-wrapper {
    background: #FFFFFF;
    color: #000000;
    min-height: 297mm; /* Standard A4 Height */
    width: 210mm; /* Standard A4 Width */
    margin: 0 auto;
    padding: 25mm 20mm;
    box-shadow: 0 15px 50px rgba(0,0,0,0.8);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border-radius: 4px;
}

/* Header Sections */
.invoice-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.invoice-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #121316;
}
.invoice-brand span {
    color: #EF4135;
}
.invoice-meta {
    text-align: right;
    font-size: 13px;
    line-height: 1.5;
    color: #4A5568;
}
.invoice-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #121316;
}

/* Address Block Grid */
.invoice-addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 50px;
    font-size: 13px;
    line-height: 1.6;
}
.address-column h4 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    color: #718096;
    margin-bottom: 10px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 5px;
}
.address-details {
    color: #2D3748;
}
.address-details strong {
    color: #121316;
}

/* Itemized Cost Tables */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-size: 13px;
}
.invoice-table th {
    background: #F7FAFC;
    color: #4A5568;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #E2E8F0;
}
.invoice-table td {
    padding: 15px;
    border-bottom: 1px solid #E2E8F0;
    color: #2D3748;
}
.invoice-table tr:last-child td {
    border-bottom: 2px solid #E2E8F0;
}

/* Calculations Summary Block */
.invoice-summary-block {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 60px;
}
.invoice-totals {
    width: 300px;
    font-size: 13px;
}
.invoice-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #4A5568;
}
.invoice-total-row.grand-total {
    border-top: 2px solid #121316;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #121316;
}
.invoice-total-row.grand-total span {
    color: #0055A5;
}

/* Legal Footer (Crucial for French invoices) */
.invoice-footer {
    border-top: 1px solid #E2E8F0;
    padding-top: 20px;
    text-align: center;
    font-size: 10px;
    color: #A0AEC0;
    line-height: 1.6;
    position: absolute;
    bottom: 20mm;
    left: 20mm;
    right: 20mm;
}

/* Invoice Action Buttons (Hidden when printing) */
.invoice-action-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* ==========================================================================
   9.5. SUPPLEMENTARY WEB PORTAL STYLES
   ========================================================================== */
.atelier-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-gold);
    box-shadow: var(--glass-shadow), var(--glass-glow);
}
.gallery-item-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}
.gallery-item:hover .gallery-item-img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(18, 19, 22, 0.95) 0%, rgba(18, 19, 22, 0.4) 100%);
    padding: 24px;
    text-align: left;
    transition: var(--transition-smooth);
}
.gallery-overlay h4 {
    color: var(--color-text-primary);
    font-size: 16px;
    margin-bottom: 5px;
}
.gallery-overlay p {
    color: var(--color-text-secondary);
    font-size: 12px;
}
.process-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}
.process-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    transition: var(--transition-smooth);
}
.process-card-step {
    width: 50px;
    height: 50px;
    background: var(--color-gold-glass);
    border: 1px solid var(--color-border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit';
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gold);
    margin: 0 auto 20px;
}
.process-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}
.process-card p {
    font-size: 12px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.contact-section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: stretch;
}

/* ==========================================================================
   10. MEDIA QUERIES & RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 42px !important; }
    .hero-grid, .configurator-area, .dashboard-row {
        grid-template-columns: 1fr;
    }
    .configurator-canvas-wrapper {
        position: static;
        height: auto;
        min-height: 380px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .atelier-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 991px) {
    .navbar .container {
        position: relative;
    }
    .navbar .container > div, .navbar-actions {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        position: static !important;
        gap: 0 !important;
        z-index: 2000;
    }
    .theme-toggle-btn {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        z-index: 2100;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .contact-section-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }
    .mobile-nav-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 2200 !important;
        margin-left: 15px !important;
    }
    .navbar .btn-primary {
        display: none !important; /* Hide wide header button on mobile */
    }
    .mobile-only-menu-item {
        display: block !important;
        width: 100%;
        padding: 0 20px;
        margin-top: 15px;
    }
    .mobile-only-menu-item .btn {
        width: 100%;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(18, 19, 22, 0.98); /* Deep Glass */
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--color-border);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 90px 30px 50px 30px;
        z-index: 1500;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        margin: 0;
        list-style: none;
    }
    :root.light-mode .nav-menu {
        background: rgba(247, 248, 250, 0.98) !important;
        border-left: 1px solid rgba(0, 85, 165, 0.1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    .nav-link {
        font-size: 16px !important;
        letter-spacing: 2px;
        display: block;
        padding: 12px 20px !important;
        width: 100%;
    }
    .btn { padding: 10px 20px; font-size: 13px; }
    
    .process-flow-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .materials-grid { grid-template-columns: 1fr; }
    .hero-badge-grid { grid-template-columns: 1fr; gap: 15px; }
    .stats-grid { grid-template-columns: 1fr; }
    .pricing-inputs-grid { grid-template-columns: 1fr; }
    .pricing-category-title { grid-column: span 1; }
    .material-card { padding: 24px; }
    .process-card { padding: 20px 15px; }
    .gallery-overlay { padding: 16px; }
    .gallery-item { aspect-ratio: auto; min-height: 250px; }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .process-flow-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .configurator-canvas-wrapper {
        min-height: 280px;
        padding: 15px;
    }
    .configurator-steps-panel {
        padding: 20px;
    }
    .options-grid, .options-grid-3 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 32px !important; }
    .hero-desc { font-size: 14px !important; }
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .badge-card h4 { font-size: 18px !important; }
    .navbar .brand { transform: scale(0.9); }
    .navbar { height: 70px; }
    .navbar.scrolled { height: 65px; }
}

/* ==========================================================================
   11. CSS MEDIA RULES FOR PDF AND A4 PRINTING
   ========================================================================== */
@media print {
    /* 1. Reset standard body rules to fit standard paper margins */
    body {
        background: #FFFFFF !important;
        color: #000000 !important;
        font-size: 12pt;
        line-height: 1.4;
    }

    /* 2. Absolute hiding of all interactive/web layout elements */
    .navbar, 
    .admin-sidebar, 
    .invoice-action-bar,
    .btn,
    header,
    footer,
    #admin-nav-trigger {
        display: none !important;
    }

    /* 3. Reset background colors and expand panels to full width */
    .admin-shell, .admin-body {
        padding: 0 !important;
        margin: 0 !important;
        background: #FFFFFF !important;
        display: block !important;
        width: 100% !important;
    }

    /* 4. Formatting properties of the Invoice A4 sheet */
    .invoice-wrapper {
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: auto !important;
        background: #FFFFFF !important;
        color: #000000 !important;
    }

    /* 5. Force standard borders and fonts for printers */
    .invoice-table th {
        background: #F0F4F8 !important;
        color: #000000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    .invoice-table td, .invoice-table th {
        border-bottom: 1px solid #D2D6DC !important;
    }
}

/* ==========================================================================
   NEON ACTIVE NAV LINK & THEME SYSTEM OVERRIDES
   ========================================================================== */

/* Neon Active Link Glow */
.nav-link.active {
    color: #FFFFFF !important;
    background: rgba(0, 80, 255, 0.12) !important;
    border: 1px solid transparent !important;
    background-image: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
                      linear-gradient(90deg, #00209F 0%, #FFFFFF 50%, #EF4135 100%) border-box !important;
    border-radius: var(--radius-sm);
    padding: 6px 12px !important;
    text-shadow: 0 0 8px rgba(0, 80, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 80, 255, 0.25), inset 0 0 8px rgba(0, 80, 255, 0.15);
    font-weight: 700 !important;
    letter-spacing: 1.5px;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 18px;
    outline: none;
    margin-left: 10px;
}
.theme-toggle-btn:hover {
    background: var(--color-gold-glass);
    border-color: var(--color-gold);
    box-shadow: 0 0 12px rgba(0, 80, 255, 0.3);
    transform: scale(1.05);
}

/* LIGHT MODE COMPONENT AND VARIABLE OVERRIDES */
:root.light-mode {
    --color-bg: #F7F8FA;
    --color-surface: #FFFFFF;
    --color-surface-hover: #EBF0F5;
    --color-surface-glow: rgba(0, 85, 165, 0.03);
    
    --color-gold: #0055A5;              /* French Blue in Light Mode */
    --color-gold-hover: #EF4135;        /* French Red in Light Mode */
    --color-gold-dark: #003B86;
    --color-gold-glass: rgba(0, 85, 165, 0.08);
    
    --color-text-primary: #121316;
    --color-text-secondary: #4A4E5A;
    --color-text-muted: #8E94A6;
    
    --color-border: rgba(18, 19, 22, 0.08);
    --color-border-gold: rgba(0, 85, 165, 0.15);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --glass-glow: 0 0 25px rgba(0, 85, 165, 0.03);
}

/* Light mode specific component visual corrections */
:root.light-mode body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
}

:root.light-mode .navbar.scrolled {
    background: rgba(247, 248, 250, 0.85);
    border-bottom: 1px solid var(--color-border);
}

:root.light-mode .nav-link.active {
    color: #0055A5 !important;
    background: rgba(0, 85, 165, 0.05) !important;
    background-image: linear-gradient(var(--glass-bg), var(--glass-bg)) padding-box,
                      linear-gradient(90deg, #00209F 0%, #8E94A6 50%, #EF4135 100%) border-box !important;
    text-shadow: 0 0 8px rgba(0, 85, 165, 0.3);
    box-shadow: 0 0 15px rgba(0, 85, 165, 0.12);
}

:root.light-mode .hero {
    background: radial-gradient(circle at 70% 30%, rgba(0, 85, 165, 0.04) 0%, transparent 60%);
}

:root.light-mode .hero-visual-card {
    background: linear-gradient(135deg, #FFFFFF, #EBF0F5);
    border-color: var(--color-border);
}

:root.light-mode .visualizer-pane {
    background: #EBF0F5;
    border-color: rgba(18, 19, 22, 0.04);
}

:root.light-mode .option-card-content {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--color-border);
}
:root.light-mode .option-card-content:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(18, 19, 22, 0.2);
}
:root.light-mode .option-card input[type="radio"]:checked + .option-card-content {
    background: var(--color-gold-glass);
    border-color: var(--color-gold);
    box-shadow: 0 0 15px rgba(0, 85, 165, 0.1);
}

:root.light-mode .quote-summary-panel {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--color-border-gold);
}

:root.light-mode .form-control {
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--color-border);
    color: var(--color-text-primary);
}
:root.light-mode .form-control:focus {
    background: #FFFFFF;
    border-color: var(--color-gold);
    box-shadow: 0 0 10px rgba(0, 85, 165, 0.1);
}

/* Fix dropdown select background color and arrow */
:root.light-mode select.form-control {
    background: #FFFFFF !important;
    color: #121316 !important;
}

:root.light-mode .gold-gradient-text {
    background: linear-gradient(135deg, #121316 30%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root.light-mode footer {
    background-color: #EBF0F5 !important;
    border-top: 1px solid var(--color-border);
}

:root.light-mode .btn-secondary {
    background: rgba(18, 19, 22, 0.03);
    color: var(--color-text-primary);
    border-color: var(--color-border);
}
:root.light-mode .btn-secondary:hover {
    background: rgba(18, 19, 22, 0.08);
}

:root.light-mode .test-banner {
    background: var(--color-gold);
    color: #FFFFFF;
}
:root.light-mode .test-banner a {
    color: #FFFFFF;
}

:root.light-mode .success-checkmark {
    color: var(--color-success);
}

/* Gallery and realization light-mode correction overrides */
:root.light-mode .gallery-item {
    background-color: #FFFFFF !important;
    border-color: var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.gallery-item-img {
    transition: var(--transition-smooth);
}
:root.light-mode .gallery-overlay {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.7) 100%) !important;
}
:root.light-mode .gallery-overlay h4 {
    color: #121316 !important;
}
:root.light-mode .gallery-overlay p {
    color: #4A4E5A !important;
}

/* Card Backgrounds & Dynamic SVG elements */
.gallery-cannes {
    background-image: url('assets/reklam/cannes.webp');
    background-color: #16181F;
}
.gallery-paris {
    background-image: url('assets/reklam/paris_ville.webp');
    background-color: #1F1B16;
}
.gallery-lyon {
    background-image: url('assets/reklam/lyon_foch.webp');
    background-color: #161F18;
}

/* Dynamic vector illustrations inside cards */
.svg-frame {
    stroke: var(--color-gold) !important;
    transition: var(--transition-smooth);
}
.svg-glass-line {
    stroke: rgba(255, 255, 255, 0.45) !important;
    transition: var(--transition-smooth);
}
:root.light-mode .svg-glass-line {
    stroke: rgba(0, 85, 165, 0.3) !important; /* Soft royal blue reflections in light mode */
}
.svg-scrollwork {
    stroke: var(--color-gold-hover) !important; /* French active red for details */
    transition: var(--transition-smooth);
}

/* Map Container & Vector Map styles */
.map-container {
    height: 150px;
    background: rgba(18, 19, 22, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}
:root.light-mode .map-container {
    background: #FFFFFF !important;
    border-color: var(--color-border) !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}
.map-svg {
    width: 100%;
    height: 100%;
    opacity: 0.75;
    transition: var(--transition-smooth);
}
.map-grid {
    stroke: rgba(255, 255, 255, 0.06);
    transition: var(--transition-smooth);
}
:root.light-mode .map-grid {
    stroke: rgba(18, 19, 22, 0.08);
}
.map-route {
    stroke: rgba(0, 80, 255, 0.18);
    transition: var(--transition-smooth);
}
:root.light-mode .map-route {
    stroke: rgba(0, 85, 165, 0.12);
}
.map-pin-circle {
    fill: var(--color-gold-hover) !important; /* Vibrant Crimson Red pin */
    transition: var(--transition-smooth);
}
.map-pin-line {
    stroke: var(--color-gold-hover) !important; /* Crimson Red needle */
    transition: var(--transition-smooth);
}
.map-label {
    fill: var(--color-gold) !important; /* French Royal Blue label */
    transition: var(--transition-smooth);
}

/* Simulated Exquisite Voucher Box */
.voucher-box {
    background: linear-gradient(135deg, #1C1E22 0%, #121316 100%);
    border: 1px solid var(--color-border-gold);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    font-family: monospace;
    font-size: 13px;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}
:root.light-mode .voucher-box {
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F6FA 100%);
    border-color: var(--color-border-gold);
    color: #121316;
    box-shadow: 0 10px 25px rgba(0, 85, 165, 0.06);
}
.voucher-cut-left, .voucher-cut-right {
    position: absolute;
    top: calc(50% - 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1A1C20;
    transition: var(--transition-smooth);
    z-index: 5;
}
.voucher-cut-left {
    left: -8px;
    border-right: 1px solid var(--color-border-gold);
}
.voucher-cut-right {
    right: -8px;
    border-left: 1px solid var(--color-border-gold);
}
:root.light-mode .voucher-cut-left, :root.light-mode .voucher-cut-right {
    background-color: #FFFFFF; /* Match the modal inner surface background */
}

/* Centerpiece Hero SVG Vector styles */
.brand-stroke-mid {
    stop-color: #FFFFFF;
}
:root.light-mode .brand-stroke-mid {
    stop-color: #8E94A6;
}
.hero-svg-text {
    fill: #FFFFFF;
    transition: var(--transition-smooth);
}
:root.light-mode .hero-svg-text {
    fill: #121316;
}
.hero-svg-grid {
    stroke: rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}
:root.light-mode .hero-svg-grid {
    stroke: rgba(18, 19, 22, 0.06);
}

/* ==========================================================================
   NEW PREMIUM FEATURES: BRAND LOGO, FOOTER, WHATSAPP & COOKIE BANNER
   ========================================================================== */

/* Brand Logo Image Support */
.brand-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
    display: inline-block;
    vertical-align: middle;
}
.brand-logo-img:hover {
    transform: scale(1.05);
}

/* Dynamic Logo Toggling */
.logo-light {
    display: none;
}
.logo-dark {
    display: inline-block;
}

:root.light-mode .logo-light {
    display: inline-block !important;
}
:root.light-mode .logo-dark {
    display: none !important;
}

/* Premium Structured Footer */
.footer-premium {
    background-color: #050608; /* Ultra-deep premium black/navy background */
    border-top: 1px solid var(--color-border);
    padding: 70px 0 35px 0;
    color: var(--color-text-secondary);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition-smooth);
}
:root.light-mode .footer-premium {
    background-color: #E6ECF2 !important;
    border-top: 1px solid var(--color-border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 50px;
    margin-bottom: 50px;
}
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.footer-tagline {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 20px;
    max-width: 440px;
    font-size: 13.5px;
}
.footer-siret {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.5;
}
.footer-heading {
    color: var(--color-gold); /* Glimmering accent */
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 8px;
    text-align: left;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00209F, #EF4135);
}
.footer-link-list, .footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.footer-link-list li {
    margin-bottom: 12px;
}
.footer-link-list a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 13.5px;
}
.footer-link-list a:hover {
    color: var(--color-gold-hover);
    padding-left: 5px;
}
.footer-contact-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-size: 13.5px;
}
.footer-contact-list span {
    color: var(--color-text-muted);
    font-weight: 500;
    margin-right: 5px;
}
.footer-contact-list a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-contact-list a:hover {
    color: var(--color-gold);
}
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--color-text-muted);
    font-size: 12px;
}
.footer-security {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* Floating WhatsApp Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    cursor: pointer;
    transition: var(--transition-smooth);
    animation: whatsappPulse 3s infinite ease-in-out;
}
.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    display: block;
}
.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(8deg);
    background-color: #20BA5A;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.15);
        transform: scale(1.05);
    }
}

/* Premium Cookie Consent Banner */
.cookie-banner-overlay {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    width: 90%;
    max-width: 780px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
}
.cookie-banner-overlay.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.cookie-banner-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 24px 30px;
    background: rgba(26, 28, 32, 0.85); /* Dark Glass */
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-lg);
}
:root.light-mode .cookie-banner-box {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(0, 85, 165, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
    text-align: left;
}
.cookie-icon {
    font-size: 28px;
    display: inline-block;
    line-height: 1;
}
.cookie-text-wrapper h4 {
    color: var(--color-text-primary);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}
.cookie-text-wrapper p {
    color: var(--color-text-secondary);
    font-size: 12.5px;
    line-height: 1.5;
}
.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cookie-banner-box {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
    .cookie-actions {
        justify-content: flex-end;
    }
}

/* Default Mobile Navigation Toggle Button (Hidden on Desktop) */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 2000;
    padding: 0;
    margin-left: 15px;
}
.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   12. HIGH-TECH INDUSTRIAL 'FABRICANT' CORPORATE CUSTOM PORTAL STYLES
   ========================================================================== */

/* Partner Brands & Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}
.partner-logo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    width: 100%;
    text-align: center;
    font-weight: 700;
    color: var(--color-text-secondary);
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.partner-logo-card:hover {
    background: var(--color-gold-glass);
    border-color: var(--color-gold);
    color: var(--color-text-primary);
    box-shadow: var(--glass-glow);
}

/* Certifications Logo Footer Grid */
.cert-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 25px;
}
.cert-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}
.cert-item:hover {
    color: var(--color-gold);
    border-color: var(--color-border-gold);
}

/* Performance Uw Charts & RE2020 Tables */
.performance-container {
    margin-top: 40px;
}
.perf-table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-top: 20px;
}
.perf-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.perf-table th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--color-gold);
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 2px solid var(--color-border);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}
.perf-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 13.5px;
}
.perf-table tr:hover {
    background: rgba(255, 255, 255, 0.01);
}
.perf-rating {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
}
.perf-rating.premium {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.perf-rating.standard {
    background: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Déstockage (Clearance Outlet) Grid & Cards */
.outlet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 45px;
}
.outlet-card {
    padding: 30px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.outlet-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-gold);
    box-shadow: var(--glass-shadow), var(--glass-glow);
}
.outlet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.outlet-badge {
    background: var(--color-gold-glass);
    color: var(--color-gold);
    border: 1px solid var(--color-border-gold);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.outlet-discount {
    background: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}
.outlet-specs {
    margin: 15px 0 25px 0;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.outlet-specs strong {
    color: var(--color-text-primary);
}
.outlet-pricing {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: auto;
}
.outlet-price-old {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 14px;
}
.outlet-price-new {
    color: var(--color-gold);
    font-size: 24px;
    font-weight: 800;
    font-family: 'Outfit';
}

/* B2B Drag-and-Drop Uploader */
.b2b-uploader {
    background: rgba(18, 19, 22, 0.4);
    border: 2px dashed var(--color-border-gold);
    border-radius: var(--radius-md);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 15px;
    position: relative;
}
.b2b-uploader:hover, .b2b-uploader.dragover {
    background: var(--color-gold-glass);
    border-color: var(--color-gold);
    box-shadow: var(--glass-glow);
}
.uploader-icon {
    font-size: 32px;
    color: var(--color-gold);
    margin-bottom: 12px;
    display: block;
}
.uploader-text {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.uploader-text strong {
    color: var(--color-gold);
}
.uploader-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.file-upload-preview {
    margin-top: 15px;
    font-size: 12px;
    color: var(--color-success);
    font-weight: 600;
    display: none;
    text-align: left;
    padding: 8px 12px;
    background: var(--color-success-bg);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
}

/* Light mode support for the new Fabricant portal elements */
:root.light-mode .partner-logo-card {
    background: rgba(0, 85, 165, 0.02);
    border-color: var(--color-border);
}
:root.light-mode .partner-logo-card:hover {
    background: var(--color-gold-glass);
}
:root.light-mode .outlet-card {
    background: rgba(255, 255, 255, 0.6);
}
:root.light-mode .outlet-card:hover {
    background: #FFFFFF;
}
:root.light-mode .perf-table th {
    background: rgba(0, 85, 165, 0.02);
}
:root.light-mode .b2b-uploader {
    background: rgba(255, 255, 255, 0.5);
}
:root.light-mode .b2b-uploader:hover, :root.light-mode .b2b-uploader.dragover {
    background: var(--color-gold-glass);
}



