/* ============================================================
   bearing-shop.css — MotionLink Power Shop Theme
   Dark industrial aesthetic with blue accents
   ============================================================ */

:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F3F4F6;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F9FAFB;
    --border: #E5E7EB;
    --border-hover: rgba(255, 106, 0, 0.4);
    --text: #1A1A1D;
    --text-muted: #6B7280;
    --text-bright: #000000;
    --accent: #FF6A00;
    --accent-dark: #CC5500;
    --accent-glow: rgba(255, 106, 0, 0.1);
    --green: #16a34a;
    --yellow: #ca8a04;
    --red: #dc2626;
    --radius: 8px;
    --shadow: 0 4px 15px rgba(0,0,0,0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg-primary); color: var(--text); font-family: 'Montserrat', system-ui, -apple-system, sans-serif; line-height: 1.5; }

/* ============ ANNOUNCE BAR ============ */
.announce-bar {
    background: #F3F4F6;
    color: var(--text-muted);
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--border);
}

/* ============ NAV ============ */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.nav-center { display: flex; gap: 0.25rem; }
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: var(--accent-glow); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.search-box-nav {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 10px;
    font-size: 0.85rem;
    pointer-events: none;
}
.search-box-nav input {
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 0.45rem 0.75rem 0.45rem 2rem;
    font-size: 0.82rem;
    width: 240px;
    transition: all 0.2s;
}
.search-box-nav input:focus { outline: none; border-color: var(--accent); background: rgba(0,0,0,0.05); width: 300px; }
.nav-btn {
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}
.nav-btn:hover { border-color: var(--accent); background: var(--accent-glow); }
.btn-label { font-size: 0.8rem; font-weight: 600; }
.cart-count {
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-slider-bg {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(243,244,246,0.6) 50%, rgba(255,255,255,0.8) 100%);
}
.hero-slide.active { opacity: 1; }
.hero-content-wrap {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.hero-tag {
    display: inline-block;
    background: var(--accent-glow);
    border: 1px solid rgba(255,106,0,0.2);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    transition: opacity 0.5s;
}
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #1A1A1D;
    line-height: 1.15;
    margin-bottom: 1rem;
    transition: opacity 0.5s;
}
.hero-title .highlight { color: var(--accent); }
.hero-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2rem;
    transition: opacity 0.5s;
}
.hero-stats { display: flex; gap: 2.5rem; }
.hero-stat-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}
.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============ CONTAINER / LAYOUT ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ============ SIDEBAR ============ */
.category-sidebar {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    position: sticky;
    top: 80px;
    transition: all 0.3s;
}
.category-sidebar.collapsed { width: 48px; overflow: hidden; }
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sidebar-collapse {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}
.category-tree { display: flex; flex-direction: column; gap: 2px; }
.cat-item {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-item:hover { background: var(--accent-glow); color: var(--text-bright); }
.cat-item.active { background: var(--accent-glow); color: var(--accent); font-weight: 700; }
.cat-count {
    font-size: 0.7rem;
    background: rgba(0,0,0,0.06);
    padding: 0.1rem 0.45rem;
    border-radius: 8px;
    color: var(--text-muted);
}

/* ============ TOOLBAR ============ */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.toolbar-title { font-size: 1.1rem; font-weight: 700; color: var(--text-bright); }
.item-count { font-size: 0.8rem; color: var(--text-muted); margin-left: 0.75rem; }
.sort-select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--accent); }

/* ============ FILTER CHIPS ============ */
.filter-chips { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-chip {
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--accent); color: var(--text-bright); }
.filter-chip.active { background: var(--accent-glow); border-color: var(--accent); color: var(--accent); }

