.realplus-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 40px auto;
    overflow: hidden;
}

.realplus-carousel {
    width: 100%;
    padding-bottom: 20px;
    padding-top: 20px;
    overflow: visible !important;
    /* Allow Swiper slides to be visible beyond the container */
}

/* Set dimensions so partial slides on edges are naturally formed */
.realplus-carousel .swiper-slide {
    width: 80%;
    transition: opacity 0.4s ease, filter 0.4s ease;
    opacity: 0.4;
    filter: grayscale(30%);
}

/* Center active slide */
.realplus-carousel .swiper-slide-active {
    opacity: 1;
    filter: grayscale(0%);
    z-index: 2;
}

.rpc-slide-content {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #222;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.rpc-image {
    width: 100%;
    height: 630px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.rpc-slide-content:hover .rpc-image {
    transform: scale(1.15);
}

.rpc-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 50px 25px 25px 25px;
    color: #fff;
    box-sizing: border-box;
}

.rpc-status {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    z-index: 10;
}

.rpc-text {
    position: relative;
}

.rpc-title {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
}

.rpc-price {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.rpc-config {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #e2e8f0;
}

.rpc-courtesy {
    font-size: 0.85em;
    color: #cbd5e1;
    font-style: italic;
}

.rpc-bottom-bar {
    width: 80%;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realplus-carousel-controls {
    display: flex;
    gap: 10px;
    margin-top: 0;
}

.realplus-carousel-controls button {
    background: #9d7515;
    color: #fff;
    border: 1px solid #9d7515;
    padding: 10px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    box-shadow: none;
}

.realplus-carousel-controls button:hover {
    background: transparent;
    color: #9d7515;
    border-color: #9d7515;
    transform: none;
    box-shadow: none;
}

.realplus-carousel-footer {
    text-align: right;
    margin-top: 0;
}

.rpc-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #9d7515;
    color: #fff;
    border: 1px solid #9d7515;
    border-radius: 0;
    font-weight: 400;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-transform: uppercase;
    padding: 15px 46px;
    text-decoration: none !important;
    letter-spacing: 1px;
}

.rpc-view-all:hover {
    background: transparent;
    color: #9d7515;
    border-color: #9d7515;
}

.rpc-provider-logo {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

.rpc-provider-logo img {
    width: 70px;
    height: auto;
    display: block;
}

/* ==========================================
   Mobile Responsive
   ========================================== */
@media (max-width: 1024px) {
    .rpc-image {
        height: 450px;
    }
    .rpc-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .realplus-carousel-wrapper {
        margin: 20px auto;
    }
    .realplus-carousel .swiper-slide {
        width: 90%;
    }
    .rpc-image {
        height: 350px;
    }
    .rpc-overlay {
        padding: 30px 20px 20px;
    }
    .rpc-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
    .rpc-price {
        font-size: 15px;
    }
    .rpc-config {
        font-size: 13px;
    }
    .rpc-status {
        font-size: 12px;
        top: 12px;
        right: 12px;
        padding: 4px 8px;
    }
    .rpc-bottom-bar {
        width: 90%;
        margin-top: 15px;
    }
    .realplus-carousel-controls button {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    .rpc-view-all {
        padding: 10px 25px;
        font-size: 12px;
    }
    .rpc-provider-logo {
        top: 15px;
        left: 15px;
    }
    .rpc-provider-logo img {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .realplus-carousel .swiper-slide {
        width: 95%;
    }
    .rpc-image {
        height: 280px;
    }
    .rpc-overlay {
        padding: 25px 15px 15px;
    }
    .rpc-title {
        font-size: 18px;
    }
    .rpc-price {
        font-size: 14px;
    }
    .rpc-config {
        font-size: 12px;
    }
    .rpc-courtesy {
        font-size: 0.75em;
    }
    .rpc-bottom-bar {
        width: 95%;
    }
    .rpc-view-all {
        padding: 10px 18px;
        font-size: 11px;
    }
}