.mobile-sections-container {
    position: relative;
    width: 100%;
    margin: 15px 0;
    /* padding: 0 15px; */
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-sections-slider {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.mobile-sections-track {
    display: flex;
    gap: 8px;
    will-change: transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    height: 100%;
    padding: 2px 0;
}

.mobile-section-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 12px;
    min-width: 30px;
    height: 30px;
    border-radius: 15px;
    border: 1px solid #E5E5E5;
    background: #F5F5F5;
    transition: all 0.2s ease;
}

.slide-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.section-name {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 18.34px;
    letter-spacing: 0%;
    text-align: center;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-count {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: #666;
    white-space: nowrap;
}

.mobile-section-slide:hover {
    background: #f5f5f5;
}

.mobile-section-slide.active {
    background: white;
    border-color: #CC0000;
    color: #CC0000;
    box-shadow: none;
}

.mobile-section-slide.active .section-name,
.mobile-section-slide.active .section-count {
    color: #CC0000;
    font-weight: 500;
}

.mobile-section-slide:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

@media (max-width: 480px) {
    .mobile-sections-container {
        padding: 0 10px;
    }

    .mobile-section-slide {
        padding: 4px 10px;
        min-width: 28px;
        height: 28px;
    }

    .section-name {
        font-size: 9px;
    }
}

@media (min-width: 1025px) {
    .mobile-sections-container {
        display: none !important;
    }
    .mobile-filter-actions {
        display: none !important;
    }
}

.slider-arrow {
    display: none !important;
}

.mobile-filter-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 998;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.mobile-filter-actions.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-filter-apply {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    background: #CC0000;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.mobile-filter-apply:hover {
    background: #B30000;
}

@media (max-width: 480px) {
    .mobile-filter-actions {
        padding: 10px;
    }

    .mobile-filter-apply {
        padding: 10px;
        font-size: 14px;
    }
}

.mobile-filter-link-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 2px 0 0;
    padding-top: 12px;
}

.mobile-filter-link-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='%23CC0000'%3E%3Cpath d='M12 0L0 12h24L12 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.mobile-filter-link:hover {
    background: #B30000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes slideIn {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.mobile-filter-link-container.show {
    animation: fadeIn 0.2s ease-out;
}


.mobile-filter-link-container.show {
    display: flex;
    animation: slideIn 0.3s ease-out forwards;
}

@media (max-width: 480px) {
    .mobile-filter-link {
        padding: 8px 20px;
        font-size: 13px;
        min-width: 140px;
    }

    .mobile-filter-link-container::before {
        width: 20px;
        height: 10px;
    }
}

.mobile-filter-holder {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 95%;
}

.mobile-sections-container {
    position: relative;
    width: 100%;
    margin: 15px 0 0;
    /* padding: 0 15px; */
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-filter-link:hover::after {
    transform: translateX(3px);
}

.mobile-filter-link-wrapper.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}


.mobile-filter-link-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-top: 2px;
    text-align: center;
    display: none;
}

.mobile-filter-link-wrapper::before {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='%23CC0000'%3E%3Cpath d='M12 0L0 12h24L12 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.mobile-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 23px;
    border-radius: 24px;
    background: #CC0000;
    color: white;
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 180px;
}

.mobile-filter-link::after {
    content: '→';
    margin-left: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-filter-link-wrapper.visible {
    display: block;
    animation: fadeInSlide 0.3s ease-out forwards;
}