/* =========================================
   FILENAME: assets/css/main.css
   THEME: Auto Pro - Industrial Performance (Perfected)
   ========================================= */

/* --- 1. VARIABLES & RESET --- */
:root {
    /* Светъл режим (Light Mode) */
    --color-primary: #111111;       /* Основен текст */
    --color-secondary: #374151;     /* Вторичен текст */
    --color-accent: #C21B24;        /* Червено (Бранд) */
    --color-accent-hover: #9A121A;  
    
    --color-bg: #FFFFFF;            /* Фон на страницата */
    --color-surface: #E5E7EB;       /* Сив фон за секции */
    --color-border: #D1D5DB;        /* Рамки */
    
    --bg-card: #FFFFFF;             /* Фон на карти */
    --nav-bg: rgba(229, 231, 235, 0.90); /* Фон на менюто */
    --input-bg: #FAFAFA;            /* Полета за писане */

    /* Шрифтове и настройки */
    --font-brand: 'Opel Sans', sans-serif;
    --font-ui: 'Inter', system-ui, sans-serif;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.15);
    --ease-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- DARK MODE OVERRIDES --- */
[data-theme="dark"] {
    --color-primary: #f3f4f6;
    --color-secondary: #9ca3af;
    
    --color-bg: #111111;
    --color-surface: #1f1f1f;
    --color-border: #333333;
    
    --bg-card: #181818;
    --nav-bg: rgba(17, 17, 17, 0.95);
    --input-bg: #222222;
    
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-hover: 0 20px 40px -10px rgba(0,0,0,0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-ui);
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@view-transition { navigation: auto; }

/* --- 2. FONTS --- */
@font-face { 
    font-family: 'Opel Sans'; 
    src: url('../fonts/Opel Sans Regular.woff2') format('woff2'), url('../fonts/Opel Sans Regular.ttf') format('truetype');
    font-weight: 400; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Opel Sans'; 
    src: url('../fonts/Opel Sans Bold.woff2') format('woff2'), url('../fonts/Opel Sans Bold.ttf') format('truetype');
    font-weight: 700; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Opel Sans'; 
    src: url('../fonts/Opel Sans Italic.woff2') format('woff2'), url('../fonts/Opel Sans Italic.ttf') format('truetype');
    font-weight: 400; 
    font-style: italic; 
    font-display: swap; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-brand);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; width: 100%; }
img { max-width: 100%; display: block; }

