/* =====================================================
   Realworks V3 - Single Property Page (Light Theme)
   ===================================================== */
.rwv3-main-container {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    gap: 40px;
}

.rwv3-main-container .rwv3-left {
    max-width: 60%;
    width: 100%;
}

.rwv3-main-container .rwv3-right {
    max-width: 40%;
    width: 100%;
}

.rwv3-similar-section {
    max-width: 1280px;
    margin: 0 auto;
}

.rwv3-similar-layout2 .rwv3-similar-card-image {
    min-height: 340px;
    border: 4px solid #095C74;
}

.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-body {
    background-color: transparent !important;
    padding: 24px 0 0;
    border: none;
    box-shadow: 0 !important;
}

.rwv3-similar-layout2 .rwv3-similar-card:hover {
    box-shadow: 0 !important;
}

body .rwv3-similar-layout2 .rwv3-similar-card:hover .rwv3-similar-card-body * {
    color: #F7A607 !important;
}

.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-type-text {
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: Poppins !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 300 !important;
    margin-bottom: 8px !important;
    text-transform: capitalize !important;
}

.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-title,
.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-city {
    color: #FFF !important;
    font-family: Poppins !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    text-transform: uppercase !important;
}

.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-city {
    margin-bottom: 16px;
}

.rwv3-similar-layout2 .rwv3-similar-card .rwv3-similar-card-price {
    color: #FFF !important;
    font-family: Poppins !important;
    font-size: 20px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 32px !important;
}

.rwv3-similar-layout2 .rwv3-similar-card,
.rwv3-similar-layout2 .rwv3-similar-card:hover {
    background-color: transparent;
}

.rwv3-similar-layout2 .rwv3-similar-card:hover .rwv3-similar-card-image {
    border-color: #F7A607;
}

.rwv3-single-wrap *,
.rwv3-single-wrap *::before,
.rwv3-single-wrap *::after {
    box-sizing: border-box;
}

/* --- Top Section: Gallery + Sidebar Card --- */
.rwv3-single-top {
    margin-bottom: 60px;
}

.rwv3-single-top>div:first-child {
    min-width: 0;
    /* Prevent grid blowout from thumbnail strip */
}

/* --- Gallery --- */
.rwv3-gallery-main {
    position: relative;
    overflow: hidden;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    transition: opacity 0.2s ease, background-size 0.3s ease;
    cursor: zoom-in;
}

.rwv3-gallery-main.is-zoomed {
    background-size: 200%;
    cursor: zoom-out;
}

.rwv3-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    padding: 10px 15px !important;
    line-height: 1 !important;
    cursor: pointer;
}

.rwv3-gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.rwv3-gallery-nav svg {
    width: 20px;
    height: 20px;
}

.rwv3-gallery-prev {
    left: 0;
}

.rwv3-gallery-next {
    right: 0;
}

/* --- Thumbnail Carousel (Slick-style center mode) --- */
.rwv3-gallery-thumbs-wrap {
    position: relative;
    margin-top: 16px;
    overflow: hidden;
}

.rwv3-gallery-thumbs {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

/* Each thumb = 25% of wrapper width minus gaps → shows 4 at a time */
.rwv3-gallery-thumb {
    width: calc((100% - 60px) / 4);
    min-width: calc((100% - 60px) / 4);
    aspect-ratio: 16 / 11;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s, transform 0.3s;
}

.rwv3-gallery-thumb.active {
    opacity: 1;
    border-color: #c8953a;
}

.rwv3-gallery-thumb:hover {
    opacity: 0.85;
}

.rwv3-gallery-thumb.active:hover {
    opacity: 1;
}

.rwv3-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnail nav arrows */
.rwv3-thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    padding: 10px 15px !important;
    line-height: 1 !important;
    cursor: pointer;
    z-index: 5;
}

.rwv3-thumb-nav:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rwv3-thumb-nav svg {
    width: 14px;
    height: 14px;
}

.rwv3-thumb-prev {
    left: 0;
}

.rwv3-thumb-next {
    right: 0;
}

