/* ═══════════════════════════════════════════════════════════════════
 * PCBUILDERS.LK - MODERN HIGH-TECH SHOP & ARCHIVE STYLESHEET
 * Scoped specifically to WooCommerce Shop and Product Archives
 * ═══════════════════════════════════════════════════════════════════ */

/* ── 1. HIDE REDUNDANT DEFAULT BREADCRUMB / PAGE TITLE BANNER ON ALL DEVICES ── */
.breadcrumb-wrap,
#page .breadcrumb-wrap,
.tax-product_cat .breadcrumb-wrap,
.post-type-archive-product .breadcrumb-wrap,
.woocommerce.archive .breadcrumb-wrap,
.woocommerce-page .breadcrumb-wrap,
.site .breadcrumb-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ── 1a. PC COINS BANNER: STRICTLY HOMEPAGE ONLY (HIDE ON ALL OTHER PAGES) ── */
body:not(.home):not(.front-page) .pcb-homepage-coins-bar {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Eliminate empty theme elementor-29240 container on archives */
.woocommerce.archive .elementor-29240,
.tax-product_cat .elementor-29240,
.post-type-archive-product .elementor-29240,
.elementor-29240 {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── 1b. HIDE BULKY PARAGRAPH TEXT WALL ── */
.woocommerce.archive .woocommerce-products-header .page-description,
.woocommerce.archive .term-description,
.woocommerce.archive .taxonomy-description,
.post-type-archive-product .page-description,
.tax-product_cat .page-description,
.tax-product_cat .term-description,
.woocommerce-products-header > .page-description,
.woocommerce-products-header p:not(.woocommerce-result-count),
.razox-shop-content .page-description {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* ── 1c. FULL SCREEN WIDTH FOR SHOP & ARCHIVE CONTENT ── */
/* Eliminate empty theme sidebar and expand content area */
.woocommerce.archive #secondary.widget-area,
.tax-product_cat #secondary.widget-area,
.post-type-archive-product #secondary.widget-area,
.tax-product_cat .widget-area,
.post-type-archive-product .widget-area,
.woocommerce.archive .widget-area {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    visibility: hidden !important;
}

/* Desktop: Boxed & Centered Content Area (Old Size) */
.woocommerce.archive #primary.content-area,
.tax-product_cat #primary.content-area,
.post-type-archive-product #primary.content-area,
.woocommerce.archive #main.site-main,
.tax-product_cat #main.site-main,
.post-type-archive-product #main.site-main,
.woocommerce.archive .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header,
.woocommerce.archive.razox-sidebar-left .content-area,
.woocommerce.archive.razox-sidebar-right .content-area,
.tax-product_cat.razox-sidebar-left .content-area,
.tax-product_cat.razox-sidebar-right .content-area,
.post-type-archive-product.razox-sidebar-left .content-area,
.post-type-archive-product.razox-sidebar-right .content-area,
.woocommerce[class*="razox-sidebar-"] .content-area,
[class*="razox-sidebar-"] .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce.archive #page .site-content,
.tax-product_cat #page .site-content,
.post-type-archive-product #page .site-content {
    margin-top: 20px !important;
    margin-bottom: 50px !important;
}

.woocommerce.archive .site-content .col-full,
.tax-product_cat .site-content .col-full,
.post-type-archive-product .site-content .col-full {
    max-width: 1440px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    float: none !important;
}

/* Shop Header Title Cleanup */
.woocommerce.archive .woocommerce-products-header,
.post-type-archive-product .woocommerce-products-header {
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

.woocommerce.archive .woocommerce-products-header__title.page-title {
    font-size: clamp(22px, 3.5vw, 32px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.5px !important;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* ── 2. MODERN TOP TOOLBAR & SORTING OPTIONS ── */
.woocommerce.archive .razox-sorting-wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 24px !important;
    background: transparent !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
}

.woocommerce.archive .razox-sorting {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    background: rgba(14, 19, 29, 0.7) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Filter Toggle Button (Replaces the broken white box) */
.woocommerce.archive .filter-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background: #141a24 !important;
    color: #ffffff !important;
    border: 1px solid rgba(0, 180, 216, 0.35) !important;
    border-radius: 8px !important;
    padding: 8px 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.75px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    overflow: visible !important;
    height: auto !important;
}

.woocommerce.archive .filter-toggle:hover {
    background: #1a2332 !important;
    border-color: #00b4d8 !important;
    color: #00b4d8 !important;
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Explicitly reset position & transform to override woocommerce.css:9521 */
.woocommerce.archive .filter-toggle::before {
    content: "" !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'%3E%3C/polygon%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

.woocommerce.archive .filter-toggle span {
    position: static !important;
    color: #ffffff !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2 !important;
}

.woocommerce.archive .filter-toggle:hover span {
    color: #00b4d8 !important;
}

/* Result count */
.woocommerce.archive .razox-sorting .woocommerce-result-count {
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

/* Ordering and Per-Page Dropdown Wrappers */
.woocommerce.archive .razox-sorting .woocommerce-ordering,
.woocommerce.archive .razox-sorting .razox-products-per-page {
    position: relative !important;
    background: #111722 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce.archive .razox-sorting .woocommerce-ordering:hover,
.woocommerce.archive .razox-sorting .razox-products-per-page:hover,
.woocommerce.archive .razox-sorting .woocommerce-ordering:focus-within,
.woocommerce.archive .razox-sorting .razox-products-per-page:focus-within {
    border-color: rgba(255, 94, 20, 0.6) !important;
    box-shadow: 0 0 12px rgba(255, 94, 20, 0.2) !important;
}

/* Select inputs inside ordering & per page */
.woocommerce.archive .razox-sorting select,
.woocommerce.archive .razox-sorting .woocommerce-ordering select,
.woocommerce.archive .razox-sorting .razox-products-per-page select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: transparent !important;
    color: #e2e8f0 !important;
    border: none !important;
    outline: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 9px 34px 9px 14px !important;
    cursor: pointer !important;
    width: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
}

.woocommerce.archive .razox-sorting select option {
    background-color: #0f1520 !important;
    color: #ffffff !important;
    padding: 8px !important;
}

/* Grid/List Layout View Toggle */
.woocommerce.archive .gridlist-toggle {
    display: inline-flex !important;
    gap: 4px !important;
    background: #111722 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 3px !important;
}

.woocommerce.archive .gridlist-toggle a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 6px !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
}

.woocommerce.archive .gridlist-toggle a.active,
.woocommerce.archive .gridlist-toggle a:hover {
    background: #1e293b !important;
    color: #00b4d8 !important;
}

/* ── 3. MODERN CYBER PRODUCT CARDS (EXACT REFERENCE DESIGN) ── */
.woocommerce.archive ul.products,
.woocommerce.archive ul.razox-products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

@media (max-width: 1200px) {
    .woocommerce.archive ul.products,
    .woocommerce.archive ul.razox-products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 900px) {
    .woocommerce.archive ul.products,
    .woocommerce.archive ul.razox-products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.woocommerce.archive ul.products li.product,
.woocommerce.archive ul.razox-products li.product,
.woocommerce.archive li.pcb-modern-product-item {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

/* Deep Obsidian Cyber Card Container */
.pcb-card-block {
    background: #0d111a !important;
    border: 1px solid rgba(139, 92, 246, 0.22) !important;
    border-radius: 16px !important;
    padding: 13px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), 
                border-color 0.28s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.pcb-card-block:hover {
    border-color: #8b5cf6 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 22px rgba(139, 92, 246, 0.28) !important;
}

/* Card Header - Top Badges Row */
.pcb-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 24px !important;
    margin-bottom: 8px !important;
    gap: 6px !important;
    width: 100% !important;
    z-index: 2 !important;
}

.pcb-card-header-left,
.pcb-card-header-right {
    display: flex !important;
    align-items: center !important;
}

/* Stock Badges (Left) */
.pcb-card-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    line-height: 1 !important;
}

.pcb-badge-dot {
    font-size: 8px !important;
    line-height: 1 !important;
}

/* Low Stock (Amber) */
.pcb-card-badge.stock-low {
    background: rgba(245, 158, 11, 0.1) !important;
    border: 1px solid #f59e0b !important;
    color: #f59e0b !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.15) !important;
}
.pcb-card-badge.stock-low .pcb-badge-dot {
    color: #f59e0b !important;
    text-shadow: 0 0 6px #f59e0b !important;
}

/* In Stock (Emerald) */
.pcb-card-badge.stock-in {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.15) !important;
}
.pcb-card-badge.stock-in .pcb-badge-dot {
    color: #10b981 !important;
    text-shadow: 0 0 6px #10b981 !important;
}

/* Out of Stock (Red) */
.pcb-card-badge.stock-out {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid #ef4444 !important;
    color: #ef4444 !important;
}

/* Pre-Order (Cyan) */
.pcb-card-badge.stock-preorder {
    background: rgba(0, 180, 216, 0.1) !important;
    border: 1px solid #00b4d8 !important;
    color: #00b4d8 !important;
}

/* Discount Badge (Right - Purple Glow) */
.pcb-card-badge.badge-discount {
    background: #a855f7 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.65) !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
}

/* Product Image Link */
.pcb-card-img-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 135px !important;
    padding: 4px !important;
    margin-bottom: 4px !important;
    text-decoration: none !important;
    position: relative !important;
}

.pcb-card-thumb {
    max-height: 125px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pcb-card-block:hover .pcb-card-thumb {
    transform: scale(1.05) !important;
}

/* Divider Line */
.pcb-card-divider {
    height: 1px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    margin: 8px 0 10px 0 !important;
    width: 100% !important;
}

/* Product Title */
.pcb-card-title {
    font-size: 12.5px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.25px !important;
    margin: 0 0 6px 0 !important;
    min-height: 34px !important;
    max-height: 34px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.pcb-card-title a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.pcb-card-block:hover .pcb-card-title a {
    color: #c084fc !important;
}

/* Price Wrap */
.pcb-card-price-wrap {
    margin: 2px 0 8px 0 !important;
}

.pcb-card-price-main {
    display: flex !important;
    align-items: baseline !important;
    gap: 5px !important;
    line-height: 1.2 !important;
}

.pcb-card-currency {
    color: #c084fc !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px !important;
}

.pcb-card-amount {
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    letter-spacing: -0.2px !important;
}

.pcb-card-price-old {
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    margin-top: 1px !important;
}

/* KOKO Installment Box */
.pcb-card-koko-box {
    background: #081211 !important;
    border: 1px solid rgba(0, 230, 118, 0.4) !important;
    border-radius: 8px !important;
    padding: 5px 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 4px 0 8px 0 !important;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.08) !important;
}

.pcb-card-koko-left {
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.pcb-card-koko-val {
    color: #00e676 !important;
    font-weight: 800 !important;
}

.pcb-card-koko-badge {
    background: #00e676 !important;
    color: #000000 !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    border-radius: 4px !important;
    padding: 2px 6px !important;
    line-height: 1 !important;
}

/* Add To Cart Action & Button */
.pcb-card-action {
    margin-top: auto !important;
    width: 100% !important;
}

.pcb-card-btn,
.pcb-card-action a.button,
.pcb-card-action .add_to_cart_button {
    background: #171324 !important;
    border: 1.5px solid #8b5cf6 !important;
    border-radius: 8px !important;
    padding: 9px 12px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    width: 100% !important;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.2) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    min-height: 36px !important;
    box-sizing: border-box !important;
}

.pcb-card-btn:hover,
.pcb-card-action a.button:hover,
.pcb-card-action .add_to_cart_button:hover {
    background: #8b5cf6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6) !important;
    transform: translateY(-1px) !important;
}

.pcb-cart-icon {
    width: 15px !important;
    height: 15px !important;
    color: inherit !important;
    flex-shrink: 0 !important;
}

/* ── 5. MODERN CYBER FILTER DRAWER (#razox-canvas-filter) ── */
#razox-canvas-filter.razox-canvas-filter {
    background-color: #0a0e17 !important;
    border-right: 1px solid rgba(0, 180, 216, 0.25) !important;
    box-shadow: 10px 0 50px rgba(0, 0, 0, 0.85) !important;
    color: #e2e8f0 !important;
    padding: 20px 18px 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

#razox-canvas-filter .razox-canvas-filter-wrap {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 4px !important;
    margin-right: -4px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #233044 #0a0e17 !important;
}

#razox-canvas-filter .razox-canvas-filter-wrap::-webkit-scrollbar {
    width: 5px !important;
}

#razox-canvas-filter .razox-canvas-filter-wrap::-webkit-scrollbar-track {
    background: #0a0e17 !important;
}

#razox-canvas-filter .razox-canvas-filter-wrap::-webkit-scrollbar-thumb {
    background: #233044 !important;
    border-radius: 3px !important;
}

#razox-canvas-filter .razox-canvas-filter-wrap::-webkit-scrollbar-thumb:hover {
    background: #00b4d8 !important;
}