/* --- 3. ANIMATIONS --- */
.reveal {
    opacity: 1; 
    transform: translateY(0);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
@keyframes fadeInTooltip { 
    from { opacity: 0; transform: translate(-50%, 10px); } 
    to { opacity: 1; transform: translate(-50%, 0); } 
}

/* --- 4. HEADER --- */
.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000; padding: 12px 0;
    transition: all 0.3s ease;
}
[data-theme="dark"] .site-header { border-bottom: 1px solid #333; }

.site-header.scrolled {
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.header-container { display: flex; align-items: center; justify-content: space-between; }
.brand-block { text-decoration: none; display: flex; flex-direction: column; align-items: center; width: 200px; transition: transform 0.3s; }
.site-header.scrolled .brand-block { transform: scale(0.9); }
.brand-slogan {
    font-family: var(--font-brand); font-weight: 700; font-size: 10px;
    color: var(--color-primary); text-transform: uppercase;
    text-align: center; width: 100%; letter-spacing: 1px;
    transition: opacity 0.2s;
}
.site-header.scrolled .brand-slogan { opacity: 0; height: 0; margin: 0; overflow: hidden; }

/* Nav & Contacts */
.desktop-nav { display: none; text-align: right; }
.top-row-contacts { display: flex; justify-content: flex-end; align-items: center; gap: 20px; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.national-phone { color: var(--color-accent); text-decoration: none; transition: 0.3s; display: flex; align-items: center; gap: 8px; }
.national-phone:hover { color: var(--color-primary); }

.social-header a { color: var(--color-primary); margin-left: 10px; font-size: 16px; transition: var(--ease-smooth); display: inline-block; }
.social-header a:hover { color: var(--color-accent); transform: translateY(-2px); }

/* --- HEADER BUTTONS (B2B & THEME) --- */
.btn-eshop {
    background: var(--color-accent);
    color: #fff !important;
    padding: 8px 16px; /* Компактен, но видим */
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: var(--font-brand);
    border: none;
    cursor: pointer;
    margin-left: 15px;
    line-height: 1;
}
.btn-eshop:hover {
    background: #111; 
    color: #fff;
    transform: translateY(-2px);
}
/* В тъмен режим бутонът става бял при ховър за контраст */
[data-theme="dark"] .btn-eshop:hover { background: #fff; color: #111 !important; }

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 32px; height: 32px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
    font-size: 14px;
}
.theme-toggle-btn:hover {
    background: var(--color-surface);
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Menu */
.main-menu { display: flex; list-style: none; gap: 32px; justify-content: flex-end; }
.main-menu a {
    text-decoration: none; color: var(--color-primary);
    font-family: var(--font-brand); font-weight: 700; font-size: 15px;
    text-transform: uppercase; position: relative; transition: color 0.3s;
}
.main-menu a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: -4px; left: 0; background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.main-menu a:hover::after { width: 100%; }
.accent-link { color: var(--color-accent) !important; }
/* --- MOBILE TOGGLE BUTTON (FIXED Z-INDEX) --- */
.mobile-menu-toggle { 
    display: block; 
    font-size: 26px; /* Малко по-голям за удобство */
    color: var(--color-primary); 
    cursor: pointer;
    
    /* ВАЖНО: Това гарантира, че бутонът е над отвореното меню */
    position: relative; 
    z-index: 10001; 
    
    transition: all 0.3s ease;
    width: 40px; /* По-голяма зона за кликане */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Когато менюто е отворено (Хиксче) */
.mobile-menu-toggle.active {
    color: var(--color-accent); /* Правим го червен, за да се вижда ясно */
    transform: rotate(90deg);   /* Завъртаме го за ефект */
}

/* --- 5. HERO SECTION (LEGACY & BASE) --- */
/* FIXED: Updated padding for consistent look */
.hero { position: relative; overflow: hidden; padding: 140px 0 80px 0; width: 100%; border-bottom: 1px solid var(--color-border); }

.hero-bg-layer {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.4) 100%), url('../img/hero-bg.webp');
    background-size: cover; background-position: center;
    animation: slowZoom 24s infinite alternate;
}
[data-theme="dark"] .hero-bg-layer {
    background-image: linear-gradient(rgba(17,17,17,0.95) 0%, rgba(17,17,17,0.7) 100%), url('../img/hero-bg.webp');
}

.hero-grid-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
    background-image: linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none;
}
[data-theme="dark"] .hero-grid-overlay {
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.hero h1 { font-size: 42px; line-height: 1.1; margin-bottom: 24px; text-transform: uppercase; text-shadow: 0 10px 30px rgba(255,255,255,0.9); }
[data-theme="dark"] .hero h1 { text-shadow: none; }

.hero p { font-size: 18px; color: var(--color-secondary); margin-bottom: 48px; font-weight: 500; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 40px; height: 56px;
    font-family: var(--font-brand); font-weight: 700; font-size: 15px;
    text-transform: uppercase; text-decoration: none; border-radius: 4px;
    transition: all 0.3s ease; cursor: pointer; width: 100%;
    position: relative; overflow: hidden; letter-spacing: 0.5px;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s;
}
.btn:hover::before { left: 100%; }
.btn-primary { background-color: var(--color-accent); color: #fff; border: 1px solid var(--color-accent); box-shadow: 0 8px 20px rgba(194, 27, 36, 0.25); }
.btn-primary:hover { background-color: var(--color-accent-hover); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(194, 27, 36, 0.4); }

.btn-glass { background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); border: 1px solid rgba(17, 17, 17, 0.15); color: var(--color-primary); }
[data-theme="dark"] .btn-glass { background: rgba(0, 0, 0, 0.3); border-color: rgba(255, 255, 255, 0.15); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.8); border-color: var(--color-primary); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
[data-theme="dark"] .btn-glass:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }

.btn-secondary { background-color: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-secondary:hover { background-color: var(--color-primary); color: var(--color-bg); transform: translateY(-2px); }

/* --- 6. CITIES / STORES / CARDS --- */
.section-cities { padding: 50px 0; background: var(--bg-card); border-bottom: 1px solid var(--color-surface); }
.sub-heading { text-align: center; text-transform: uppercase; font-size: 12px; color: var(--color-secondary); letter-spacing: 2px; margin-bottom: 30px; opacity: 0.7; font-weight: 700; }
.cities-grid, .stores-grid { display: grid; gap: 16px; }
.cities-grid { grid-template-columns: repeat(2, 1fr); }

.city-card, .store-card, .cat-card, .service-card, .catalog-card, .blog-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); 
    border: 1px solid var(--color-border); 
    border-radius: 6px;
    text-decoration: none; color: var(--color-primary);
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.city-card { align-items: center; justify-content: center; padding: 24px 10px; }
.cat-card { align-items: center; justify-content: center; padding: 40px 20px; }

.city-card:hover, .store-card:hover, .cat-card:hover, .service-card:hover, .blog-card:hover { 
    border-color: var(--color-accent); 
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.city-name { font-family: var(--font-brand); font-weight: 700; text-transform: uppercase; font-size: 14px; margin-top: 8px; }
.city-icon { font-size: 20px; color: var(--color-secondary); transition: color 0.3s; }
.city-card:hover .city-icon { color: var(--color-accent); }

/* Store Specifics */
.store-photo { height: 200px; background-color: var(--color-surface); position: relative; overflow: hidden; }
.store-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.store-card:hover .store-photo img { transform: scale(1.05); } 
.store-badge { position: absolute; top: 10px; right: 10px; background: var(--color-accent); color: #fff; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; }
.store-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.store-city { font-family: var(--font-brand); font-size: 20px; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; }
.store-info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--color-secondary); }
.store-info-row i { color: var(--color-accent); margin-top: 3px; font-size: 16px; }
.store-actions { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--color-surface); display: flex; gap: 10px; }
.btn-small { flex: 1; padding: 10px; font-size: 12px; height: 40px; }

/* --- 7. PROCESS & SECTIONS --- */
.section-gray { background-color: var(--color-surface); padding: 80px 0; border-top: 1px solid var(--color-border); }
.section-title { text-align: center; font-size: 28px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: -0.5px; }
.section-subtitle { text-align: center; color: var(--color-secondary); margin-bottom: 60px; font-size: 18px; }
.process-grid { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; max-width: 1000px; margin: 0 auto; }
.step-circle { width: 50px; height: 50px; background: var(--color-primary); color: var(--color-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 20px auto; font-size: 20px; box-shadow: 0 8px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.process-step:hover .step-circle { background: var(--color-accent); transform: scale(1.1) rotate(10deg); color: #fff; }
.process-step h3 { font-size: 18px; margin-bottom: 10px; text-transform: uppercase; }

/* --- 8. CATEGORIES --- */
.section-categories { padding: 100px 0; background: var(--bg-card); }
.categories-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.cat-icon { font-size: 32px; margin-bottom: 15px; color: var(--color-primary); transition: color 0.3s; }
.cat-card:hover .cat-icon { color: var(--color-accent); }
.cat-card span { font-weight: 700; font-family: var(--font-brand); font-size: 14px; text-transform: uppercase; }

/* Tooltip Fixed Position with BRIDGE */
.tooltip-container { position: relative; }
.tooltip-box {
    display: none; 
    position: absolute !important; 
    bottom: 100%; 
    left: 50%; transform: translateX(-50%);
    margin-bottom: 15px; 
    width: 240px; 
    background: #111; color: #fff; 
    padding: 20px; border-radius: 6px; 
    z-index: 1000;
    text-align: center; font-size: 13px; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-bottom: 3px solid var(--color-accent);
}
.tooltip-box::after {
    content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px;
    border-width: 8px; border-style: solid;
    border-color: #111 transparent transparent transparent;
}
.tooltip-box::before {
    content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: 20px; background: transparent;
}

.tooltip-container:hover .tooltip-box { display: block; animation: fadeInTooltip 0.3s ease-out; }
.tooltip-btn { display: inline-block; margin-top: 15px; padding: 8px 16px; background: var(--color-accent); color: #fff; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 11px; border-radius: 3px; }
.tooltip-btn:hover { background: #fff; color: #111; }

/* --- 9. TRUST & FAQ --- */
.section-trust.gray-theme { background-color: var(--color-surface); padding: 100px 0; border-top: 1px solid var(--color-border); }
.trust-container { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
.trust-list li i { width: 24px; height: 24px; background: var(--color-accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; margin-right: 12px; flex-shrink: 0; }
.trust-image { height: 380px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-hover); border: 4px solid var(--bg-card); }
.trust-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.trust-image:hover img { transform: scale(1.05); }

.section-faq { padding: 80px 0; background: var(--bg-card); }
.faq-item { border-bottom: 1px solid var(--color-border); margin-bottom: 15px; }
.faq-item summary { padding: 20px 0; font-weight: 700; cursor: pointer; list-style: none; position: relative; font-family: var(--font-brand); font-size: 18px; transition: color 0.2s; color: var(--color-primary); }
.faq-item summary:hover { color: var(--color-accent); }
.faq-item summary::after { content: '+'; position: absolute; right: 0; font-size: 24px; font-weight: 300; transition: 0.3s; }
.faq-item details[open] summary::after { content: '-'; color: var(--color-accent); transform: rotate(180deg); }
.faq-body { padding-bottom: 20px; color: var(--color-secondary); }

/* --- 10. FORMS --- */
.inquiry-form { background: var(--bg-card); padding: 30px; border-radius: 8px; border: 1px solid var(--color-border); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.form-section-title { font-family: var(--font-brand); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--color-accent); border-bottom: 2px solid var(--color-surface); padding-bottom: 8px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--color-primary); }
.form-input, .form-textarea, .form-input select { width: 100%; padding: 14px; border: 1px solid var(--color-border); border-radius: 4px; background-color: var(--input-bg); font-family: var(--font-ui); font-size: 16px; color: var(--color-primary); transition: all 0.2s ease; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--color-primary); background-color: var(--bg-card); box-shadow: 0 0 0 3px rgba(194, 27, 36, 0.1); }
.vin-input { text-transform: uppercase; letter-spacing: 1px; font-family: monospace; font-weight: 700; }

/* --- 11. FOOTER & MOBILE STICKY --- */
/* =========================
   FOOTER (5 columns, clean + premium)
   ========================= */

.site-footer{
  background: #0b0b0b;
  color: #9ca3af;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0;
  padding-bottom: 0;
}

.site-footer .footer-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.9fr 1.35fr; /* About / Links / Support / Follow / Contacts */
  gap: 44px;
  padding: 56px 0 36px;
  align-items: start;
}

.site-footer .footer-col{ min-width: 0; }

.site-footer .footer-heading{
  color: #fff;
  margin-bottom: 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

.site-footer .footer-col ul{ list-style: none; padding: 0; margin: 0; }

.site-footer .footer-links{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.site-footer .footer-col ul li a{
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}

.site-footer .footer-col ul li a:hover{
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-col p{
  color: #9ca3af;
  font-size: 14px;
  line-height: 1.7;
  max-width: 46ch;
}

.site-footer .footer-bullets{
  margin-top: 14px;
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.site-footer .footer-bullets li{
  color: #9ca3af;
  font-size: 13px;
  position: relative;
  padding-left: 14px;
}

.site-footer .footer-bullets li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255,255,255,0.45);
}

/* Follow column */
.site-footer .footer-follow p{
  font-size: 13px;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 10px;
}

.site-footer .social-links-footer{
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.site-footer .social-links-footer a{
  color: #fff;
  font-size: 20px;
  transition: all 0.2s;
}

.site-footer .social-links-footer a:hover{
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* Contacts */
.site-footer .contact-row{
  margin-bottom: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9ca3af;
}

.site-footer .contact-row i{ opacity: 0.9; }

.site-footer .contact-row a{
  color: inherit;
  text-decoration: none;
  transition: 0.2s;
}

.site-footer .contact-row a:hover{
  color: #fff;
  text-decoration: underline;
}

.site-footer .footer-meta{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.site-footer .footer-meta-title{
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.site-footer .footer-meta-line{
  color: #9ca3af;
  font-size: 13px;
  margin-bottom: 6px;
}

.site-footer .footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px){
  .site-footer .footer-grid{ gap: 28px; }
}

@media (max-width: 1100px){
  .site-footer .footer-grid{
    grid-template-columns: 1.3fr 1fr 1.3fr; /* About / Links / Contacts */
    gap: 28px;
  }
}

@media (max-width: 980px){
  .site-footer .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
}

@media (max-width: 640px){
  .site-footer .footer-grid{
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0 28px;
  }

  /* Center everything on mobile for clean look */
  .site-footer .footer-col{
    text-align: center;
  }

  .site-footer .footer-col p{
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer .footer-bullets{
    display: inline-grid;
    text-align: left;
  }

  .site-footer .footer-links{
    text-align: center;
  }

  .site-footer .social-links-footer{
    justify-content: center;
  }

  .site-footer .contact-row{
    justify-content: center;
  }

  .site-footer .footer-meta{
    text-align: center;
  }

  .site-footer .footer-bottom{
    padding: 18px 0;
  }

  .site-footer .footer-legal{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  .site-footer .footer-legal .sep{
    display: none;
  }
}

.mobile-sticky-bar {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); width: 92%; max-width: 400px;
    background: rgba(17, 17, 17, 0.95); backdrop-filter: blur(12px); border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex; justify-content: space-between; padding: 6px; z-index: 9999; box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
.sticky-btn {
    flex: 1; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; padding: 12px 0; color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font-brand);
    border-radius: 50px; transition: all 0.2s;
}
.sticky-btn:first-child { background: var(--color-accent); box-shadow: 0 4px 15px rgba(194, 27, 36, 0.4); }
.sticky-btn:nth-child(2) { color: #e5e7eb; }
.sticky-btn:nth-child(2):hover { color: #fff; background: rgba(255,255,255,0.1); }

/* --- 12. RESPONSIVE --- */
@media (min-width: 600px) { .btn { width: auto; } .form-row { grid-template-columns: 1fr 1fr; } .inquiry-form { padding: 40px; } }
@media (min-width: 768px) {
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .stores-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-container { grid-template-columns: 1fr 1fr; }
.hero h1 { font-size: 64px; }
    .hero-content { text-align: left; }
    .hero-actions { flex-direction: row; justify-content: flex-start; }
    .cities-grid { grid-template-columns: repeat(5, 1fr); }
    .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1024px) {
    .desktop-nav { display: block; }
    .mobile-menu-toggle { display: none; }
    .mobile-sticky-bar { display: none; }
    /* FIXED: Compact hero for laptop/desktop */
    .hero { padding: 180px 0 100px 0; }
    .stores-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- 13. ECOMM --- */
.ecomm-wrapper { 
    font-family: 'Space Mono', monospace; 
    font-size: 0.75rem; 
    color: rgba(255,255,255,0.3); 
    text-align: center; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; /* Gap increased */
    padding: 15px 0; 
    letter-spacing: 0.5px; 
}

.ecomm-logo { 
    font-family: 'Unbounded', sans-serif; 
    font-weight: 900; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    text-decoration: none !important; 
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.ec-text-group {
    display: inline-block;
    width: 80px; 
    text-align: left;
    white-space: nowrap;
}

.ec-dot { 
    color: #00F0FF; 
    display: inline-block; 
    animation: systemPulse 3s infinite ease-in-out; 
    margin-right: 2px;
}

.ec-e, .ec-com, .ec-m { color: rgba(255,255,255,0.3); transition: color 0.5s ease; }

@keyframes systemPulse { 
    0% { opacity: 0.8; } 
    50% { opacity: 1; transform: scale(1.1); } 
    100% { opacity: 0.8; } 
}

.ecomm-logo:hover { 
    transform: scale(1.05); 
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4)); 
}

.ecomm-logo:hover .ec-e { color: #FFFFFF; }
.ecomm-logo:hover .ec-com { color: #00F0FF; }
.ecomm-logo:hover .ec-m { color: #FFFFFF; }
.ecomm-logo:hover .ec-dot { animation: none; color: #00F0FF; transition: 0.1s; }

.footer-legal { font-size: 11px; color: #6b7280; margin-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 10px; }
.footer-legal a { color: #9ca3af; text-decoration: none; transition: 0.2s; }
.footer-legal a:hover { color: #fff; }

/* --- 14. SPOTLIGHT GLOW EFFECT (FIXED LAYERING) --- */
.city-card, .cat-card, .store-card, .service-card, .catalog-card, .blog-card {
    position: relative; 
    --mouse-x: -1000px; --mouse-y: -1000px;
    z-index: 1; 
    overflow: visible !important; 
}

/* Inner Shine: Z-index 50 + pointer-events none allows clicking through */
.city-card::before, .cat-card::before, .store-card::before, .service-card::before, .catalog-card::before, .blog-card::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 50; pointer-events: none; border-radius: inherit;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y), 
        rgba(0, 0, 0, 0.02), 
        transparent 40%
    );
    opacity: 0; transition: opacity 0.3s;
}
[data-theme="dark"] .city-card::before, [data-theme="dark"] .store-card::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.05), transparent 40%);
}

/* Border Glow */
.city-card::after, .cat-card::after, .store-card::after, .service-card::after, .catalog-card::after, .blog-card::after {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 50; pointer-events: none; border-radius: inherit;
    padding: 2px; 
    background: radial-gradient(
        500px circle at var(--mouse-x) var(--mouse-y), 
        rgba(194, 27, 36, 0.8), 
        transparent 40%
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity 0.3s;
}

.city-card:hover::before, .cat-card:hover::before, .store-card:hover::before, .service-card:hover::before, .catalog-card:hover::before, .blog-card:hover::before,
.city-card:hover::after, .cat-card:hover::after, .store-card:hover::after, .service-card:hover::after, .catalog-card:hover::after, .blog-card:hover::after {
    opacity: 1;
}

/* Elements inside cards need to be clickable */
.city-card > *, .cat-card > *, .store-card > *, .service-card > *, .catalog-card > *, .blog-card > * {
    position: relative; z-index: 55;
}

/* EXCEPTION: Images/Icons must be BELOW the glow (z-index < 50) */
.store-photo, .blog-thumb, .catalog-logo-area, .service-icon {
    z-index: 40 !important; 
}

/* Tooltip */
.tooltip-box { z-index: 9999 !important; }

/* --- 15. BLOG & MODALS --- */
.blog-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px; padding-bottom: 60px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--ease-smooth);
    display: flex; flex-direction: column;
    position: relative; height: 100%;
}

.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--color-accent); }

.blog-thumb { height: 200px; width: 100%; overflow: hidden; position: relative; z-index: 1; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; background: transparent; z-index: 55; }
.blog-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; text-transform: uppercase; color: var(--color-primary); }
.blog-excerpt { font-size: 14px; color: var(--color-secondary); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--color-border); padding-top: 15px; }

/* Modal */
.article-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 17, 17, 0.9); backdrop-filter: blur(5px);
    z-index: 10000; display: none; align-items: center; justify-content: center;
    padding: 20px; opacity: 0; transition: opacity 0.3s ease;
}
.article-modal.open { display: flex; opacity: 1; }

.modal-content {
    background: var(--bg-card);
    width: 100%; max-width: 900px; max-height: 90vh;
    border-radius: 8px; overflow-y: auto; position: relative;
    transform: translateY(20px); transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); border: 1px solid var(--color-border);
}
.article-modal.open .modal-content { transform: translateY(0); }

.close-modal {
    position: absolute; top: 15px; right: 15px;
    width: 40px; height: 40px; background: rgba(0,0,0,0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: 0.3s; z-index: 10;
    font-size: 20px; color: var(--color-primary);
}
.close-modal:hover { background: var(--color-accent); color: #fff; }
[data-theme="dark"] .close-modal { background: rgba(255,255,255,0.1); }

.modal-header-img { width: 100%; height: 350px; object-fit: cover; }
.modal-body { padding: 40px; color: var(--color-primary); }
.modal-body h2 { font-size: 28px; margin-bottom: 20px; text-transform: uppercase; }
.modal-text { font-size: 16px; line-height: 1.8; color: var(--color-secondary); }
.modal-text p { margin-bottom: 15px; }

@media (max-width: 768px) {
    .modal-header-img { height: 200px; }
    .modal-body { padding: 20px; }
    .modal-body h2 { font-size: 22px; }
}

/* Brand Slider Adjustments for Dark Mode */
[data-theme="dark"] .brand-slider-section { background: var(--bg-card); }
[data-theme="dark"] .slider-track-container::before { background: linear-gradient(to right, var(--bg-card), transparent); }
[data-theme="dark"] .slider-track-container::after { background: linear-gradient(to left, var(--bg-card), transparent); }
[data-theme="dark"] .brand-slide img { filter: grayscale(100%) brightness(2) opacity(0.6); } /* Make brands white-ish */
[data-theme="dark"] .slider-track .brand-slide:hover img { filter: grayscale(0%) brightness(1) opacity(1); }

/* --- MOBILE MENU FIX (REPAIRED) --- */
.desktop-nav.mobile-visible {
    display: flex !important;
    flex-direction: column;
    
    /* Използваме fixed, за да избягаме от ограниченията на контейнера */
    position: fixed !important; 
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    
    /* Добавяме отстояние отгоре, за да не скриваме логото и хикса */
    padding-top: 80px !important; 
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 100px !important; /* Място за долната лента */
    
    background-color: var(--bg-card) !important;
    z-index: 999 !important; /* Под хедъра (1000), но над сайта */
    
    overflow-y: auto !important; /* Ако менюто е дълго */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Принудително показваме елементите вътре */
.desktop-nav.mobile-visible .main-menu,
.desktop-nav.mobile-visible .top-row-contacts {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Оформяне на линковете в отвореното меню */
.desktop-nav.mobile-visible .main-menu {
    gap: 0 !important;
    margin-bottom: 20px !important;
    order: 1;
}

.desktop-nav.mobile-visible .main-menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.desktop-nav.mobile-visible .main-menu a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    color: var(--color-primary);
}

/* Контактите най-долу */
.desktop-nav.mobile-visible .top-row-contacts {
    order: 2;
    align-items: center;
    gap: 20px;
    border-top: 4px solid var(--color-accent);
    padding-top: 20px;
}

/* Скриване на излишни неща в мобилното меню */
.desktop-nav.mobile-visible #theme-toggle {
    margin: 10px auto;
    transform: scale(1.2);
}

/* Подреждане на контактите и бутоните един под друг */
.desktop-nav.mobile-visible .top-row-contacts {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    order: 2; /* Слагаме контактите най-отдолу, под менюто */
    padding-top: 20px;
    border-top: 1px solid var(--color-surface);
}

/* Социалните икони и B2B бутона */
.desktop-nav.mobile-visible .top-row-contacts > div {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

/* Основното меню - вертикален списък */
.desktop-nav.mobile-visible .main-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    order: 1; /* Менюто най-отгоре */
}

.desktop-nav.mobile-visible .main-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-surface);
}

.desktop-nav.mobile-visible .main-menu li:last-child {
    border-bottom: none;
}

.desktop-nav.mobile-visible .main-menu a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
}

/* Стилове за B2B бутона в мобилен режим */
.desktop-nav.mobile-visible .btn-eshop {
    margin: 10px 0;
    width: 100%;
    max-width: 280px;
    display: flex;
    justify-content: center;
    padding: 12px;
}

/* Центриране на социалните икони */
.desktop-nav.mobile-visible .social-header {
    margin: 0 auto 10px auto;
}

/* Тогъл бутонът в мобилно */
.desktop-nav.mobile-visible #theme-toggle {
    margin: 10px auto;
}

/* =========================================
   v2.0 COMMAND CENTER STYLES
   ========================================= */
.command-center-hero {
    position: relative;
    padding: 160px 0 100px 0; /* FIXED: Reduced from 180px for better fit */
    min-height: 60vh; /* FIXED: Reduced from 80vh to prevent too much height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible; /* Позволява на dropdown менюто да излиза */
}

.command-title {
    font-size: 42px; /* По-голям шрифт за десктоп */
    margin-bottom: 40px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.1);
    line-height: 1.2;
}
@media (min-width: 768px) {
    .command-title { font-size: 56px; }
}

.command-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

/* Search Box Container */
.command-bar-box {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 5px 20px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

/* Focus Effect */
.command-bar-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(194, 27, 36, 0.15); /* Accent shadow */
    border-color: var(--color-accent);
}

.command-icon {
    font-size: 20px;
    color: var(--color-secondary);
    margin-right: 15px;
}

.command-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    height: 60px;
    font-size: 18px;
    font-family: var(--font-ui);
    color: var(--color-primary);
    outline: none;
    padding: 0; /* Override generic input padding */
}
/* Override background color applied by generic input rule */
.command-input:focus { background-color: transparent !important; box-shadow: none !important; }

.command-clear {
    background: transparent;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    transition: 0.2s;
    display: none; /* JS toggles this */
}
.command-clear:hover { color: var(--color-accent); }

/* Dropdown Results */
.command-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-top: 5px; 
    padding: 0;
    display: none; /* Hidden by default */
    z-index: 90;
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}

