.promotional-carousel-wrapper {
    position: relative;
    padding: 10px 0; /* Add padding to give space for the hover effect */
}

.category-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-filter {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.category-filter:hover {
    background-color: #e0e0e0;
}

.category-filter.active {
    background-color: #636365;
    color: #fff;
}

.promotional-carousel {
    position: relative;
    border-radius: 28px;
    overflow: visible !important; /* Ensure the container allows overflow for hover effect */
}

.promotional-carousel .swiper {
    overflow: visible !important; /* Override Swiper's default overflow: hidden */
}

.swiper-slide {
    position: relative; /* Ensure the slide is a positioning context for the overlay */
    background-size: cover;
    background-position: center;
    height: 554px; /* Match carousel height */
    display: flex;
    align-items: flex-start; /* Align content to the top */
    justify-content: flex-start; /* Align content to the left */
    color: #fff; /* Ensure text is white */
    text-align: left;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 28px; /* Add border radius to all slides */
    transition: transform 0.6s ease, border-radius 0.6s ease; /* Include border-radius in the transition */
}

.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1; /* Place the overlay above the background image */
    border-radius: 28px; /* Match the slide's border radius */
    transition: border-radius 0.6s ease; /* Ensure the overlay's border radius transitions with the slide */
}

.swiper-slide:hover {
    transform: scale(1.04); /* Grow 2% on hover */
    z-index: 10; /* Ensure the hovered slide is above others to prevent overlap */
    border-radius: 28; /* Remove border radius on hover (fixed from 28 to 0) */
}

.swiper-slide:hover::before {
    border-radius: 28; /* Remove the overlay's border radius on hover to match the slide (fixed from 28 to 0) */
}

.slide-content {
    max-width: 50%;
    position: relative; /* Ensure the content is above the overlay */
    z-index: 2; /* Place the content above the overlay */
}

.slide-content h2 {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff; /* Ensure headline is white */
}

.slide-content p {
    font-size: 18px;
    margin: 0;
    color: #fff; /* Ensure description is white */
}

.phone-image {
    max-width: 300px;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2; /* Ensure the phone image is above the overlay */
}

.swiper-nav-buttons {
    display: flex !important;
    justify-content: right !important;
	right: 90px;
    gap: 40px !important;
    margin-top: 20px !important;
    position: relative !important;
}

.swiper-button-prev,
.swiper-button-next {
    position: relative;
    width: 36px;
    height: 36px;
    background-color: #d3d3d3; /* Grey background */
    border-radius: 50%; /* Circular buttons */
    color: #636365;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 20px !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 14px; /* Adjust arrow size */
    font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: #b0b0b0; /* Slightly darker grey on hover */
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
    background-color: #e0e0e0; /* Lighter grey when disabled */
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none; /* Remove underline from link */
    color: inherit; /* Inherit text color */
    position: relative; /* Ensure the link is a positioning context */
    z-index: 3; /* Ensure the link is above the overlay */
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .swiper-slide {
        height: 300px; /* Reduce height for mobile */
        padding: 20px; /* Reduce padding for mobile */
    }

    .slide-content {
        max-width: 70%; /* Increase max-width to fit content better on smaller screens */
    }

    .slide-content h2 {
        font-size: 20px; /* Smaller font size for mobile */
    }

    .slide-content p {
        font-size: 14px; /* Smaller font size for mobile */
    }

    .phone-image {
        max-width: 150px; /* Reduce phone image size for mobile */
        right: 20px; /* Adjust positioning to fit within the smaller slide */
    }

    .swiper-nav-buttons {
        justify-content: center !important; /* Center the navigation buttons on mobile */
        gap: 20px !important; /* Reduce gap between buttons */
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px; /* Smaller buttons for mobile */
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px; /* Smaller arrows for mobile */
    }

    .category-filters {
        gap: 10px; /* Reduce gap between buttons on mobile */
        margin-bottom: 15px; /* Reduce margin on mobile */
    }

    .category-filter {
        padding: 8px 15px; /* Smaller buttons on mobile */
        font-size: 14px; /* Smaller font size on mobile */
    }
}