/* =========================================
   VALORA CATEGORY STRIP (Catawiki Style)
   ========================================= */

.vla-category-strip-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Admin bar offset */
body.admin-bar .vla-category-strip-wrapper {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .vla-category-strip-wrapper {
        top: 46px;
    }
}

.vla-category-strip {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    gap: 30px;
    /* Padding reset for flex layout */
    padding: 0 10px;
}

.vla-category-strip::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Items */
.vla-strip-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--vla-gray-600, #555);
    padding: 15px 5px;
    position: relative;
    transition: color 0.2s;
    min-width: max-content;
}

.vla-strip-item:hover {
    color: var(--vla-primary, #2a7de1);
    text-decoration: none;
}

/* Icon */
.vla-strip-icon {
    font-size: 18px;
    margin-bottom: 8px;
    color: inherit;
}

/* Text */
.vla-strip-item span {
    font-size: 13px;
    font-weight: 500;
}

/* Active State */
.vla-strip-item.active {
    color: var(--vla-primary, #2a7de1);
}

.vla-strip-item.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--vla-primary, #2a7de1);
    border-radius: 3px 3px 0 0;
}

/* Right Shadow/Indicator */
.vla-strip-shadow-right {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 80%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .vla-category-strip {
        gap: 20px;
        padding: 0 20px !important;
        /* Reset padding for mobile */
    }

    /* Hide scroll buttons on mobile */
    .vla-scroll-btn {
        display: none !important;
    }

    .vla-strip-item {
        padding: 12px 0;
    }

    .vla-strip-icon {
        font-size: 16px;
    }

    .vla-strip-item span {
        font-size: 12px;
    }
}