.command-dropdown.active { display: block; }

.cmd-hint {
    padding: 15px 20px;
    color: var(--color-secondary);
    font-size: 13px;
    font-style: italic;
}

.cmd-item {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-surface);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-primary);
}
.cmd-item:hover { background: var(--color-surface); }
.cmd-item:last-child { border-bottom: none; }

.cmd-item i { width: 20px; text-align: center; color: var(--color-secondary); }
.cmd-item strong { color: var(--color-accent); }

/* Chips (Quick Buttons) */
.command-chips {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.chip-btn {
    background: rgba(255,255,255,0.5); /* Glassy default */
    backdrop-filter: blur(5px);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
}
[data-theme="dark"] .chip-btn { background: rgba(0,0,0,0.3); }

.chip-btn:hover {
    background: var(--color-surface);
    transform: translateY(-2px);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Live Status Bar */
.live-status-bar {
    margin-top: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--bg-card);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    font-size: 13px;
    color: var(--color-secondary);
}

.status-dot {
    width: 8px; height: 8px;
    background: #10b981; /* Green */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

.status-text { font-weight: 600; color: var(--color-primary); }
.sep { color: var(--color-border); }

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 600px) {
    .live-status-bar {
        flex-direction: column;
        gap: 5px;
        border-radius: 12px;
        text-align: center;
    }
    .sep { display: none; }
}

/* =========================================
   STORE STATUS INDICATOR (Live)
   ========================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
[data-theme="dark"] .status-badge { background: rgba(255, 255, 255, 0.1); }

.status-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

/* OPEN STATE */
.status-open {
    color: #16a34a; /* Green Text */
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
}
.status-open .status-dot-live {
    background-color: #16a34a;
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
    animation: pulse-green-live 2s infinite;
}

/* CLOSED STATE */
.status-closed {
    color: #dc2626; /* Red Text */
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}
.status-closed .status-dot-live {
    background-color: #dc2626;
    animation: none; /* No pulse for closed */
    opacity: 0.7;
}

@keyframes pulse-green-live {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* =========================================
   LANGUAGE SWITCHER
   ========================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 15px;
    background: var(--color-surface);
    border-radius: 4px;
    padding: 2px;
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-secondary);
    font-family: var(--font-brand);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: var(--color-primary);
    background: var(--color-border);
}