/* Custom Injected Drawer Header */
#pcb-filter-drawer-header {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0 42px 14px 0 !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid rgba(0, 180, 216, 0.2) !important;
}

#pcb-filter-drawer-header .pcb-drawer-title-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#pcb-filter-drawer-header .pcb-drawer-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
}

#pcb-drawer-active-count {
    background: rgba(0, 180, 216, 0.15) !important;
    color: #00b4d8 !important;
    border: 1px solid rgba(0, 180, 216, 0.45) !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    margin-left: 6px !important;
}

/* Custom Injected Sticky Drawer Action Footer */
#pcb-filter-drawer-footer {
    flex-shrink: 0 !important;
    background: #0a0e17 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 0 4px 0 !important;
    margin-top: 14px !important;
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 8px !important;
    z-index: 10 !important;
}

#pcb-filter-clear-all {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #94a3b8 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 9px 10px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#pcb-filter-clear-all:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

#pcb-filter-apply {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
    border: 1px solid #00b4d8 !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 9px 12px !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    box-shadow: 0 0 14px rgba(0, 180, 216, 0.35) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#pcb-filter-apply:hover {
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.6) !important;
    transform: translateY(-1px) !important;
}

#pcb-filter-apply.pcb-btn-loading {
    background: #141c2c !important;
    border-color: #00b4d8 !important;
    color: #00b4d8 !important;
    cursor: wait !important;
}

