
        :root {
            /* Brand Colors (Esence) */
            --primary-color: #ffb800; /* Žlutá */
            --primary-hover: #e6a600;
            --secondary-color: #06b6d4; /* Tyrkysová */
            
            /* Dark Mode Paleta */
            --bg-main: #0a0a0a;     
            --bg-sidebar: #141414;  
            --bg-card: #1e1e1e;     
            --bg-hover: #2c2c2c;    
            --border-color: #383838;
            --border-light: #525252;
            
            /* Text Colors */
            --text-main: #ffffff;
            --text-light: #b3b3b3;  
            --text-dark: #000000; 
            
            --danger: #ef4444;
            --success: #10b981;
            
            --radius-md: 4px;
            --radius-sm: 2px;
            --shadow-float: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
            --input-bg: #141414;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-main);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        h1, h2, h3, h4, .oswald-font { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }

        /* SVG OVERLAY POZADÍ STRÁNKY */
        .bg-overlay {
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background-image: url('Overlay-Oriental.svg');
            background-position: center; background-repeat: no-repeat; background-size: cover;
            opacity: 0.08; z-index: -1; pointer-events: none;
        }

        /* --- HLAVNÍ ROZLOŽENÍ --- */
        .registration-container {
            width: 100%;
            max-width: 1150px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-float);
            margin: 2rem;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            min-height: 750px;
        }

        @media (max-width: 900px) {
            .registration-container {
                grid-template-columns: 1fr;
                max-width: 600px;
                margin: 1rem;
                min-height: auto;
            }
            .image-column { display: none; }
        }

        /* --- LEVÝ SLOUPEC (Formulář) --- */
        .form-column {
            display: flex;
            flex-direction: column;
            position: relative;
            height: 100%;
            background: var(--bg-card);
        }

        /* HEADER */
        .header {
            background: var(--bg-sidebar);
            padding: 2rem 3rem 1.5rem 3rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            border-bottom: 1px solid var(--border-color);
        }

        /* ESENCE LOGO A POWERED BY */
        .brand-header-flex { display: flex; justify-content: space-between; align-items: flex-start; }
        .logo-container { display: flex; align-items: center; gap: 12px; }
        .logo-icon { width: 32px; height: 32px; background: var(--primary-color); color: var(--text-dark); display: flex; align-items: center; justify-content: center; font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700; transform: skewX(-10deg); }
        .logo-text { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 2px; }
        
        .powered-by { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 9px; color: var(--border-light); text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }
        .powered-by svg { width: 65px; height: auto; } 
        .powered-by svg path, .powered-by svg polygon { fill: currentColor; }

        .header-titles h1 { margin: 0; font-size: 1.8rem; color: var(--text-main); }
        .header-titles p { margin: 0.5rem 0 0 0; color: var(--text-light); font-size: 0.9rem; font-family: 'Inter', sans-serif; text-transform: none; letter-spacing: 0;}

        /* Progress Bar */
        .progress-container { width: 100%; height: 4px; background: var(--bg-card); margin-top: auto; border-radius: 2px; overflow: hidden;}
        .progress-bar { height: 100%; background: var(--primary-color); width: 20%; transition: width 0.4s ease; }

        /* Form Body */
        .form-body { 
            padding: 2rem 3rem; 
            overflow-y: auto; 
            flex-grow: 1;
            scrollbar-width: thin;
            scrollbar-color: var(--border-light) var(--bg-card);
        }
        @media (max-width: 600px) { .form-body, .header, .form-footer { padding-left: 1.5rem; padding-right: 1.5rem; } }

        /* Footer */
        .form-footer {
            padding: 1.5rem 3rem; background: var(--bg-sidebar); border-top: 1px solid var(--border-color);
            display: flex; justify-content: space-between; gap: 1rem;
        }

        /* --- PRAVÝ SLOUPEC (Ilustrace) --- */
        .image-column {
            background: #000;
            border-left: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 3rem;
            position: relative;
            overflow: hidden;
            text-align: center;
        }
        
        .accent-graphic {
            position: absolute;
            width: 150%;
            height: 150%;
            background-image: url('Overlay-Oriental.svg');
            background-size: cover;
            background-position: center;
            opacity: 0.15;
            filter: sepia(1) hue-rotate(10deg) saturate(300%) brightness(1.5);
            animation: slowRotate 60s linear infinite;
        }

        @keyframes slowRotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .step-illustration {
            display: none; width: 100%; height: auto; z-index: 2;
            animation: floatUp 0.6s ease-out forwards;
        }
        .step-illustration.active { display: block; }

        @keyframes floatUp {
            from { opacity: 0; transform: translateY(20px) scale(0.95); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .illus-text { margin-top: 2rem; font-size: 1.5rem; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
        
        .step-svg { stroke: var(--primary-color); }
        .step-svg-fill { fill: var(--primary-color); }

        /* --- FORM STYLES --- */
        .step { display: none; animation: fadeIn 0.3s ease-out; }
        .step.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

        h2 { color: var(--text-main); margin-top: 0; margin-bottom: 1.5rem; font-size: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
        .form-group { margin-bottom: 1.5rem; }
        label { display: block; margin-bottom: 0.5rem; font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
        
        input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea {
            width: 100%; padding: 12px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm);
            font-size: 15px; box-sizing: border-box; background: var(--input-bg); transition: 0.2s;
            font-family: 'Inter', sans-serif; color: var(--text-main);
        }
        
        input:focus:not([readonly]), select:focus, textarea:focus { outline: none; border-color: var(--primary-color); }

        /* Číselné pole — nativní spinner skrytý, místo něj tenké šipky v primární barvě */
        .number-input { position: relative; }
        .number-input input { padding-right: 36px; appearance: textfield; -moz-appearance: textfield; }
        .number-input input::-webkit-outer-spin-button, .number-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        .number-stepper { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: flex; flex-direction: column; }
        .number-stepper button { padding: 1px 4px; border: none; background: transparent; color: var(--primary-color); font-size: 10px; line-height: 1; cursor: pointer; }
        .number-stepper button:hover { color: var(--primary-hover); }
        input::placeholder { color: #555; }
        
        /* READONLY (Uzamčená pole z ARES) */
        input[readonly] {
            background: var(--bg-sidebar);
            color: var(--text-light);
            border-color: var(--border-color);
            cursor: not-allowed;
            opacity: 0.8;
        }

        .btn { padding: 12px 24px; border-radius: var(--radius-sm); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; border: none; font-size: 15px; transition: 0.2s; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
        .btn-primary { background: var(--primary-color); color: var(--text-dark); }
        .btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
        .btn-secondary { background: transparent; border: 1px solid var(--border-light); color: var(--text-main); }
        .btn-secondary:hover { border-color: var(--text-main); background: rgba(255,255,255,0.05); }
        .btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
        
        /* UPRAVENÉ TLAČÍTKO PRO ARES */
        .btn-outline { 
            padding: 0 1rem; 
            border: 1px solid var(--border-light); 
            background: var(--bg-hover); 
            color: var(--text-main); 
            border-radius: var(--radius-sm); 
            cursor: pointer; 
            font-weight: 600; 
            white-space: nowrap; 
            font-family: 'Oswald', sans-serif; 
            text-transform: uppercase; 
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px; 
            flex-shrink: 0; 
        }
        .btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }

        /* KATEGORIE SORTIMENTU */
        .category-grid-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
        @media (max-width: 600px) { .category-grid-selector { grid-template-columns: repeat(2, 1fr); } }

        .cat-card { position: relative; min-height: 100px; }
        .cat-card input { position: absolute; width:100%; height:100%; opacity:0; cursor: pointer; z-index: 2;}
        .cat-card-label {
            display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 100px; padding: 10px; box-sizing: border-box;
            border: 1px solid var(--border-light); border-radius: var(--radius-md); transition: all 0.2s; text-align: center;
            font-weight: 600; color: var(--text-light); background: var(--bg-sidebar); font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
        }
        .cat-card input:checked + .cat-card-label { border-color: var(--primary-color); background: rgba(255, 184, 0, 0.1); color: var(--primary-color); }
        .cat-emoji { font-size: 24px; margin-bottom: 4px; line-height: 1; }

        /* IKONY (SVG z AssortmentIcons / VendorCustomFieldIcons, barva přes currentColor) */
        .reg-icon { width: 18px; height: 18px; flex-shrink: 0; }
        .cat-icon { display: flex; margin-bottom: 6px; }
        .cat-icon .reg-icon { width: 28px; height: 28px; }
        h3 .reg-icon { width: 20px; height: 20px; vertical-align: -3px; margin-right: 8px; }

        /* SEKCE SORTIMENTU (typ → kategorie → konkrétní sortiment) */
        .assortment-section-title { font-size: 20px; margin: 0 0 1rem; color: var(--text-main); }
        .assortment-section { margin-bottom: 2rem; animation: fadeIn 0.3s; }
        .assortment-section-label { margin-bottom: 10px; display: block; }

        /* TAGS (Podkategorie) */
        #tagSection { margin-bottom: 2rem; animation: fadeIn 0.3s; }
        .tags-container {
            display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 1.5rem;
            background: var(--bg-sidebar); border-radius: var(--radius-md); border: 1px solid var(--border-color);
        }
        .tag-checkbox { display: none; }
        .tag-label {
            display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--input-bg);
            border: 1px solid var(--border-light); border-radius: 20px; cursor: pointer;
            font-size: 13px; transition: 0.2s; user-select: none; color: var(--text-light);
        }
        .tag-checkbox:checked + .tag-label {
            background: var(--primary-color); color: var(--text-dark); border-color: var(--primary-color); font-weight: 600;
        }

        /* CHIPS PRO VÝBĚR STÁNKU */
        .service-chips-container { display: flex; flex-wrap: wrap; gap: 10px; }
        .chip-input { display: none; }
        .chip-label { padding: 10px 16px; background: var(--bg-sidebar); border: 1px solid var(--border-color); border-radius: var(--radius-md); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text-light); transition: all 0.2s ease; display: flex; align-items: center; gap: 8px; user-select: none; }
        .chip-label:hover { border-color: var(--border-light); color: var(--text-main); }
        .chip-input:checked + .chip-label { background: rgba(255, 184, 0, 0.1); border-color: var(--primary-color); color: var(--primary-color); }

        /* FILES - COMPACT STYLE DARK MODE */
        .file-upload-zone { 
            border: 2px dashed var(--border-light); 
            border-radius: var(--radius-md); 
            padding: 2rem; 
            text-align: center; 
            cursor: pointer; 
            background: var(--bg-sidebar); 
            transition: 0.2s; 
            margin-bottom: 1.5rem;
            color: var(--text-light);
            font-family: 'Oswald', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .file-upload-zone.highlight { border-color: var(--primary-color); background: rgba(255, 184, 0, 0.05); color: var(--primary-color); }
        
        .file-item-card { 
            display: grid; 
            grid-template-columns: 60px 1fr 30px; 
            gap: 1rem; 
            align-items: center; 
            background: var(--bg-sidebar); 
            padding: 10px; 
            border-radius: var(--radius-md); 
            border: 1px solid var(--border-color); 
            margin-bottom: 0.8rem; 
        }
        
        .file-preview { 
            width: 60px; height: 60px; 
            border-radius: 4px; background: #000; 
            overflow: hidden; display: flex; align-items: center; justify-content: center;
            border: 1px solid var(--border-color); flex-shrink: 0;
        }
        .file-preview img { width: 100%; height: 100%; object-fit: cover; }
        
        .file-details { width: 100%; }

        .file-inputs-row { display: grid; grid-template-columns: 140px 1fr; gap: 0.8rem; align-items: end; }
        .input-group-compact { display: flex; flex-direction: column; gap: 4px; }
        
        .input-label-mini { font-size: 10px; text-transform: uppercase; color: var(--text-light); font-weight: 700; letter-spacing: 0.5px; }
        
        .file-select, .file-comment { 
            width: 100%; padding: 6px 10px !important; font-size: 13px; 
            border: 1px solid var(--border-light); border-radius: 4px; 
            background: var(--input-bg); color: var(--text-main); height: 36px; 
        }
        .file-select:focus, .file-comment:focus { border-color: var(--primary-color); outline: none; }

        .file-delete { 
            border: none; background: none; cursor: pointer; color: var(--text-light); 
            font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
            transition: color 0.2s; padding: 0; height: 100%;
        }
        .file-delete:hover { color: var(--danger); }

        /* Fotografie v kroku vlastních polí — dvě kompaktní zóny vedle sebe, náhledy v mřížce */
        .photo-zones { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
        @media (max-width: 600px) { .photo-zones { grid-template-columns: 1fr; } }
        .photo-zone { min-width: 0; }
        .photo-zone-hint { font-size: 13px; color: var(--text-light); margin: 0 0 8px; }
        .photo-zone-error { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
        .photo-drop { position: relative; padding: 1rem; margin-bottom: 0; font-size: 13px; }
        .photo-drop:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .photo-drop-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
        .photo-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; margin-top: 8px; }
        .photo-thumb { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: #000; border: 1px solid var(--border-color); }
        .photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .photo-thumb-delete {
            position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; padding: 0;
            border: none; border-radius: 50%; background: rgba(0, 0, 0, 0.65); color: #fff;
            font-size: 11px; line-height: 20px; cursor: pointer;
        }
        .photo-thumb-delete:hover { background: var(--danger); }
        .photo-zones-note { font-size: 12px; color: var(--text-light); margin: 8px 0 0; }

        @media (max-width: 600px) {
            .file-item-card { grid-template-columns: 50px 1fr 30px; align-items: start; }
            .file-preview { width: 50px; height: 50px; margin-top: 14px; }
            .file-inputs-row { grid-template-columns: 1fr; gap: 0.5rem; }
        }

        /* Success Page */
        #successPage { display: none; text-align: center; padding: 4rem 2rem; background: var(--bg-card); height: 100%; flex-direction: column; justify-content: center; align-items: center;}
        .success-icon { width: 80px; height: 80px; background: rgba(255, 184, 0, 0.1); color: var(--primary-color); border: 2px solid var(--primary-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 2rem auto; font-size: 3rem; }
        
        /* Alerts */
        .alert-warning {
            background: rgba(245, 158, 11, 0.1);
            border-left: 4px solid var(--warning);
            color: var(--warning);
            padding: 1rem;
            border-radius: 4px;
            margin-top: 1rem;
            display: none; 
            font-size: 13px;
        }

        .alert-info {
            background: rgba(6, 182, 212, 0.1);
            border-left: 4px solid var(--secondary-color);
            color: var(--text-main);
            padding: 1rem;
            border-radius: 4px;
            margin-bottom: 1.5rem;
            font-size: 13px;
        }

        /* Smooth Address Checkbox */
        .smooth-wrapper { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s ease-out; }
        .smooth-wrapper.open { grid-template-rows: 1fr; }
        .smooth-inner { overflow: hidden; }
        .address-content { padding-top: 1rem; }
        
        .custom-checkbox { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; color: var(--text-main); font-size: 14px;}
        .custom-checkbox input { width: 1.2rem; height: 1.2rem; accent-color: var(--primary-color); margin: 0; cursor: pointer; }
    