/* =====================
   SECTION
===================== */
.category-section {
    margin: 30px 0;
}
/* =====================
   HEADER
===================== */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.see-all {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.see-all:hover {
    text-decoration: underline;
}

/* =====================
   WRAPPER
===================== */
.category-wrapper {
    position: relative;
}

/* =====================
   SCROLL
===================== */
.flex-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 4px 14px;
}

.flex-scroll::-webkit-scrollbar {
    display: none;
}

/* =====================
   ITEM
===================== */
.flex-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 230px;
    padding: 12px 18px;
    background: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.flex-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.1);
}

.flex-item.active {
    border: 2px solid var(--color-primary);
    background: #f0fdf4;
}

/* =====================
   IMAGE
===================== */
.box-flex-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f3f4f6;
    overflow: hidden;
    flex-shrink: 0;
}

.box-flex-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================
   TEXT
===================== */
.set-inleft {
    display: flex;
    flex-direction: column;
}

.cat-names {
    font-size: 15px;
    font-weight: 600;
}
.flex-item.active .cat-names {
    color: var(--color-primary);
}
.small-text {
    font-size: 12px;
    color: #6b7280;
}

/* =====================
   NAV BUTTON
===================== */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 5;
}

.nav-btn.left {
    left: -14px;
}

.nav-btn.right {
    right: -14px;
}

.nav-btn:hover {
    background: #f9fafb;
}