/* ============ PRODUCT GRID ============ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.card-img {
    position: relative;
    height: 180px;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stock-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
}
.stock-ok { background: rgba(34,197,94,0.15); color: var(--green); }
.stock-low { background: rgba(234,179,8,0.15); color: var(--yellow); }
.stock-out { background: rgba(239,68,68,0.15); color: var(--red); }
.card-body { padding: 1rem; }
.card-brand { font-size: 0.68rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.card-title { font-size: 0.88rem; font-weight: 600; color: var(--text-bright); margin-bottom: 0.25rem; line-height: 1.3; }
.card-part { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; margin-bottom: 0.6rem; }
.card-price-row { display: flex; justify-content: space-between; align-items: center; }
.card-price { font-size: 1.05rem; font-weight: 800; color: #1A1A1D; }
.btn-add-cart {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-add-cart:hover { background: var(--accent-dark); transform: scale(1.05); }
.btn-quote {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

/* ============ LOADING ============ */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--text-muted);
}
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ CART SIDEBAR ============ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 1.1rem; color: var(--text-bright); }
.close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }
.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    align-items: center;
}
.cart-item-img {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.82rem; font-weight: 600; color: var(--text-bright); margin-bottom: 0.2rem; }
.cart-item-price { font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.35rem; }
.qty-btn {
    background: rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    color: var(--text);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.25rem;
}
.cart-item-remove:hover { color: var(--red); }
.cart-footer { padding: 1.25rem; border-top: 1px solid var(--border); }
.cart-summary { margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 0.3rem 0; color: var(--text-muted); }
.summary-row.total { font-size: 1.05rem; font-weight: 800; color: #1A1A1D; border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: 0.5rem; }
.checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.checkout-btn:hover { background: var(--accent-dark); }

/* ============ AUTH MODAL ============ */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    justify-content: center;
    align-items: center;
}
.auth-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    width: 90%;
    max-width: 380px;
    position: relative;
}
.auth-modal h2 { color: var(--text-bright); margin-bottom: 0.5rem; }
.auth-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem;
    background: white;
    color: #1f2937;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}
.google-btn:hover { transform: translateY(-2px); }
.auth-logged.hidden { display: none; }
.auth-logout {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 0.75rem;
}

/* ============ INTERCHANGE BANNER ============ */
.interchange-banner {
    background: var(--accent-glow);
    border: 1px solid rgba(255,106,0,0.2);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
.interchange-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.interchange-icon { font-size: 1.5rem; }
.interchange-text { flex: 1; }
.interchange-clear {
    background: transparent;
    border: 1px solid rgba(255,106,0,0.3);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--accent);
    color: var(--text-bright);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(255,106,0,0.2);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    margin-top: 4rem;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }

