/* ===================================================================
   /products — Category filter strip
=================================================================== */

.cat-strip-wrapper {
    position: relative;
}

.cat-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cat-strip::-webkit-scrollbar {
    display: none;
}

.cat-strip {
    cursor: grab;
}
.cat-strip.dragging {
    cursor: grabbing;
    user-select: none;
}

/* Individual chip — can be <a> or <button> */
.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    width: 108px;
    background: #ffffff;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    padding: 10px 10px;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.cat-chip:hover {
    border-color: #00a4bd;
    box-shadow: 0 4px 14px rgba(0, 164, 189, 0.15);
}

.cat-chip.active {
    border-color: #1a365d;
    background: #f0f5ff;
    box-shadow: 0 4px 14px rgba(26, 54, 93, 0.12);
}

/* Chip image circle */
.cat-chip-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.cat-chip.active .cat-chip-img {
    background: #e4ecfa;
}

.cat-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-chip-img i {
    font-size: 1.3rem;
    color: #718096;
}

.cat-chip.active .cat-chip-img i {
    color: #1a365d;
}

/* Chip label */
.cat-chip span {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4a5568;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    width: 100%;
}

.cat-chip.active span {
    color: #1a365d;
}

/* ===================================================================
   პაგინაცია
=================================================================== */
.pagination {
    gap: 4px;
    flex-wrap: wrap;
}

.pagination .page-item .page-link {
    border-radius: 8px !important;
    border: 1.5px solid #e8ecf0;
    color: #1a365d;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 6px 13px;
    transition: all 0.18s ease;
    background: #fff;
}

.pagination .page-item .page-link:hover {
    background: #e8f8fb;
    border-color: #00a4bd;
    color: #00a4bd;
}

.pagination .page-item.active .page-link {
    background: #00a4bd;
    border-color: #00a4bd;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 164, 189, 0.35);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    border-color: #e8ecf0;
    color: #adb5bd;
}

/* Mobile */
@media (max-width: 575px) {
    .cat-chip {
        width: 88px;
        padding: 8px 8px;
    }

    .cat-chip-img {
        width: 48px;
        height: 48px;
    }

    .cat-chip span {
        font-size: 0.64rem;
    }
}
