/* Rental Suite Pro v4 — Frontend */

.rspv4-rentals-wrapper {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
}

.rspv4-rentals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* Card */

.rspv4-rental-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
    display: flex;
    flex-direction: column;
    border-radius: 0; /* no rounded corners */
}

/* Gallery */

.rspv4-rental-gallery {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.rspv4-rental-slides {
    width: 100%;
    height: 100%;
}

.rspv4-slide {
    display: none;
    width: 100%;
    height: 100%;
}

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

.rspv4-slide-active {
    display: block;
}

/* Nav arrows */

.rspv4-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #3b0a60;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    border-radius: 0;
}

.rspv4-gallery-nav.rspv4-prev {
    left: 0;
}

.rspv4-gallery-nav.rspv4-next {
    right: 0;
}

/* Dots */

.rspv4-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.rspv4-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
}

.rspv4-dot-active {
    background: #ffffff;
}

/* Body */

.rspv4-rental-body {
    padding: 20px 24px 22px;
    height: auto;
}

/* Title bigger */

.rspv4-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: #111827;
}

/* Rows */

.rspv4-rows {
    margin-bottom: 10px;
}

.rspv4-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
    margin: 0 0 2px;
}

.rspv4-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: #4c1d95;
}

.rspv4-value {
    font-weight: 500;
}

/* Details heading + description */

.rspv4-section-heading {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #4c1d95;
    margin: 12px 0 6px;
    padding-bottom: 4px;
    border-bottom: 2px solid #ede9fe;
    display: inline-block;
}

.rspv4-desc {
    font-size: 0.92rem;
    color: #4b5563;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 4px 0 14px;
    line-height: 1.55;
}

/* Meta icons row */

.rspv4-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 4px 0 14px;
    font-size: 0.9rem;
    font-weight: 500;
}

.rspv4-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rspv4-meta-item i {
    font-size: 1rem;
}

/* Airbnb button */

.rspv4-footer {
    margin-top: auto;
}

.rspv4-airbnb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 0;
    text-decoration: none;
    border: none;
    background-color: #f68a1e;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
    cursor: pointer;
}

.rspv4-airbnb-btn:hover {
    filter: brightness(0.95);
}

.rspv4-airbnb-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 991px) {
    .rspv4-rentals-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .rspv4-rentals-grid {
        grid-template-columns: 1fr;
    }
}
