.pps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 1rem 0 3rem;
}

.pps-swiper {
    /* width: calc(100% - 100px); */
    /* margin-left:1%; margin-right:1% */
    width: 100%;
    padding-left: 4%;
    padding-right: 4%;
    overflow: hidden;
    padding-bottom: 4%;
    position: relative;
}

.swiper-slide {
    cursor: grab;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background: #fff; */
    border-radius: 12px;
    overflow: hidden;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
    transition: transform 0.3s;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

.swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.swiper-slide h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    text-align: center;
    padding: 0 0.5rem;
}

.pps-pagination {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
}

.pps-button-prev,
.pps-button-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
    position: relative;
    flex-shrink: 0;
}

.pps-button-prev:hover,
.pps-button-next:hover {
    background: rgba(0,0,0,0.8);
}

.pps-button-prev:focus,
.pps-button-next:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.pps-button-prev::after { content: '<'; font-size: 20px; font-weight: bold; }
.pps-button-next::after { content: '>'; font-size: 20px; font-weight: bold; }

.pps-wrapper .pps-button-prev {
    margin-right: 10px;
    position: absolute;
    top: 30%;
    left: 0%;
    /* z-index: 9999999; */
    /* overflow: visible;*/
}
.pps-wrapper .pps-button-next {
    margin-left: 10px;
    position: absolute;
    right: 0;
    z-index: 9999;
    top: 30%;
}

/* Responsive styles */

@media (max-width: 1024px) {
    .swiper-slide img { height: 180px; }
    .pps-swiper { width: calc(100% - 80px); }
}

@media (max-width: 768px) {
    .swiper-slide img { height: 160px; }
    .pps-swiper { width: calc(100% - 60px); }
    .pps-button-prev,
    .pps-button-next { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .swiper-slide img { height: 140px; }
    .pps-swiper { width: calc(100% - 50px); }
    .pps-button-prev,
    .pps-button-next { width: 25px; height: 25px; }
}
