/* ==========================================================================
   TechX Quick Category Sub-Bar System (Modular Architecture)
   Aurora Glowmorphism & Smooth Horizontal Scroller
   ========================================================================== */

.techx-quick-cats-bar {
    background: rgba(11, 15, 25, 0.96) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 0 !important;
    position: relative !important;
    z-index: 10 !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

html:not(.site-s-dark) .techx-quick-cats-bar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.techx-cats-scroller {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 4px 2px !important;
}

.techx-cats-scroller::-webkit-scrollbar {
    display: none !important;
}

/* Base Category Pill */
.techx-cat-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important;
    padding: 7px 16px !important;
    color: #e2e8f0 !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
}

.techx-cat-pill:hover {
    background: rgba(99, 102, 241, 0.16) !important;
    border-color: rgba(99, 102, 241, 0.45) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25) !important;
}

.techx-cat-pill .pill-icon {
    font-size: 0.95rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
}

/* Light Mode Pills */
html:not(.site-s-dark) .techx-cat-pill {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
}

html:not(.site-s-dark) .techx-cat-pill:hover {
    background: #eef2ff !important;
    border-color: #818cf8 !important;
    color: #4f46e5 !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12) !important;
}

/* --------------------------------------------------------------------------
   SPECIAL FEATURED PILL: BEST PICKS / اختياراتنا
   -------------------------------------------------------------------------- */
.techx-cat-pill.pill-featured {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.35) !important;
    color: #fbbf24 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.12) !important;
}

.techx-cat-pill.pill-featured:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, rgba(234, 88, 12, 0.28) 100%) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3) !important;
    transform: translateY(-2px) !important;
}

html:not(.site-s-dark) .techx-cat-pill.pill-featured {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    border: 1px solid #fcd34d !important;
    color: #b45309 !important;
}

html:not(.site-s-dark) .techx-cat-pill.pill-featured:hover {
    background: #fde68a !important;
    color: #92400e !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2) !important;
}
