.gl-woo-category-section {
    width: 100%;
    margin: 0 auto;
    position: relative;
    /* For absolute pos of navigation */
    overflow: hidden;
    /* For slider */
}

/* Ensure slides take correct width/height */
.gl-woo-category-section .swiper-wrapper {
    display: flex;
    align-items: stretch;
    /* Make slides equal height */
}

.gl-woo-category-section .swiper-slide {
    height: auto;
    display: flex;
}

/* Item Styles */
.gl-woo-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    /* Fill slide */
}

/* .gl-woo-category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
} */

.gl-woo-category-image {
    margin-bottom: 15px;
    width: 170px;
    height: 170px;
    overflow: hidden;
}
.gl-woo-category-image a{
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gl-woo-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Default circular */
    transition: transform 0.3s ease;
}

/* .gl-woo-category-item:hover .gl-woo-category-image img {
    transform: scale(1.05);
} */

.gl-woo-category-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.gl-woo-category-title a {
    text-decoration: none;
    color: inherit;
}

.gl-woo-category-button-wrapper {
    margin-top: auto;
    /* Push to bottom if flex column */
    padding-top: 5px;
}

.gl-woo-category-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.gl-woo-category-button:hover {
    background-color: #005177;
    color: #fff;
}

/* Swiper Navigation Styles */
.gl-woo-category-section .swiper-button-next,
.gl-woo-category-section .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gl-woo-category-section .swiper-button-next:hover,
.gl-woo-category-section .swiper-button-prev:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gl-woo-category-section .swiper-button-next:after,
.gl-woo-category-section .swiper-button-prev:after {
    font-size: 18px;
    display: none;
    /* Hide default swiper icons as we might use custom SVGs or icon controls */
}

/* Show default icons if no custom SVG is provided/rendered by Elementor Icons Manager which typically injects SVG */
.gl-woo-category-section .swiper-button-next.swiper-button-disabled,
.gl-woo-category-section .swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.gl-woo-category-section .swiper-pagination {
    position: relative;
    margin-top: 48px;
    bottom: 0 !important;
}

.gl-woo-category-section .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #E9E9E9;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.gl-woo-category-section .swiper-pagination-bullet-active {
    opacity: 1;
    width: 14px !important;
    height: 14px !important;
    background: #000000;
    /* transform: scale(1.2); */
}

@media (max-width: 768px) {
    .gl-woo-category-image {
        width: 100px;
        height: 100px;
        overflow: hidden;
    }
    .gl-woo-category-section .swiper-pagination { 
        margin-top: 32px;
    }
    
}