/* ============ ABOUT VIEW ============ */
.about-container { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; line-height: 1.8; }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.about-hero-icon-container { background: #ffffff; border-radius: 12px; padding: 2rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); display: flex; justify-content: center; align-items: center; }
.about-section-title { text-align: center; font-size: 2.2rem; color: #1A1A1D; margin-bottom: 3rem; font-weight: 700; }
.about-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.about-feature-card { background: #ffffff; padding: 2.5rem; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.about-support-banner { background: #ffffff; border-radius: 16px; padding: 4rem; text-align: center; border: 1px solid #e2e8f0; margin-top: 4rem; }

/* ============ MOBILE MENU TOGGLE ============ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1;
}

/* ============ RESPONSIVE — TABLET (≤900px) ============ */
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .category-sidebar { position: static; }
    .nav-center { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; }
    .search-box-nav input { width: 140px; }
    .search-box-nav input:focus { width: 180px; }
    .about-hero-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .about-support-banner { padding: 2rem; }
    .about-support-banner h2 { font-size: 1.6rem !important; }
}

/* ============ RESPONSIVE — MOBILE (≤600px) ============ */
@media (max-width: 600px) {
    /* --- Announce Bar --- */
    .announce-bar { font-size: 0.62rem; padding: 0.45rem 0.75rem; }

    /* --- Navigation --- */
    .main-nav { padding: 0 0.75rem; }
    .nav-inner { height: 56px; gap: 0.5rem; }
    .nav-logo { flex-shrink: 0; overflow: visible; }
    .nav-logo img { max-height: 40px !important; width: auto !important; object-fit: contain !important; }
    .search-box-nav { display: none; }
    .btn-label { display: none; }
    .nav-actions { gap: 0.3rem; flex-shrink: 0; }
    .nav-btn { padding: 0.4rem 0.55rem; font-size: 0.78rem; }
    .cart-count { font-size: 0.6rem; padding: 0.05rem 0.3rem; min-width: 16px; }

    /* --- Hero Section --- */
    .hero { min-height: 320px; }
    .hero-content-wrap { padding: 2.5rem 1.25rem; }
    .hero-tag { font-size: 0.68rem; padding: 0.25rem 0.75rem; margin-bottom: 0.75rem; }
    .hero-title { font-size: 1.4rem; margin-bottom: 0.75rem; }
    .hero-sub { font-size: 0.85rem; line-height: 1.5; margin-bottom: 1.5rem; }
    .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
    .hero-stat-num { font-size: 1.5rem; }
    .hero-stat-label { font-size: 0.65rem; }

    /* --- Trust Strip (inline styles override) --- */
    .trust-strip,
    div[style*="background:#1A1A1D"] { padding: 0.75rem 1rem !important; }
    div[style*="background:#1A1A1D"] > div {
        flex-direction: column !important;
        gap: 0.4rem !important;
        text-align: center;
    }
    div[style*="background:#1A1A1D"] > div > span { font-size: 0.72rem !important; }

    /* --- Container / Layout --- */
    .container { padding: 0.75rem; }
    .shop-layout { gap: 1rem; }

    /* --- Product Grid --- */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .card-img { height: 120px; }
    .card-body { padding: 0.6rem; }
    .card-title { font-size: 0.75rem; -webkit-line-clamp: 2; }
    .card-code { font-size: 0.65rem; }
    .card-price { font-size: 0.85rem; }
    .card-stock { font-size: 0.65rem; }
    .card-actions { flex-direction: column; gap: 0.3rem; }
    .card-actions button { font-size: 0.7rem; padding: 0.35rem; }

    /* --- Toolbar --- */
    .toolbar { flex-direction: column; gap: 0.5rem; align-items: stretch; }
    .toolbar-left { flex-direction: column; gap: 0.25rem; }
    .toolbar-title { font-size: 1rem; }
    .sort-select { width: 100%; font-size: 0.8rem; }

    /* --- Filter Chips --- */
    .filter-chips { gap: 0.3rem; flex-wrap: wrap; }
    .filter-chip { font-size: 0.7rem; padding: 0.3rem 0.6rem; }

    /* --- Cart Sidebar --- */
    .cart-sidebar { width: 100%; right: -100%; }
    .cart-sidebar.open { right: 0; }

    /* --- Footer --- */
    .site-footer { padding: 2rem 1rem; margin-top: 2rem; }
    .site-footer div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .footer-copy { flex-direction: column !important; text-align: center; gap: 0.5rem !important; }

    /* --- About View --- */
    .about-container { padding: 2rem 1rem; }
    .about-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
    .about-hero-icon-container { padding: 1.5rem; }
    .about-hero-icon-container svg { width: 100px; height: 100px; }
    .about-text h2 { font-size: 1.5rem !important; }
    .about-text p { font-size: 0.95rem !important; }
    .about-section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    .about-features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .about-feature-card { padding: 1.5rem; }
    .about-feature-card h3 { font-size: 1.15rem !important; }
    .about-support-banner { padding: 2rem 1rem; margin-top: 2rem; }
    .about-support-banner h2 { font-size: 1.3rem !important; }
    .about-support-banner p { font-size: 0.9rem !important; }

    /* --- Auth Modal --- */
    .auth-modal-content { width: 90vw; }

    /* --- Toast --- */
    .toast { bottom: 1rem; right: 1rem; left: 1rem; text-align: center; }
}

/* ============ CATEGORY TREE GROUPS ============ */
.cat-group {
    margin: 0.15rem 0;
}
.cat-group-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    background: none;
    border: none;
    color: #1A1A1D;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    border-radius: 6px;
    transition: background 0.15s;
}
.cat-group-header:hover {
    background: rgba(255, 106, 0, 0.06);
}
.cat-group-header .cat-count {
    margin-left: auto;
    font-size: 0.7rem;
    color: #9CA3AF;
    font-weight: 500;
}
.cat-group-arrow {
    font-size: 0.75rem;
    color: #9CA3AF;
    width: 12px;
    text-align: center;
    transition: transform 0.2s;
}
.cat-group-children {
    padding-left: 0.6rem;
}
.cat-child {
    font-size: 0.78rem !important;
    padding-left: 1.2rem !important;
}