/* --- Sidebar Card (Dark Teal) --- */
.rwv3-info-card {
    background: #095C74;
    padding: 30px 30px 20px;
}

.rwv3-info-card-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #a0b4bf;
    margin-bottom: 10px;
}

.rwv3-info-card-share span {
    margin-right: 4px;
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;

    letter-spacing: 0.04px;
}

.rwv3-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #e2e8f0;
    text-decoration: none;
}


.rwv3-info-card-title {
    color: #FFF !important;
    font-family: Poppins;
    font-size: 33px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.083px;
    margin: 0 0 16px;
}

.rwv3-info-card-type {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.08px;
}

.rwv3-info-card-type svg {
    width: 18px;
    height: 18px;

}


.rwv3-info-card-price {
    color: #F7A607;
    text-align: right;
    font-family: Poppins;
    font-size: 33px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.083px;
    margin: 0;
}

.rwv3-info-card-price-sub {
    font-size: 14px;
    color: #a0b4bf;
    margin: -8px 0 0 0;
}

.rwv3-info-card-price-wrapper {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 70px;
}

/* Action Buttons */
.rwv3-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.rwv3-action-btn svg {
    width: 25px;
    height: 25px;
}

.rwv3-btn-inactive {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.rwv3-btn-booking {
    border-radius: 4px;
    background: #F7A607;
    color: #FFF !important;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rwv3-btn-bid {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 4px;
    color: #FFF !important;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.rwv3-btn-bid:hover {
    background: rgba(255, 255, 255, 0.08);
}

.rwv3-btn-brochure {
    background: #095C74;
    color: #fff !important;
    border: none;
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    /* 162.5% */
    text-transform: uppercase;
    border-radius: 0;
    padding: 30px;
    border-top: 2px dotted #F7A607;
}

.rwv3-btn-brochure:hover {
    color: #fff;
}

/* --- Popup Modal --- */
.rwv3-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.rwv3-popup-overlay.is-active {
    background: rgba(0, 0, 0, 0.7);
}

.rwv3-popup-content {
    position: relative;
    background: #095C74;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.rwv3-popup-content .rwv3-popup-title,
.rwv3-popup-content .rwv3-popup-subtitle {
    color: #fff;
}

.rwv3-popup-overlay.is-active .rwv3-popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.rwv3-popup-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: #F7A607;
    color: #000;
    font-size: 22px;
    line-height: 1;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1;
}

.rwv3-popup-close:hover {
    background: #CECECE;
}

.rwv3-popup-header {
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.rwv3-popup-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.rwv3-popup-subtitle {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin: 6px 0 0;
    line-height: 1.5;
}

.rwv3-popup-body {
    width: 100%;
}

.rwv3-popup-body iframe {
    width: 100%;
    min-height: 500px;
    border: none;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .rwv3-popup-overlay {
        align-items: flex-end;
    }

    .rwv3-popup-content {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        padding: 20px 16px 16px;
        border-radius: 16px 16px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    }

    .rwv3-popup-overlay.is-active .rwv3-popup-content {
        transform: scale(1) translateY(0);
    }

    .rwv3-popup-content:not(.is-active *) {
        transform: scale(1) translateY(100%);
    }

    .rwv3-popup-close {
        top: 8px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .rwv3-popup-header {
        margin: 0 0 14px;
        padding-bottom: 12px;
        padding-right: 40px;
    }

    .rwv3-popup-title {
        font-size: 18px;
    }

    .rwv3-popup-subtitle {
        font-size: 13px;
    }

    .rwv3-popup-body iframe {
        min-height: 60vh;
    }
}

@media (max-width: 480px) {
    .rwv3-popup-content {
        max-height: 95vh;
        padding: 18px 12px 12px;
        border-radius: 14px 14px 0 0;
    }

    .rwv3-popup-header {
        margin: 0 0 12px;
        padding-bottom: 10px;
    }

    .rwv3-popup-title {
        font-size: 16px;
    }

    .rwv3-popup-subtitle {
        font-size: 12px;
    }

    .rwv3-popup-body iframe {
        min-height: 55vh;
    }
}

/* Status badge on card */
.rwv3-info-card-status {
    color: #FFF;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: 0.08px;
}

/* --- Features Bar --- */
.rwv3-features-bar {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.rwv3-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--Primary, #095C74);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    /* 150% */
    letter-spacing: 0.05px;
}

.rwv3-feature-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* Energy Label Badge — arrow/flag shape */
.rwv3-energy-badge {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 5px 10px;
    color: var(--White, #FFF);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0.05px;
    position: relative;
    padding-right: 10px;
}

/* Arrow pointer on the right side */
.rwv3-energy-badge::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 25px solid;
    border-right-color: inherit;
}

.rwv3-energy-badge svg {
    width: 16px;
    height: 16px;
}

/* A+++ — darkest green */
.rwv3-energy-a_ppp {
    background: #009036;
    border-color: #009036;
}

.rwv3-energy-a_ppp::after {
    border-left-color: #009036;
}

/* A++ */
.rwv3-energy-a_pp {
    background: #009a3a;
    border-color: #009a3a;
}

.rwv3-energy-a_pp::after {
    border-left-color: #009a3a;
}

/* A+ */
.rwv3-energy-a_p {
    background: #1aaf3f;
    border-color: #1aaf3f;
}

.rwv3-energy-a_p::after {
    border-left-color: #1aaf3f;
}

/* A */
.rwv3-energy-a {
    background: #55c031;
    border-color: #55c031;
}

.rwv3-energy-a::after {
    border-left-color: #55c031;
}

/* B */
.rwv3-energy-b {
    background: #c8d718;
    border-color: #c8d718;
}

.rwv3-energy-b::after {
    border-left-color: #c8d718;
}

/* C */
.rwv3-energy-c {
    background: #ffed00;
    color: #333;
    border-color: #ffed00;
}

.rwv3-energy-c::after {
    border-left-color: #ffed00;
}

.rwv3-energy-c svg path {
    fill: #333;
}

/* D */
.rwv3-energy-d {
    background: #fbb900;
    border-color: #fbb900;
}

.rwv3-energy-d::after {
    border-left-color: #fbb900;
}

/* E */
.rwv3-energy-e {
    background: #f07d00;
    border-color: #f07d00;
}

.rwv3-energy-e::after {
    border-left-color: #f07d00;
}

/* F */
.rwv3-energy-f {
    background: #e53019;
    border-color: #e53019;
}

.rwv3-energy-f::after {
    border-left-color: #e53019;
}

/* G — darkest red */
.rwv3-energy-g {
    background: #cc0001;
    border-color: #cc0001;
}

.rwv3-energy-g::after {
    border-left-color: #cc0001;
}

/* --- Description --- */
.rwv3-description-section {
    margin-bottom: 40px;
}

.rwv3-section-title {
    color: #171717;
    font-family: Poppins;
    font-size: 23px;
    font-style: normal;
    font-weight: 600;
    line-height: 33px;
}

.rwv3-description-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.rwv3-description-text p {
    margin: 0 0 16px 0;
}

/* --- Detail Sections --- */
.rwv3-detail-section {
    margin-bottom: 40px;
    border-bottom: 1px dotted #F7A607;
    padding-bottom: 40px;
}

.rwv3-single-wrap .rwv3-detail-section:last-of-type {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.rwv3-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.rwv3-detail-row {
    display: flex;
    padding: 0 0 8px;
    gap: 8px;
}

.rwv3-detail-label {
    color: #095C74;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    /* 162.5% */
    letter-spacing: 0.08px;
}

.rwv3-detail-value {
    color: #505050;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    /* 162.5% */
    letter-spacing: 0.08px;
}

/* Detail items with icons */
.rwv3-detail-icon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.rwv3-detail-icon-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.rwv3-detail-icon-item svg {
    width: 16px;
    height: 16px;
    color: #777;
}

/* --- Page background --- */
body.single-rw_wonen {
    background: #fff;
}

body.single-rw_wonen .site-content,
body.single-rw_wonen #primary,
body.single-rw_wonen #content,
body.single-rw_wonen .site {
    background: #fff;
}

/* =====================================================
   Responsive — Single Property Page
   Breakpoints: 1024px / 900px / 768px / 600px / 480px
   ===================================================== */

/* --- Tablet landscape (≤1024px) --- */
@media (max-width: 1024px) {
    .rwv3-main-container {
        gap: 24px;
        padding: 0 24px;
    }

    .rwv3-info-card-title {
        font-size: 26px;
    }

    .rwv3-info-card-price {
        font-size: 26px;
    }

    .rwv3-info-card-price-wrapper {
        margin-bottom: 40px;
    }
}

/* --- Tablet / stack layout (≤900px) --- */
@media (max-width: 900px) {
    .rwv3-main-container {
        flex-direction: column;
        gap: 0;
    }

    .rwv3-main-container .rwv3-left,
    .rwv3-main-container .rwv3-right {
        max-width: 100%;
        width: 100%;
    }

    /* Disable sticky sidebar on mobile — no longer side-by-side */
    .rwv3-main-container .rwv3-right .rrcontent {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }

    .rwv3-single-top {
        margin-bottom: 32px;
    }

    .rwv3-detail-grid {
        grid-template-columns: 1fr;
    }

    .rwv3-gallery-main {
        height: 350px;
    }

    .rwv3-section-title {
        font-size: 20px;
        line-height: 28px;
    }

    .rwv3-detail-section {
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .rwv3-description-section {
        margin-bottom: 28px;
    }
}

/* --- Small tablet / large phone (≤768px) --- */
@media (max-width: 768px) {
    .rwv3-main-container {
        padding: 0 16px;
    }

    .rwv3-gallery-main {
        height: 300px;
    }

    /* Show 3 thumbs */
    .rwv3-gallery-thumb {
        width: calc((100% - 40px) / 3);
        min-width: calc((100% - 40px) / 3);
    }

    .rwv3-features-bar {
        gap: 16px;
        padding: 16px 0;
        margin-bottom: 24px;
        justify-content: flex-start;
    }

    .rwv3-feature-item {
        font-size: 16px;
        line-height: 24px;
    }

    .rwv3-feature-item svg {
        width: 18px;
        height: 18px;
    }

    .rwv3-energy-badge {
        font-size: 16px;
        line-height: 24px;
    }

    .rwv3-info-card {
        padding: 24px 20px 16px;
    }

    .rwv3-info-card-title {
        font-size: 22px;
    }

    .rwv3-info-card-price {
        font-size: 22px;
    }

    .rwv3-info-card-price-wrapper {
        margin-bottom: 30px;
    }

    .rwv3-action-btn {
        padding: 12px 16px;
        font-size: 14px;
    }

    .rwv3-btn-brochure {
        padding: 20px 16px;
    }

    .rwv3-detail-label,
    .rwv3-detail-value {
        font-size: 14px;
        line-height: 22px;
    }

    .rwv3-description-text {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* --- Mobile (≤600px) --- */
@media (max-width: 600px) {
    .rwv3-main-container {
        padding: 0 12px;
    }

    .rwv3-gallery-main {
        height: 240px;
    }

    .rwv3-gallery-nav {
        width: 34px;
        height: 34px;
    }

    .rwv3-gallery-nav svg {
        width: 16px;
        height: 16px;
    }

    .rwv3-gallery-thumbs-wrap {
        padding: 0 32px;
        margin-top: 10px;
    }

    .rwv3-gallery-thumbs {
        gap: 10px;
    }

    .rwv3-thumb-nav {
        width: 28px;
        height: 28px;
    }

    .rwv3-thumb-nav svg {
        width: 12px;
        height: 12px;
    }

    .rwv3-features-bar {
        gap: 12px;
        padding: 12px 0;
        margin-bottom: 20px;
    }

    .rwv3-feature-item {
        font-size: 14px;
    }

    .rwv3-feature-item svg {
        width: 16px;
        height: 16px;
    }

    .rwv3-energy-badge {
        font-size: 14px;
        gap: 20px;
        padding: 4px 8px;
    }

    .rwv3-energy-badge::before {
        left: -18px;
        border-top-width: 15px;
        border-bottom-width: 15px;
        border-right-width: 18px;
    }

    .rwv3-info-card-title {
        font-size: 20px;
    }

    .rwv3-info-card-price {
        font-size: 20px;
    }

    .rwv3-section-title {
        font-size: 18px;
        line-height: 26px;
    }

    .rwv3-detail-row {
        flex-direction: column;
        gap: 2px;
    }

    .rwv3-detail-label {
        min-width: unset;
    }

    .rwv3-detail-section {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }

    .rwv3-description-section {
        margin-bottom: 20px;
    }

    .rwv3-single-top {
        margin-bottom: 20px;
    }
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {
    .rwv3-main-container {
        padding: 0 8px;
    }

    .rwv3-gallery-main {
        height: 200px;
    }

    /* Show 2 thumbs on small screens */
    .rwv3-gallery-thumb {
        width: calc((100% - 10px) / 2);
        min-width: calc((100% - 10px) / 2);
    }

    .rwv3-info-card {
        padding: 20px 16px 12px;
    }

    .rwv3-info-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .rwv3-info-card-type {
        font-size: 14px;
    }

    .rwv3-info-card-price {
        font-size: 18px;
    }

    .rwv3-info-card-price-wrapper {
        margin-bottom: 20px;
    }

    .rwv3-action-btn {
        padding: 10px 12px;
        font-size: 13px;
    }

    .rwv3-action-btn svg {
        width: 20px;
        height: 20px;
    }

    .rwv3-btn-brochure {
        padding: 16px 12px;
    }

    .rwv3-feature-item {
        font-size: 13px;
    }

    .rwv3-detail-label,
    .rwv3-detail-value {
        font-size: 13px;
        line-height: 20px;
    }

    .rwv3-description-text {
        font-size: 13px;
    }

    .rwv3-section-title {
        font-size: 16px;
        line-height: 24px;
    }
}

/* =====================================================
   Similar Properties Carousel (Slick Slider)
   ===================================================== */


.rwv3-similar-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
}

.rwv3-similar-link {
    font-size: 14px;
    color: #1a3a4a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.rwv3-similar-link:hover {
    color: #c8953a;
}

/* --- Slick overrides --- */
.rwv3-similar-carousel {
    margin: 0 -8px;
    position: relative;
}

.rwv3-similar-carousel::before {
    content: '';
    width: 100vw;
    height: 100%;
    position: absolute;
    left: -100vw;
    background-color: #fff;
    z-index: 1;
}

.rwv3-similar-carousel .slick-list {
    overflow: visible;
}

.rwv3-similar-carousel .slick-slide {
    padding: 0 8px;
    height: auto;
}

.rwv3-similar-carousel .slick-slide>div {
    height: 100%;
}

.rwv3-similar-carousel .slick-track {
    display: flex;
}

.rwv3-similar-carousel .slick-arrow {
    display: none !important;
}

/* --- Carousel Card --- */
.rwv3-similar-slide {
    height: 100%;
}

.rwv3-similar-card {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.rwv3-similar-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.rwv3-similar-card:hover * {
    color: #fff;
    fill: #fff;
}

.rwv3-similar-card:hover .rwv3-similar-card-image::before {
    transform: translate(-50%, -50%) scale(1);
}

.rwv3-similar-card:hover .rwv3-similar-card-body {
    background-color: #095C74;
}

.rwv3-similar-card:hover img {
    opacity: 0.7;
}

/* Counter label */
.rwv3-similar-counter {
    color: #fff;
    text-align: left;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: block;
    margin-bottom: 8px;
}

/* Layout 2 — compact card body (type text + price only) */
.rwv3-similar-card-body--compact {
    padding: 16px 15px;
    flex: 0;
}

.rwv3-similar-card-body--compact .rwv3-similar-card-type-text {
    display: block;
    color: var(--Dark, #101010);
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 22px;
}

.rwv3-similar-card-body--compact .rwv3-similar-card-price {
    text-align: left;
}

.rwv3-similar-card-image {
    position: relative;
    overflow: hidden;
    background: #000;
    min-height: 200px;
    transition: all 0.2s ease;
}

.rwv3-similar-card-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background-image: url(http://localhost/makelarsv2/wp-content/uploads/2026/02/yellow-arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: all 0.3s ease;
}

.rwv3-similar-card-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.rwv3-similar-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
}

.rwv3-similar-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(220, 38, 38, 0.9);
    color: #fff;
}

.rwv3-similar-status.status-verkocht {
    background: rgba(220, 38, 38, 0.9);
}

.rwv3-similar-status.status-verhuurd {
    background: rgba(220, 38, 38, 0.9);
}

.rwv3-similar-status.status-onder_bod {
    background: rgba(234, 179, 8, 0.9);
    color: #1a2b3c;
}

.rwv3-similar-status.status-onder_optie {
    background: rgba(234, 179, 8, 0.9);
    color: #1a2b3c;
}

.rwv3-similar-status.status-verkocht_onder_voorbehoud {
    background: rgba(249, 115, 22, 0.9);
}

.rwv3-similar-status.status-verhuurd_onder_voorbehoud {
    background: rgba(249, 115, 22, 0.9);
}

.rwv3-similar-card-body {
    padding: 20px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid #EBEBEB;
    border-top: none;
    background: #fff;
    justify-content: space-between;
}

.rwv3-similar-card-header {
    display: grid;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
}

.rwv3-similar-card-title {
    overflow: hidden;
    color: var(--Primary, #095C74);
    text-overflow: ellipsis;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
}

.rwv3-similar-card-city {
    font-size: 12px;
    color: #6b7280;
}

.rwv3-similar-card-price {
    color: var(--Secondary, #F7A607) !important;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
}

.rwv3-similar-card-type {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--Dark, #101010);
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

.rwv3-similar-card-type svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.rwv3-similar-card-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    white-space: nowrap;
    justify-content: space-between;
}

.rwv3-similar-feature {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #095C74;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.048px;
}

.rwv3-similar-feature svg,
.rwv3-similar-feature img {
    width: 15px;
    height: 11px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* --- Custom Navigation Arrows --- */
.listing-container {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.rwv3-similar-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rwv3-similar-prev,
.rwv3-similar-next {
    padding: 0 !important;
    background: #fff !important;
    color: #333 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: border-color 0.2s, color 0.2s !important;
    border: 0 !important
}

.rwv3-similar-prev:hover,
.rwv3-similar-next:hover {
    border-color: #1a3a4a;
    color: #1a3a4a;
}

.rwv3-similar-prev svg,
.rwv3-similar-next svg {
    width: 20px;
    height: 20px;
}

/* --- Progress Bar --- */
.rwv3-similar-progress {
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    max-width: 50%;
    width: 100%;
}

.rwv3-similar-progress-bar {
    height: 100%;
    background: #1a3a4a;
    border-radius: 2px;
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* --- Carousel Responsive --- */
@media (max-width: 900px) {
    .rwv3-similar-section {
        margin-top: 32px;
    }
}

@media (max-width: 600px) {
    .rwv3-similar-header {
        flex-direction: column;
        gap: 8px;
    }

    .rwv3-similar-controls {
        gap: 12px;
        margin-top: 16px;
    }

    .rwv3-similar-prev,
    .rwv3-similar-next {
        width: 38px;
        height: 38px;
    }

    .rwv3-similar-prev svg,
    .rwv3-similar-next svg {
        width: 16px;
        height: 16px;
    }

    .rwv3-similar-progress {
        max-width: 70%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   Similar Properties — Theme Variants
   Usage: [rwv3_similar_properties theme="teal|gray|white|black"]
   ═══════════════════════════════════════════════════════════════ */

/* ── Theme: Teal ─────────────────────────────────────────────── */
.rwv3-similar-theme-teal .rwv3-similar-carousel::before,
.rwv3-similar-theme-teal .rwv3-similar-prev,
.rwv3-similar-theme-teal .rwv3-similar-next {
    background: #095c74 !important;
}

.rwv3-similar-theme-teal .rwv3-similar-carousel::before {
    height: calc(100% + 10px);
}

.rwv3-similar-theme-teal .rwv3-similar-prev svg path,
.rwv3-similar-theme-teal .rwv3-similar-next svg path {
    fill: #fff !important;
}

.rwv3-similar-theme-teal .rwv3-similar-card:hover {
    box-shadow: none !important;
}

.rwv3-similar-theme-teal.rwv3-similar-layout2 .rwv3-similar-card:hover .rwv3-similar-card-image {
    border: 4px solid #F7A607;
}

.rwv3-similar-theme-teal .rwv3-similar-progress {
    background: rgba(255, 255, 255, 0.5);
}

.rwv3-similar-theme-teal .rwv3-similar-progress .rwv3-similar-progress-bar {
    background: #fff;
}

/* ── Theme: Gray ─────────────────────────────────────────────── */
.rwv3-similar-theme-gray .rwv3-similar-carousel::before,
.rwv3-similar-theme-gray .rwv3-similar-prev,
.rwv3-similar-theme-gray .rwv3-similar-next {
    background: #cecece !important;
}

.rwv3-similar-theme-gray .rwv3-similar-carousel::before {
    height: calc(100% + 10px);
}

.rwv3-similar-theme-gray .rwv3-similar-prev svg path,
.rwv3-similar-theme-gray .rwv3-similar-next svg path {
    fill: #000 !important;
}

.rwv3-similar-theme-gray .rwv3-similar-progress .rwv3-similar-progress-bar {
    background: #000 !important;
}

.rwv3-similar-theme-gray .rwv3-similar-card-image {
    min-height: 260px;
}

/* ── Theme: White ────────────────────────────────────────────── */
.rwv3-similar-theme-white .rwv3-similar-carousel::before,
.rwv3-similar-theme-white .rwv3-similar-prev,
.rwv3-similar-theme-white .rwv3-similar-next {
    background: #fff !important;
}

.rwv3-similar-theme-white .rwv3-similar-carousel::before {
    height: calc(100% + 10px);
}

.rwv3-similar-theme-white .rwv3-similar-prev svg path,
.rwv3-similar-theme-white .rwv3-similar-next svg path {
    fill: #000 !important;
}

.rwv3-similar-theme-white .rwv3-similar-progress {
    background: #DEDEDE;
}

.rwv3-similar-theme-white .rwv3-similar-progress .rwv3-similar-progress-bar {
    background: #000 !important;
}

.rwv3-similar-theme-white .rwv3-similar-card-image {
    min-height: 260px;
}

/* ── Theme: Black ────────────────────────────────────────────── */
/* Dark background → all overlaid text/icons switch to white     */
.rwv3-similar-theme-black .rwv3-similar-carousel::before,
.rwv3-similar-theme-black .rwv3-similar-prev,
.rwv3-similar-theme-black .rwv3-similar-next {
    background: #1a1a1a !important;
}

.rwv3-similar-theme-black .rwv3-similar-carousel::before {
    height: calc(100% + 10px);
}

/* Arrow icons: white on dark background */
.rwv3-similar-theme-black .rwv3-similar-prev svg path,
.rwv3-similar-theme-black .rwv3-similar-next svg path {
    fill: #fff !important;
}

/* Progress track: low-opacity white on dark, bar: solid white */
.rwv3-similar-theme-black .rwv3-similar-progress {
    background: rgba(255, 255, 255, 0.15);
}

.rwv3-similar-theme-black .rwv3-similar-progress .rwv3-similar-progress-bar {
    background: #fff !important;
}

/* Suppress card hover shadow against dark strip */
.rwv3-similar-theme-black .rwv3-similar-card:hover {
    box-shadow: none !important;
}

/* layout1: card body stays white → text stays dark (no override needed) */
/* layout2: card body is transparent → text is already white per base CSS */
/* layout2 hover: gold accent border on image */
.rwv3-similar-theme-black.rwv3-similar-layout2 .rwv3-similar-card:hover .rwv3-similar-card-image {
    border: 4px solid #F7A607;
}

.rwv3-similar-theme-black .rwv3-similar-card-image {
    min-height: 260px;
}