/* Fix Corrupted Font Glyphs (îf„ / î‚²) on Close Button */
#razox-canvas-filter .filter-close {
    width: 34px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    transition: all 0.25s ease !important;
    z-index: 20 !important;
}

#razox-canvas-filter .filter-close:hover {
    background: rgba(255, 94, 20, 0.2) !important;
    border-color: #ff5e14 !important;
    box-shadow: 0 0 12px rgba(255, 94, 20, 0.4) !important;
}

/* Hide the broken font icon completely */
#razox-canvas-filter .filter-close i,
#razox-canvas-filter .filter-close i.razox-icon-close,
#razox-canvas-filter .filter-close i::before {
    display: none !important;
    font-size: 0 !important;
    visibility: hidden !important;
}

/* Crisp Clean SVG Close Icon */
#razox-canvas-filter .filter-close::after {
    content: "" !important;
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.2s ease !important;
}

#razox-canvas-filter .filter-close:hover::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e14' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
    transform: rotate(90deg) !important;
}

/* Filter Backdrop Overlay */
.razox-overlay-filter {
    background: rgba(3, 7, 18, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
}

/* ── 6. WOOBEWOO FILTER WIDGET HIGH-TECH DARK STYLING ── */
.wpfFilterWrapper {
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 16px !important;
}

/* Filter Section Titles */
.wpfFilterWrapper .wpfFilterTitle,
.wpfFilterWrapper .wfpTitle,
.wpfFilterWrapper .wpfFilterTitle h3,
.wpfFilterWrapper .wpfFilterTitle h4 {
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.wpfFilterWrapper .wpfBlockToggle,
.wpfFilterWrapper .wpfBlockToggle i {
    color: #00b4d8 !important;
    font-size: 13px !important;
}

/* Filter Content Lists */
.wpfFilterContent ul,
.wpfFilterContent .wpfCheckboxHier ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpfFilterContent li,
.wpfFilterContent .wpfCheckboxHier li {
    display: flex !important;
    align-items: center !important;
    padding: 6px 8px !important;
    margin-bottom: 2px !important;
    border-radius: 6px !important;
    transition: background 0.2s ease, border 0.2s ease !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    border-left: 2.5px solid transparent !important;
}

.wpfFilterContent li:hover,
.wpfFilterContent .wpfCheckboxHier li:hover {
    background: rgba(255, 255, 255, 0.04) !important;
}

/* Checked Row Spotlight */
.wpfFilterContent li:has(input:checked),
.wpfFilterContent li.wpfChecked,
.wpfFilterContent li.pcb-filter-active {
    background: rgba(0, 180, 216, 0.08) !important;
    border-left: 2.5px solid #00b4d8 !important;
    padding-left: 8px !important;
}

.wpfFilterContent li:has(input:checked) .wpfFilterTaxNameWrapper,
.wpfFilterContent li:has(input:checked) .wpfValue,
.wpfFilterContent li.wpfChecked .wpfFilterTaxNameWrapper,
.wpfFilterContent li.pcb-filter-active .wpfValue {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Checkbox Base Styles - STRICTLY NO BORDERS ON WRAPPER, INPUT, OR LABEL */
.wpfFilterWrapper .wpfCheckbox,
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    margin-right: 9px !important;
    flex-shrink: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wpfFilterWrapper .wpfCheckbox input[type="checkbox"],
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox input[type="checkbox"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

.wpfFilterWrapper .wpfCheckbox label,
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox label {
    position: relative !important;
    display: inline-block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    cursor: pointer !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* THE SINGLE EXCLUSIVE CHECKBOX BOX (label::before) */
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox label::before,
html body .wpfFilterWrapper .wpfCheckbox label::before,
html body .wpfCheckbox label::before,
.wpfFilterWrapper .wpfCheckbox label::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 17px !important;
    height: 17px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

/* Hover Checkbox */
html body #razox-canvas-filter .wpfFilterContent li:hover .wpfCheckbox label::before,
html body .wpfFilterWrapper .wpfCheckbox label:hover::before,
.wpfFilterContent li:hover .wpfCheckbox label::before {
    border-color: #00b4d8 !important;
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.35) !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Checked State - Glowing Cyan Border & SVG Checkmark */
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox input[type="checkbox"]:checked + label::before,
html body .wpfFilterWrapper .wpfCheckbox input[type="checkbox"]:checked + label::before,
html body .wpfFilterWrapper .wpfCheckbox input:checked + label::before,
html body .wpfFilterWrapper[data-filter-type="wpfPriceRange"] .wpfCheckbox input:checked + label::before,
.wpfFilterWrapper .wpfCheckbox input[type="checkbox"]:checked + label::before,
.wpfFilterWrapper .wpfCheckbox input:checked + label::before {
    background: transparent !important;
    background-color: transparent !important;
    border-color: #00b4d8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b4d8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 11px 11px !important;
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.35) !important;
}

/* Suppress all default after pseudo-elements on checkboxes */
html body #razox-canvas-filter .wpfFilterWrapper .wpfCheckbox label::after,
html body .wpfFilterWrapper .wpfCheckbox label::after,
.wpfFilterWrapper .wpfCheckbox label::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

/* Label Text */
.wpfFilterWrapper .wpfValue,
.wpfFilterWrapper .wpfFilterTaxNameWrapper,
.wpfFilterWrapper .wpfFilterContent label {
    font-size: 12.5px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.wpfFilterContent li:hover .wpfValue,
.wpfFilterContent li:hover .wpfFilterTaxNameWrapper {
    color: #ffffff !important;
}

/* Count Badge */
.wpfFilterWrapper .wpfCount {
    margin-left: auto !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2px 6px !important;
    border-radius: 9999px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Custom Scrollbars in Filter Taxonomies */
.wpfFilterContent .wpfCheckboxHier,
.wpfFilterContent [class*="scroll"],
.wpfFilterContent [class*="mCSB_container"] {
    scrollbar-width: thin !important;
    scrollbar-color: #233044 transparent !important;
}

.wpfFilterContent .wpfCheckboxHier::-webkit-scrollbar {
    width: 4px !important;
}

.wpfFilterContent .wpfCheckboxHier::-webkit-scrollbar-thumb {
    background: #233044 !important;
    border-radius: 2px !important;
}

/* WooBeWoo Price Filter Slider - Cyber Dark */
html body .wpfFilterWrapper .ui-slider,
.wpfFilterWrapper .ui-slider {
    background: #151c28 !important;
    height: 5px !important;
    border-radius: 3px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    position: relative !important;
    margin: 14px 8px 12px 8px !important;
}

html body .wpfFilterWrapper .ui-slider .ui-slider-range,
.wpfFilterWrapper .ui-slider .ui-slider-range {
    background: #00b4d8 !important;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.6) !important;
    border-radius: 3px !important;
}

html body .wpfFilterWrapper .ui-slider .ui-slider-handle,
.wpfFilterWrapper .ui-slider .ui-slider-handle {
    background: #0a0e17 !important;
    border: 2.5px solid #00b4d8 !important;
    border-radius: 50% !important;
    width: 15px !important;
    height: 15px !important;
    top: -5px !important;
    margin-left: -7px !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.5) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

html body .wpfFilterWrapper .ui-slider .ui-slider-handle:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 0 14px rgba(0, 180, 216, 0.8) !important;
}

.wpfFilterWrapper .price_slider_amount {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
}

.wpfFilterWrapper .price_label {
    font-size: 12px !important;
    color: #94a3b8 !important;
}

.wpfFilterWrapper .price_label span {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.wpfFilterWrapper button.button[type="submit"],
.wpfFilterWrapper .price_slider_amount button.button {
    background: rgba(0, 180, 216, 0.15) !important;
    border: 1px solid #00b4d8 !important;
    color: #00b4d8 !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.wpfFilterWrapper button.button[type="submit"]:hover,
.wpfFilterWrapper .price_slider_amount button.button:hover {
    background: #00b4d8 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.5) !important;
}

/* WooBeWoo Default Filter Buttons (Reset & Filter if rendered) */
.wpfFilterButtons,
.wpfFilterButtons button,
.wpfFilterWrapper button.wpfFilterButton {
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 8px 14px !important;
    transition: all 0.2s ease !important;
}

.wpfFilterWrapper button.wpfFilterButton {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.wpfFilterWrapper button.wpfClearButton {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wpfFilterWrapper button.wpfClearButton:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
}

/* ── 7. PAGINATION MODERNIZATION ── */
.woocommerce.archive .woocommerce-pagination,
.woocommerce.archive .razox-pagination {
    margin-top: 32px !important;
    margin-bottom: 20px !important;
}

.woocommerce.archive .woocommerce-pagination ul.page-numbers {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce.archive .woocommerce-pagination ul.page-numbers li {
    border: none !important;
    margin: 0 !important;
}

.woocommerce.archive .woocommerce-pagination ul.page-numbers li a,
.woocommerce.archive .woocommerce-pagination ul.page-numbers li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 12px !important;
    background: #0d121c !important;
    border: 1px solid #1c2638 !important;
    border-radius: 8px !important;
    color: #cbd5e1 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
}

.woocommerce.archive .woocommerce-pagination ul.page-numbers li a:hover {
    background: #141c2c !important;
    border-color: #00b4d8 !important;
    color: #00b4d8 !important;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.25) !important;
}

.woocommerce.archive .woocommerce-pagination ul.page-numbers li span.current {
    background: linear-gradient(135deg, #ff5e14 0%, #e04800 100%) !important;
    border-color: #ff5e14 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(255, 94, 20, 0.35) !important;
}

/* ── 8. MOBILE RESPONSIVE OPTIMIZATIONS (< 768px) ── */
@media (max-width: 767.98px) {
    /* Streamline Toolbar into a single balanced row */
    .woocommerce.archive .razox-sorting-wrapper {
        margin-bottom: 16px !important;
    }

    .woocommerce.archive .razox-sorting {
        padding: 8px 12px !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }

    /* Hide redundant controls on mobile to keep 1 neat row */
    .woocommerce.archive .gridlist-toggle,
    .woocommerce.archive .razox-products-per-page,
    .woocommerce.archive .woocommerce-result-count {
        display: none !important;
    }

    .woocommerce.archive .filter-toggle {
        padding: 7px 13px !important;
        font-size: 11px !important;
        border-radius: 7px !important;
        gap: 5px !important;
        flex-shrink: 0 !important;
    }

    .woocommerce.archive .filter-toggle::before {
        width: 12px !important;
        height: 12px !important;
        min-width: 12px !important;
        min-height: 12px !important;
    }

    .woocommerce.archive .filter-toggle span {
        font-size: 11px !important;
    }

    .woocommerce.archive .razox-sorting .woocommerce-ordering {
        margin: 0 !important;
        border-radius: 7px !important;
        flex-grow: 1 !important;
        max-width: 180px !important;
    }

    .woocommerce.archive .razox-sorting select,
    .woocommerce.archive .razox-sorting .woocommerce-ordering select {
        padding: 7px 24px 7px 10px !important;
        font-size: 11.5px !important;
        width: 100% !important;
        background-size: 12px !important;
        background-position: right 8px center !important;
    }

    /* 2-Column Ultra-Compact Mobile Product Grid */
    .woocommerce.archive ul.products,
    .woocommerce.archive ul.razox-products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .woocommerce.archive ul.products li.product,
    .woocommerce.archive ul.razox-products li.product {
        width: 100% !important;
        float: none !important;
        clear: none !important;
        margin: 0 !important;
    }

    /* Compact Card Wrapper */
    .pcb-card-block {
        padding: 9px !important;
        border-radius: 12px !important;
    }

    .pcb-card-header {
        min-height: 20px !important;
        margin-bottom: 4px !important;
    }

    .pcb-card-badge {
        font-size: 8.5px !important;
        padding: 2px 5px !important;
        border-radius: 5px !important;
    }

    .pcb-badge-dot {
        font-size: 7px !important;
    }

    .pcb-card-badge.badge-discount {
        font-size: 9px !important;
        padding: 2px 5px !important;
    }

    /* Compact Product Image */
    .pcb-card-img-wrap {
        height: 105px !important;
        padding: 2px !important;
        margin-bottom: 2px !important;
    }

    .pcb-card-thumb {
        max-height: 98px !important;
    }

    /* Compact Divider */
    .pcb-card-divider {
        margin: 6px 0 6px 0 !important;
    }

    /* Compact Product Title */
    .pcb-card-title {
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        min-height: 28px !important;
        max-height: 28px !important;
        margin: 0 0 4px 0 !important;
    }

    /* Compact Price */
    .pcb-card-price-wrap {
        margin: 0 0 4px 0 !important;
    }

    .pcb-card-price-main {
        gap: 3px !important;
    }

    .pcb-card-currency {
        font-size: 11px !important;
    }

    .pcb-card-amount {
        font-size: 14.5px !important;
    }

    .pcb-card-price-old {
        font-size: 10px !important;
    }

    /* Compact KOKO Box */
    .pcb-card-koko-box {
        padding: 4px 6px !important;
        margin: 2px 0 6px 0 !important;
        border-radius: 6px !important;
    }

    .pcb-card-koko-left {
        font-size: 8.5px !important;
        gap: 2px !important;
    }

    .pcb-card-koko-badge {
        font-size: 8.5px !important;
        padding: 2px 4px !important;
        border-radius: 3px !important;
    }

    /* Compact Add to Cart Button */
    .pcb-card-btn,
    .pcb-card-action a.button,
    .pcb-card-action .add_to_cart_button {
        padding: 6px 8px !important;
        font-size: 10.5px !important;
        min-height: 30px !important;
        border-radius: 6px !important;
        gap: 5px !important;
    }

    .pcb-cart-icon {
        width: 13px !important;
        height: 13px !important;
    }

    /* Filter Drawer Width on Mobile */
    #razox-canvas-filter.razox-canvas-filter {
        width: 85vw !important;
        max-width: 340px !important;
        padding: 18px 14px !important;
    }
}

/* =========================================================================
   MODERN CYBER SUBCATEGORY CARDS (Matches Official Reference Mockup)
   ========================================================================= */

/* Reset default WooCommerce / Razox styles for subcategory list items */
ul.products li.product-category.pcb-subcat-item,
ul.products li.product.product-category {
    list-style: none !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    display: flex !important;
}

/* Clean reset of default title and image within subcategory item */
ul.products li.product-category h2,
ul.products li.product-category h3,
ul.products li.product-category .woocommerce-loop-category__title {
    margin: 0 !important;
    padding: 0 !important;
}

/* Subcategory Card Link Container */
.pcb-subcat-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    width: 100% !important;
    min-height: 200px !important;
    background: #0d111a !important;
    background: linear-gradient(135deg, #0b0e14 0%, #0d111a 55%, #16101c 100%) !important;
    border: 1.2px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 18px 14px 18px 18px !important;
    text-decoration: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
}

/* Hover elevation & illumination */
.pcb-subcat-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.45) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 
                0 0 24px rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.22) !important;
}

/* Background Ambient Glow Slash */
.pcb-subcat-slash-glow {
    position: absolute !important;
    top: -30% !important;
    right: -15% !important;
    width: 80% !important;
    height: 160% !important;
    background: radial-gradient(ellipse at center, rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.16) 0%, rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.04) 50%, transparent 75%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transform: rotate(-15deg) !important;
    transition: opacity 0.3s ease !important;
}

.pcb-subcat-card:hover .pcb-subcat-slash-glow {
    opacity: 1.35 !important;
}

/* Left Information Area */
.pcb-subcat-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex: 1 1 50% !important;
    max-width: 52% !important;
    position: relative !important;
    z-index: 3 !important;
    gap: 7px !important;
}

/* Top Hardware Icon Badge */
.pcb-subcat-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border-radius: 9px !important;
    border: 1.5px solid var(--subcat-accent, #ff3b5c) !important;
    background: rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.08) !important;
    color: var(--subcat-accent, #ff3b5c) !important;
    box-shadow: 0 0 10px rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.2) !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
    margin-bottom: 2px !important;
}

.pcb-subcat-card:hover .pcb-subcat-badge {
    background: rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.18) !important;
    box-shadow: 0 0 16px rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.35) !important;
    transform: scale(1.05) !important;
}

