/* Basic styles for BC Elementor category widget */
.bc-el-cat-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.bc-el-cat-wrapper.layout-carousel {
    padding-left: 50px;
    padding-right: 50px;
}

.bc-el-cat-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
    width: 100%;
    overflow: hidden;
}

.bc-el-cat-wrapper.layout-grid .bc-el-cat-inner {
    flex-wrap: wrap;
    overflow: visible;
}

.bc-el-cat-item {
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    box-sizing: border-box;
}

.bc-el-cat-thumb-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bc-el-cat-thumb {
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.bc-el-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bc-el-cat-text-wrap {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bc-el-cat-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.bc-el-cat-count {
    font-size: 12px;
    opacity: 0.7;
}

/* Carousel arrows – rounded, centered, pretty */
.bc-el-cat-arrow {
    all: unset;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #EBEBEB;
    color: #454545;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.95;
}

.bc-el-cat-arrow.prev {
    left: 0;
}

.bc-el-cat-arrow.next {
    right: 0;
}

.bc-el-cat-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    background-color: rgb(0 0 0);
}

.bc-el-cat-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.4);
}

/* Responsive styles - Elementor standard breakpoints */
/* Tablet: 768px - 1024px */
@media (max-width: 1024px) and (min-width: 768px) {
    .bc-el-cat-wrapper.layout-carousel {
        padding-left: 45px;
        padding-right: 45px;
    }
    
    .bc-el-cat-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
    .bc-el-cat-wrapper.layout-carousel {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .bc-el-cat-item {
        margin-right: 16px;
    }
    
    .bc-el-cat-arrow {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Small Mobile: < 480px */
@media (max-width: 480px) {
    .bc-el-cat-wrapper.layout-carousel {
        padding-left: 35px;
        padding-right: 35px;
    }
    
    .bc-el-cat-arrow {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}
