/* Container: Fixed position, 220px high, 80px from bottom */
.zen-swiper-container, 
.my-3 {
    position: fixed;
    bottom: 80px;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center; /* Vertically center the slider content */
}

/* Slide Layout: Centered Column */
.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px;
    height: 100%;
    box-sizing: border-box;
}

/* Image Styling: Taller and Centered */
.swiper-slide-image {
    width: 100%;       
    max-height: 250px; 
    object-fit: contain; 
    border-radius: 6px;
    margin-bottom: 8px;
    display: block;    
    margin-left: auto;
    margin-right: auto;
}

/* Text Styling */
.swiper-slide-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.swiper-slide-title {
    font-weight: 700;
    font-size: 15px;
    color: #222;
    margin: 0 0 4px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.swiper-slide-text {
    font-size: 13px;
    color: #555;
    line-height: 1.3;
    margin: 0;
    max-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pagination (Dots) */
/* Pagination (Dots) - Fixed Overlap */
.swiper-pagination {
    position: absolute;
    bottom: 10px !important;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10000;
    /* Ensure no overflow clipping the active dot */
    overflow: visible; 
}

.swiper-pagination-bullet {
    background: #888;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    display: inline-block;
    margin: 0 4px; /* Consistent spacing */
    border-radius: 50%;
    transition: all 0.3s ease;
    /* Ensure dots don't overlap during transition */
    position: relative; 
}

/* Active Dot Styling */
.swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
    width: 12px; /* Slightly wider */
    height: 12px; /* Slightly taller */
    border-radius: 50%; /* Keep round */
    margin: 0 2px; /* Reduce margin slightly to compensate for size increase */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.6); /* Glow effect */
    z-index: 10001; /* Ensure it sits on top */
}

/* Optional: If you still see overlap, force the active dot to be on top */
.swiper-pagination-bullet-active {
    transform: scale(1.2);
    margin: 0 2px;
}

/* --- NAVIGATION ARROWS FIX --- */
.swiper-button-prev, 
.swiper-button-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #333;
    z-index: 10001;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    
    /* CRITICAL: Hide Swiper's default arrow icons (::before) */
    content: none !important; 
}

/* Remove Swiper's default ::before content entirely */
.swiper-button-prev::before,
.swiper-button-next::before,
.swiper-button-prev::after,
.swiper-button-next::after {
    content: none !important;
    display: none !important;
}

.swiper-button-prev {
    left: 15px;
}
.swiper-button-next {
    right: 15px;
}

/* Center the FontAwesome icon inside the button */
.swiper-button-prev i, 
.swiper-button-next i {
    font-size: 18px;
    line-height: 40px; /* Matches button height */
    display: block;
    text-align: center;
    width: 100%;
}

/* Hover effects */
.swiper-button-prev:hover, 
.swiper-button-next:hover {
    background: #f0f0f0;
    border-color: #ccc;
}