.pcb-subcat-badge svg {
    display: block !important;
    stroke: var(--subcat-accent, #ff3b5c) !important;
}

/* Category Title & Count Wrapper */
.pcb-subcat-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

/* Bold Category Heading */
.pcb-subcat-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.2s ease !important;
}

.pcb-subcat-card:hover .pcb-subcat-title {
    color: #ffffff !important;
}

/* Dynamic Count Tag */
.pcb-subcat-count {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Curated Tagline */
.pcb-subcat-tagline {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Circular Action Button */
.pcb-subcat-action {
    margin-top: 2px !important;
}

.pcb-subcat-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1.5px solid var(--subcat-accent, #ff3b5c) !important;
    background: transparent !important;
    color: var(--subcat-accent, #ff3b5c) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pcb-subcat-btn svg {
    display: block !important;
    stroke: currentColor !important;
    transition: transform 0.25s ease !important;
}

.pcb-subcat-card:hover .pcb-subcat-btn {
    background: var(--subcat-accent, #ff3b5c) !important;
    color: #0d111a !important;
    box-shadow: 0 0 14px rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.5) !important;
}

.pcb-subcat-card:hover .pcb-subcat-btn svg {
    stroke: #0d111a !important;
    transform: translateX(2px) !important;
}

/* Right Media Area - Increased Image Size */
.pcb-subcat-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 48% !important;
    width: 48% !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
}

/* Radial Glow Behind Thumbnail */
.pcb-subcat-radial-glow {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 145% !important;
    height: 145% !important;
    background: radial-gradient(circle, rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.28) 0%, rgba(var(--subcat-accent-rgb, 255, 59, 92), 0.06) 55%, transparent 75%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
    transition: transform 0.35s ease, opacity 0.35s ease !important;
}

.pcb-subcat-card:hover .pcb-subcat-radial-glow {
    transform: translate(-50%, -50%) scale(1.15) !important;
    opacity: 1.35 !important;
}

/* Subcategory Thumbnail Image - Significantly Increased */
.pcb-subcat-img {
    max-height: 165px !important;
    width: auto !important;
    max-width: 108% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.7)) !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin: 0 !important;
}

