/* Catalog pages (Gaming PCs, AI & Pro Workstations, Gaming Laptops): page title, filter sidebar (a bottom sheet on phones/tablets) and sort bar.
   gaming-theme.css forces "* { font-size: 15px !important; font-weight: 200 !important }" and square corners, so sizes, weights and radii carry !important. */

html body { background: #000 !important; }

/* page title */
html body .prebuilt-hero { width: 100%; max-width: 1800px !important; margin: 0 auto !important; padding: 44px 40px 10px; text-align: left; background: none !important; border: 0 !important; box-shadow: none !important; box-sizing: border-box; }
html body .prebuilt-hero::before, html body .prebuilt-hero::after { display: none !important; }
html body .prebuilt-hero .mega-title { margin: 0; font-family: 'Outfit', sans-serif !important; font-size: 48px !important; font-weight: 700 !important; line-height: 1.08; letter-spacing: -0.03em; text-transform: none; text-align: left; color: #fff; background: none; -webkit-text-fill-color: #fff; text-shadow: none; }
html body .prebuilt-hero .mega-title span { font-size: inherit !important; font-weight: inherit !important; color: #fff; -webkit-text-fill-color: #fff; letter-spacing: inherit; text-transform: none; text-shadow: none; }
html body .prebuilt-hero .hero-subtext { max-width: 780px; margin: 14px 0 0; padding: 0; text-align: left; font-size: 17px !important; font-weight: 400 !important; line-height: 1.6; letter-spacing: 0; text-transform: none; color: #a8a8a8; }

/* filter sidebar (computer) */
html body .catalog-main-wrapper { max-width: 1800px; gap: 36px; padding: 24px 40px 80px; }
html body .catalog-sidebar { flex: 0 0 290px; }
html body .sidebar-inner { padding: 22px; background: #0d0d0d !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 1px solid #1f1f1f !important; border-radius: 20px !important; box-shadow: none !important; }
html body .sidebar-inner > div:first-child { margin-bottom: 18px !important; padding-bottom: 14px !important; border-bottom: 1px solid #1f1f1f !important; }
html body .filter-header { gap: 10px; font-family: 'Outfit', sans-serif !important; font-size: 20px !important; font-weight: 700 !important; letter-spacing: -0.01em; text-transform: none; color: #fff !important; }
html body .filter-header span { font-size: 20px !important; font-weight: 700 !important; }
html body .filter-header i { font-size: 16px !important; color: #ff5252 !important; filter: none !important; }
html body .catalog-filters { gap: 18px; }
html body .filter-group { gap: 8px; }
html body .filter-group label { padding-left: 0; font-size: 13px !important; font-weight: 500 !important; letter-spacing: 0; text-transform: none; color: #a8a8a8; }
html body .filter-group label i { margin-right: 8px !important; width: 14px; text-align: center; font-size: 12px !important; color: #ff5252 !important; }
html body .filter-select { width: 100%; height: 48px; padding: 0 44px 0 16px; background-color: #000 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a8a8a8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 16px center !important; border: 1px solid #3a3a3a !important; border-radius: 12px !important; color: #fff; font-size: 15px !important; font-weight: 500 !important; box-shadow: none !important; transform: none !important; }
html body .filter-select:hover { border-color: #5a5a5a !important; background-color: #000 !important; }
html body .filter-select:focus { border-color: #d10000 !important; background-color: #000 !important; box-shadow: none !important; transform: none !important; }
html body .filter-select option { background: #0d0d0d; color: #fff; font-size: 15px; }
html body .filter-reset-btn { height: 46px; padding: 0 16px; background: transparent !important; border: 1px solid #3a3a3a !important; border-radius: 12px !important; color: #fff !important; font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0; text-transform: none; transform: none !important; }
html body .filter-reset-btn i { font-size: 13px !important; color: #ff5252; }
html body .filter-reset-btn:hover { border-color: #fff !important; background: transparent !important; color: #fff !important; transform: none !important; }

/* sort bar */
html body .catalog-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 20px; }
html body .catalog-toolbar label { display: flex; align-items: center; gap: 8px; font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0; text-transform: none; color: #a8a8a8; }
html body .catalog-toolbar label i { font-size: 13px !important; color: #ff5252 !important; }
html body .catalog-toolbar .filter-select { width: 220px; height: 44px; }

/* phone / tablet: the filters open as a bottom sheet */
html body .mobile-filter-bar { padding: 12px 16px; background: #000 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 1px solid #1c1c1c !important; }
html body .mobile-filter-bar #pc-count-display, html body .mobile-filter-bar > div:first-child { font-size: 14px !important; font-weight: 500 !important; letter-spacing: 0; text-transform: none; color: #a8a8a8 !important; }
html body .filter-trigger-btn { height: 42px; padding: 0 18px; background: #0d0d0d !important; border: 1px solid #2a2a2a !important; border-radius: 999px !important; color: #fff; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0; text-transform: none; }
html body .filter-trigger-btn i { font-size: 14px !important; color: #ff5252 !important; }
html body .filter-overlay { background: rgba(0, 0, 0, 0.68) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
@media (max-width: 1200px) {
    html body .catalog-main-wrapper { padding: 8px 16px 70px; }
    html body .prebuilt-hero { padding: 24px 16px 4px; }
    html body .prebuilt-hero .mega-title { font-size: 34px !important; }
    html body .prebuilt-hero .hero-subtext { font-size: 15px !important; }
    html body .catalog-sidebar { padding: 0 !important; background: #0d0d0d !important; border: 1px solid #1f1f1f !important; border-bottom: 0 !important; border-radius: 24px 24px 0 0 !important; box-shadow: none; }
    html body .catalog-sidebar.active { box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.85) !important; }
    html body .sidebar-inner { padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); border: 0 !important; border-radius: 0 !important; }
    html body .catalog-sidebar .hide-on-desktop { display: flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0 !important; background: #161616 !important; border: 0 !important; border-radius: 50% !important; color: #a8a8a8 !important; font-size: 16px !important; }
    html body #mobile-filter-apply { height: 50px; margin-top: 8px; padding: 0 !important; background: #d10000 !important; border: 0 !important; border-radius: 12px !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
    html body .catalog-toolbar { justify-content: space-between; }
    html body .catalog-toolbar .filter-select { flex: 1 1 auto; width: auto; }
}

/* while the filter sheet is open, the bottom menu and chat button step aside */
html body:has(.catalog-sidebar.active) .mobile-bottom-nav, html body:has(.catalog-sidebar.active) .chatbot-trigger { display: none !important; }
