/* =============================================
   PREMIUM HEADER — LUXE AUTO GROUP
   (Auth page styles live in login.php / register.php inline <style>)
============================================= */

/* ---------- TOP BAR ---------- */
#topbar {
    background: linear-gradient(90deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(239,55,55,0.18);
    position: relative;
    overflow: hidden;
}
#topbar::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(239,55,55,0.04), transparent);
    animation: topbar-shimmer 8s linear infinite;
}
@keyframes topbar-shimmer {
    0%   { left: -60%; }
    100% { left: 160%; }
}
.tb-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: #999; font-size: 12px; font-weight: 500;
    letter-spacing: 0.02em; transition: color 0.2s; text-decoration: none;
}
.tb-item:hover { color: #fff; }
.tb-icon {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(239,55,55,0.12); border: 1px solid rgba(239,55,55,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px; color: #ef3737; flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.tb-item:hover .tb-icon { background: rgba(239,55,55,0.25); transform: scale(1.1); }
.tb-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.1); }
.social-btn {
    width: 26px; height: 26px; border-radius: 4px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #888; font-size: 11px; transition: all 0.2s; text-decoration: none;
}
.social-btn:hover { background: #ef3737; border-color: #ef3737; color: #fff; transform: translateY(-2px); }
.tb-auth-link {
    font-size: 11.5px; font-weight: 600; color: #888;
    letter-spacing: 0.04em; text-decoration: none; transition: color 0.2s;
}
.tb-auth-link:hover { color: #ef3737; }

/* ---------- MAIN NAV ---------- */
#mainNav {
    background: #fff;
    position: sticky; top: 0; z-index: 100;
    transition: background 0.35s, box-shadow 0.35s;
}
#mainNav::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #ef3737 0%, #ff6b6b 50%, #ef3737 100%);
    background-size: 200% 100%;
    animation: gradient-slide 4s linear infinite;
}
@keyframes gradient-slide {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}
#mainNav.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06);
    backdrop-filter: blur(12px);
}

