

.category-strip {
    position: relative;
    z-index: 30;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    background: var(--surface-background);
}

.category-strip-container {
    position: relative;
    display: flex;
    width: min(1500px, calc(100% - 32px));
    margin: 0 auto;
    align-items: center;
}

.category-strip-viewport {
    width: 100%;
    overflow: hidden;
    scroll-behavior: smooth;
}

.category-strip-track {
    display: flex;
    width: max-content;
    align-items: flex-start;
    gap: 13px;
    padding: 17px 8px 15px;
    will-change: transform;
}

.category-strip-item {
    display: flex;
    width: 105px;
    flex: 0 0 105px;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--text-color);
    text-align: center;
    text-decoration: none;
}

.category-strip-image {
    position: relative;
    display: grid;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    overflow: hidden;
    place-items: center;

    border: 2px solid var(--brand-red);
    border-radius: 50%;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.category-strip-image img {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;

    transition: transform 0.3s ease;
}

.category-strip-name {
    display: -webkit-box;
    width: 100%;
    min-height: 30px;
    overflow: hidden;

    color: var(--text-color);

    font-size: 11px;
    font-weight: 600;
    line-height: 1.35;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.category-strip-item:hover .category-strip-image {
    transform: translateY(-3px);
    border-color: var(--brand-red);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.category-strip-item:hover .category-strip-image img {
    transform: scale(1.06);
}

.category-strip-item:hover .category-strip-name {
    color: var(--brand-red);
}


/* =========================================================
   OKLAR
========================================================= */

.category-strip-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;

    place-items: center;

    border: 1px solid var(--border-color);
    border-radius: 50%;

    background: var(--surface-background);
    color: var(--text-color);

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transform: translateY(-65%);

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.category-strip-arrow:hover {
    border-color: var(--brand-red);
    background: var(--brand-red);
    color: #ffffff;
}

.category-strip-arrow:active {
    transform: translateY(-65%) scale(0.94);
}

.category-strip-arrow-prev {
    left: -5px;
}

.category-strip-arrow-next {
    right: -5px;
}


/* =========================================================
   DARK MODE
========================================================= */

html.is-dark .category-strip-image {
    background: #ffffff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .category-strip-container {
        width: 100%;
    }

    .category-strip-track {
        gap: 7px;
        padding: 13px 45px 12px;
    }

    .category-strip-item {
        width: 88px;
        flex-basis: 88px;
    }

    .category-strip-image {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }

    .category-strip-name {
        min-height: 27px;
        font-size: 10px;
    }

    .category-strip-arrow {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .category-strip-arrow-prev {
        left: 7px;
    }

    .category-strip-arrow-next {
        right: 7px;
    }
}


/* =========================================================
   MOBİL
========================================================= */

@media (max-width: 520px) {

    .category-strip-track {
        gap: 5px;
        padding:
            12px
            38px
            11px;
    }

    .category-strip-item {
        width: 75px;
        flex-basis: 75px;
        gap: 6px;
    }

    .category-strip-image {
        width: 59px;
        height: 59px;
        flex-basis: 59px;
        border-width: 1.5px;
    }

    .category-strip-image img {
        padding: 5px;
    }

    .category-strip-name {
        min-height: 25px;
        font-size: 9px;
        line-height: 1.3;
    }

    .category-strip-arrow {
        width: 29px;
        height: 29px;
        font-size: 21px;
    }

    .category-strip-arrow-prev {
        left: 4px;
    }

    .category-strip-arrow-next {
        right: 4px;
    }
}

.category-strip-fallback-icon,
.category-strip-fallback-letter {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
}

.category-strip-fallback-icon {
    color: var(--brand-red);
    font-size: 27px;
}

.category-strip-fallback-icon svg {
    width: 32px;
    height: 32px;
}

.category-strip-fallback-letter {
    color: var(--brand-red);
    font-size: 26px;
    font-weight: 900;
}