/* ==========================================================================
   TIER-1 SHOP SUB-CATEGORY HORIZONTAL BAR
   Location: css/shop-sub-category-bar.css
   True Black Glass Arrows + Extension Puzzle Piece inside Icon Circle
   ========================================================================== */

.tc-sub-menu-bar {
    position: fixed !important;
    top: 75px !important; 
    left: 0 !important;
    width: 100% !important;
    height: 64px !important;
    background: rgba(23, 20, 28, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    z-index: 1005 !important; 
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.6) !important;
    box-sizing: border-box !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s ease !important;
}

.tc-sub-menu-bar.scrolled-down {
    transform: translateY(-75px) !important;
}

.tc-sub-menu-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.tc-sub-menu-scroll-area {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    height: 100% !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.tc-sub-menu-scroll-area::-webkit-scrollbar {
    display: none !important;
}

/* Category Pill */
.tc-sub-menu-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 6px 20px 6px 6px !important;
    border-radius: 50px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
    background-color: transparent !important;
    color: #cbd5e1 !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease !important;
}

/* Restored 32px Circular Icon Container */
.tc-sub-menu-icon-circle {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: #7c3aed !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.tc-sub-extension-puzzle-svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
    display: block !important;
}

.tc-sub-menu-pill:hover {
    border-color: #7c3aed !important;
    color: #ffffff !important;
    background-color: rgba(124, 58, 237, 0.08) !important;
}

.tc-sub-menu-pill:hover .tc-sub-menu-icon-circle {
    background-color: #6d28d9 !important;
    transform: scale(1.1) !important;
}

/* Arrow Overlays */
.tc-sub-arrow-wrapper {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.tc-sub-arrow-wrapper.visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.tc-sub-arrow-wrapper.left {
    left: 20px !important;
    background: linear-gradient(to right, rgba(23, 20, 28, 0.98) 40%, rgba(23, 20, 28, 0) 100%) !important;
}

.tc-sub-arrow-wrapper.right {
    right: 20px !important;
    background: linear-gradient(to left, rgba(23, 20, 28, 0.98) 40%, rgba(23, 20, 28, 0) 100%) !important;
}

/* ==========================================================================
   TRUE BLACK GLASSMORPHIC CIRCLE ARROWS
   ========================================================================== */
.tc-sub-scroll-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 50% !important;
    background-color: rgba(0, 0, 0, 0.88) !important; /* Pure Black Glass */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
    padding: 0 !important;
    outline: none !important;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.tc-sub-scroll-arrow svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5 !important;
}

.tc-sub-scroll-arrow:hover {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    transform: scale(1.08) !important;
}

@media (max-width: 768px) {
    .tc-sub-menu-bar {
        top: 65px !important;
        height: 56px !important;
    }
    .tc-sub-menu-container {
        padding: 0 10px !important;
    }
    .tc-sub-arrow-wrapper.left { left: 0 !important; }
    .tc-sub-arrow-wrapper.right { right: 0 !important; }
}