/* Logo */
.logo-icon-wrap { position: relative; width: 48px; height: 48px; flex-shrink: 0; }
.logo-icon-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #ef3737, #c0392b);
    transform: skewX(-10deg); border-radius: 3px;
    box-shadow: 4px 4px 0 rgba(239,55,55,0.2), 0 8px 20px rgba(239,55,55,0.3);
    transition: box-shadow 0.3s, transform 0.3s;
}
.logo-wrap:hover .logo-icon-bg { box-shadow: 6px 6px 0 rgba(239,55,55,0.3), 0 12px 28px rgba(239,55,55,0.4); transform: skewX(-10deg) translateY(-2px); }
.logo-icon-bg i { position: relative; z-index: 1; color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.logo-badge { position: absolute; top: -4px; right: -4px; width: 14px; height: 14px; background: #ef3737; border: 2.5px solid #fff; border-radius: 50%; z-index: 2; }
.logo-badge::after { content: ''; position: absolute; inset: 2px; background: #fff; border-radius: 50%; animation: badge-blink 2s ease-in-out infinite; }
@keyframes badge-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.logo-text-main { font-family: 'Oswald', sans-serif; font-size: 23px; font-weight: 900; color: #0d0d0d; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.logo-text-main span { color: #ef3737; }
.logo-text-sub { font-size: 9px; font-weight: 700; color: #aaa; letter-spacing: 0.3em; text-transform: uppercase; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.logo-text-sub::before { content: ''; display: block; width: 16px; height: 1px; background: #ef3737; }

/* Nav links */
.nav-link {
    position: relative; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; color: #2a2a2a;
    padding: 6px 0; transition: color 0.25s; white-space: nowrap; text-decoration: none;
}
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: #ef3737; transform: translateX(-50%); transition: width 0.3s cubic-bezier(0.4,0,0.2,1); }
.nav-link:hover, .nav-link.active { color: #ef3737; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-sep { width: 3px; height: 3px; border-radius: 50%; background: #ddd; flex-shrink: 0; }

/* Phone block */
.phone-wrap { 
    display: flex; align-items: center; gap: 13px; padding: 10px 18px; 
    border: 1px solid #f0f0f0; border-radius: 6px; background: #fafafa; 
    transition: border-color 0.25s, box-shadow 0.25s; 
    min-width: max-content; /* არ აძლევს ელემენტს შევიწროების უფლებას */
}
.phone-wrap:hover { border-color: #ef3737; box-shadow: 0 4px 20px rgba(239,55,55,0.1); }
.phone-ring-icon { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #ef3737, #c0392b); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(239,55,55,0.4); animation: phone-pulse 2.5s infinite; }
@keyframes phone-pulse { 0%,100% { box-shadow: 0 4px 12px rgba(239,55,55,0.4), 0 0 0 0 rgba(239,55,55,0.3); } 50% { box-shadow: 0 4px 12px rgba(239,55,55,0.4), 0 0 0 8px rgba(239,55,55,0); } }

.phone-label { 
    font-size: 9px; font-weight: 700; color: #aaa; letter-spacing: 0.2em; 
    text-transform: uppercase; display: block; margin-bottom: 3px; 
    white-space: nowrap; /* ინარჩუნებს ერთ ხაზზე */
}
.phone-number { 
    font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700; 
    color: #111; letter-spacing: 0.05em; transition: color 0.2s; 
    text-decoration: none; display: block; 
    white-space: nowrap; /* კრძალავს ნომრის ორ ხაზზე გაყოფას */
}
.phone-number:hover { color: #ef3737; }

/* CTA */
.nav-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #ef3737 0%, #c0392b 100%); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 13px 22px; border-radius: 3px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 16px rgba(239,55,55,0.35); text-decoration: none; }
.nav-cta::before { content: ''; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; background: rgba(255,255,255,0.18); transform: skewX(-20deg); transition: left 0.4s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,55,55,0.45); }
.nav-cta:hover::before { left: 160%; }

/* ---------- HAMBURGER ---------- */
.hamburger-btn { width: 42px; height: 42px; border: 1.5px solid #eee; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; background: #fff; transition: border-color 0.2s, background 0.2s; flex-shrink: 0; }
.hamburger-btn:hover { border-color: #ef3737; background: #fff5f5; }
.hamburger-btn span { display: block; height: 1.5px; background: #222; border-radius: 2px; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); transform-origin: center; }
.hamburger-btn span:nth-child(1) { width: 20px; }
.hamburger-btn span:nth-child(2) { width: 14px; }
.hamburger-btn span:nth-child(3) { width: 20px; }
.hamburger-btn.open span:nth-child(1) { width: 18px; transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { width: 18px; transform: translateY(-6.5px) rotate(-45deg); }
.hamburger-btn.open { border-color: #ef3737; background: #fff5f5; }

/* ---------- MOBILE DRAWER ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0); z-index: 199; pointer-events: none; transition: background 0.4s; backdrop-filter: blur(0px); }
.drawer-overlay.open { background: rgba(0,0,0,0.6); pointer-events: all; backdrop-filter: blur(4px); }
.mobile-drawer { position: fixed; top: 0; right: -100%; width: min(340px, 90vw); height: 100vh; height: 100dvh; background: #0c0c0c; z-index: 200; transition: right 0.4s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.mobile-drawer.open { right: 0; }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: linear-gradient(135deg, #111, #1a1a1a); border-bottom: 1px solid rgba(239,55,55,0.2); position: relative; overflow: hidden; flex-shrink: 0; }
.drawer-header::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #ef3737, transparent); }
.drawer-close-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: #888; cursor: pointer; transition: all 0.2s; background: transparent; font-size: 14px; flex-shrink: 0; }
.drawer-close-btn:hover { background: rgba(239,55,55,0.15); border-color: rgba(239,55,55,0.4); color: #ef3737; }

/* Drawer user strip */
.drawer-user-strip { padding: 14px 20px; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); flex-shrink: 0; }
.drawer-user-logged { display: flex; align-items: center; gap: 12px; }
.drawer-user-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #ef3737, #c0392b); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; flex-shrink: 0; box-shadow: 0 4px 10px rgba(239,55,55,0.3); }
.drawer-user-name { font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.2; }
.drawer-user-status { font-size: 10px; color: #ef3737; font-weight: 600; letter-spacing: 0.05em; margin-top: 3px; }
.drawer-auth-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-auth-btn-login, .drawer-auth-btn-register { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 8px; border-radius: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: all 0.22s; }
.drawer-auth-btn-login { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #ccc; }
.drawer-auth-btn-login:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.drawer-auth-btn-register { background: linear-gradient(135deg, #ef3737, #c0392b); border: 1px solid transparent; color: #fff; box-shadow: 0 4px 12px rgba(239,55,55,0.3); }
.drawer-auth-btn-register:hover { box-shadow: 0 6px 18px rgba(239,55,55,0.45); transform: translateY(-1px); }

/* Nav links */
.drawer-nav { flex: 1; padding: 6px 0; }
.drawer-link { display: flex; align-items: center; gap: 12px; padding: 13px 20px; color: #888; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; border-left: 3px solid transparent; transition: all 0.22s; }
.drawer-link:hover, .drawer-link.active { color: #fff; background: rgba(255,255,255,0.04); border-left-color: #ef3737; padding-left: 26px; }
.drawer-link .d-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 11px; color: #666; flex-shrink: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.drawer-link:hover .d-icon, .drawer-link.active .d-icon { background: rgba(239,55,55,0.15); border-color: rgba(239,55,55,0.3); color: #ef3737; }
.drawer-link .d-arrow { margin-left: auto; font-size: 9px; color: #333; transition: color 0.2s, transform 0.2s; flex-shrink: 0; }
.drawer-link:hover .d-arrow { color: #ef3737; transform: translateX(3px); }
.drawer-link-danger { color: #666; }
.drawer-link-danger:hover { color: #ef3737; border-left-color: #ef3737; }
.drawer-link-danger .d-icon-danger { background: rgba(239,55,55,0.08); border-color: rgba(239,55,55,0.15); color: #ef3737; }
.drawer-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 6px 20px; }

/* Footer */
.drawer-footer { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.3); flex-shrink: 0; }
.drawer-phone-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: rgba(239,55,55,0.08); border: 1px solid rgba(239,55,55,0.2); border-radius: 8px; margin-bottom: 10px; text-decoration: none; transition: background 0.2s, border-color 0.2s; }
.drawer-phone-card:hover { background: rgba(239,55,55,0.14); border-color: rgba(239,55,55,0.4); }
.drawer-phone-card .dpc-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #ef3737, #c0392b); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; box-shadow: 0 4px 12px rgba(239,55,55,0.3); flex-shrink: 0; }
.drawer-order-btn { display: flex; align-items: center; justify-content: center; gap: 9px; background: linear-gradient(135deg, #ef3737, #c0392b); color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px; border-radius: 6px; text-decoration: none; margin-bottom: 14px; box-shadow: 0 4px 16px rgba(239,55,55,0.3); transition: transform 0.2s, box-shadow 0.2s; }
.drawer-order-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(239,55,55,0.4); }
.drawer-socials { display: flex; align-items: center; justify-content: center; gap: 8px; }
.drawer-social-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #666; font-size: 12px; text-decoration: none; transition: all 0.2s; }
.drawer-social-btn:hover { background: #ef3737; border-color: #ef3737; color: #fff; transform: translateY(-3px); }

/* ---------- MISC ---------- */
.clip-slant { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); }
.car-card-specs > div { border-right: 1px solid #e5e7eb; }
.car-card-specs > div:last-child { border-right: none; }


/* =============================================
   HERO SEARCH BAR — LUXE AUTO GROUP
   Custom dropdown system
============================================= */

.sh-shell {
    background: #fff;
    border-radius: 18px 18px 0 0;
    border-top: 4px solid #ef3737;
    box-shadow: 0 -24px 80px rgba(0,0,0,0.22), 0 -2px 0 rgba(239,55,55,0.12);
    overflow: visible;
    position: relative;
}

/* ── Top label bar ── */
.sh-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eef0f2;
    border-radius: 14px 14px 0 0;
}
.sh-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
}
.sh-pill i { color: #ef3737; font-size: 9px; }
.sh-pill-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #bbb;
    font-weight: 500;
    letter-spacing: 0.03em;
}
.sh-pill-sub i { color: #ef3737; font-size: 9px; }

/* ── Filter row ── */
.sh-row {
    display: flex;
    align-items: stretch;
    min-height: 86px;
}

/* ── Column ── */
.sh-col {
    flex: 1;
    position: relative;
    min-width: 0;
}

/* ── Trigger (clickable area) ── */
.sh-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 14px;
    cursor: pointer;
    height: 100%;
    transition: background 0.18s;
    user-select: none;
}
.sh-trigger:hover { background: #fdfafe; }
.sh-trigger.sh-open { background: #fff7f7; }
.sh-trigger-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.sh-trigger-disabled.sh-enabled { opacity: 1; cursor: pointer; pointer-events: all; }

.sh-trigger-inner { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }

/* Label */
.sh-lbl {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9.5px;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    transition: color 0.18s;
}
.sh-lbl-ico { font-size: 9px; color: #ef3737; }
.sh-trigger.sh-open .sh-lbl { color: #ef3737; }

/* Current value text */
.sh-val {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    font-family: 'Noto Sans Georgian', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    transition: color 0.18s;
}
.sh-val.sh-placeholder { color: #bbb; font-weight: 500; font-size: 13px; }
.sh-trigger.sh-open .sh-val { color: #ef3737; }

/* Chevron */
.sh-chev {
    font-size: 10px;
    color: #ccc;
    flex-shrink: 0;
    margin-left: 8px;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), color 0.18s;
}
.sh-trigger.sh-open .sh-chev { transform: rotate(180deg); color: #ef3737; }

/* Column divider */
.sh-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, #eef0f2 20%, #eef0f2 80%, transparent);
    flex-shrink: 0;
    align-self: stretch;
}

/* ── DROPDOWN PANEL ── */
.sh-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -1px;
    min-width: 240px;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.16), 0 4px 16px rgba(0,0,0,0.08);
    z-index: 300;
    overflow: hidden;
    animation: shSlideIn 0.18s cubic-bezier(0.4,0,0.2,1);
}
.sh-panel.sh-visible { display: block; }

@keyframes shSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Panel search input */
.sh-panel-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
    background: #fafafa;
}
.sh-panel-search i { color: #bbb; font-size: 12px; flex-shrink: 0; }
.sh-panel-search input {
    border: none;
    outline: none;
    font-size: 13px;
    color: #111;
    background: transparent;
    width: 100%;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-weight: 500;
}
.sh-panel-search input::placeholder { color: #bbb; font-weight: 400; }

/* Panel list */
.sh-panel-list {
    max-height: 260px;
    overflow-y: auto;
    padding: 6px 0;
    scrollbar-width: thin;
    scrollbar-color: #ef3737 transparent;
}
.sh-panel-list::-webkit-scrollbar { width: 4px; }
.sh-panel-list::-webkit-scrollbar-track { background: transparent; }
.sh-panel-list::-webkit-scrollbar-thumb { background: #ef3737; border-radius: 4px; }

/* List item */
.sh-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13.5px;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    gap: 10px;
}
.sh-item:hover { background: #f8f9ff; color: #111; }
.sh-item.sh-item-selected { color: #ef3737; font-weight: 700; background: #fff5f5; }
.sh-item.sh-item-selected:hover { background: #ffecec; }
.sh-item.sh-hidden { display: none; }
.sh-check { font-size: 10px; color: #ef3737; opacity: 0; flex-shrink: 0; transition: opacity 0.14s; }
.sh-item.sh-item-selected .sh-check { opacity: 1; }
.sh-empty-msg { color: #bbb; font-size: 12px; gap: 8px; cursor: default; }
.sh-empty-msg:hover { background: transparent; }

/* ── RANGE PANEL ── */
.sh-panel-range { min-width: 320px; }
.sh-range-label {
    padding: 12px 16px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #bbb;
    font-family: 'Oswald', sans-serif;
    border-bottom: 1px solid #f1f3f5;
    background: #fafafa;
}
.sh-range-cols {
    display: flex;
    align-items: stretch;
}
.sh-range-col { flex: 1; }
.sh-range-head {
    padding: 8px 16px 6px;
    font-size: 10px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Oswald', sans-serif;
    border-bottom: 1px solid #f5f5f5;
    background: #fdfdfd;
}
.sh-panel-list-half { max-height: 200px; }
.sh-range-divider { width: 1px; background: #eef0f2; flex-shrink: 0; }

/* ── Search Button ── */
.sh-btn {
    flex-shrink: 0;
    width: 130px;
    border: none;
    cursor: pointer;
    background: linear-gradient(160deg, #ef3737 0%, #c0392b 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: background 0.25s, box-shadow 0.25s;
}
.sh-btn::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-20deg);
    transition: left 0.45s;
}
.sh-btn:hover { background: linear-gradient(160deg, #d62f2f 0%, #9b1c1c 100%); box-shadow: -4px 0 24px rgba(239,55,55,0.4); }
.sh-btn:hover::after { left: 160%; }
.sh-btn-ico { font-size: 22px; transition: transform 0.3s cubic-bezier(.34,1.56,.64,1); position: relative; z-index: 1; }
.sh-btn:hover .sh-btn-ico { transform: scale(1.2) rotate(-8deg); }
.sh-btn > span { position: relative; z-index: 1; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .sh-trigger { padding: 14px 14px 12px; }
    .sh-btn { width: 110px; }
    .sh-val { max-width: 120px; }
}
@media (max-width: 768px) {
    .sh-row { flex-wrap: wrap; }
    .sh-col { flex: 1 1 45%; border-bottom: 1px solid #eef0f2; }
    .sh-divider { display: none; }
    .sh-btn { width: 100%; min-height: 56px; flex-direction: row; gap: 10px; }
    .sh-btn-ico { font-size: 16px; }
    .sh-panel { min-width: 200px; }
}
@media (max-width: 520px) {
    .sh-col { flex: 1 1 100%; }
    .sh-topbar { flex-wrap: wrap; gap: 6px; }
    .sh-panel { left: 0; right: 0; min-width: unset; }
}

/* ═══════════════════════════════════════════
   MODEL SERIES BLOCKS
═══════════════════════════════════════════ */

.sh-series-block {
    border-bottom: 1px solid #f5f5f5;
}
.sh-series-block:last-child { border-bottom: none; }

.sh-series-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    background: #fafafa;
    cursor: default;
    transition: background 0.14s;
    gap: 8px;
}
.sh-series-header:hover { background: #f3f3f8; }

.sh-series-left {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}
.sh-series-left:hover .sh-series-name { color: #ef3737; }

.sh-series-ico {
    font-size: 10px;
    color: #ef3737;
    flex-shrink: 0;
}
.sh-series-name {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.03em;
    transition: color 0.14s;
    white-space: nowrap;
}
.sh-series-count {
    background: #ef3737;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    flex-shrink: 0;
}

.sh-series-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sh-series-toggle {
    background: none;
    border: 1px solid #e8eaed;
    border-radius: 6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #aaa;
    font-size: 9px;
    transition: background 0.14s, color 0.14s, border-color 0.14s;
    padding: 0;
}
.sh-series-toggle:hover { background: #ef3737; color: #fff; border-color: #ef3737; }
.sh-series-toggle i { transition: transform 0.25s cubic-bezier(0.4,0,0.2,1); }

/* Sub-models list — collapsed by default */
.sh-sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
    background: #fdfdfd;
}
.sh-sub-list.sh-sub-open {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ef3737 transparent;
}
.sh-sub-list::-webkit-scrollbar { width: 3px; }
.sh-sub-list::-webkit-scrollbar-thumb { background: #ef3737; border-radius: 3px; }

.sh-sub-item {
    padding-left: 34px !important;
    font-size: 13px !important;
    color: #555 !important;
    border-left: 2px solid #f0f0f0;
}
.sh-sub-item:hover { border-left-color: #ef3737; color: #111 !important; background: #fff5f5; }
.sh-sub-item.sh-item-selected {
    color: #ef3737 !important;
    border-left-color: #ef3737;
    background: #fff5f5;
}
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 15px;
    margin-left: 5px;
}
.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #888;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.lang-btn img {
    width: 14px;
    border-radius: 2px;
}
.lang-btn:hover {
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.lang-btn.active {
    border-color: #ef3737;
    background: rgba(239,55,55,0.15);
    color: #ef3737;
}
.drawer-lang {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 10px;
}
/* Series selected state */
.sh-series-header.sh-series-selected .sh-series-name { color: #ef3737; }
.sh-series-header.sh-series-selected { background: #fff5f5; }