/* ==========================================================================
   TIER-1 TOP-CLASS BUNDLE SHOWCASE & HOME SLIDER (DARK LUXURY #17141c)
   Location: css/top-class-bundle-showcase.css
   ========================================================================== */

.tc-showcase-wrapper,
.tc-showcase-wrapper * {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    box-sizing: border-box !important;
}

.tc-showcase-wrapper {
    max-width: 1400px !important;
    margin: 80px auto 60px auto !important;
    padding: 0 40px !important;
    position: relative !important;
    animation: tcShowcaseFadeIn 0.5s ease-out forwards !important;
}

@keyframes tcShowcaseFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tc-showcase-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 26px !important;
    gap: 20px !important;
}

.tc-showcase-title-area {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.tc-showcase-title {
    font-size: 2.3rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    letter-spacing: -0.8px !important;
    line-height: 1.2 !important;
}

.tc-showcase-subtitle {
    font-size: 1.05rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   FIXED BAR: "Show filters" pinned left, followed by the keyword slider
   ========================================================================== */
.tc-labels-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 32px !important;
    background: transparent !important;
    padding: 0 !important;
    width: 100% !important;
    gap: 12px !important;
}

/* 🚀 PINNED "SHOW FILTERS" BUTTON (Never scrolls away) */
#search-filter-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: #17141c !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    outline: none !important;
    z-index: 5 !important;
}

#search-filter-button svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

#search-filter-button:hover {
    border-color: #7c3aed !important;
    background-color: rgba(124, 58, 237, 0.12) !important;
    color: #a78bfa !important;
}

#search-filter-button.toggle-button-active {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35) !important;
}

/* Scroll area strictly for keywords */
.tc-labels-scroll-area {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    padding: 6px 0 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.tc-labels-scroll-area::-webkit-scrollbar {
    display: none !important;
}

/* Category/Tag Label Buttons */
.tc-label-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #cbd5e1 !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    flex-shrink: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    user-select: none !important;
    outline: none !important;
}

.tc-label-btn:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.tc-label-btn.active {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    color: #ffffff !important;
    padding-right: 8px !important;
    transform: scale(0.97) !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4) !important;
}

.tc-cat-search-icon {
    width: 15px !important;
    height: 15px !important;
    fill: currentColor !important;
    flex-shrink: 0 !important;
}

.tc-active-cross-circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    margin-left: 4px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.tc-active-cross-circle svg {
    width: 12px !important;
    height: 12px !important;
    stroke-width: 3 !important;
}

.tc-active-cross-circle:hover {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.1) !important;
}

/* Glassmorphic Arrows */
.tc-circle-arrow-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3) !important;
    outline: none !important;
}

.tc-circle-arrow-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke-width: 2.5 !important;
}

.tc-circle-arrow-btn:hover:not(:disabled) {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
    transform: scale(1.08) !important;
}

.tc-circle-arrow-btn:disabled {
    opacity: 0.2 !important;
    cursor: not-allowed !important;
}

.tc-circle-arrow-btn.label-prev { margin-right: 4px !important; }
.tc-circle-arrow-btn.label-next { margin-left: 4px !important; }

.tc-slider-nav {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Product Track */
.tc-showcase-slider-container {
    width: 100% !important;
    position: relative !important;
}

.tc-showcase-track {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    padding: 10px 4px 20px 4px !important;
    margin: 0 !important;
    list-style: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.tc-showcase-track::-webkit-scrollbar {
    display: none !important;
}

.tc-showcase-track > li.mcb-pc-card {
    flex: 0 0 calc(25% - 18px) !important;
    min-width: 280px !important;
    max-width: 340px !important;
    margin: 0 !important;
}

/* Spinner */
.tc-showcase-loader-wrap {
    width: 100% !important;
    min-height: 320px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.tc-showcase-spinner {
    width: 44px !important;
    height: 44px !important;
    border: 3.5px solid rgba(124, 58, 237, 0.2) !important;
    border-top-color: #7c3aed !important;
    border-radius: 50% !important;
    animation: tcShowcaseSpin 0.75s linear infinite !important;
}

@keyframes tcShowcaseSpin {
    100% { transform: rotate(360deg); }
}

/* Ripple */
span.tc-ripple-effect {
    position: absolute !important;
    border-radius: 50% !important;
    transform: scale(0) !important;
    animation: tcRippleAnim 0.6s linear !important;
    background-color: rgba(255, 255, 255, 0.3) !important;
    pointer-events: none !important;
}

@keyframes tcRippleAnim {
    to { transform: scale(4); opacity: 0; }
}

@media (max-width: 1200px) {
    .tc-showcase-track > li.mcb-pc-card { flex: 0 0 calc(33.333% - 16px) !important; }
}

@media (max-width: 900px) {
    .tc-showcase-wrapper { padding: 0 20px !important; margin: 50px auto 40px auto !important; }
    .tc-showcase-header { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; }
    .tc-slider-nav { align-self: flex-end !important; }
    .tc-showcase-title { font-size: 1.9rem !important; }
    .tc-showcase-track > li.mcb-pc-card { flex: 0 0 calc(50% - 12px) !important; min-width: 240px !important; }
}

@media (max-width: 600px) {
    .tc-showcase-track > li.mcb-pc-card { flex: 0 0 85% !important; min-width: 220px !important; }
}