.lang-btn.active {
    background: var(--color-primary);
    color: var(--color-bg);
}

[data-theme="dark"] .lang-btn.active {
    background: var(--color-accent);
    color: #fff;
}

/* Language switcher inside mobile menu */
@media (max-width: 1099px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }
}


/* =========================================
   COOKIE CONSENT BANNER (Centralized)
   ========================================= */
.cookie-consent-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--color-accent, #C21B24);
    border-radius: 8px;
    padding: 20px 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    z-index: 10000;
    display: none;
    animation: slideUpCookie 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-text {
    font-size: 13px;
    line-height: 1.5;
    color: #e5e7eb;
    font-weight: 400;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie-accept {
    flex: 1;
    background: var(--color-accent, #C21B24);
    color: #fff;
    border: none;
    padding: 10px 0;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
    font-family: var(--font-brand, sans-serif);
    box-shadow: 0 4px 15px rgba(194, 27, 36, 0.3);
}

.btn-cookie-accept:hover {
    background: #9A121A;
    transform: translateY(-2px);
}

.btn-cookie-policy {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #4b5563;
    color: #9ca3af;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-brand, sans-serif);
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cookie-policy:hover {
    border-color: #fff;
    color: #fff;
}

@keyframes slideUpCookie {
    from { transform: translate(-50%, 50px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}
/* Header controls layout fix */
.top-row-contacts > div {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.btn-eshop {
    flex-shrink: 0;
}

.theme-toggle-btn {
    flex-shrink: 0;
}
/* =========================================
   HEADER – UNIFIED PREMIUM STYLE
   ========================================= */

.site-header .top-row-contacts {
  gap: 14px;
  font-weight: 700;
}

/* Всички header controls с еднакъв радиус */
.site-header .btn-eshop,
.site-header .lang-switcher,
.site-header .theme-toggle-btn {
  border-radius: 10px;
}

/* Eshop button */
.site-header .btn-eshop {
  padding: 9px 18px;
  box-shadow: 0 8px 18px rgba(194, 27, 36, 0.22);
}

/* Language switcher – segmented look */
.site-header .lang-switcher {
  background: rgba(255,255,255,0.6);
  padding: 4px;
  border: 1px solid rgba(0,0,0,0.1);
  display: flex;
  gap: 4px;
}

[data-theme="dark"] .site-header .lang-switcher {
  background: rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.15);
}

.site-header .lang-btn {
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.6px;
}

.site-header .lang-btn.active {
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Theme button да не стои квадратен */
.site-header .theme-toggle-btn {
  width: 38px;
  height: 38px;
}


/* =========================================
   HEADER – ДВА РЕДА
   Горният ред е служебен, долният е менюто. Делят се с тънка гравирана линия,
   която избледнява наляво. Всичко в горния ред е с една височина.
   ========================================= */
@media (min-width: 1024px) {
  .site-header .top-row-contacts { position: relative; margin-bottom: 9px; padding-bottom: 9px; }
  .site-header .top-row-contacts::after {
    content: ''; position: absolute; right: 0; bottom: 0; width: 100%; height: 1px; pointer-events: none;
    background: linear-gradient(to left, rgba(17,17,17,.18) 0%, rgba(17,17,17,.12) 55%, rgba(17,17,17,0) 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,.8);
  }
  [data-theme="dark"] .site-header .top-row-contacts::after {
    background: linear-gradient(to left, rgba(255,255,255,.30) 0%, rgba(255,255,255,.18) 55%, rgba(255,255,255,0) 100%);
    box-shadow: 0 1px 0 rgba(0,0,0,.7);
  }
  .site-header .social-header { display: inline-flex; align-items: center; gap: 12px; }
  .site-header .social-header a { margin-left: 0; font-size: 15px; opacity: .78; }
  .site-header .social-header a:hover { opacity: 1; }
  .site-header .btn-eshop { height: 34px; padding: 0 16px; margin-left: 0; }
  .site-header .top-row-contacts > div { gap: 12px; }
  .site-header .lang-switcher { height: 34px; box-sizing: border-box; align-items: center; padding: 3px; margin: 0; }  /* без отстъпа от мобилното меню, който хващаше и 1024–1099 px */
  .site-header .lang-btn { padding: 4px 11px; }
  .site-header .theme-toggle-btn { width: 34px; height: 34px; margin-left: 0; }
  .site-header.scrolled .top-row-contacts { margin-bottom: 6px; padding-bottom: 6px; }
}

/* ── ТЪРСАЧКАТА: карти в падащото поле ── */
.command-wrapper .command-dropdown { top: 72px; max-height: none; overflow: visible; }   /* под полето, не под бутоните */
.command-input { min-width: 0; }   /* дълъг текст не изхвърля бутона за изчистване */
.sr-card { display: block; width: 100%; box-sizing: border-box; padding: 16px 20px; border: 0; border-bottom: 1px solid var(--color-surface); background: transparent; text-align: left; font: inherit; color: var(--color-primary); text-decoration: none; }
.sr-card:last-child { border-bottom: 0; }
.sr-link { cursor: pointer; transition: background .15s; }
.sr-link:hover, .sr-link:focus-visible { background: var(--color-surface); outline: none; }
.sr-row { display: flex; gap: 14px; align-items: flex-start; }
.sr-row > i:first-child { width: 22px; margin-top: 3px; text-align: center; color: var(--color-secondary); font-size: 16px; }
.sr-row > div { flex: 1; min-width: 0; }
.sr-row b { display: block; font-weight: 700; color: var(--color-primary); line-height: 1.35; }
.sr-row span { display: block; margin-top: 3px; font-size: 13px; color: var(--color-secondary); line-height: 1.45; overflow-wrap: anywhere; }
.sr-mono { font-family: 'Space Mono', ui-monospace, monospace; letter-spacing: 1px; color: var(--color-primary) !important; }
.sr-go { margin-top: 4px; color: var(--color-accent); }
.sr-ok { color: #10b981 !important; }
.sr-warn { color: #d97706 !important; }
.sr-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-left: 36px; }
.sr-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--color-border); background: transparent; color: var(--color-primary); font: 600 14px var(--font-ui); text-decoration: none; cursor: pointer; white-space: nowrap; }
.sr-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.sr-btn.main { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.sr-btn.main:hover { background: var(--color-accent-hover); color: #fff; }
.sr-btn[disabled] { opacity: .7; cursor: default; }
.sr-check { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 36px; font-size: 13px; color: var(--color-secondary); cursor: pointer; }
.sr-check input { width: 16px; height: 16px; accent-color: var(--color-accent); }
.sr-form { display: flex; gap: 8px; margin: 12px 0 0 36px; flex-wrap: wrap; }
.sr-form input { flex: 1 1 200px; height: 40px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 8px; background: var(--bg-card); color: var(--color-primary); font: 15px var(--font-ui); }
.sr-err { display: block; margin: 8px 0 0 36px; font-size: 13px; font-weight: 600; color: #C21B24; }
.sr-err:empty { display: none; }
.sr-note { margin-bottom: 10px; font-size: 14px; line-height: 1.5; color: var(--color-secondary); }
.sr-store { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.sr-store b { display: block; font: 700 18px var(--font-brand); color: var(--color-primary); }
.sr-store span { display: block; font-size: 13px; color: var(--color-secondary); }
.sr-store .sr-btns { margin: 0; padding: 0; }
.sr-st { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--color-secondary); }
.sr-st i { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; }
.sr-st.open { color: #10b981; } .sr-st.open i { background: #10b981; }
.sr-st.unk i { background: var(--color-border); }
.sr-li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--color-surface); }
.sr-li b { display: block; color: var(--color-primary); }
.sr-li .sr-st { margin-top: 2px; }
.sr-li > a { color: var(--color-secondary); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sr-foot { background: var(--color-surface); border-bottom: 0; border-radius: 0 0 12px 12px; flex-wrap: wrap; }
.sr-foot > a { color: var(--color-accent); font-size: 13px; }
.sr-foot .sr-btn { height: 34px; font-size: 13px; background: var(--bg-card); }
@media (max-width: 600px) {
  .sr-btns, .sr-form, .sr-check, .sr-err { margin-left: 0; padding-left: 0; }
  .sr-btns .sr-btn, .sr-form .sr-btn { flex: 1 1 100%; justify-content: center; }
  .sr-store .sr-btns { width: 100%; }
}
