

.sub-department-item {
display: flex !important;
justify-content: center;
align-items: center;
height: 80px; /* Adjusted for taller button */
}

/* Sub-department buttons (larger width) */
.sub-department-btn {
width: 200px; /* ⬆️ Increased width */
height: 50px; /* Slightly taller */
padding: 0;
background: #f9fafb;
border: 1px solid #e0e0e0;
border-radius: 30px;
cursor: pointer;
font-size: 1rem;
font-weight: 500;
color: #2c3e50;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

/* Hover + Active States */
.sub-department-btn:hover,
.sub-department-btn.active {
background: #3BB77E;
color: #fff;
border-color: #3BB77E;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}  

/* Allow transform/border styling */
.avatar-title .title {
display: inline-block;
transition: all 0.3s ease;
}

/* Active state for title */
.avatar-title.active .title {
color: #3BB77E !important;
font-weight: 600;
border-bottom: 2px solid #3BB77E;
padding-bottom: 2px;
transform: scale(1.05);
}


.swiper-container {
    width: 100% !important;
    overflow: hidden !important;
}

.swiper-wrapper {

    height: auto !important;
}

.sub-department-btn.active,
.avatar-link.active .avatar, .avatar-link.active .avatar-title .title {
    background-color: #3BB77E !important;
    color: #fff !important;
    border-color: #3BB77E !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: 0px !important;
    top: unset !important;
    left: 0 !important;
    width: 100% !important;
    padding-bottom: 10px !important
}



.avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #a1d2bb;
}

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

.avatar-title {

    min-height: 34px;
}

.avatar-title .title {
    margin-top: 1px;
    font-size: 10px;
    color: #333;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    white-space: normal;
    /* line-height: 1.2em; */
    line-height: 1.5em;
}
.packages-section, .products-section {
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 50px 25px;
    margin-bottom: 50px;
}

#packages-container, #products-container {
    margin-top: 30px;
}

#loading-indicator {
    color: #3bb77e;
    font-weight: 600;
}

.avatar:hover {
    transform: scale(1.05);
}

.avatar-link:hover .avatar {
    border-color: #d0ebd0;
}

.image-container {
    width: 200px;
    height: 200px;
    background-color: #fff;
    /* White background for small images */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    /* Optional rounded corners */
    margin-right: 10px;
    /* Reduce space between images */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
}

.custom-swiper-button {
    background-color: #D3D3D3;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.custom-swiper-button-next.custom-swiper-button {
    right: 10px;
}

.custom-swiper-button-prev.custom-swiper-button {
    left: 10px;
}

.custom-swiper-button:hover {
    background-color: #A9A9A9;
}

.custom-swiper-button::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
}

.custom-swiper-button-next.custom-swiper-button::before {
    content: "\f061";
}

.custom-swiper-button-prev.custom-swiper-button::before {
    content: "\f060";
}

.best-product-container .product-price span.new-price {
    color: #3bb77e;
    font-size: 13px;

}

.best-product-container .product-price span.old-price {
    font-size: 12px;
    color: #adadad;
    margin: 0 0 0 7px;
    text-decoration: line-through;
}

.slick-arrow.slick-prev {
    top: 30% !important;
}

.slick-arrow.slick-next {
    top: 30% !important;
}


@media screen and (max-width: 576px) {


    .card-container {
        /* margin: 0 auto; */
        /* Centers card horizontally */
        margin-inline-start: 0px !important;
        margin-inline-end: 0px !important;
    }

    .slick-slide {
        margin-inline-end: 10px !important;
        float: inline-start !important;
    }

    .card-title {
        font-size: 12px;
    }


}

@media screen and (max-width: 430px) {

    #best-products .slick-track {

        margin-right: 10px !important;
    }
}

.card-title {
    font-size: 12px;
}


.dep-title {
    word-break: break-word;
    flex-grow: 1;
}

.show-all {
    flex-shrink: 0;
    white-space: nowrap;
}


#dep_products .slick-track {
    margin-top: 10px;
}


.avatar-title:hover {
    transform: scale(1.05);
}

.dep-title-link:hover .title {
    color: #3bb77e !important;
}

.slick-dots {
    display: inline-flex;
}

.slick-dots li button {
    background-color: #58a983;
    border: none;
    border-radius: 50%;
    width: 3px;
    height: 8px;
    text-indent: -9999px;
    overflow: hidden;

    opacity: 0.2;

}

.slick-dots li {
    margin: 0 3px;
}

.slick-dots li.slick-active button {
    background-color: #3bb77e;
    opacity: 1;


}

.slick-dots {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Specific styles for previous button */
.slider-prev-lazy {
    left: -50px !important; /* Adjust horizontal position for previous button */
}

/* Specific styles for next button */
.slider-next-lazy {
    right: -50px !important; /* Adjust horizontal position for next button */
}

@media (max-width: 460px) { /* Only on small screens */
    .most-sold-card {
        height: 150px !important;
    }
  }
    
.avatar {
width: 80px;
height: 80px;
border-radius: 50%;
overflow: hidden;
background-color: #e5e7eb; /* fallback gray */
display: flex;
align-items: center;
justify-content: center;
}

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

/* Placeholder like Google Meet style */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 600;
    color: white;
    background-color: #a25928; /* Google Meet green */
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

        