.pcb-subcat-card:hover .pcb-subcat-img {
    transform: scale(1.10) rotate(1.5deg) !important;
}

/* Grid Layout: 4 columns desktop (Old Size) */
.pcb-subcats-grid,
ul.products:has(.pcb-subcat-item),
.razox-products:has(.pcb-subcat-item) {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 85px !important; /* Generous bottom margin before footer */
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Responsive Scaling: 3 cols at 1280px */
@media (max-width: 1280px) {
    .pcb-subcats-grid,
    ul.products:has(.pcb-subcat-item),
    .razox-products:has(.pcb-subcat-item) {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
        margin-bottom: 75px !important;
    }
}

/* Responsive Scaling: 2 cols at 991px */
@media (max-width: 991px) {
    .pcb-subcats-grid,
    ul.products:has(.pcb-subcat-item),
    .razox-products:has(.pcb-subcat-item) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
        margin-bottom: 65px !important;
    }

    .pcb-subcat-card {
        min-height: 185px !important;
    }

    .pcb-subcat-img {
        max-height: 145px !important;
    }
}

/* Mobile: FULL SCREEN WIDTH ONLY ON MOBILES */
@media (max-width: 767px) {
    .woocommerce.archive #page .site-content,
    .tax-product_cat #page .site-content,
    .post-type-archive-product #page .site-content,
    .woocommerce.archive .site-content,
    .tax-product_cat .site-content,
    .post-type-archive-product .site-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important; /* Preserves clear separation before footer */
        padding-top: 4px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .woocommerce.archive .site-content .col-full,
    .tax-product_cat .site-content .col-full,
    .post-type-archive-product .site-content .col-full {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
    }

    .woocommerce.archive #primary.content-area,
    .tax-product_cat #primary.content-area,
    .post-type-archive-product #primary.content-area {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pcb-subcats-grid,
    ul.products:has(.pcb-subcat-item),
    .razox-products:has(.pcb-subcat-item) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 50px !important; /* Generous space before footer on mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pcb-subcat-card {
        min-height: 175px !important;
        padding: 12px 6px 12px 10px !important;
        border-radius: 16px !important;
    }

    .pcb-subcat-info {
        flex: 1 1 48% !important;
        max-width: 50% !important;
        gap: 4px !important;
    }

    .pcb-subcat-badge {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        border-radius: 7px !important;
        margin-bottom: 0 !important;
    }

    .pcb-subcat-badge svg {
        width: 14px !important;
        height: 14px !important;
    }

    .pcb-subcat-title {
        font-size: 0.86rem !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .pcb-subcat-count {
        font-size: 0.70rem !important;
        line-height: 1.15 !important;
    }

    .pcb-subcat-tagline {
        font-size: 0.65rem !important;
        line-height: 1.25 !important;
        color: #94a3b8 !important;
    }

    .pcb-subcat-action {
        margin-top: 1px !important;
    }

    .pcb-subcat-btn {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        min-height: 24px !important;
    }

    .pcb-subcat-btn svg {
        width: 11px !important;
        height: 11px !important;
    }

    .pcb-subcat-media {
        flex: 0 0 52% !important;
        width: 52% !important;
    }

    /* Enlarged hardware image filling right side */
    .pcb-subcat-img {
        max-height: 125px !important;
        max-width: 110% !important;
        transform: scale(1.10) !important;
    }

    .pcb-subcat-card:hover .pcb-subcat-img {
        transform: scale(1.18) rotate(1.5deg) !important;
    }

    .pcb-category-hero-banner {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 4px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        padding: 14px 12px 12px 12px !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    .woocommerce.archive .razox-sorting-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 16px !important;
        box-sizing: border-box !important;
    }
}

/* =========================================================================
   MODERN CYBER CATEGORY HERO BANNER (Matches Mobile Reference Design)
   ========================================================================= */
.pcb-category-hero-banner {
    position: relative !important;
    width: 100% !important;
    max-width: 1400px !important;
    margin-top: 6px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 28px !important;
    background: #090c13 !important;
    background: linear-gradient(135deg, #090c13 0%, #0d111a 65%, #150d18 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 20px !important;
    padding: 22px 22px 20px 22px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

/* Hero Ambient Glow */
.pcb-hero-ambient-glow {
    position: absolute !important;
    top: -40px !important;
    right: -40px !important;
    width: 320px !important;
    height: 220px !important;
    background: radial-gradient(ellipse at center, rgba(255, 59, 92, 0.16) 0%, rgba(168, 85, 247, 0.12) 45%, transparent 70%) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Top Row: Breadcrumbs + Promo Badge */
.pcb-hero-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 12px !important;
    gap: 12px !important;
}

.pcb-hero-breadcrumbs {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 0.82rem !important;
    color: #94a3b8 !important;
}

.pcb-hero-home-icon {
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
}

.pcb-hero-home-icon:hover {
    color: #00b4d8 !important;
}

.pcb-hero-sep {
    color: #475569 !important;
}

.pcb-hero-current {
    color: #cbd5e1 !important;
    font-weight: 500 !important;
}

/* Promo Badge on Right */
.pcb-hero-promo-badge {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, rgba(255, 59, 92, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%) !important;
    border: 1px solid rgba(255, 59, 92, 0.35) !important;
    border-radius: 8px !important;
    line-height: 1.15 !important;
}

.pcb-badge-text-bold {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #ff3b5c !important;
    letter-spacing: 0.06em !important;
}

.pcb-badge-text-sub {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    color: #c084fc !important;
    letter-spacing: 0.04em !important;
}

/* Title & Subtitle Wrap */
.pcb-hero-title-wrap {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 18px !important;
}

.pcb-hero-title {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

.pcb-hero-word-white {
    color: #ffffff !important;
}

.pcb-hero-word-gradient {
    background: linear-gradient(90deg, #ff3b5c 0%, #c084fc 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
}

.pcb-hero-subtitle {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Bottom Controls: Search & Filter */
.pcb-hero-controls-bar {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    position: relative !important;
    z-index: 2 !important;
}

.pcb-hero-search-box {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    background: #0f141f !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    padding: 0 14px !important;
    height: 44px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.pcb-hero-search-box:focus-within {
    border-color: #00b4d8 !important;
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.25) !important;
}

.pcb-hero-search-icon {
    flex-shrink: 0 !important;
    margin-right: 10px !important;
}

.pcb-hero-search-box input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 0.88rem !important;
    width: 100% !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.pcb-hero-search-box input::placeholder {
    color: #64748b !important;
}

/* Hero Filter Button */
.pcb-hero-filter-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #131a29 !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    height: 44px !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.pcb-hero-filter-btn:hover {
    background: #1a2336 !important;
    border-color: #00b4d8 !important;
    color: #00b4d8 !important;
    box-shadow: 0 0 14px rgba(0, 180, 216, 0.3) !important;
}

.pcb-hero-filter-btn svg {
    display: block !important;
    stroke: currentColor !important;
}

/* Mobile Hero Banner Adjustments */
@media (max-width: 767px) {
    .pcb-category-hero-banner {
        padding: 16px 14px 14px 14px !important;
        border-radius: 16px !important;
        margin-bottom: 16px !important;
    }

    .pcb-hero-title {
        font-size: 1.45rem !important;
    }

    .pcb-hero-subtitle {
        font-size: 0.78rem !important;
    }

    .pcb-hero-promo-badge {
        padding: 4px 8px !important;
    }

    .pcb-badge-text-bold {
        font-size: 0.60rem !important;
    }

    .pcb-badge-text-sub {
        font-size: 0.54rem !important;
    }

    .pcb-hero-controls-bar {
        gap: 8px !important;
    }

    .pcb-hero-search-box {
        height: 38px !important;
        padding: 0 10px !important;
        border-radius: 10px !important;
    }

    .pcb-hero-search-box input {
        font-size: 0.80rem !important;
    }

    .pcb-hero-filter-btn {
        height: 38px !important;
        padding: 0 12px !important;
        font-size: 0.80rem !important;
        border-radius: 10px !important;
        gap: 6px !important;
    }
}



